Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Block Explorer UI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
Block Explorer UI
Commits
297e0285
Commit
297e0285
authored
3 months ago
by
Dima Rifai
Committed by
mcfarhat
2 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#394
- Remove Balance History Link
parent
0e384939
No related branches found
Branches containing commit
No related tags found
2 merge requests
!507
Delrifai/#394 2 add charts to balance history
,
!503
Delrifai/#394 add charts to balance history
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/account/AccountBalanceCard.tsx
+0
-42
0 additions, 42 deletions
components/account/AccountBalanceCard.tsx
with
0 additions
and
42 deletions
components/account/AccountBalanceCard.tsx
+
0
−
42
View file @
297e0285
...
...
@@ -10,15 +10,6 @@ import {
grabNumericValue
,
}
from
"
@/utils/StringUtils
"
;
import
{
cn
,
formatNumber
}
from
"
@/lib/utils
"
;
import
Link
from
"
next/link
"
;
import
{
FontAwesomeIcon
}
from
"
@fortawesome/react-fontawesome
"
;
import
{
faHistory
}
from
"
@fortawesome/free-solid-svg-icons
"
;
import
{
Tooltip
,
TooltipProvider
,
TooltipTrigger
,
TooltipContent
,
}
from
"
@radix-ui/react-tooltip
"
;
type
AccountBalanceCardProps
=
{
header
:
string
;
userDetails
:
Explorer
.
FormattedAccountDetails
;
...
...
@@ -172,39 +163,6 @@ const AccountBalanceCard: React.FC<AccountBalanceCardProps> = ({
>
<
div
className
=
"text-lg"
>
{
header
}
</
div
>
<
div
className
=
"flex"
>
<
TooltipProvider
>
<
Tooltip
>
<
TooltipTrigger
asChild
>
<
Link
href
=
{
`/balanceHistory/@
${
userDetails
.
name
}
`
}
data-testid
=
"balance-history-link"
className
=
"text-link text-sm mr-1 "
onClick
=
{
(
e
)
=>
e
.
stopPropagation
()
}
>
<
FontAwesomeIcon
icon
=
{
faHistory
}
size
=
"sm"
className
=
"mr-1"
/>
<
span
>
Balance History
</
span
>
</
Link
>
</
TooltipTrigger
>
<
TooltipContent
side
=
"top"
align
=
"start"
sideOffset
=
{
5
}
alignOffset
=
{
10
}
className
=
"border-0"
>
<
div
className
=
"bg-theme text-text p-2 text-sm"
>
<
p
>
Click Here for Balance History
</
p
>
</
div
>
</
TooltipContent
>
</
Tooltip
>
</
TooltipProvider
>
<
span
>
{
isBalancesHidden
?
<
ArrowDown
/>
:
<
ArrowUp
/>
}
</
span
>
</
div
>
</
div
>
</
CardHeader
>
<
CardContent
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment