blender_version_max changes #183
Labels
No Label
Priority
Critical
Priority
High
Priority
Low
Priority
Normal
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Type
Breaking
Type
Documentation
Type
Enhancement
Type
Feature
Type
Report
Type
Security
Type
Suggestion
Type
Testing
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/extensions-website#183
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Right now users will end up doing things like
blender_version_max = 4.2.9999999999
. Instead theblender_version_max
should indicate the first version where the extension is no longer supported.The proposal is to rename it toblender_version_unsupported_since
and to treat it as exclusive.For the front-end:
blender_version_max should be non-inclusiveto blender_version_max changesI added some normalization to the compatibility display, which I think improves clarity if we keep displaying the supported version range in a row:
Alternatively, with some adjustments we could separate min. and max. versions' displays. This could also work, but most of the time Max. Blender Version would just show Latest:
Alternatively we could make version text inputs less wide, if we change field placehorders from max. Blender version to e.g. x.x.x, as the SemVer format should be self-explanatory.
@martonlente
I think this works better, no? Specially with the exclusive behaviour I think the dash is misleading.
And just to re-iterate on the feedback I shared IRL:
@dfelinto thanks for the feedback.
*Update: Based on discussion IRL we only keep min. and max. versions' separation on edit pages (TODO). Similarily, version display conversion should only be implemented on end-user facing pages.
The min. and max. versions' separate display has been updated, and now is exclusive to edit pages.
Thinking about the details, displaying the max. supported version to end-users (converting first unsupported semantic version to last supported version) poses some questions though:
0
etc.). However, this should follow a pattern that matches how extensions could potentially break by version changes.Do you think defining a conversion logic that always is correct is possible based on the above?
I also wonder whether it's ok to handle this conversion on the front-end? This seems handy, but would require JavaScript to be enabled to show the correct versions.
I have added the validation, but the form doesn't display the control and error message properly, @martonlente could you please take a look:
@Oleg-Komarov thanks for adding validation!
I normalized the error message's display: should be ok now.
Should the issue be closed or is there still something to finish? (just keeping the tracker organized)