Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

feat: eigene Position immer sichtbar + Freunde-Ansicht - #8

Merged
dev0zzz merged 1 commit into
mainfrom
feat/own-standing-and-friends
Jul 23, 2026
Merged

feat: eigene Position immer sichtbar + Freunde-Ansicht#8
dev0zzz merged 1 commit into
mainfrom
feat/own-standing-and-friends

Conversation

@dev0zzz

@dev0zzz dev0zzz commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Deine eigene Position

Die Rangliste warf alles jenseits der sichtbaren Zeilen weg — wer außerhalb lag, sah seine eigene Position nicht. Genau die Zahl, für die man die Liste öffnet.

Jedes Level führt jetzt zusätzlich eine vollständige Rangkarte. Deine Zeile wird unten angehängt, durch eine Linie abgesetzt, mit deinem echten Rang.

Freunde-Ansicht

Umschalter „Alle / Freunde": zeigt dich und die Leute, denen du folgst, sortiert nach ihrer tatsächlichen Platzierung.

Die Ränge kommen aus der Rangkarte, nie aus dem Zeilenindex — in einer gefilterten Ansicht ist die erste Zeile locker Platz 47, und sie zu 1 umzunummerieren wäre gelogen.

Follows werden direkt aus dem Repo des Piloten gelesen (com.atproto.repo.listRecords auf app.bsky.graph.follow), ganz ohne AppView.

Wichtig zu wissen

Tessera-Repos führen heute keine Follow-Records. Deins enthält Profil, Posts, Likes, Skytess-Scores, Wallet und Zaps — aber keine Follows. Der Umschalter bleibt deshalb unsichtbar, bis es welche gibt. Das ist ein normaler Zustand, kein Fehler: Eine fehlende Collection wird als „keine Freunde" behandelt, nicht als Ausfall.

Falls „Freunde" bei Tessera anders gemeint ist — etwa Leute, die du gezappt hast (at.tessera.zap.payment liegt ja im Repo) — ist das eine Zeile Änderung.

Nebenbei: Die Badges lesen jetzt dieselbe Rangkarte, eine Krone stimmt also auch bei Leveln mit mehr Einträgen als Zeilen.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SU6PBvGFbeHyKhBgnAnz1H

…board

The board threw away everything past the visible rows, so a pilot outside them
could not see their own position — the one number they opened the board for.
Each level now keeps a full rank map alongside the visible top: your row is
appended, set apart by a rule, carrying your REAL rank.

Friends view lists you and the people you follow, ordered by their actual
standing. Ranks come from the board, never from the row index — in a filtered
view the first row is easily rank 47, and renumbering it to 1 would be a lie.

Follows are read straight from the pilot's own repo
(com.atproto.repo.listRecords on app.bsky.graph.follow) — no AppView needed.
Worth knowing: tessera.at repos carry no follow records today (yours holds
profile, posts, likes, scores, wallet and zaps), so the switch stays hidden
until follows exist. That is a normal state, not an error, and the fetch
treats a missing collection as "no friends" rather than failing.

Badges now read the same rank map, so a crown is correct even for a level
whose board is longer than the rows on screen.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SU6PBvGFbeHyKhBgnAnz1H
@dev0zzz
dev0zzz merged commit c710f18 into main Jul 23, 2026
2 checks passed
@dev0zzz
dev0zzz deleted the feat/own-standing-and-friends branch July 23, 2026 11:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant