-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Addons: API response for tooltips #11746
Conversation
Initial `addons.tooltips` object with basic data for testing purposes.
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.
Tests are failing, this will probably require to update tests on .com as well.
linkpreviews_doctool_name = models.CharField( | ||
choices=LINKPREVIEWS_DOCTOOL_NAME_CHOICES, | ||
null=True, | ||
blank=True, | ||
max_length=128, | ||
) | ||
linkpreviews_doctool_version = models.CharField( | ||
null=True, | ||
blank=True, | ||
max_length=128, | ||
) | ||
|
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.
Are we planning to auto-fill this via the build config or something? Feels odd that users would have to define this in multiple places. In particular a version number feels super weird to have to keep updated, and definitely won't be modified by the user in any ongoing way.
Will this start showing for everyone, or are we not shipping the user facing UI here yet? |
Link previews are gonna be disabled by default. At least for now. We can change that in the future if we consider. The UI is at readthedocs/ext-theme#521, so we can decide merge it or not. |
Will plan to merge this, and test it via the admin with no user-facing UI to start. |
![Screenshot_2024-11-06_10-52-12](https://github.com/user-attachments/assets/adea8251-4b3d-4378-a28d-0f3fdf44fdb2) Required by readthedocs/addons#379 Required by readthedocs/readthedocs.org#11746 Closes readthedocs/addons#239
Initial
addons.tooltips
object with basic data for testing purposes.We will also want to add here:
Required by readthedocs/addons#422
Closes readthedocs/addons#239