-
Notifications
You must be signed in to change notification settings - Fork 19
File Tree Diff: updates to UI (info and PR link) #551
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
Conversation
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.
Yea, this is way nicer 💯
It doesn't remove the PR build notification tho :D
Haha, that was on purpose. I didn't want to make that part of this change. However, I think #552 is a better solution. |
Only if we have it off by default? I really think avoiding notifications unless totally necessary is the right UX. The visual diff UI is a much better way to communicate that info. |
I can open another PR for this change but I need to understand what's the exact behavior you want here first. Do you want to remove the notification " This page was created from a pull request build"...
If you describe all the cases for the expected UX I can put a PR with that. |
Also, take into account that we have a setting in the WebUI: https://github.com/readthedocs/readthedocs.org/blob/29a912f4aad30b83b29539cf4ab46c5f7721f040/readthedocs/projects/models.py#L262 that controls whether or not show notification on external versions. I'm not sure we want to ignore that setting. |
Summarizing, I don't want to change the current behavior without considering all of that -- but I'm happy to talk and change the current behavior if it's not what we want. |
I want inline PR build notifications that are off by default, but can be enabled in the dashboard with that model field. |
This is what I understood we agreed on in our meetting.
Peek.2025-02-20.11-45.webm
ToDo