Skip to content

feat: add activities page#678

Merged
effie-ms merged 22 commits intomainfrom
feat-activities
Apr 8, 2026
Merged

feat: add activities page#678
effie-ms merged 22 commits intomainfrom
feat-activities

Conversation

@effie-ms
Copy link
Copy Markdown
Contributor

@effie-ms effie-ms commented Mar 24, 2026

Which Linear task is linked to this PR?

https://linear.app/lifi-linear/issue/EMB-320/merge-active-transactions-and-transaction-history

Why was it implemented this way?

The separate Active Transactions and Transaction History pages have been merged into a single Activities page. This unified view renders all transaction states — pending/failed local routes and completed API history — in one chronologically sorted list.

Considerations:

  • Completed locally stored routes are cleaned up once they are available from the API history.
  • Button leading to Activities page is updated.
  • Pending/failed route cards on Activities page have status indicator on top.
  • If there are any failed routes per account - they all can be cleaned up in one go "Remove all failed".
  • Dialog component is updated according to the new design.
  • "..." buttons opening menus are now all vertical.

Visual showcase (Screenshots or Videos)

Screen.Recording.2026-04-08.at.09.58.49.mov

Checklist before requesting a review

  • I have performed a self-review and testing of my code.
  • This pull request is focused and addresses a single problem.

@effie-ms effie-ms self-assigned this Mar 25, 2026
@github-actions
Copy link
Copy Markdown

Hey! This is your new endpoint: https://6abae1ed.widget-featactivi.pages.dev

@effie-ms effie-ms changed the title feat: activities center feat: add activities page Mar 25, 2026
@github-actions
Copy link
Copy Markdown

Hey! This is your new endpoint: https://91d12bb6.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

Hey! This is your new endpoint: https://39a0d204.widget-featactivi.pages.dev

@effie-ms effie-ms marked this pull request as ready for review March 25, 2026 15:30
@effie-ms effie-ms requested a review from chybisov March 25, 2026 15:44
@github-actions
Copy link
Copy Markdown

Hey! This is your new endpoint: https://e8ee81b0.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

Hey! This is your new endpoint: https://bcf5d7b5.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Hey! This is your new endpoint: https://798c4975.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Hey! This is your new endpoint: https://64be43dc.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Hey! This is your new endpoint: https://cf49c6f2.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

Hey! This is your new endpoint: https://6f861436.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Hey! This is your new endpoint: https://bd36c82b.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Hey! This is your new endpoint: https://84e11063.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Hey! This is your new endpoint: https://8aeffe7d.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Hey! This is your new endpoint: https://a2e01394.widget-featactivi.pages.dev

import { useGetScrollableContainer } from '../hooks/useScrollableContainer.js'
import { useGetScrollableContainer } from '../../hooks/useScrollableContainer.js'

export const modalProps: { sx: { position: string; overflow: string } } = {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This isn't being edited here in this PR, but "modal props" and "dialog props" look confusing. Is it because MUI already has DialogProps?

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.

probably it's worth renaming eventually, "dialog props" seem to be part of "modal props".
now we have 2 types of modals/dialogs: centered and bottom ones

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Okay. We can place a todo here for the future then.

)(({ theme }) => ({
'& .MuiBadge-badge': {
padding: 0,
minWidth: 'unset',
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It's good to double-check any time unset creeps in, because this doesn't mean "reset" the value.

It means:

If this property is inherited, revert to the inherited value. Otherwise, set it to the initial (browser default) value.

Browser default here is auto. So min-width doesn't inherit it's value unless we explicitly set it to inherit. You should be good here, but these nuances are important to pay attention to.

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.

alright, I'm putting 16px to min-width, not intending any resizing on it.

}

const ExecutionTimer = ({
export const ExecutionTimerText = ({
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is it a timer, or maybe a countdown instead? Timer is indefinite, while countdown has an expiry.

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.

Well, countdowns are "Timers" on my iPhone 😄

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Fair :D

}: ContextMenuProps): JSX.Element => {
const { t } = useTranslation()
const menuId = useId()
const [anchorEl, setAnchorEl] = useState<HTMLElement | null>(null)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

see: CSS anchors. This may simplify the setup.

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.

Interesting. MUI's Menu needs anchorEl though. Plus browser support on Safari? Too new 😄

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Yeah, yeah. MUI :)) right.

height: 24,
display: 'grid',
placeItems: 'center',
flexShrink: 0,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

this property will only work with flexbox parents. Is it intentional?

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.

The parent is flex, yes.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Hey! This is your new endpoint: https://99f6a5a6.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Hey! This is your new endpoint: https://4eccb34c.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Hey! This is your new endpoint: https://0305a370.widget-featactivi.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Hey! This is your new endpoint: https://576ff916.widget-featactivi.pages.dev

@effie-ms effie-ms merged commit a42507d into main Apr 8, 2026
2 checks passed
@effie-ms effie-ms deleted the feat-activities branch April 8, 2026 16:03
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Hey! This is your new endpoint: https://565ee212.widget-featactivi.pages.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants