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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide "Mark all as read" button when no notifications #1948

Merged
merged 3 commits into from
Oct 4, 2017

Conversation

mrcasals
Copy link
Contributor

@mrcasals mrcasals commented Sep 28, 2017

馃帺 What? Why?

Hides the "Mark all as read" notifications button when no notifications are found.

馃搶 Related Issues

馃摲 Screenshots (optional)

Description

Copy link
Contributor

@josepjaume josepjaume left a comment

Choose a reason for hiding this comment

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

Check my comments. Also; can you implement the "no notifications" message as a callout?

CHANGELOG.md Outdated
@@ -6,6 +6,7 @@

- **decidim-core**: Show a disabled "Follow" button to anonymous users (not logged in) with a prompt to sign in [\#1903](https://github.com/decidim/decidim/pull/1903)
- **decidim-core**: Adds an option to the initializer file to enable/disable header snippets (`true` by default) [\#1923](https://github.com/decidim/decidim/pull/1923)
- **decidim-core**: Hides the "MArkk all as read" notifications button whn no notifications are found [\#1948](https://github.com/decidim/decidim/pull/1948)
Copy link
Contributor

Choose a reason for hiding this comment

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

Two typos in a row, jackpot!

@mrcasals mrcasals force-pushed the hide-button-when-no-notifications branch from dbca533 to 10b54a3 Compare September 28, 2017 14:17
@mrcasals
Copy link
Contributor Author

@josepjaume solved everything!

@mrcasals mrcasals dismissed josepjaume鈥檚 stale review October 2, 2017 12:57

Changes addressed

@mrcasals mrcasals force-pushed the hide-button-when-no-notifications branch from 10b54a3 to 772b4b4 Compare October 2, 2017 12:58
@codecov
Copy link

codecov bot commented Oct 2, 2017

Codecov Report

Merging #1948 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1948      +/-   ##
==========================================
+ Coverage   98.48%   98.48%   +<.01%     
==========================================
  Files        1145     1145              
  Lines       25729    25730       +1     
==========================================
+ Hits        25338    25339       +1     
  Misses        391      391

@mrcasals
Copy link
Contributor Author

mrcasals commented Oct 2, 2017

Rebased against master so that codecov would run (it was stuck)

beagleknight
beagleknight previously approved these changes Oct 2, 2017
@mrcasals mrcasals merged commit 7706414 into master Oct 4, 2017
@mrcasals mrcasals deleted the hide-button-when-no-notifications branch October 4, 2017 10:08
@ghost ghost removed the in-review label Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants