Repository navigation
Conversation
The counts on Medications and Checkups in the sidebar and the More sheet can now be turned off under Settings > Account > Display. On by default, which is how they behaved before. User.showNavCounts (migration 0559, BOOLEAN NOT NULL DEFAULT true) is written by PATCH /api/auth/me/show-nav-counts and published on /api/auth/me, so the account seed carries it into the first paint. useNavCounts reads it: while it is off no count is drawn and GET /api/nav/counts is never asked. The setting travels with the account settings backup in both purposes, is restored like the other interface preferences, and is kept by the data wipe. The settings round trip covers write, /me, backup and restore; the backup parity goldens gain the column.
The preventive-care page reads Care in English and lives at /care, with the practitioners under /care/practitioners. German keeps Vorsorge; Brazilian Portuguese and Russian drop their transliterations for Prevencao and Profilaktika. Message keys, tour ids, the Arrangement sub-page and every API path stay as they were. /checkups and /checkups/* answer a permanent redirect to the same place under /care with the query kept, and /vorsorge now goes there in one hop. care-route-redirects.test.ts runs the old addresses through the Next.js matcher and checks status and Location. What the server sends keeps /checkups: push and webhook targets, and the href/path fields of the digest, day, search, related-records and onboarding answers, because released iPhone builds parse only those shapes. visit-links.ts now has a wire and a web spelling; care-wire-paths.test.ts pins the wire values and fails on a /care literal in server code.
The emergency card is set up once and then waits in the background, so it no longer takes a slot in the sidebar or the phone's More sheet. It moves to NAV_ACCOUNT_MENU_DESTINATIONS and renders in both account menus (the sidebar's avatar menu and the top bar's on a phone) through one shared slice. Inside a shared record it keeps the rule the rail entry had: the guardian of a managed profile sees it, an adult's delegate does not. The search palette keeps the entry under its existing id, the button under Medical history and the card under Settings > Health record stay as they were.
…schedule A medication save that sent back the same schedule archived no era but still tombstoned today's open pending rows. The next projecting read re-minted the same instants under new ids, and the edit woke every device with an intake sync and a data-changed push for nothing. The schedule replace now decides both consequences with one predicate, scheduleReplaceChangesCadence: the era is archived and the open slots are tombstoned only when tracking changes, the stretch is untracked, or the cadence materially differs. The edit tells the devices only when the stored medication, its schedules or its category actually changed. The integration test follows a time edit through the reminder worker, resolved-slots, dose-history, the MCP schedule, the today list, the dashboard and the digest, including a move to a time already past, and holds an unchanged save to the same row id and no wake.
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.
Three navigation changes that complete 1.49.0 before it is tagged (the tag has not been published yet).
User.showNavCounts(migration 0559), carried by the account backup, restore and export; settings and backup round-trip tests cover it. Refs Where should doctor visits, procedures and body sites live? #1113/care(/care/practitioners)./checkupsand/checkups/*redirect permanently with the query kept. Every path value sent to clients (push targets, digest, day, search, related records, MCP) stays/checkupsfor iOS builds before 1.7, pinned by a test. German keeps Vorsorge.1.49.0 now ships 37 migrations (0514 to 0559).