Extensions List: Wrong results filtering tags #128
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#128
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?
Filtering extensions by tag seems to check for tags in all versions of an extension, not just the most recent.
For example, the extension Gold Pro version 1.0.0 had tags
Animation
,Sequencer
. While the latest version 1.0.1 has the tagDark
.When filtering for the tag Sequencer, Gold Pro shows up:
It's possible to fix this if we indeed limit all searches only to the latest version.
We would need to update the data model by either making
extension.latest_version
a materialized field (currently it's computed by fetching all versions and sorting by date to pick the latest), or by addingversion.is_latest
flag. In both cases this data needs to be updated every time a version gets listed or de-listed.I can also imagine a different use case when a user actually wants to search through all the versions, e.g. it can be possible that an older version had a legitimate tag, and now we would expect to find it. In this case I would also expect a different results page presentation: making it clear that I found a particular version of an extension. This also probably suggests a clear UI difference for an entry point of such search.
If this second use case sounds too artificial, I'd argue that we should move tags from manifest/version to the extension level.
What was the reason to put them at the version level? Why not edit them at the same time as the description?
Mainly so they are available inside Blender. However, we do collect online info from within Blender so we could do that too. I'd simplify updating existing extensions when new tags get added indeed.
@dfelinto can maybe expand on this.
Yes, this makes it similar to #111
Should we move the tags to the extension level then, treating them exactly like other metadata fields that are taken from the manifest?
This would mean replacing the full set when a new version that specifies tags is uploaded.
@dfelinto do you have any objections or do you support the change suggested above: make tags a part of extension metadata instead of version metadata?
@Oleg-Komarov no objections at all.
Fixed is deployed in production.