Ext facet search is unreachable end-to-end: no published form declares an ext field, and facet hits are intersected with community-shared items #59
Labels
No labels
bug
discussion
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
edufeed/edufeed-app#59
Loading…
Reference in a new issue
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?
Found while browser-verifying #58 (@TestOER), then re-verified independently. #58 fixed the filter key; this issue is about the fact that no user can currently reach that filter, and about one product decision that blocks it even once they can.
1. No published form declares an
output: extfieldThe facet section in
LearningContentFilters.svelteonly renders whenextFieldDefsis non-empty, which requires the community's preferred kind-30168 form to have at least one field withoutput: ext.Measured against
wss://relay.edufeed.org(TestOER also checkedamb-relay,oersi,relay-rpi):So
extFieldDefsis empty for every deployed community and the facet chips never render.2. The corpus that does carry ext tags has no published form
The ~6280 kind-30142 resources on
amb-relayinclude conformant tags —ext:ekw:schoolType:id,ext:ekw:method:id,ext:ekw:gradeLevel:id, alongside["l","ekw","metadata-form"]. But nod=ekwkind-30168 form exists on any relay checked. Those events come from an external pipeline that writes ext tags without publishing the form that would let the UI discover them as facets.So the two halves never meet: the form-driven UI has no ext fields, and the ext-tagged data has no form.
Also worth recording for anyone writing these filters: the values are
nostr:39738:<pubkey>:<slug>addresses, not w3id URIs. Querying the plausible-lookinghttps://w3id.org/kim/schularten/gymnasiumreturns 0 and looks exactly like a regression.3. Decision needed: facet hits are intersected with the community's own shared items
LearningView.svelte:130:The rendered list is the intersection of the community's shared resources with the search hits. Verified in a browser: with a correct filter key returning 5 matching events from the relay, the view still showed "No results", because those 5 resources are in no community's shared list.
That is defensible (a community view showing only that community's material) but it means facet search can never surface a resource that has not been shared into the community, however well the tags match. Needs a product call:
:130needs to union rather than intersect, with an explicit "outside this community" affordance.Suggested order
ekwform withoutput: extfields whosedtag and field ids match the tags already in the corpus (ekw/schoolType), and share the resources into a community.No code defect here — #58's fix is correct and merged at
3353662b. This is the gap between it and a user-visible feature.