-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
Sanitize notification message #13510
Sanitize notification message #13510
Conversation
Thanks for making a pull request to jupyterlab! |
Friendly ping to @vidartf and @jasongrout |
If we're okay with starting very conservative, I would suggest having messages be only plain text (set with textContent), with a maximum size, with a single url the user can click on to read more. Starting simple is a feature, in that the simpler the message is forced to be, the less distracting it is in general for users. |
Perhaps RSS is a good model to follow: an item has three required fields:
I'd encourage that title/descriptions be shortened to a max number of displayed characters to encourage best practices of not having overly long notifications, and to protect user screen space. |
f8d0b81
to
17adc02
Compare
e1cdc03
to
0b1bf25
Compare
bot please update snapshots |
Documentation snapshots updated. |
Galata snapshots updated. |
Thanks for the review @krassowski The changes made are:
|
bot please update galata snapshots |
Galata snapshots updated. |
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.
Made a couple of small cosmetic changes and opened #13594 to revise privacy docs; otherwise, this looks good
Merging this one to move forward with 3.6 beta release (CI failures are not related). @krassowski if I release the beta this week. The RC will probably land before Christmas. But I won't be doing the final release before next year (probably waiting for the first January 4th meeting). Does that leave enough time for testing the 3.6.0? |
@meeseeksdev please backport to 3.6.x |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
References
Follow up of #13365 and JupyterLab weekly meeting
Code changes
Agressively sanitize the notification message
User-facing changes
Most likely none
Backwards-incompatible changes
None