Skip to content

Commit

Permalink
Merge pull request #5450 from owncloud/view-options-button
Browse files Browse the repository at this point in the history
Make view options button less prominent
  • Loading branch information
kulmann authored Jul 6, 2021
2 parents 1cec8ef + f8464da commit 6a96e01
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion changelog/unreleased/enhancement-add-view-options
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ We've added view options above the files lists so that the user can customise th
Currently, it is possible to toggle visibility of hidden files.
Changes in view options are persisted in local storage.

https://github.com/owncloud/web/pull/5408
https://github.com/owncloud/web/pull/5408
https://github.com/owncloud/web/pull/5450
10 changes: 8 additions & 2 deletions packages/web-app-files/src/components/AppBar/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,19 @@
data-test-id="files-view-options-btn"
:aria-label="viewButtonAriaLabel"
variation="passive"
appearance="outline"
appearance="raw"
size="small"
gap-size="xsmall"
>
<oc-icon name="tune" size="small" />
<translate>View</translate>
</oc-button>
<oc-drop drop-id="files-view-options-drop" toggle="#files-view-options-btn" mode="click">
<oc-drop
drop-id="files-view-options-drop"
toggle="#files-view-options-btn"
mode="click"
class="uk-width-auto"
>
<oc-list>
<li>
<oc-switch
Expand Down

0 comments on commit 6a96e01

Please sign in to comment.