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

enhance(dev-dashboard): reuse Paginator molecule in flaws and translation dashboards #9319

Merged
merged 8 commits into from
Apr 4, 2024

Conversation

queengooborg
Copy link
Collaborator

@queengooborg queengooborg commented Jul 17, 2023

Upon noticing that the translation differences dashboard used a different paginator than the flaws dashboard, I decided that it would make a lot more sense to use the same pagination everywhere. I found that we already had a Paginate molecule in place, which provides exactly what we're looking for already.

This PR updates both the flaws dashboard and translation differences dashboard to use the existing Paginate molecule instead of implementing its own logic, pulling over features as needed. This also performs a few other tweaks to synchronize the appearance of both dashboards more.

Before After
before-flaws after-flaws
before-translations after-translations

Note: the dashboard for missing translations is actually broken on my end. As such, I have not been able to test that particular page.

@caugner caugner added the 🧑‍🤝‍🧑 community contributions by our wonderful community label Jul 18, 2023
@queengooborg queengooborg changed the title Use Paginator molecule in flaws and translation dashboards enhance(dev-dashboard): Use Paginator molecule in flaws and translation dashboards Jul 18, 2023
@caugner caugner requested a review from a team as a code owner November 7, 2023 20:14
@github-actions github-actions bot added the idle label Jan 24, 2024
@github-actions github-actions bot added the merge conflicts 🚧 Please rebase onto or merge the latest main. label Mar 27, 2024
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot removed the merge conflicts 🚧 Please rebase onto or merge the latest main. label Mar 27, 2024
@caugner caugner marked this pull request as draft March 28, 2024 12:55
@caugner
Copy link
Contributor

caugner commented Mar 28, 2024

@queengooborg PTAL at the failing tests. 🙂

@github-actions github-actions bot removed the idle label Mar 29, 2024
@queengooborg queengooborg marked this pull request as ready for review April 1, 2024 18:55
@queengooborg
Copy link
Collaborator Author

All fixed! Looks like an unused variable was removed and then a recent change started using it -- a simple diff revert did the trick!

@caugner caugner changed the title enhance(dev-dashboard): Use Paginator molecule in flaws and translation dashboards enhance(dev-dashboard): reuse Paginator molecule in flaws and translation dashboards Apr 4, 2024
@caugner caugner merged commit b507c5c into mdn:main Apr 4, 2024
10 checks passed
@queengooborg queengooborg deleted the synchronize-pagination branch April 4, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍🤝‍🧑 community contributions by our wonderful community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants