Skip to content

Commit 0386638

Browse files
committed
Dashboard: Migrate engine/overview from chakra to tailwind (#7723)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on refactoring UI components and improving the user experience in the wallet management section of a dashboard application. It includes updates to modals, button components, and form handling while ensuring better accessibility and responsiveness. ### Detailed summary - Updated `create-backend-wallet-button.tsx` to modify button styles and add `tabIndex` for accessibility. - Enhanced tooltip functionality in `tooltip.tsx`. - Added `react-qrcode-logo` dependency for QR code generation. - Refactored `transaction-timeline.tsx` to improve transaction display and interaction. - Converted Chakra UI modals to custom dialog components for consistency. - Updated `transactions-table.tsx` to streamline transaction details display and manage state more effectively. - Refined backend wallet management in `backend-wallets-table.tsx`, replacing Chakra components with custom UI elements. - Improved form handling using `react-hook-form` and validation with `zod` in wallet-related modals. - Enhanced user feedback through toast notifications for actions like sending funds and deleting wallets. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent a00b7fa commit 0386638

File tree

7 files changed

+886
-664
lines changed

7 files changed

+886
-664
lines changed

apps/dashboard/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
"posthog-js": "1.256.1",
5757
"posthog-node": "^5.4.0",
5858
"prettier": "3.6.2",
59-
"qrcode": "1.5.3",
6059
"react": "19.1.0",
6160
"react-children-utilities": "^2.10.0",
6261
"react-day-picker": "^8.10.1",
@@ -65,6 +64,7 @@
6564
"react-error-boundary": "6.0.0",
6665
"react-hook-form": "7.55.0",
6766
"react-markdown": "10.1.0",
67+
"react-qrcode-logo": "^3.0.0",
6868
"react-table": "^7.8.0",
6969
"recharts": "2.15.3",
7070
"remark-gfm": "4.0.1",
@@ -98,7 +98,6 @@
9898
"@types/node": "22.14.1",
9999
"@types/papaparse": "^5.3.16",
100100
"@types/pluralize": "^0.0.33",
101-
"@types/qrcode": "1.5.5",
102101
"@types/react": "19.1.8",
103102
"@types/react-dom": "19.1.6",
104103
"@types/react-table": "^7.7.20",

apps/dashboard/src/@/components/ui/tooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function ToolTipLabel(props: {
4646
return (
4747
<TooltipProvider>
4848
<Tooltip delayDuration={100} disableHoverableContent={!props.hoverable}>
49-
<TooltipTrigger asChild className="!pointer-events-auto">
49+
<TooltipTrigger asChild className="!pointer-events-auto" tabIndex={-1}>
5050
{props.children}
5151
</TooltipTrigger>
5252
<TooltipContent

0 commit comments

Comments
 (0)