-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[docs] Revamp the notifications #19615
[docs] Revamp the notifications #19615
Conversation
mbrookes
commented
Feb 9, 2020
•
edited
Loading
edited
- I have followed (at least) the PR section of the contributing guide.
Details of bundle changes.Comparing: e534b94...9f7287e
|
Interesting! I was recently thinking of something related to it. What if we could easily display a full-width banner like we were doing for v3 https://v3.material-ui.com/ and like https://www.gatsbyjs.org/ has? |
It isn't quite as intrusive as Snackbar based notifications, but I think it should still be reserved for important announcements such the the v4 one. Not liking the Gatsby ads banner much. |
Does taking the time to communicate about non-important messages on the documentation worth it? Could Twitter, only, be used for it? I think that we could have 3 categories of communication:
I think that we should be cautious that if it significantly reduce the reach, there is a chance we will no longer take the time to leverage this communication channel. Will it reduce the reach? I have no idea :) |
I generally would not want any notifications there. If people want to subscribe to changes, news, updates etc then there are plenty of opt-in features (twitter, github, do we have a rss feed for the blog?). These popups are just bad. They are driven by engagements which is usually used as a target not a metric. I really like the single-popup approach as a compromise. Do we limit it to the last 2 announcements? Or only criticals (breaking changes, security fix) and last x updates? |
If anything, it could have the potential to increase engagement. The Snackbar is easy to dismiss (and likely to be if the developer came to the docs for a specific purpose, and the Snackbar is getting in the way of achieving their goal), and once gone, are never seen again. With the Notification icon, visitors to the site have the option to check the notifications in their own time, and to revisit them later if desired. Anecdotally (sample size of 1), For Crowdin and YouTube that have similar notification systems, I always check them when there's an update. |
I don't recall there ever being more than 3 at one time, which for the Snackbar is almost too many for a first time visitor to be bombarded with, but 3 - 4 should be fine for a single user-initiated pop-up. For regular visitors there will never be more than one new announcement, and fairly infrequently at that. I did wonder about the option to permanently dismiss a notification (if I follow on Twitter, I don't need to be constantly reminded every time I look at the notifications), but opted for the simpler approach initially.
I don't think significant release or feature announcements (for example a new component) would be unreasonable to have a notification for when it's something that a developer who lives in the docs and not on the GitHub repo would benefit from learning about. |
I was wondering about using a standalone badge (BTW, something we could support!):
|
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.
For the UI/UX of the popup, what do you think of:
- Using a theme.palette.text.primary instead of the secondary color.
- Display the popup below the icon (so we can see it)
- I doubt we should have a modal like behavior (Popover). Would the usage of the Popper be more appropriate?
Both Crowdin and Youtube make this a scrolling list with past notifications overflowing. In the case of Crowdin, which is closest to our use-case, they show two notifications before you need to scroll. |
@@ -1,15 +1,18 @@ | |||
[ | |||
{ | |||
"id": 27, | |||
"text": "You can <a style=\"color: inherit;\" target=\"_blank\" rel=\"noopener\" href=\"https://twitter.com/MaterialUI\">follow us on Twitter</a> to receive exclusive tips and updates about Material-UI and the React ecosystem." |
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.
I believe (looking for stats to support it, hold on) this message has been driving most of our new followers on Twitter. Should we keep it?
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.
- The message was introduced In October 2018: eaa0052
- We went from an average of 70 new followers/month to 300 since then.
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.
We went from an average of 70 new followers/month to 300 since then.
What did we get from the twitter followers? More poll participation, comments, issue participation in linked issues?
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.
The pros I can think of Twitter followers:
- Reach our users even when they are not directly using the product (polls, discussions)
- Reach the React community at large, when our users' retweet
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.
Should we keep it?
My logic for removing it was that it isn't news or an announcement, and we already have the twitter followers button (and footer link) on the home page. A better use might be, for example, to announce Twitter polls here, and in the poll tweet put "Follow @MaterialUI for the final results of this poll".
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.
I would be careful with the operational cost of using multiple channels for the same use case, but for important news, like the survey, it would definitely be interesting. Removing this message could be a way to measure the impact.
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.
Okay, let's try it and see. If Twitter follower growth tanks, we'll have to reevaluate what the best method to promote the twitter account is.
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.
The pros I can think of Twitter followers:
Sure but this is just a hypothesis. Did the participation in polls increase?
What do we get in retweets? Did you see download/funding increase?
As far as I can tell we're not monetizing the twitter account, right? It's only a promotional channel so we should see the effects on that in download/funding numbers.
Very interesting!
We might have two opportunities to improve the DX :). |
3d4fd91
to
04ed92d
Compare
Thanks. Shame on me for not checking the console! 😊 |
This is one I can't wait to see go live! The Snackbar based notification has bugged me for ever – and I implemented it. 😆 |