Skip to content

feat: dashboard connect wallet info - #427

Merged
petar-omni merged 1 commit into
mainfrom
feat/dashboard-connect-wallet-info
Aug 15, 2025
Merged

petar-omni merged 1 commit into
mainfrom
feat/dashboard-connect-wallet-info

Conversation

@petar-omni

Copy link
Copy Markdown
Contributor

This pull request improves the user experience on the dashboard by providing clear, user-friendly messages when the wallet is not connected, instead of generic fallback content. It also ensures these messages are localized and updates relevant styles for better layout consistency.

User Experience Improvements:

  • The "Positions" and "Activity" dashboard pages now show a clear, localized message prompting users to connect their wallet, replacing the generic "not connected" fallback. [1] [2]
  • Added new translation keys for the connect wallet prompts in the English translations file.

Localization:

  • Integrated the useTranslation hook into both the positions and activity dashboard pages to support the new localized messages. [1] [2]

Styling:

  • Updated the container style in positions/styles.css.ts to use height: 100% for improved layout consistency.

Changelog:

  • Added a patch changelog entry describing the dashboard connect wallet info feature.

@changeset-bot

changeset-bot Bot commented Aug 14, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 76e4788

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@stakekit/widget Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Aug 14, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
dashboard-finery Ready Preview Comment Aug 14, 2025 1:46pm
dashboard-utila Ready Preview Comment Aug 14, 2025 1:46pm
staging-widget Ready Preview Comment Aug 14, 2025 1:46pm
stakekit-widget Ready Preview Comment Aug 14, 2025 1:46pm

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves the user experience on the dashboard by replacing generic fallback content with clear, localized messages when the wallet is not connected. The changes focus on providing helpful prompts to users on the Positions and Activity pages.

  • Adds localized "connect wallet" messages for positions and activity pages
  • Replaces generic fallback components with custom styled components showing the localized messages
  • Updates styling for better layout consistency

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/widget/src/translation/English/translations.json Adds new translation keys for connect wallet prompts
packages/widget/src/pages/details/activity-page/hooks/use-activity-page.tsx Replaces fallback content with localized connect wallet message
packages/widget/src/pages-dashboard/overview/positions/styles.css.ts Updates container style to use full height
packages/widget/src/pages-dashboard/overview/positions/positions.page.tsx Replaces fallback content with localized connect wallet message
.changeset/common-onions-cry.md Adds changelog entry for the feature

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@petar-omni
petar-omni merged commit 5ed49f3 into main Aug 15, 2025
9 checks passed
@petar-omni
petar-omni deleted the feat/dashboard-connect-wallet-info branch August 15, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants