Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable persisted cache for API responses, add refresh button #1043

Merged
merged 9 commits into from
Sep 25, 2024

Conversation

riccardo-forina
Copy link
Collaborator

@riccardo-forina riccardo-forina commented Sep 13, 2024

This should disable any persisted cache for all API responses in the app.

It also adds a "Last updated" info on every page, in the header. The messages page will not show this, as the data refresh is handled by the table in the body.

image

@riccardo-forina
Copy link
Collaborator Author

@MikeEdgar this should be good to go now

@MikeEdgar MikeEdgar changed the title Disable persisted cache for API responses Disable persisted cache for API responses, add refresh button Sep 20, 2024
@MikeEdgar MikeEdgar added this to the 0.4.0 milestone Sep 20, 2024
@MikeEdgar
Copy link
Member

@riccardo-forina there are two playwright tests failing (both browsers) that look like they might be legitimate errors


  4 failed
    [chromium] › MessagesPage.test.tsx:3:5 › Messages page ─────────────────────────────────────────
    [chromium] › PartitionsPage.test.tsx:3:5 › Partitions page ─────────────────────────────────────
    [firefox] › MessagesPage.test.tsx:3:5 › Messages page ──────────────────────────────────────────
    [firefox] › PartitionsPage.test.tsx:3:5 › Partitions page ──────────────────────────────────────

@riccardo-forina
Copy link
Collaborator Author

Well the test suite's been completely updated to reuse the navigation bits and the auth bits as well. It should be easier to grok and maintain, and should pass the checks

Copy link
Member

@MikeEdgar MikeEdgar left a comment

Choose a reason for hiding this comment

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

LGTM, ready to merge?

@riccardo-forina
Copy link
Collaborator Author

yep!

@riccardo-forina riccardo-forina merged commit 3966657 into main Sep 25, 2024
9 checks passed
@riccardo-forina riccardo-forina deleted the no-caching branch September 25, 2024 14:37
Copy link

sonarcloud bot commented Sep 25, 2024

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.

2 participants