-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Toggle app navigation not only on mobile, but on desktop as well #8620
Conversation
very nice 👍 |
Ok, I added the app name next to the logo. We probably need to tweak the look. Like this, big like the height of the »d« of ownCloud it looks ok. Better than small when it fits the x-height of the ownCloud logo – especially because it then is too low down. (Regarding the change that on desktop, clicking the ownCloud logo should go to »home« (Files), I would need help from @PVince81 – probably putting that media query back in the JS.) |
(Fixed an overflow issue with the navigation I found while testing on iPod touch – should be fixed for iPhone/iPod now.) |
Please review @owncloud/designers :) |
@PVince81 I know what’s wrong with the tests – they expect |
If the "slide up" navigation has a specific recognizable class you could try changing it to |
Hmmm, maybe you can simply remove the obsolete unit tests. |
@PVince81 can you maybe do this – you created the tests, right? I don’t really see which ones are obsolete and which ones are still needed. |
I've removed the obsolete code, tests should pass now. |
position: relative; | ||
color: #fff; | ||
font-size: 26px; | ||
opacity: .4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop that opacity (unused)
I added |
@jancborchardt We don't need the push item anymore, didn't we? |
Hmm. The apps name looks a bit strange. Perhaps a bit too big. Of course I have no better idea for a better design. :-) |
@karlitschek The font doesn't fit ... maybe we use the ownCloud font for this? |
@MorrisJobke It looks already much better! But personally I'm not sure if it is possible to make it look really good with the two strings next to each other. I wonder if it is really needed if the logo doesn't link to a different location than the app name (and I agree with @jancborchardt that this could be confusing). Maybe we should just drop the idea and don't display the app name at all? Or a different idea: remove the "ownCloud" string from the logo and just show the cloud together with the app name? This could look nice too. |
I like the suggestion by @schiesbn to hide "ownCloud" and only display the ownCloud icon. It would be quite similar to my mock-ups in #8159 (comment). Additionally we could show "ownCloud" instead of the app name when the menu is opened (with a subtle fade-in). |
@MorrisJobke I will prepare a pull request to use Source Sans Pro as the general font for the ownCloud interface – wanted to do that anyway. I’ll fix the appname there as we a) shouldn’t introduce a font just for that part and b) it’s a separate topic. @schiesbn I’m also fully ok with not displaying the app name at all. Maybe that will make the menu harder to discover though. @jbtbnl naah – we won’t use images as text. ;) @schiesbn @jbtbnl we shouldn’t change the icon which is displayed: It will require an additional logo for themes and existing ones will break. |
Reduced the font size on the appname in the header, looks much better now. Please review @karlitschek @owncloud/designers |
#navigation { | ||
top: 45px; | ||
bottom: initial; | ||
width: 265px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 * 80px + 2 * 5px = 250px, not 265px
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was like that before, but that broke it on mobile and showed only 2 columns. Remember there will be a scrollbar shown as well. :)
(Ref: 15e9081 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It still looks bad though ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seriously? Doesn’t look so bad to me. Slight spacing issue, but not jarring.
Let’s do it like this for now, we can check more sophisticated fixed in follow-up pull requests.
👍 |
@karlitschek what do you say to the improved app name display? |
Looks much better! What do you think about making a click on the ownCloud logo a "home" action that always goes to / on files ? |
I still think that making a difference between clicking on the ownCloud logo and the appname part will be highly confusing. It will be even worse on mobile because of the little space we have. Files will always be in the top left so it’s quick to reach. |
O.K. give me a few more minutes to test and discuss! |
💣 Test Failed. 💣 |
💣 Test Failed. 💣 |
If you install an app, it previously was added to the navigation with js. |
@nickvergessen Your issue is fixed with the latest commit 👍 from my side for the other changes |
Ok, let’s wait for Jenkins and then merge. I’m fine with the »Clicking logo goes to Files« for now. We can still see how it fares and what feedback we get. That decision is not a blocker for merging though. :) |
Looks good 👍 |
💣 Test Failed. 💣 |
A new inspection was created. |
@PVince81 We have to look at the other failing test. I have no clue why it fails. The second failing test is fixed in the above commit. |
The inspection completed: 4 new issues |
💣 Test Failed. 💣 |
A new inspection was created. |
💣 Test Failed. 💣 |
A new inspection was created. |
failing unit test is unrelated -> merge |
Toggle app navigation not only on mobile, but on desktop as well
YEAH! 🚀 now we can continue with the mobile stuff: #8159 Thanks to everyone |
Several reasons for this: