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

Fix active entry highlight in certain apps #6394

Merged
merged 1 commit into from
Sep 7, 2017
Merged

Conversation

jancborchardt
Copy link
Member

For example in the Mail app:
Before (no highlight) / After (proper highlight)
screenshot from 2017-09-07 02-49-37 screenshot from 2017-09-07 02-48-53

This is due to specific container structure. This pull request makes sure that our standard .with-icon class is used as identifying element.

Please review @nextcloud/designers @ChristophWurst @nextcloud/mail

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@jancborchardt jancborchardt added 3. to review Waiting for reviews bug design Design, UI, UX, etc. papercut Annoying recurring issue with possibly simple fix. labels Sep 7, 2017
@jancborchardt jancborchardt added this to the Nextcloud 13 milestone Sep 7, 2017
@mention-bot
Copy link

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

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

Finally \o/

Tested and works 👍

@ChristophWurst
Copy link
Member

IMO this should be backported. cc @karlitschek

@skjnldsv
Copy link
Member

skjnldsv commented Sep 7, 2017

@jancborchardt Where is the .with_icon documented? :)

@ChristophWurst The mail app is really not using the nextcloud docs for the app menu, I would prefer editing the mail app than adding some custom properties here! ;)
I can help you with that if you want :)

@ChristophWurst
Copy link
Member

I can help you with that if you want :)

That would be awesome 👍 🙌

@MorrisJobke
Copy link
Member

@jancborchardt Where is the .with_icon documented? :)

https://docs.nextcloud.com/server/12/developer_manual/app/css.html#navigation

This also makes sense and is how it is documented.

@MorrisJobke MorrisJobke merged commit 5184f3a into master Sep 7, 2017
@MorrisJobke MorrisJobke deleted the navigation-mail-fix branch September 7, 2017 07:30
@MorrisJobke
Copy link
Member

Backport is in #6397

@skjnldsv
Copy link
Member

skjnldsv commented Sep 7, 2017

https://docs.nextcloud.com/server/12/developer_manual/app/css.html#navigation
This also makes sense and is how it is documented.

I removed this with the new implementation I did a few month ago. I still didn't had time to do nextcloud/documentation#333
We don't need the with-counter with-menu or with-icon anymore now.
We shouldn't have merged this, we implemented something we agreed to get rid of in january...

@MorrisJobke
Copy link
Member

We shouldn't have merged this, we implemented something we agreed to get rid of in january...

🙈

@MorrisJobke MorrisJobke removed this from the Nextcloud 13 milestone Sep 7, 2017
@skjnldsv skjnldsv restored the navigation-mail-fix branch September 7, 2017 07:38
@skjnldsv skjnldsv deleted the navigation-mail-fix branch September 7, 2017 07:38
@jancborchardt
Copy link
Member Author

@skjnldsv sorry bout that :/ then we have to document it and fix the main apps though.

@skjnldsv
Copy link
Member

skjnldsv commented Sep 7, 2017

@jancborchardt Yeah, it has been going on for too long. i should have resume my work earlier, didn't have the time back then :(
I'm doing a full scss/template work since a week, the end will be the rebuild of all the docs.
I expect to be finished pretty soon.

I will provide a design example of all possible and allowed template for nextcloud with some serious code in it. No one will be able to not understand what they can or can't do :)

@karlitschek
Copy link
Member

backport makes sense from my point of view.

@jancborchardt
Copy link
Member Author

@skjnldsv awesome! :) I was also thinking that the boilerplate app (from appstore) should also have more of these elements like 3-dot menu, and the contacts-column-layout.
And we need pictures of how it looks in the docs - then it's also time to rename it from "CSS" to "Design" ;)

Let me know when there's some work-in-progress to look over and review. :)

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 bug design Design, UI, UX, etc. papercut Annoying recurring issue with possibly simple fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants