Repository navigation
feat: event eggs, forms and fossil achievements, Stats page, whole Pokédex, one difficulty - #72
Merged
Merged
Conversation
…ole files (chattymin#338) On an account with a large Claude Code history (~2GB of session logs in the current month, single files up to 274MB) the cold scan pegged a core for over a minute without finishing, and because the blob cache is keyed on whole-file mtime+size, the active session file was re-parsed from byte zero on every refresh. Three changes: - ISO8601Parser reuses one lock-guarded formatter pair instead of allocating an ISO8601DateFormatter per line (the dominant sampled cost). - parseClaudeFile scans lines at the byte level via Data/FileHandle rather than materializing the file as a String and splitting into Substrings. - Blob records a per-file byte offset; when a file has only grown, only the appended tail is parsed and merged. Same-size or shrunk files are re-read from the start. Older cache files without the key still load. Measured on the history above: cold start ~15s then idle (was 60s+ and never completed), steady-state refresh stays at 0% CPU. Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Patrick.Park <pdm001125@naver.com>
* fix: parse Claude session logs incrementally instead of re-reading whole files On an account with a large Claude Code history (~2GB of session logs in the current month, single files up to 274MB) the cold scan pegged a core for over a minute without finishing, and because the blob cache is keyed on whole-file mtime+size, the active session file was re-parsed from byte zero on every refresh. Three changes: - ISO8601Parser reuses one lock-guarded formatter pair instead of allocating an ISO8601DateFormatter per line (the dominant sampled cost). - parseClaudeFile scans lines at the byte level via Data/FileHandle rather than materializing the file as a String and splitting into Substrings. - Blob records a per-file byte offset; when a file has only grown, only the appended tail is parsed and merged. Same-size or shrunk files are re-read from the start. Older cache files without the key still load. Measured on the history above: cold start ~15s then idle (was 60s+ and never completed), steady-state refresh stays at 0% CPU. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * fix(home): label the usage recap control The chart icon was the only way into week, month, and year recaps, and it did not look like a button. Show a short localized label inside a light capsule. * fix(home): preserve period values beside the recap label * test(home): match OCR languages to period fixtures --------- Co-authored-by: notcadenwhitt-stack <notcadenwhitt@gmail.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Patrick.Park <pdm001125@naver.com>
Use an unambiguous word for the oldest catch while retaining exact OCR, click, Back navigation and scroll reset assertions. Adapt the fixture repair from c7c2d7a and record the CI failure in the defect log. Co-authored-by: 서민수 <sms@bbros.kr> Co-authored-by: Codex <noreply@openai.com>
… counted Lunar Wing, Meteorite, Oak's Letter, Sea Incense, Shock Drive, Z-Ring, Scroll of Darkness, Relic Vase and the Legend Plate, whose claim puts a Rare Egg and an Uncommon Egg in the Bag. Kyurem joins the DNA Splicers; Keldeo, Heatran and Pecharunt count for the Liberty Pass, the Magma Stone and the Teal Mask.
… stopped The cache parsed a whole transcript again at every change, and Claude Code appends to a running session every few seconds: with sessions of several hundred MB open, the app kept a core at 100%. Transcripts now stream in chunks and resume after the last line break when the bytes before it are unchanged.
…imits fill The growth and Shop sliders are gone: every player plays at 10%, the value they had all chosen, and a save made at another value keeps its stage's fraction once. Limit windows pay their Rare Candies as they fill, a Pro session one and a bigger plan as many Pro plans as it holds, instead of only at 100%.
…in a year A December gift claimed in January counts for the year before; moving the birthday to February then brought a second egg weeks later. After a change, the next gift must be for a birthday year after the year the last one was claimed.
Nothing new through every branch of its line, in its form, nor a first shiny: sending it off loses nothing. Otherwise a New badge lists what graduating it adds.
They replace today's tokens and cost, once for everyone; every item stays a choice in Settings.
… year It waited a week, three months only for a save that never got one; a holiday made a player miss it.
Takes upstream's incremental Claude transcript parsing (chattymin#338) in place of the fork's own fix, keeping only its 1 MB chunked read, plus the Cursor credential refresh (chattymin#455) and the OCR fixture fix (chattymin#456). The fork's Home keeps its round recap button, so chattymin#432's labelled capsule is left out; its tests are adapted to the capitalized card titles.
Christmas, New Year, Valentine's Day, Pokémon Day, Easter, Halloween, each season's start and the anniversary of the first catch bring an egg drawn for the occasion, offered by a banner during the event and two weeks after, once a year. It hatches the event's Pokémon, shiny for most; a season's egg hatches Deerling in its form or its types.
… badges wrap The 100% duplicate badge and the catch log's mark ignored Pikachu's costumes: a Pichu still brings one on becoming Pikachu while one is missing. In the catch log and on Home, badges now go to a second line instead of breaking inside their capsule.
Rotom, Minior, Oricorio, Castform, Sawsbuck, Florges, Furfrou, Vivillon, Alcremie and Unown each earn Rare Candies or eggs once every form graduated; Rotom's Catalog stays and gives a candy for each Pokémon hatched in a form its line never had.
Named forms take four columns and up to three lines instead of six cut on one ("Motif Conti..."); the rarity moves
above the name, as on Home, so a long name wraps instead of being cut.
…growth Speeding up Pikachu's line helped nobody who already held every costume. Claiming it now puts 2 Rare Eggs and 5 Rare Candies in the Bag; a save holding the old item trades it for them once.
…aper icon Each update lists its new features, improvements and fixes under their own headings; the sparkles, easy to take for a shiny, become a newspaper. This branch's entries move to the update that ships them.
The light bulb button opens a short form; the issue is posted with the GitHub CLI when it is signed in, else opened prefilled in the browser. The app holds no token.
…e collection Home's chart button opens it: this month day by day (moved off Home), the recap of a week, a month or a year with a table of its days, tokens and Pokémon graduated, and the collection in numbers.
All, Caught and Missing: every species by region with its progress and rarities, caught ones tinted by rarity, seen ones faded, missing ones by their number with no sprite to download. Caught keeps the page-by-page grid.
…rk mode Green and orange text use shades with at least 4.5:1 on either card; tinted badges darken on light and lighten on dark; forms not caught and the Pokédex's missing species are less faint.
…mon graduated Every 4 Rock-type species graduated give a Fossil Egg, 15 digs for the 15 fossil lines; a line already graduated another way counts as dug. A Fossil Egg, of amber with an Omanyte fossil inside, hatches a missing fossil line at random.
…kens The Pokédex opens on every species now, and the menu bar shows the companion's numbers by default: tests of the caught grid and of tokens or cost in the menu bar ask for them.
KillianHzr
marked this pull request as ready for review
October 27, 2026 10:51
…per goal, clearer digs No other egg brings a fossil line any more. The Sea Incense asks for Manaphy and Kyogre, and the Magma Stone's Heatran for Groudon too: no achievement but Arceus's asks for one Pokémon. The excavation card shows the fossil lines and how many count as dug, and only the digs that give an egg.
…ames on hover in achievements
… names from PokéAPI
Merged
8 of 10 tasks
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
One release's worth of player feedback, gathered in one PR so that
releasereachesmainin a single update. It also merges upstream PokeTokenBar's latestmain(4 commits).Achievements
Eggs
Balance
Home, menus and new pages
pokemon-speciesnames, cached like the other names).Fixes
Upstream sync:
origin/mainmerged (Cursor credential refresh chattymin#455, incremental Claude parsing chattymin#338, OCR fixture chattymin#456; the recap label chattymin#432 is left out, this fork's Home keeps its round chart button). Re-checked before publishing: nothing newer upstream.What's New has an entry for every visible change, in the 8 languages, under 2026-10-27: if
releasereachesmainon another day, move that day's date and its ids to it before merging (none of them shipped yet). The READMEs (en, ko, ja) anddocs/reference/defect-log.mdare updated.Type of change
UI changes
Sample-data renders of the production UI (dark mode unless stated), with drawn placeholder sprites: Pokémon and item sprites cannot be committed. The menu bar is an illustration. Before =
main(4a016b3), after = this branch.Menu bar (Illustration / mockup)
Home: event egg banner and the New badge
Catch log: long badges wrap
Pokédex page: long form names
Pokédex: every species by region
Stats page (replaces the usage recap screen and Home's daily chart)
What's New by update
Footer: ideas and What's New icons
Ideas page (new screen, no previous one)
Settings: difficulty removed, menu bar items
Achievements: Artifacts, Forms tab, Excavation
Bag: event eggs and the Fossil Egg (new items)
Contrast in light mode
The new eggs' designs (sample render of the production designs: the 11 event eggs, then the Fossil Egg)
Checklist
swift buildandswift testpass locally