Commit 3ce8d18
committed
profile: use @id: #this — LOSOS convention
LOSOS's schema-pane hardcodes 'var root = store.get("#this")' (line 78
of panes/schema-pane.js). Setting @id to anything else makes root null,
which throws TypeError at line 293 when reading root[key].name and blanks
the page. All other LOSOS demos (vcard on losos.org, todos here) use
@id: #this — the convention.
The Profile pane already hides the @id badge when @id is #this, so the
page still looks right. To view a real Solid profile, open with
?uri=https://my.pod/profile#me — shell's findSubject() resolves the
fragment and the WebID becomes the active subject.
Worth a LOSOS issue separately: schema-pane should use subject.value
instead of hardcoding #this. Out of scope here.1 parent e8aaafa commit 3ce8d18
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments