Skip to content

feat: group the admin panel menu into sections - #5012

Merged
mariojsnunes merged 6 commits into
ONEARMY:mainfrom
samuel-sarmah:admin-menu-structure
Oct 23, 2026
Merged

mariojsnunes merged 6 commits into
ONEARMY:mainfrom
samuel-sarmah:admin-menu-structure

Conversation

@samuel-sarmah

@samuel-sarmah samuel-sarmah commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

  • 🐛 Bugfix
  • ✨ Feature
  • ♻️ Refactoring
  • ⚡️ Performance
  • 🧪 Tests
  • 🔧 Tools / CI
  • 📝 Documentation
  • 📦 Dependencies

What changed

Regrouped the admin sidebar into the structure from the issue: Users, News, Library, Questions, Map, Comments and Settings. A group opens automatically when you're on one of its pages.

Screenshots

Before After
Desktop localhost_3000_admin_tags (2) localhost_3000_admin_tags (4)
Mobile (375px) localhost_3000_admin_tags (3) localhost_3000_admin_tags (5)

Issue

Closes #5002

Database

  • This PR includes a schema change or migration

Checklist

  • I ran the app and checked this change myself
  • bun run format and bun run test:unit pass
  • Tests added or updated for this change

@davehakkens

Copy link
Copy Markdown
Contributor

Thanks.
Small correction, I just saw I made a formatting issue, sorry for that.
Research should have its own item.
Like this:

Library

  • Projects (coming soon)
  • Remakes

Research

@cypress

cypress Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

onearmy-community-platform    Run #10372

Run Properties:  status check passed Passed #10372  •  git commit 7e5a3f4fe5: test: open admin menu groups in e2e navigation tests
Project onearmy-community-platform
Branch Review pull/5012
Run status status check passed Passed #10372
Run duration 10m 45s
Commit git commit 7e5a3f4fe5: test: open admin menu groups in e2e navigation tests
Committer Still-Seeker
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 109
View all changes introduced in this branch ↗︎

@samuel-sarmah

Copy link
Copy Markdown
Contributor Author

Thanks. Small correction, I just saw I made a formatting issue, sorry for that. Research should have its own item. Like this:

Library

  • Projects (coming soon)
  • Remakes

Research

I'll adjust that!

@samuel-sarmah

Copy link
Copy Markdown
Contributor Author

Research is its own item now, and the screenshots are updated.

@mariojsnunes

Copy link
Copy Markdown
Contributor

Hey @samuel-sarmah some admin tests are failing, seems to be because of the route changes and needing to expand the menu.

@samuel-sarmah

Copy link
Copy Markdown
Contributor Author

Hey @samuel-sarmah some admin tests are failing, seems to be because of the route changes and needing to expand the menu.

thanks for spotting that @mariojsnunes, the tests were clicking links that are now inside collapsed groups, they open the group first now.

@mariojsnunes
mariojsnunes merged commit fd08e58 into ONEARMY:main Oct 23, 2026
13 checks passed
@mariojsnunes

Copy link
Copy Markdown
Contributor

thanks for another one @samuel-sarmah !

@onearmy-bot

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 2.166.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@samuel-sarmah

Copy link
Copy Markdown
Contributor Author

You're welcome

@Saisinare Saisinare mentioned this pull request Oct 26, 2026
5 of 12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[feature request] Bring order to admin panel menu

4 participants