mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
d43894e8f6
* feat: rework header, dialogs and new raw mode * chore: add test for raw button and hide download tarball * chore: add test hide footer * chore: add docs to config files * chore: add changeset * chore: enable raw by default
1.5 KiB
1.5 KiB
@verdaccio/config | @verdaccio/types | @verdaccio/ui-theme |
---|---|---|
minor | minor | minor |
feat: rework web header for mobile, add new settings and raw manifest button
New set of variables to hide features
Add set of new variables that allow hide different parts of the UI, buttons, footer or download tarballs. All are enabled by default.
# login: true <-- already exist but worth the reminder
# showInfo: true
# showSettings: true
# In combination with darkMode you can force specific theme
# showThemeSwitch: true
# showFooter: true
# showSearch: true
# showDownloadTarball: true
If you disable
showThemeSwitch
and forcedarkMode: true
the local storage settings would be ignored and force all themes to the one in the configuration file.
Future could be extended to
Raw button to display manifest package
A new experimental feature (enabled by default), button named RAW to be able navigate on the package manifest directly on the ui, kudos to react-json-view that allows an easy integration, not configurable yet until get more feedback.
showRaw: true
Rework header buttons
- The header has been rework, the mobile was not looking broken.
- Removed info button in the header and moved to a dialog
- Info dialog now contains more information about the project, license and the aid content for Ukrania now is inside of the info modal.
- Separate settings and info to avoid collapse too much info (for mobile still need some work)