Skip to content

Conversation

@jancborchardt
Copy link
Member

@jancborchardt jancborchardt commented Nov 2, 2017

This is pretty much done now! Needs some testing with subfolders @nextcloud/mail

TODO where I need JS help:

  • Don’t show the counter when there are 0 unread mails
  • Fix popover position for account settings
  • Clicking »Show all folders« and collapse should not reload the main content

screenshot from 2017-11-02 17-26-18

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@jancborchardt jancborchardt added this to the 0.7.5 milestone Nov 2, 2017
@jancborchardt jancborchardt changed the title Remove specific CSS modifications Fix CSS in app-navigation Nov 2, 2017
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@ChristophWurst
Copy link
Member

Clicking »Show all folders« and collapse should not reload the main content

Wild guess: did you somehow break the click handler binding and the app tries to navigate to #?

@ChristophWurst
Copy link
Member

Don’t show the counter when there are 0 unread mails

Easy, I can do that. Doesn't have to be in this PR as that's independent.

@ChristophWurst
Copy link
Member

Fix popover position for account settings

Why do we need js for this?

{{#if hasFolders}}
<li class="account-toggle-collapse">{{toggleCollapseMessage}}</li>
<li class="account-toggle-collapse">
<a href="">{{toggleCollapseMessage}}</a>
Copy link
Member

Choose a reason for hiding this comment

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

here you go. The newly added a element causes an unexpected navigation. The click handler should call event.preventDefault().

Copy link
Member

Choose a reason for hiding this comment

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

preventDefault isn't working here, wefound something else. ;)

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@jancborchardt
Copy link
Member Author

Pushed a fix for the other two issues, the position was indeed CSS only. :)

@ChristophWurst
Copy link
Member

❤️

@lock
Copy link

lock bot commented Nov 20, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and questions.

@lock lock bot locked and limited conversation to collaborators Nov 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants