Skip to content

Standardize admin page headers and main page layout#686

Merged
sei-aschlackman merged 13 commits intomainfrom
feature/template-view-indicator
Mar 12, 2026
Merged

Standardize admin page headers and main page layout#686
sei-aschlackman merged 13 commits intomainfrom
feature/template-view-indicator

Conversation

@sei-awelle
Copy link
Copy Markdown
Contributor

Summary

  • Update admin sidebar header to use mat-toolbar with app icon
  • Reorder admin menu items to match other apps
  • Fix admin Users section table layout and row height
  • Update main Views page to match CITE layout
  • Add consistent spacing and Material Design styling
  • Add template indicator badge to admin views list

Changes

  • Admin Container: Updated sidebar header with mat-toolbar structure and app icon
  • Admin Users: Fixed table layout, row heights, and added ID column with copy button
  • Main Views Page: Converted to CITE-style centered container with icon-text layout
  • Styling: Consistent spacing, removed unnecessary wrapper divs and CSS classes
  • Template Badge: Added visual indicator for template views in admin list

Test Plan

  • Verify admin sidebar displays correctly with mat-toolbar header
  • Check admin Users section table displays properly with correct row height
  • Confirm main Views page layout matches CITE
  • Test template badge appears on template views in admin list
  • Verify table cell padding and alignment is consistent

Display a "TEMPLATE" badge next to view names in the admin views list
when isTemplate is true, making it easier to distinguish template views
from regular views at a glance.
- Update admin sidebar header to use mat-toolbar with app icon
- Reorder admin menu items to match other apps
- Fix admin Users section table layout and row height
- Update main Views page to match CITE layout
- Add consistent spacing and Material Design styling
- Remove unnecessary wrapper divs and CSS classes
- Fix table cell padding and alignment
@sei-awelle sei-awelle requested a review from a team as a code owner March 12, 2026 11:35
@sei-aschlackman
Copy link
Copy Markdown
Contributor

The Administration link in the top left of the Administration section is no longer a link that can be opened in a new tab. I think we should maintain that functionality in all of the apps. Maybe for the app icon in the topbar that brings you to the home page as well?

}

goToHome(): void {
window.location.href = '/';
Copy link
Copy Markdown
Contributor

@sei-aschlackman sei-aschlackman Mar 12, 2026

Choose a reason for hiding this comment

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

Will this work in a path-based routing deployment?

Replace click event handler with routerLink directive to enable proper browser navigation behavior including middle-click to open in new tab
Change icon from button with click handler to link with routerLink
Add explicit color style to maintain icon color after changing to anchor tag
Update focused-app container top position from 40px to 46px to match topbar height and prevent overlap
- Change sidebar header to use mat-toolbar for consistency
- Set header height to 40px to match admin panel
- Use 35px icon size matching admin styling
- Apply same border-bottom styling as admin header
Refactored view page sidebar to match Blueprint's collapsible design with 50px mini mode. Added toggle buttons for collapse/expand, improved icon sizing and centering, and included small Crucible logos for both themes in collapsed state. Made all navigation elements middle-clickable for better UX.
Moved routerLink from mat-toolbar to anchor tag to enable middle-click opening in new tab. Addresses PR feedback to maintain middle-click functionality on administration header.
@sei-aschlackman sei-aschlackman merged commit 56537d6 into main Mar 12, 2026
3 checks passed
@sei-aschlackman sei-aschlackman deleted the feature/template-view-indicator branch March 12, 2026 19:03
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