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
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.listRecordsaufapp.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.paymentliegt 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