Commit 0220d77
sol-pod: auto-init + last-visited memory + LDP metadata; cross-window auth signaling
sol-pod
- auto-initializes in connectedCallback (microtask-deferred); initialize()
is now single-flight so explicit awaiters share the in-flight pass.
- Remembers the last-visited container per (pods-group, side) in
localStorage and restores it on the next mount. If the remembered
path sits under a different storage than pods[0], the dropdown
switches to that pod via _rootForPath. Storage-unavailable contexts
are wrapped silently.
- Container items now carry size / mtime / modified / types from the
LDP listing (posix:size, posix:mtime, dct:modified, rdf:type). Item
shape stays additive — existing url/name/displayName/isContainer/
contentType unchanged.
- Breadcrumb gear routes through _activateItem so a host's
podClickAction (e.g. dk-solidos navigating its iframe) gets first
refusal on the current container; falls back to the pod-ops modal.
- gear-icon attribute applies to both per-item and breadcrumb gears
via a shared _paintGearIcon helper.
sol-login
- BroadcastChannel('sol-auth') signals login/logout across same-origin
windows, tabs, and iframes. Foreign auth sets `external-auth` on the
host so CSS paints the button green and surfaces the chip — only
when this element has no own logged-in session.
sol-menu / sol-include / sol-weather
- sol-menu: part="content"/part="nav" hooks for outside theming.
Default .sol-menu-content overflow flipped to hidden (chrome
doesn't scroll); horizontal nav now wraps instead of scrolling
when items don't fit a row.
- sol-include: :host is flex column with flex:1 1 auto + min-height:0,
and the .si-content wrapper gets the same treatment in both shadow
and trusted (slotted) modes — so components placed inside finally
get a definite height to fill and scroll on their own.
- sol-weather: hide the card on fetch error instead of surfacing the
"Failed to fetch" string.
Help / demos
- New help/newhelp/ tabbed help pages (pod / menu / query / search /
weather). index.html wires podClickAction via a MutationObserver
that also watches sol-menu's shadow subtree so clicks on the live
sol-pod render item details — including the new size / mtime /
modified / types fields, with sizes humanized.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 4fe9587 commit 0220d77
27 files changed
Lines changed: 938 additions & 51 deletions
File tree
- core
- dist
- help
- data
- newhelp
- web
- styles
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
11 | 19 | | |
12 | 20 | | |
13 | 21 | | |
| |||
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
61 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
62 | 90 | | |
63 | 91 | | |
64 | 92 | | |
65 | 93 | | |
66 | 94 | | |
67 | 95 | | |
68 | | - | |
69 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
70 | 99 | | |
71 | 100 | | |
72 | 101 | | |
73 | 102 | | |
74 | 103 | | |
75 | 104 | | |
76 | 105 | | |
77 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
78 | 110 | | |
79 | 111 | | |
80 | 112 | | |
81 | 113 | | |
82 | 114 | | |
83 | 115 | | |
84 | 116 | | |
85 | | - | |
86 | | - | |
| 117 | + | |
| 118 | + | |
87 | 119 | | |
88 | 120 | | |
89 | 121 | | |
| |||
114 | 146 | | |
115 | 147 | | |
116 | 148 | | |
117 | | - | |
| 149 | + | |
118 | 150 | | |
119 | | - | |
| 151 | + | |
120 | 152 | | |
121 | 153 | | |
122 | 154 | | |
| |||
131 | 163 | | |
132 | 164 | | |
133 | 165 | | |
134 | | - | |
| 166 | + | |
| 167 | + | |
135 | 168 | | |
136 | 169 | | |
137 | 170 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments