alpha
Login
or
Join now
oyster.cafe
/
tangled-core
forked from
tangled.org/core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Monorepo for Tangled
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
tangled-core
/
appview
/
searchquery
/
at
a1b43f63055da5ffb85a16512beda6f91276af75
3 files
Thomas Karpiniec
appview/searchquery: add dynamic tag extraction and shared resolution helpers
3mo ago
91350966
resolve.go
appview/searchquery: add dynamic tag extraction and shared resolution helpers Add KnownTags map and GetDynamicTags/GetNegatedDynamicTags methods to extract label-value search filters from parsed queries. Any tag:value pair whose key is not a known system tag (state, author, label) is treated as a dynamic label filter. Add resolve.go with shared helpers: IdentResolver type, ResolveAuthor, ExtractTextFilters, and ResolveDIDLabelValues. These keep resolution logic in the searchquery package without coupling it to idresolver. Signed-off-by: Thomas Karpiniec <tom.karpiniec@outlook.com>
3 months ago
searchquery.go
appview/searchquery: add dynamic tag extraction and shared resolution helpers Add KnownTags map and GetDynamicTags/GetNegatedDynamicTags methods to extract label-value search filters from parsed queries. Any tag:value pair whose key is not a known system tag (state, author, label) is treated as a dynamic label filter. Add resolve.go with shared helpers: IdentResolver type, ResolveAuthor, ExtractTextFilters, and ResolveDIDLabelValues. These keep resolution logic in the searchquery package without coupling it to idresolver. Signed-off-by: Thomas Karpiniec <tom.karpiniec@outlook.com>
3 months ago
searchquery_test.go
appview/searchquery: add dynamic tag extraction and shared resolution helpers Add KnownTags map and GetDynamicTags/GetNegatedDynamicTags methods to extract label-value search filters from parsed queries. Any tag:value pair whose key is not a known system tag (state, author, label) is treated as a dynamic label filter. Add resolve.go with shared helpers: IdentResolver type, ResolveAuthor, ExtractTextFilters, and ResolveDIDLabelValues. These keep resolution logic in the searchquery package without coupling it to idresolver. Signed-off-by: Thomas Karpiniec <tom.karpiniec@outlook.com>
3 months ago