Skip to content

Conversation

Tolu-WEX
Copy link

Description

Refresh button that gives time of last refresh and causes the page to refresh.

Testing instructions

Add a set up instructions describing how the reviewer should test the code

  • Review code
  • Check Actions build
  • Review changes to test coverage

Agile board tracking

closes #1439

@joshdimanteto joshdimanteto changed the base branch from develop to future June 18, 2025 13:19
@Tolu-WEX Tolu-WEX marked this pull request as ready for review June 19, 2025 12:07
Copy link

codecov bot commented Jun 19, 2025

❌ File not in storage

No result to display due to the CLI not being able to find the file.
Please ensure the file contains junit in the name and automated file search is enabled,
or the desired file specified by the file and search_dir arguments of the CLI.

@MatteoGuarnaccia5 MatteoGuarnaccia5 self-requested a review June 19, 2025 12:44
Copy link
Contributor

@MatteoGuarnaccia5 MatteoGuarnaccia5 left a comment

Choose a reason for hiding this comment

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

Looks great so far! Just a couple small comments :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you try move the refresh button to have space between the other 2 buttons. It should appear on the far right of the page. Play around with the grids and different flex options

Refresh
</Button>
<Typography data-testid="refresh-timestamp" textAlign={'center'} variant="body1">
{formatDateTimeStrings(editRefreshDate.toISOString(), true)}
Copy link
Contributor

Choose a reason for hiding this comment

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

Final comment! Just makes it a tad clearer what the actual timestamp is for

Suggested change
{formatDateTimeStrings(editRefreshDate.toISOString(), true)}
Last refreshed at: {formatDateTimeStrings(editRefreshDate.toISOString(), true)}

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.

Add refresh button and "Last refreshed at" timestamp to the Manufacturers landing page

2 participants