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

theming: move reset button into field and only show when focused #2151

Merged
merged 1 commit into from
Nov 16, 2016

Conversation

jancborchardt
Copy link
Member

As per #2134, makes the buttons way less obnoxious. Please review @nextcloud/designers @nextcloud/theming

Before & after

capture du 2016-11-16 11-39-43
capture du 2016-11-16 11-37-00

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@jancborchardt jancborchardt added 3. to review Waiting for reviews design Design, UI, UX, etc. enhancement labels Nov 16, 2016
@jancborchardt jancborchardt added this to the Nextcloud 11.0 milestone Nov 16, 2016
@mention-bot
Copy link

@jancborchardt, thanks for your PR! By analyzing the history of the files in this pull request, we identified @LukasReschke, @juliushaertl and @schiessle to be potential reviewers.

@MorrisJobke MorrisJobke mentioned this pull request Nov 16, 2016
67 tasks
@juliusknorr
Copy link
Member

@jancborchardt Wouldn't it make more sense to show them when hovering the fields? That way they were still hidden, but in case you want to reset some value there will be only one click instead of one.

Even without the hover: 👍

@jancborchardt
Copy link
Member Author

@juliushaertl I had it with hover before, but then it looked strange because when you focus one field and hover another, two reset icons are shown.

@stefan-niedermann
Copy link
Member

Wouldn't it make more sense to show them when hovering the fields?

Don't forget touch only devices. The focus-solution will work in both cases pretty. If you use hover on desktop, mobile devices have to show the button always, so there would be no benefit.

@juliusknorr
Copy link
Member

@jancborchardt @stefan-niedermann Ok, makes sense. 😉

@jancborchardt
Copy link
Member Author

@stefan-niedermann so, can I get a plus-one / thumbs-up from you? ;D

@skjnldsv
Copy link
Member

@jancborchardt don't be gready! 😉

@jancborchardt
Copy link
Member Author

@skjnldsv gimme! 😠 😄

@MorrisJobke
Copy link
Member

👍

@MorrisJobke MorrisJobke merged commit a728766 into master Nov 16, 2016
@MorrisJobke MorrisJobke deleted the theming-fixes branch November 16, 2016 22:44
@MorrisJobke
Copy link
Member

@jancborchardt Could you create a "show always" for mobile in a separate PR? Thanks ;)

@jancborchardt
Copy link
Member Author

@MorrisJobke for mobile it’s also intended to be exactly like this. :) Tap into a field, then you can reset.

@stefan-niedermann
Copy link
Member

yeah, thumbs up! :D

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 design Design, UI, UX, etc. enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants