Skip to content

Updates revently viewed#2000

Merged
Mbeaulne merged 1 commit intomasterfrom
03-24-updates_revently_viewed
Apr 10, 2026
Merged

Updates revently viewed#2000
Mbeaulne merged 1 commit intomasterfrom
03-24-updates_revently_viewed

Conversation

@Mbeaulne
Copy link
Copy Markdown
Collaborator

@Mbeaulne Mbeaulne commented Mar 24, 2026

Description

Implemented the recently viewed dashboard component that displays a grid of recently accessed pipelines and runs. The component shows cards with type badges, names, IDs, and relative timestamps. Increased the maximum number of tracked items from 5 to 10 and exported the RecentlyViewedItem interface for reuse. Added navigation functionality to allow users to click on cards to return to previously viewed items.

Related Issue and Pull requests

Type of Change

  • Bug fix
  • New feature
  • Improvement
  • Cleanup/Refactor
  • Breaking change
  • Documentation update

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

Test Instructions

  1. Navigate to the dashboard
  2. View some pipelines and runs to populate the recently viewed list
  3. Return to the dashboard and verify the recently viewed section displays the items
  4. Click on recently viewed cards to ensure navigation works correctly
  5. Verify the relative timestamps display correctly (just now, minutes ago, hours ago, days ago)
  6. Test with both pipeline and run items to ensure proper styling and icons

Additional Comments

The component displays up to 10 recently viewed items in a 4-column grid layout. Pipeline items are styled with violet colors and GitBranch icons, while run items use emerald colors and Play icons. The relative time formatting provides user-friendly timestamps for when items were last viewed.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 24, 2026

🎩 To tophat this PR:

You can add the following URL parameter to your browser to tophat this PR:

`?tophat_location=03-24-updates_revently_viewed/2f2e80e`

@Mbeaulne Mbeaulne force-pushed the 03-24-adds_recently_viewed branch from bdfb44e to 4617803 Compare March 27, 2026 12:41
@Mbeaulne Mbeaulne force-pushed the 03-24-updates_revently_viewed branch 2 times, most recently from 89f86e1 to 50aadd0 Compare March 27, 2026 13:52
@Mbeaulne Mbeaulne force-pushed the 03-24-adds_recently_viewed branch 2 times, most recently from 3b1a50d to 080bde2 Compare March 27, 2026 13:58
@Mbeaulne Mbeaulne force-pushed the 03-24-updates_revently_viewed branch 2 times, most recently from 2b7baf9 to 878220c Compare March 27, 2026 14:07
@Mbeaulne Mbeaulne force-pushed the 03-24-adds_recently_viewed branch from 5a84bf5 to cfaef28 Compare March 27, 2026 14:12
@Mbeaulne Mbeaulne force-pushed the 03-24-updates_revently_viewed branch 2 times, most recently from 7982636 to ea60d9f Compare March 27, 2026 14:16
@Mbeaulne Mbeaulne force-pushed the 03-24-adds_recently_viewed branch from cfaef28 to 1e454af Compare March 27, 2026 14:16
@Mbeaulne Mbeaulne force-pushed the 03-24-adds_recently_viewed branch from f6d8bde to bc9be66 Compare April 6, 2026 13:12
@Mbeaulne Mbeaulne force-pushed the 03-24-updates_revently_viewed branch from e359699 to de4672f Compare April 8, 2026 17:25
@Mbeaulne Mbeaulne force-pushed the 03-24-adds_recently_viewed branch from 62f21a5 to d31973c Compare April 8, 2026 19:31
@Mbeaulne Mbeaulne force-pushed the 03-24-updates_revently_viewed branch from de4672f to 007401d Compare April 8, 2026 19:31
This was referenced Apr 8, 2026
Copy link
Copy Markdown
Collaborator

camielvs commented Apr 9, 2026

There are various cases where cn should be used instead of embedded ternaries.

And some tidying up of classnames on Text when we have properties supported (e.g. font="mono")

Copy link
Copy Markdown
Collaborator

@camielvs camielvs left a comment

Choose a reason for hiding this comment

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

The duplication and similarity between this and the Favourites section suggests we can have a unified component for those cards

@Mbeaulne Mbeaulne force-pushed the 03-24-adds_recently_viewed branch from d31973c to fde2b15 Compare April 9, 2026 15:54
@Mbeaulne Mbeaulne force-pushed the 03-24-updates_revently_viewed branch from 007401d to 82139f0 Compare April 9, 2026 15:54
@Mbeaulne Mbeaulne force-pushed the 03-24-adds_recently_viewed branch from fde2b15 to a106c78 Compare April 9, 2026 16:09
@Mbeaulne Mbeaulne force-pushed the 03-24-updates_revently_viewed branch from 82139f0 to 9fadba0 Compare April 9, 2026 16:09
@Mbeaulne Mbeaulne force-pushed the 03-24-adds_recently_viewed branch from a106c78 to e6b71d8 Compare April 9, 2026 16:28
@Mbeaulne Mbeaulne force-pushed the 03-24-updates_revently_viewed branch 3 times, most recently from e4b99d4 to d713eaa Compare April 9, 2026 19:53
@Mbeaulne Mbeaulne force-pushed the 03-24-adds_recently_viewed branch from 4837d59 to ad2c801 Compare April 9, 2026 19:53
@Mbeaulne Mbeaulne force-pushed the 03-24-updates_revently_viewed branch from d713eaa to 089810e Compare April 9, 2026 20:04
@Mbeaulne Mbeaulne requested a review from camielvs April 10, 2026 18:37
@Mbeaulne Mbeaulne force-pushed the 03-24-adds_recently_viewed branch from ad2c801 to 98fb4ff Compare April 10, 2026 19:09
@Mbeaulne Mbeaulne force-pushed the 03-24-updates_revently_viewed branch from 089810e to 9031ebb Compare April 10, 2026 19:09
Copy link
Copy Markdown
Collaborator Author

Mbeaulne commented Apr 10, 2026

Merge activity

  • Apr 10, 8:38 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Apr 10, 9:16 PM UTC: Graphite rebased this pull request as part of a merge.
  • Apr 10, 9:18 PM UTC: @Mbeaulne merged this pull request with Graphite.

Copy link
Copy Markdown
Collaborator

@camielvs camielvs left a comment

Choose a reason for hiding this comment

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

approving, as discussed

@Mbeaulne Mbeaulne changed the base branch from 03-24-adds_recently_viewed to graphite-base/2000 April 10, 2026 21:12
@Mbeaulne Mbeaulne changed the base branch from graphite-base/2000 to master April 10, 2026 21:15
@Mbeaulne Mbeaulne force-pushed the 03-24-updates_revently_viewed branch from 9031ebb to 2f2e80e Compare April 10, 2026 21:16
@Mbeaulne Mbeaulne merged commit efe37d3 into master Apr 10, 2026
17 checks passed
@Mbeaulne Mbeaulne deleted the 03-24-updates_revently_viewed branch April 10, 2026 21:18
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