Add stats to madmin dashboard and fix VersionJump index columns#374
Merged
Conversation
- Replace the dashboard's resource link grid (duplicated in the sidebar) with stat tiles and recent-activity lists (stories, projects, estimates). - Add Madmin::DashboardController#show to load the counts and recent records. - Show technology, initial_version and target_version on the VersionJumps index (madmin only renders id/title/name by default, so it showed only IDs). - Add a Dashboard nav link and keep the sidebar visible on desktop.
Strengthen the status-only smoke tests to guard the content this PR adds: - dashboard: stat tiles, recent-activity sections and links, no old link grid, and the sidebar Dashboard link. - version jumps index: technology and versions render, not just the id.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation / Context
The madmin dashboard only listed link cards to each resource, which duplicates the sidebar navigation. This replaces those links with useful at-a-glance content, and fixes the VersionJumps index that showed only record IDs.
Changes
Madmin::DashboardController#showto load the counts and recent records.technology,initial_versionandtarget_version. madmin only rendersid/title/name/created_aton index by default, so the list previously showed only IDs.BEFORE
AFTER
QA / Testing Instructions
/madmin./madmin/version_jumpsand confirm the list shows technology / initial version / target version, not just IDs.I will abide by the code of conduct.