Commit 9ae589d
committed
panes: loose-match bare @type local names (e.g. 'Tracker' → wf:Tracker)
Hub's tracker docs (and many SolidOS-style docs) emit JSON-LD with
the @type compacted via the doc's @context: '@type': 'Tracker'
rather than the fully-expanded IRI. Strict equality against the
pane's full forClass IRI ('http://www.w3.org/2005/01/wf/flow#Tracker')
missed, so the file fell through to a raw new-tab open instead of
the Pilot Tracker pane.
Two-pass findPaneFor: exact-IRI first, then a loose local-name
suffix match guarded to bare terms (no '/' or ':'). The guard
prevents 'schema:Tracker' or 'http://other/Tracker' from getting
mis-routed. Bare 'Tracker' now correctly resolves to the
wf:Tracker pane in the registry.1 parent 2b6cea7 commit 9ae589d
1 file changed
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
42 | 54 | | |
43 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
44 | 64 | | |
45 | 65 | | |
46 | 66 | | |
| |||
0 commit comments