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

Files : Left panel dropdown improvement for NC 25 #38217

Conversation

Jerome-Herbinet
Copy link
Member

@Jerome-Herbinet Jerome-Herbinet commented May 12, 2023

(from @Clementine46)

/!\ Testing is welcome in order to make sure it's not doing side effects elsewhere in the UI.

Checklist

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
@szaimen
Copy link
Contributor

szaimen commented May 12, 2023

Hi @Jerome-Herbinet do you have a before - after screenshot?

@szaimen szaimen added the 3. to review Waiting for reviews label May 12, 2023
@szaimen szaimen added this to the Nextcloud 28 milestone May 12, 2023
@Jerome-Herbinet Jerome-Herbinet changed the title Files : Left panel dropdown improvement Files : Left panel dropdown improvement for NC 25 May 12, 2023
@Jerome-Herbinet
Copy link
Member Author

Hi @Jerome-Herbinet do you have a before - after screenshot?

@szaimen

Before :

before.2.webm

After :

after.2.webm

@Jerome-Herbinet
Copy link
Member Author

Jerome-Herbinet commented May 12, 2023

@szaimen
I noticed that things have changed in Nextcloud 26 in comparison with Nextcloud 25. So I did an equivalent PR for Nextcloud 26 in /nextcloud/nextcloud-vue which is nextcloud-libraries/nextcloud-vue#4103
So milestone 28 or 27 ;-) ... might be applied on the other PR but not on this one.

@szaimen
Copy link
Contributor

szaimen commented May 12, 2023

@Jerome-Herbinet I think this PR should target the stable25 branch then instead of master, no?

@Jerome-Herbinet
Copy link
Member Author

@Jerome-Herbinet I think this PR should target the stable25 branch then instead of master, no?

Yes you are right. I'll look how to do it ; is it possible to target another branch without doing a new PR ?

@szaimen
Copy link
Contributor

szaimen commented May 12, 2023

Yes you are right. I'll look how to do it ; is it possible to target another branch without doing a new PR ?

You can use the cherry-pick feature of git for this

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Files : Left panel dropdown improvement

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
@Jerome-Herbinet Jerome-Herbinet force-pushed the Jerome-Herbinet-left-panel-dropdown-improvement-patch-1 branch from d0f6b9e to f66be7b Compare May 12, 2023 16:35
@Jerome-Herbinet
Copy link
Member Author

Yes you are right. I'll look how to do it ; is it possible to target another branch without doing a new PR ?

You can use the cherry-pick feature of git for this

Impossible, I got this :

Enumerating objects: 17, done.
Counting objects: 100% (17/17), done.
Delta compression using up to 8 threads
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 29.94 KiB | 696.00 KiB/s, done.
Total 9 (delta 5), reused 3 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (5/5), completed with 5 local objects.
remote: error: GH006: Protected branch update failed for refs/heads/stable25.
remote: error: At least 2 approving reviews are required by reviewers with write access. 13 of 13 required status checks are expected.
To https://github.com/nextcloud/server.git
! [remote rejected] stable25 -> stable25 (protected branch hook declined)
error: failed to push some refs to 'https://github.com/nextcloud/server.git'

@szaimen
Copy link
Contributor

szaimen commented May 12, 2023

You need to create a copy branch from stable25 and then cherry pick to that one...

Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Nice tackling this @Jerome-Herbinet! Design feedback:

  • Shouldn't this use an actual action button component on the right if the entry, also for accessibility?
  • The arrow pointing to the right by default looks a bit strange. By default it should point down to indicate a dropdown. When opened, it can point up (or still pointing down is also fine).

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.

Also blocking since this needs to target thr stable25 branch

@Jerome-Herbinet
Copy link
Member Author

I close this PR and have created a new one on stable25 branch #38338
@juliushaertl @jancborchardt

@Jerome-Herbinet Jerome-Herbinet deleted the Jerome-Herbinet-left-panel-dropdown-improvement-patch-1 branch August 31, 2023 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Invisible drop down button on left panel
3 participants