From ea900724387749011f230956304affde95ff53b4 Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Fri, 30 Sep 2022 09:58:39 +0200 Subject: [PATCH 1/8] Adjust search bar design on small screens --- .../5.7.0_2022-09-09/enhancement-update-ods | 10 +- .../bugfix-search-bar-on-small-screens | 6 + .../web-app-search/src/portals/SearchBar.vue | 104 +++++++++++++----- .../src/components/Topbar/ThemeSwitcher.vue | 5 +- .../src/components/Topbar/TopBar.vue | 6 + .../__snapshots__/ThemeSwitcher.spec.js.snap | 12 +- tests/acceptance/pageObjects/webPage.js | 6 +- 7 files changed, 102 insertions(+), 47 deletions(-) create mode 100644 changelog/unreleased/bugfix-search-bar-on-small-screens diff --git a/changelog/5.7.0_2022-09-09/enhancement-update-ods b/changelog/5.7.0_2022-09-09/enhancement-update-ods index 05ab5c7de12..7aa9d5a77b4 100644 --- a/changelog/5.7.0_2022-09-09/enhancement-update-ods +++ b/changelog/5.7.0_2022-09-09/enhancement-update-ods @@ -1,6 +1,6 @@ -Enhancement: Update ODS to v14.0.0-alpha.18 +Enhancement: Update ODS to v14.0.0-alpha.19 -We updated the ownCloud Design System to version 14.0.0-alpha.18. Please refer to the full changelog in the ODS release (linked) for more details. Summary: +We updated the ownCloud Design System to version 14.0.0-alpha.19. Please refer to the full changelog in the ODS release (linked) for more details. Summary: * Bugfix - Omit special characters in user avatar initials: [#2070](https://github.com/owncloud/owncloud-design-system/issues/2070) * Bugfix - Avatar link icon: [#2269](https://github.com/owncloud/owncloud-design-system/pull/2269) @@ -26,6 +26,8 @@ We updated the ownCloud Design System to version 14.0.0-alpha.18. Please refer t * Enhancement - Progress bar indeterminate state: [#2200](https://github.com/owncloud/owncloud-design-system/pull/2200) * Enhancement - Redesign notifications: [#2210](https://github.com/owncloud/owncloud-design-system/pull/2210) * Enhancement - Use Inter font: [#2270](https://github.com/owncloud/owncloud-design-system/pull/2270) +* Enhancement - Button text align left: [#2323](https://github.com/owncloud/owncloud-design-system/pull/2323) +* Enhancement - "Cancel"-button and -handler in OcSearchBar: [#2328](https://github.com/owncloud/owncloud-design-system/pull/2328) -https://github.com/owncloud/web/pull/7626 -https://github.com/owncloud/owncloud-design-system/releases/tag/v14.0.0-alpha.18 +https://github.com/owncloud/web/pull/7675 +https://github.com/owncloud/owncloud-design-system/releases/tag/v14.0.0-alpha.19 diff --git a/changelog/unreleased/bugfix-search-bar-on-small-screens b/changelog/unreleased/bugfix-search-bar-on-small-screens new file mode 100644 index 00000000000..765daeb7163 --- /dev/null +++ b/changelog/unreleased/bugfix-search-bar-on-small-screens @@ -0,0 +1,6 @@ +Bugfix: Search bar on small screens + +We've fixed the display of the search bar on small screens. + +https://github.com/owncloud/web/pull/7675 +https://github.com/owncloud/web/issues/7617 diff --git a/packages/web-app-search/src/portals/SearchBar.vue b/packages/web-app-search/src/portals/SearchBar.vue index f7f9e7d110a..108c35fb36b 100644 --- a/packages/web-app-search/src/portals/SearchBar.vue +++ b/packages/web-app-search/src/portals/SearchBar.vue @@ -1,5 +1,11 @@