Skip to content

feat: display action required items in portfolio dashboard#1948

Open
fayi-da wants to merge 1 commit into
mainfrom
fayi/1790-action-required-list
Open

feat: display action required items in portfolio dashboard#1948
fayi-da wants to merge 1 commit into
mainfrom
fayi/1790-action-required-list

Conversation

@fayi-da
Copy link
Copy Markdown
Contributor

@fayi-da fayi-da commented Jun 7, 2026

Part of #1790

screenshot-2026-06-07_16-11-03

},
}}
>
<DialogContent sx={{ p: 4 }}>
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.

Empty dialog for now, content in the next PR

display: 'grid',
gridTemplateColumns: {
xs: '1fr',
md: '1fr 1fr 1fr 1fr 1fr',
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.

might switch to flex layouts here later as this grid has been giving me headaches

error: Error | null
}

export function useActionRequiredItems(): ActionRequiredItemsResult {
Copy link
Copy Markdown
Contributor Author

@fayi-da fayi-da Jun 7, 2026

Choose a reason for hiding this comment

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

This hook is the core of the whole feature. It's where we create the actual data that's displayed. If there's one file to review, it's this 😉 I've also left some comments in the code to help with my cognitive load of constantly reviewing what it does.

Also, most of the code was previously written here by yours truly

@fayi-da fayi-da force-pushed the fayi/1790-action-required-list branch from 6663bed to e966d5c Compare June 7, 2026 16:27
Signed-off-by: Fayi Femi-Balogun <fayimora.femibalogun@digitalasset.com>
@fayi-da fayi-da force-pushed the fayi/1790-action-required-list branch from e966d5c to b1351f9 Compare June 7, 2026 16:33
"@tanstack/router-core": "^1.169.2",
"@tanstack/router-plugin": "^1.167.35",
"date-fns": "^4.1.0",
"date-fns": "^4.4.0",
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.

tried to avoid it but started writing complex date logic and knew it was time to bring in a date lib. I usually go for dayjs but date-fns is much lighter and we can treeshake unused functions when bundling

@fayi-da fayi-da marked this pull request as ready for review June 7, 2026 21:01
@fayi-da fayi-da requested a review from a team as a code owner June 7, 2026 21:01
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.

1 participant