diff options
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/group-settings.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/group-settings.js b/packages/meshbay-hub/src/meshbay_hub/static/group-settings.js index c80cff5..437af8b 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/group-settings.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/group-settings.js @@ -1022,9 +1022,14 @@ function GroupSettingsPanel({ groupId, group, token, transportRef, gekRef, </${CollapsibleSection}> `} + ${/* Collapsed by default, unlike the sections around it. Nothing here + needs attention in the ordinary case: the device you are reading + this on is already linked, and the panel exists for the two rare + errands — approving another device, or removing one. The prompt + that *is* actionable, "this browser is not linked to this node + yet" (device.add_title), lives in group-page.js and is unaffected. */''} ${connected && html` - <div class="settings-section"> - <h3 class="settings-heading">${t('device.mine_title')}</h3> + <${CollapsibleSection} title=${t('device.mine_title')} defaultOpen=${false}> <p class="settings-hint">${t('device.mine_hint')}</p> ${deviceMsg && html`<p class="settings-hint">${deviceMsg}</p>`} ${devices.length === 0 @@ -1057,7 +1062,7 @@ function GroupSettingsPanel({ groupId, group, token, transportRef, gekRef, <button class="admin-btn" type="submit">${t('device.approve_btn')}</button> </div> </form> - </div> + </${CollapsibleSection}> `} <${CollapsibleSection} title=${`${t('group.tab_members')} (${members.length})`}> |