Skip to content

feat(APP-591): Add featured delegates functionality to DAO dashboard and members page#1083

Merged
tyhonchik merged 2 commits into
mainfrom
app-591-citrea-featured-delegates
Apr 15, 2026
Merged

feat(APP-591): Add featured delegates functionality to DAO dashboard and members page#1083
tyhonchik merged 2 commits into
mainfrom
app-591-citrea-featured-delegates

Conversation

@tyhonchik
Copy link
Copy Markdown
Contributor

@tyhonchik tyhonchik commented Apr 8, 2026

Description

  • Introduced a new feature to display featured delegates in the DAO dashboard and members page.
  • Updated translations for "Featured delegates" in the localization files.
  • Enhanced the DashboardOnboarded component to handle featured delegates and adjust the members tab accordingly.
  • Integrated a new FeaturedDelegatesList component to render the list of featured delegates.
  • Modified the DAO members page to fetch and display featured delegates from the CMS.
  • Updated related components and hooks to support the new featured delegates functionality.

Test

For testing use this DAO dao/ethereum-sepolia/0xEB4813f79E18bbd62F9222CC98F5049B872F5c04

Type of Change

  • Major: Breaking change (change that would cause existing functionality to not work as expected)
  • Minor: Feature (non-breaking change which adds new functionality)
  • Patch: Enhancement (non-breaking change to an existing feature)
  • Patch: Bug fix (non-breaking change which fixes an issue)

Developer Checklist:

  • Manually smoke tested the functionality in a preview or locally
  • Confirmed there are no new warnings or errors in the browser console
  • (For User Stories only) Double-checked that all Acceptance Criteria are satisfied
  • Confirmed there are no new warnings on automated tests
  • Merged and published any dependent changes in downstream modules
  • Selected the correct base branch
  • Commented the code in hard-to-understand areas
  • Followed the code style guidelines of this project
  • Reviewed that the Files Changed in Github’s UI reflect my intended changes
  • Confirmed the pipeline checks are not failing

Review Checklist:

  • (For User Stories only) Tested in a preview or locally that all Acceptance Criteria are satisfied
  • Confirmed that changes follow the code style guidelines of this project

@tyhonchik tyhonchik requested a review from a team as a code owner April 8, 2026 19:05
@linear
Copy link
Copy Markdown

linear Bot commented Apr 8, 2026

Comment thread src/shared/api/cmsService/cmsService.ts Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

🚀 Preview Deployment: View Here

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

E2E results (preview)

Smoke

Base URL https://app-next-6ecr59lws-aragon-app.vercel.app
Suite smoke
Playwright result ✅ passed
Summary 80 passed
HTML report View report
GitHub job ✅ completed

View run #4023

@tyhonchik tyhonchik force-pushed the app-591-citrea-featured-delegates branch from f66d114 to a36df7f Compare April 9, 2026 13:56
@tyhonchik tyhonchik force-pushed the app-591-citrea-featured-delegates branch from a36df7f to 93bf45c Compare April 9, 2026 14:00
@tyhonchik tyhonchik force-pushed the app-591-citrea-featured-delegates branch from 93bf45c to aa6bcd7 Compare April 9, 2026 14:05
Copy link
Copy Markdown
Contributor

@milosh86 milosh86 left a comment

Choose a reason for hiding this comment

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

Nice work, tested the preview too and it looks good 👍

Just one minor question to understand some logic and one place where linked accounts param might be missing.

Copy link
Copy Markdown
Contributor

@thekidnamedkd thekidnamedkd left a comment

Choose a reason for hiding this comment

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

Very nice! A couple comments.

const daoId = await daoUtils.resolveDaoId(daoPageParams);
const [daoId, featuredDelegates] = await Promise.all([
daoUtils.resolveDaoId(daoPageParams),
cmsService.getFeaturedDelegates(),
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.

should we cache this with Tanstack?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This runs in a Next.js server component, so cmsService handles caching via force-cache + revalidate: 600 at the fetch level

…and members page

- Introduced a new feature to display featured delegates in the DAO dashboard and members page.
- Updated translations for "Featured delegates" in the localization files.
- Enhanced the DashboardOnboarded component to handle featured delegates and adjust the members tab accordingly.
- Integrated a new FeaturedDelegatesList component to render the list of featured delegates.
- Modified the DAO members page to fetch and display featured delegates from the CMS.
- Updated related components and hooks to support the new featured delegates functionality.
@tyhonchik tyhonchik force-pushed the app-591-citrea-featured-delegates branch from aa6bcd7 to f508139 Compare April 14, 2026 16:35
Copy link
Copy Markdown
Contributor

@thekidnamedkd thekidnamedkd left a comment

Choose a reason for hiding this comment

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

LGTM ✨

@tyhonchik tyhonchik merged commit 818114c into main Apr 15, 2026
18 checks passed
@tyhonchik tyhonchik deleted the app-591-citrea-featured-delegates branch April 15, 2026 13:12
This was referenced Apr 15, 2026
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