Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FilePicker: Hide newButton outline if only picking is allowed #33297

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jul 20, 2022

If the filepicker mode is set to FILEPICKER_TYPE_CHOOSE
currently only the button but not the outline of it is hidden.

This changes the behavior to also hide the outline.

@susnux
Copy link
Contributor Author

susnux commented Jul 20, 2022

/compile

@susnux
Copy link
Contributor Author

susnux commented Jul 20, 2022

@Pytal Sorry for request the review again. I superseded the previous (already reviewed by you) PR #33249 so that the compile command works.

@szaimen
Copy link
Contributor

szaimen commented Jul 20, 2022

/compile amend /

Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
lgtm but did not test

If the filepicker mode is set to `FILEPICKER_TYPE_CHOOSE`
currently only the button but not the outline of it is hidden.

This also hides the outline to fix #33142

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@github-actions
Copy link
Contributor

Possible performance regression detected

Show Output
2 queries added

= /remote.php/dav/files/test
= /remote.php/dav/files/test/test.txt
≠ /remote.php/dav/files/test/many_files with 1 queries added
  + UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)
= /remote.php/dav/files/test/new_file.txt
≠ /remote.php/dav/files/test/new_file.txt with 1 queries added
  + UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)

@szaimen szaimen added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 20, 2022
@PVince81 PVince81 merged commit 6c42874 into master Jul 21, 2022
@PVince81 PVince81 deleted the fix/filepicker-new-button branch July 21, 2022 13:56
@skjnldsv skjnldsv mentioned this pull request Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug design Design, UI, UX, etc. feature: filepicker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Filepicker - Outline of "new" button is not hidden
4 participants