2
0

feat(ui): add option to hide Explore button from navbar
All checks were successful
Build and Release / Create Release (push) Successful in 0s
Build and Release / Lint (push) Successful in 4m36s
Build and Release / Unit Tests (push) Successful in 3m8s
Build and Release / Integration Tests (PostgreSQL) (push) Successful in 3m33s
Build and Release / Build Binaries (amd64, linux, linux-latest) (push) Successful in 3m22s
Build and Release / Build Binaries (amd64, windows, windows-latest) (push) Successful in 9h5m35s
Build and Release / Build Binaries (amd64, darwin, macos) (push) Successful in 7m58s
Build and Release / Build Binaries (arm64, darwin, macos) (push) Successful in 11m51s
Build and Release / Build Binary (linux/arm64) (push) Successful in 9m34s

- Add theme.hide_explore_button configuration option
- Add admin UI toggle in Site Administration > Configuration > Theme
- Conditionally hide Explore button from header navigation when enabled
- Separate from hide_explore_users (which only hides the Users tab)
- Useful for private instances that don't want to expose the Explore feature
This commit is contained in:
2026-02-01 10:59:43 -05:00
parent 0b9eb5065a
commit 0259eed592
5 changed files with 18 additions and 0 deletions

View File

@@ -3997,6 +3997,8 @@
"admin.config.help_url_help": "URL for the Help link in the navigation. Leave empty to hide the Help link.",
"admin.config.hide_explore_users": "Hide Explore Users",
"admin.config.hide_explore_users_desc": "Hide the Users tab from the Explore menu",
"admin.config.hide_explore_button": "Hide Explore Button",
"admin.config.hide_explore_button_desc": "Hide the Explore button from the header navigation bar",
"admin.config.enable_explore_packages": "Enable Explore Packages",
"admin.config.enable_explore_packages_desc": "Show a Packages tab in the Explore menu to browse public and global packages",
"admin.config.custom_home_title": "Homepage Title",