Skip to content

Implement Access levels Page#69

Merged
kflemin merged 6 commits into
mainfrom
access-levels
Jun 2, 2026
Merged

Implement Access levels Page#69
kflemin merged 6 commits into
mainfrom
access-levels

Conversation

@kflemin
Copy link
Copy Markdown
Contributor

@kflemin kflemin commented May 30, 2026

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 implements the Access Levels page redesign: it restyles the tree as a leveled/table-like layout with expand/collapse-all and accessibility attributes, modernizes the edit/rename/upload dialogs to use Material dialog structure, adds access level columns (with show/hide menu action) to the inventory AG Grid, and adjusts supporting types, services, dev proxy, styles, and i18n.

Changes:

  • Restyle access-level-tree page with leveled rows, expand/collapse all behavior, and migrate edit/rename/upload dialogs to Material dialog structure (with seed-dialog-panel).
  • Add an "Access Level" column group to the inventory grid plus a Hide/Show menu action wired through the actions component.
  • Update upload response typing, harden delete 204 handling and dev proxy 204 behavior, extend Material button color rules (incl. dark mode), add access-level cell styles, and add new i18n keys (en/es/fr).

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/styles/styles.scss Adds .access-level-header/cell styles and dark-mode Material primary/warn button overrides
src/app/modules/organizations/access-level-tree/access-level-tree.component.ts Adds expand-all/collapse-all state and filter expand state save/restore
src/app/modules/organizations/access-level-tree/access-level-tree.component.html Restyles the tree to a leveled table layout with a11y attributes and root header bar
.../edit-access-levels-dialog/* Migrates edit dialog to Material dialog structure; uses seed-alert for warnings
.../rename-instance-dialog/* Pre-fills form control with current name; modernizes layout
.../upload-instances-dialog/* Adopts Material dialog layout; tightens upload response type handling
src/app/modules/inventory-list/list/inventory.component.ts/.html Streams access level names from org and forwards toggle to grid
src/app/modules/inventory-list/list/grid/grid.component.ts Inserts Access Level column group; adds toggle to show/hide ALI columns
src/app/modules/inventory-list/list/grid/actions.component.ts/.html Replaces stubbed Hide with toggle emitting to parent; adds (unused) accessLevelNames input
src/@seed/api/organization/organization.types.ts Loosens UploadAccessLevelInstancesResponse (success/tempfile?/message?)
src/@seed/api/organization/organization.service.ts Treats 0/204 errors from delete as success and refreshes tree
proxy.conf.mjs Strips content-type on 204 to avoid parser crashes
public/i18n/{en_US,es,fr_CA}.json Adds translation keys for new UI strings

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread public/i18n/fr_CA.json Outdated
imports: [MenuItemComponent, MaterialImports],
})
export class ActionsComponent implements OnDestroy, OnChanges, OnInit {
@Input() accessLevelNames: string[] = []
@kflemin kflemin merged commit 8744d39 into main Jun 2, 2026
2 checks passed
@kflemin kflemin deleted the access-levels branch June 2, 2026 03:27
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.

3 participants