Skip to content

Addons: default to semver for sorting versions #11686

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

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Oct 15, 2024

I also changed the verbose names, since it was using the name of the fields by default, which aren't great to show to users.

Before

Screenshot 2024-10-15 at 11-10-10 Gaudi_Docs - Addons - Read the Docs

Now

Screenshot 2024-10-15 at 11-10-28 theme - Addons - Read the Docs

@stsewd stsewd requested a review from a team as a code owner October 15, 2024 16:16
@stsewd stsewd requested a review from humitos October 15, 2024 16:16
@stsewd stsewd force-pushed the default-to-semver branch from 94ae5f2 to a165e4c Compare October 15, 2024 16:17
choices=ADDONS_FLYOUT_SORTING_CHOICES,
default=ADDONS_FLYOUT_SORTING_ALPHABETICALLY,
default=ADDONS_FLYOUT_SORTING_SEMVER_READTHEDOCS_COMPATIBLE,
Copy link
Member

Choose a reason for hiding this comment

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

This won't update existing projects, right? I wonder if we should migrate it for them 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, not sure if we have a good way to tell apart users that set this option explicitly and who didn't (maybe check if created and modified are equal?)

@stsewd stsewd force-pushed the default-to-semver branch from 4b1dcbc to 6c4e155 Compare October 15, 2024 20:02
@stsewd stsewd added the PR: hotfix Pull request applied as hotfix to release label Oct 15, 2024
@stsewd stsewd merged commit 83f1617 into main Oct 15, 2024
8 checks passed
@stsewd stsewd deleted the default-to-semver branch October 15, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: hotfix Pull request applied as hotfix to release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants