Skip to content

feat: add "Your Positions" header with a transactions link on the dashboard - #3104

Merged
abjt14 merged 1 commit into
mainfrom
abhijeet/ui-add-link-to-transactions-history-on-homepage
Sep 18, 2026
Merged

abjt14 merged 1 commit into
mainfrom
abhijeet/ui-add-link-to-transactions-history-on-homepage

Conversation

@abjt14

@abjt14 abjt14 commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor
Before After
Screenshot 2026-09-18 at 16 03 46 Screenshot 2026-09-18 at 16 04 02

…hboard

The transaction history page at /history was orphaned: ROUTES.history was
referenced nowhere, and the only inbound links were two hard-coded
/history?marketName= links inside the Swap result and CoW open-orders
warning. There was no way to reach it from the UI.

Add a section header row at the top of the dashboard content band, above
the mobile Supply/Borrow tab switcher and the four position cards, with
the title on the left and the link out on the right. Gated on
currentAccount to match the cards below it, which are replaced by the
connect-wallet prompt when disconnected.

The title uses the h2 variant and the button the outlined (secondary
pill) variant, both of which already match the design spec exactly — no
new styles were needed.

Also correct the dark value of the semantic/button token
button-bg-secondary, which had drifted from the design source: #28282a
against Figma's #1e1e20. The token is read only by secondaryPillDark in
theme.tsx, so this is scoped to variant="outlined" in dark mode. Its
light value, and both shadow layers in both modes, already matched.
@abjt14 abjt14 self-assigned this Sep 18, 2026
@vercel

vercel Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
interface Ready Ready Preview Sep 18, 2026 3:48am UTC

Request Review

@odin-by-borg

odin-by-borg Bot commented Sep 18, 2026

Copy link
Copy Markdown

Mjolnir Security Review

StatusQueued for review...

View in Odin

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

📦 Next.js Bundle Analysis for aave-ui

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 1.34 MB (🟡 +15 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Two Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/ 91.89 KB (🟡 +79 B) 1.43 MB
/dashboard 81.82 KB (🟡 +79 B) 1.42 MB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

@abjt14
abjt14 requested a review from sammdec September 18, 2026 04:32
@abjt14
abjt14 merged commit fcdd747 into main Sep 18, 2026
27 of 28 checks passed
@abjt14
abjt14 deleted the abhijeet/ui-add-link-to-transactions-history-on-homepage branch September 18, 2026 08:04
abjt14 added a commit that referenced this pull request Sep 18, 2026
Brings in #3104, which adds the dashboard's "Your Positions" header and its
link to /history — the entry point this branch's page was built for, and the
reason it no longer carries a back button of its own.

Conflicts were confined to the four compiled locale catalogs
(src/locales/*/messages.js). Those are generated, and their conflict markers
break lingui's own parse, so rather than hand-editing minified output they were
regenerated with `pnpm i18n` from the source catalog, which merged cleanly:
993 messages, this branch's 991 plus main's "View transactions" and
"Your Positions".

This branch was successfully deployed

1 active deployment
Preview — 41b6a094 Deployed Sep 18, 2026 by vercel[bot]
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