Skip to content

Conversation

@Obi-Wan-Pierogi
Copy link
Contributor

Asset Tag Names Feature

This adds a read-only assetTagNames property to the Asset interface that automatically extracts tag names from the asset's tags collection. This makes it easier to display and filter assets by their tags.

Changes Made:

Modified asset.ts to include a read-only assetTagNames property
Created new asset-utils.ts file with utility functions for processing assets
Updated data.service.ts to process assets with tag name getters
Enhanced the Project Page component with tag filtering capability

Implementation Details:

The assetTagNames property is implemented as a getter that extracts tag names from assetTags
All asset processing happens when data is received from the API
Made sure empty assets handle the property correctly
Added tag filtering to allow users to filter assets within a project

Adds a read-only property to Asset interface that returns tag names as strings.
Creates utility functions for processing assets with tag name getters.
Updates DataService to process assets with tag names.
Updates Project Page component to use assetTagNames property for filtering.
@Obi-Wan-Pierogi Obi-Wan-Pierogi self-assigned this Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant