Upgrade mobile UX to Oasis 0.9.0

Rebase onto upstream 0.9.0. Mobile topbar (logo->home, avatar->profile),
hexagon category nav (hive) and bottom bar; remove the six top-bar
buttons (inbox/pm/publish/search/graphos/peers) that cluttered the header.
Theme OasisMobileUX carries topbar/hexagon/bottombar styles.
This commit is contained in:
s1to 2026-08-01 13:41:09 +02:00
parent de36b38851
commit 8d21216362
69 changed files with 8974 additions and 820 deletions

View file

@ -779,17 +779,11 @@ module.exports = ({ cooler, tribeCrypto, chatCrypto, tribesModel }) => {
try {
const ssbClient = await openSsb()
const messages = await readAll(ssbClient)
const live = new Set()
for (const m of messages) {
const c = m.value && m.value.content
if (!c) continue
if (c.type === "chat") live.add(m.key)
}
const tomb = buildValidatedTombstoneSet(messages)
const all = ownCrypto.getAllRootIds()
let removed = 0
for (const rid of all) {
if (!live.has(rid) || tomb.has(rid)) {
if (tomb.has(rid)) {
try { ownCrypto.dropKey(rid); removed += 1 } catch (_) {}
}
}