diff --git a/.woodpecker.yml b/.woodpecker.yml index abe2b00..43bf009 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,7 +5,7 @@ steps: commands: - npm i when: - event: [tag, push, pull_request] + event: [tag, push, pull_request, manual] branch: [master, develop, feature/*, fix/*, bugfix/*, translations] osv-detector: @@ -19,16 +19,16 @@ steps: commands: - npm run build when: + event: [tag, push, pull_request, manual] branch: [master, develop, feature/*, fix/*, bugfix/*, translations] - event: [tag, push, pull_request] build-translations: image: deblan/php:8.0 commands: - php bin/generate_l10n.php when: + event: [tag, push, pull_request, manual] branch: [master, develop, feature/*, fix/*, bugfix/*, translations] - event: [tag, push, pull_request] create-signature: image: nextcloud:25 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cbaa46..5dc6363 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## [Unreleased] +## 3.11.0 +### Added +* add a search component in menus +### Fixed +* remove the label of the link to personal settings - fix #283 + ## 3.10.3 ### Fixed * change the way to load nextcloud components (NcActionLink/NcActions) - fix #274 diff --git a/appinfo/info.xml b/appinfo/info.xml index 9b358a2..4840e27 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -32,7 +32,7 @@ Notice Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**. In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/). ]]> - 3.10.3 + 3.11.0 agpl Simon Vieille SideMenu diff --git a/css/sideMenu.css b/css/sideMenu.css index 7fc71a2..9bf15c8 100644 --- a/css/sideMenu.css +++ b/css/sideMenu.css @@ -47,7 +47,7 @@ margin-top: 2px; float: right; line-height: 34px; - height: 28px; + height: 42px; display: none; } @@ -155,7 +155,7 @@ } #side-menu.hide-opener .side-menu-logo { - margin-top: 20px; + margin-top: 10px; } #side-menu-loader { @@ -223,7 +223,7 @@ } .side-menu-loader svg { - width: 38px; + width: 45px; margin: auto; stroke: var(--side-menu-text-color, #fff); } @@ -318,12 +318,35 @@ visibility: visible; } +.side-menu-search { + float: right; +} + +.side-menu-search input { + background: none; + border: 0; + border-radius: 0; + color: var(--side-menu-text-color); +} + +.side-menu-search input::placeholder { + color: var(--side-menu-text-color); +} + +.side-menu-always-displayed .side-menu-search { + display: none; +} + @media screen and (max-width: 1024px) { #side-menu.side-menu-big { max-width: 290px; height: 100vh; } + #side-menu.hide-opener.side-menu-big .side-menu-search { + float: none; + } + .side-menu-categories { display: block; padding: 0; diff --git a/src/AppSearch.vue b/src/AppSearch.vue new file mode 100644 index 0000000..b2679a2 --- /dev/null +++ b/src/AppSearch.vue @@ -0,0 +1,32 @@ + + + + diff --git a/src/SettingsButton.vue b/src/SettingsButton.vue index a4eb97f..b8cb624 100644 --- a/src/SettingsButton.vue +++ b/src/SettingsButton.vue @@ -17,7 +17,9 @@ along with this program. If not, see .