Skip to content

Group Home dashboard tiles into Workflow and Admin sections#174

Merged
markdav-is merged 1 commit into
mainfrom
home-dashboard-sections-claude
Jul 7, 2026
Merged

Group Home dashboard tiles into Workflow and Admin sections#174
markdav-is merged 1 commit into
mainfrom
home-dashboard-sections-claude

Conversation

@markdav-is

Copy link
Copy Markdown
Member

Summary

  • Reorders the Home dashboard tiles to follow the flow of the work instead of raw CMS page order.
  • Splits tiles into two sections:
    • Workflow: Enrollment → Classes/Training → Grower → Assessment
    • Admin: Village → Cohort → Mentor → TreeType
  • Any page that doesn't match either list still renders under an "Other" section, so a future module never silently disappears from the dashboard.

Test plan

  • dotnet build succeeds with 0 errors
  • Verified in-browser earlier in the session (before this grouping change) that tiles render with correct name/description and navigate correctly when clicked
  • Re-verify the Workflow/Admin grouping visually once merged (local preview sandbox hit an unrelated WASM asset-loading flake in this session that prevented a final screenshot)

🤖 Generated with Claude Code

Order tiles by the actual flow of work (Enrollment, Classes, Grower,
Assessment) instead of the CMS page order, and separate day-to-day
workflow modules from administrative/reference modules (Village,
Cohort, Mentor, TreeType). Any unmatched page still renders under an
"Other" section so it isn't silently dropped.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 7, 2026 21:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Home module dashboard to present navigation tiles in a work-oriented order by grouping them into Workflow, Admin, and a fallback Other section (so new/unknown pages still appear).

Changes:

  • Split the home tiles into three sections (Workflow/Admin/Other) with section headers and consistent spacing.
  • Introduce explicit ordering lists for Workflow and Admin tiles, independent of CMS Page.Order.
  • Refactor tile rendering into a reusable RenderTiles(...) fragment and add section-ordering helper logic.

Comment on lines +65 to 69
var pages = PageState.Pages
.Where(p => p.IsNavigation && p.ParentId == null && p.PageId != PageState.Page.PageId)
.OrderBy(p => p.Order)
.Select(p => new Tile
{
Name = p.Name,
@markdav-is markdav-is merged commit 75fc3f8 into main Jul 7, 2026
1 check passed
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.

2 participants