Skip to content

Admin UI cleanup: nav default-open, uploader label, Home Page nav link - #28

Merged
kiran-brahma merged 1 commit into
mainfrom
fix/admin-nav-ui-cleanup
Jul 8, 2026
Merged

Admin UI cleanup: nav default-open, uploader label, Home Page nav link#28
kiran-brahma merged 1 commit into
mainfrom
fix/admin-nav-ui-cleanup

Conversation

@kiran-brahma

Copy link
Copy Markdown
Owner

Summary

Follow-up UI fixes that landed on fix/recordpages-missing-helpers after #27 had already been merged, so they never made it into main. Re-landing here.

  • AdminNavApp: sidebar nav now opens by default on desktop (was hardcoded collapsed, forcing an extra click on every admin page load). Mobile still starts collapsed as a drawer.
  • AdminNavApp: added a "Home Page" sidebar link for the Add singleton home page content handling #25 home_page singleton, which had no entry point anywhere in the admin UI. Looks up the existing item via /admin/ajax/items on mount and links straight to its editor, or to the create flow (?type=home_page) if none exists yet.
  • AdminImageUploaderApp: dropped the long comma-separated accepted-extensions list from the upload box (was overflowing it). Box now just prompts to click/drag; "Or choose from uploaded" stays below.

Test plan

  • yarn test — 69/69 suites, 412/412 tests pass locally

…age link

- AdminNavApp: sidebar nav now opens by default on desktop (was hardcoded
  collapsed, requiring an extra click every admin page load); mobile still
  starts collapsed as a drawer
- AdminNavApp: add a "Home Page" sidebar link for the PR #25 home_page
  singleton, which previously had no entry point in the admin UI. Looks up
  the existing home_page item via /admin/ajax/items on mount and links
  straight to its editor, or to the create flow (?type=home_page) if none
  exists yet
- AdminImageUploaderApp: drop the long comma-separated list of accepted
  file extensions from the upload box (was overflowing the box); the box
  now just prompts to click/drag, with "Or choose from uploaded" below
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@kiran-brahma
kiran-brahma merged commit b8d1cb0 into main Jul 8, 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.

1 participant