Repository navigation
Walk the app on an emulator, fix what it found, and the owner's tab bar and pickers - #186
Merged
Merged
Conversation
The launcher's picker showed «Couldn't add widget.» on every launcher from API 31, because the preview layout's root was a plain <View>, and RemoteViews inflates only the classes marked @remoteview. It is a FrameLayout now, and RemoteViewsLayoutTest reads every layout the widget ships and refuses a tag RemoteViews will not inflate, so the next one is a failing test rather than a broken picker nobody opens. Seen on an API 37 emulator before and after. Closes #167
provideGlance read the snapshot once, before provideContent, and a Glance session stays alive for about 46 seconds after it. updateAll inside that window only recomposes the running composition, which still held the first snapshot: a second class switch made within the window left the widget drawing the class just left. WidgetRedraws counts the redraws asked for; the tick receiver bumps it before updateAll, and the live composition re-reads the snapshot whenever the count has moved past the one its first read was taken at. A redraw asked for between the read and the collection is not lost, and a newer one replaces a read still in progress. docs/widget.md says so, describes the picker's preview (#167), and names WidgetTickReceiver as the receiver of DATA_SYNCED, which it had wrong. Closes #168
The class row carries its terms, and replaceWindow wrote the fetched row whole. The server answers with the terms of the year that was asked for, so a look at another school year took the current year's terms away, and a 304 on the next sync of the current year never put them back: the calendar lost its quarters until the cache was cleared. replaceWindow keeps every stored term that lies wholly outside the window it replaces and takes the window's own from the answer, and the terms decode in date order. TermsAcrossYearsTest fails without the DAO change. Closes #169
/api/v1/warmup answers "schema": "unknown" when it cannot read alembic_version, and the about card drew it as a revision: «Схема unknown». WarmupDto.revision treats a blank or «unknown» value as none, and both the healthy and the degraded answer read it, so no chip is drawn for a revision nobody knows. Closes #172
The homework line on the smallest sizes counted subjects through a plural, and zero is a number the plural words as «0 предметов». The count is worded in one place now, which says «Ничего не задано» for none, and the today row uses it too. Closes #173
The join screen and the refresh snackbar put OkHttp's exception text inside «Не удалось подключиться: …» and «Не удалось обновить: …», so a Russian sentence ended in English from the network stack. An offline join is the screen's own refusal now, unless the server address is missing, which keeps its own message; a failed sync carries no detail and says the generic sentence. sync_error_failed, which only existed to carry the detail, is gone from both languages. JoinErrorTest asserted the defect as correct behaviour («anything else is still shown verbatim»); it now asserts the opposite, and keeps the one case that is meant to be verbatim, a server's own answer. Closes #177
UnusedStringTest looked for "/src/" in a path Windows spells with backslashes, LegalBuildPropertyTest matched a blank line without the \r a Windows checkout gives it, and test_directory compared a relative path in the platform's separators with one written with «/». Each normalises now. CI runs on Linux and never saw any of it. The server suite on Windows also meets «database is locked» under -n auto now and then, from SQLite under load; that is noted on the issue and left alone. Closes #178
zoneinfo reads the system's database, and Windows has none: the server did not start at all there (ZoneInfoNotFoundError on the first class's zone). tzdata is declared for win32 only, and the mirror test lists it among the packages the Vercel bundle deliberately goes without, since Linux has the database already. Closes #170
BackupRulesTest proves the rule files; what it could not say is whether a real backup leaves the reports out. On 26 September 2026 a crash report and two probe files went through bmgr's local transport, plain and flagged as a device transfer: the probes came back, the report did not. The test's note says so, and what it still cannot ask — Google's own transport to a real account. Closes #156
The owner's requests about the bar, one file between them, so one commit: - A tab's press and focus highlight is a circle (#179). The clickable keeps the whole box for the press and draws no indication; the ripple is drawn inside the Surface, whose CircleShape clips it. - A dropped tab no longer flashes the old order for a frame (#180). The tabs are keyed by label and animate where they are rather than their offset from a slot, and the shell reads the selected tab from the one it is keeping the pager on rather than from the pager's index, which names the old order until the pager has moved. - The long press that opens the arranging mode also picks the tab up (#181): one detector on the initial pass, ahead of the clickable, which consumes the pointer once it holds a tab so the lift is never a tap. Inside the mode a sideways move picks a tab up; the long press stays a TalkBack action. - A touch anywhere but the bar closes the mode, and reaches nothing under it (#182): ArrangingDismissLayer, between the page and the bar. - A section scrolled out of the guide's bar goes under the pill's round end (#183). Material pads the pill by 8 dp and scrolls its content inside that padding, so everything was cut by a straight edge 8 dp in. The side padding is inside the rows now, and the pill's own clip is what cuts. Checking #181 on the emulator found two things this branch had broken on its way, fixed here: the label that folds as the mode opens bounced below nothing and carried a neighbour out of the pill mid-drag (it folds on a spring without a bounce now), and keying the tabs took the gap after each one with it, so a drop could land 8 dp short (the gap belongs to the slot, as ToolbarGap). Every change has a Robolectric test that fails on the code before it. ToolbarShellCallerTest puts the bar under a caller shaped like the shell's and asks for one commit and a row that stays where it was dropped. The in-app guide says how to arrange the tabs, and its manifest is version 6. Closes #179 Closes #180 Closes #181 Closes #182 Closes #183
In a tray the segments sat 2 dp apart, Material's connected gap, while the tray's edge was 4 dp from them: crowded together inside a wider frame, in «Неделя / Месяц / День» and every other picker drawn in a tray. The gap is the tray's inset now, the one number its corners were already derived from; a picker with no tray keeps the connected gap. SegmentedPickerGapTest reads it as geometry and fails on the old gap. Closes #184
Every Gradle sync warned six times that srcDirs(vararg) is deprecated in favour of AndroidSourceDirectorySet.directories: once for the legal documents in :app, and five times in :core:data for Room's schemas, the guide, the region catalog and the sign-in vectors. A deprecated DSL call goes in a later major, and on that day the APK would stop carrying a folder without saying so. Each folder is added to directories with the same path; like srcDirs, it adds to the defaults rather than replacing them. LegalBuildPropertyTest matches the new line. The keystore notice in the same sync output is the build's own and stays. Closes #185
…run the app on an emulator .run/ holds five Gradle configurations that point at android/: the unit tests CI runs, both assembles, an install of the debug build, the pure model's tests and lint (labelled as not a gate). docs/build.md says how to open the repository in Android Studio, how an emulator reaches a local server (adb reverse and 127.0.0.1, because 10.0.2.2 did not answer here), and that a server on Windows needs tzdata (#170).
HANDOVER.md opens on #186 and gains the batch: what was seen on the emulator by issue, the defects filed before their fixes, the owner's requests about the bar, the pickers and the sync warnings, what the recording could not settle because the emulator was shared, the machine's own costs, and the gates. Sections 5 and 7 say what the batch answered and what is the owner's now: the keystore's passwords, space on C: and a restart of Studio. README.md's honest status says what one walkthrough on an emulator saw. docs/architecture.md keeps the class row's terms across years (#169) and carries the new test counts, per module.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Sep 26, 2026
lumenpearson
marked this pull request as ready for review
September 26, 2026 21:26
Merged
18 of 28 tasks
lumenpearson
pushed a commit
that referenced
this pull request
Sep 26, 2026
…y left HANDOVER.md opens on #187 and gains its batch: #110's device test and the catalog pins it needed, #175, #176 and #171 with the hardening made at review, the branch ref that came back as NUL bytes and was restored from its reflog, and a teleport stash of IDE-generated files left for the owner. It records the gates on f787357, the join seen on the emulator — one 200 and one 304, never the overlap the fix coalesces — and what that leaves unverified. #186's summary moves into its own section, now «What the session before it added», and the chain below it shifts by one. Sections 5 and 7 no longer say there is no androidTest or that C: has 1.3 GB. The Android test count is 1446 in its three places, and the README's gate table carries the device run, marked as outside CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lumenpearson
pushed a commit
that referenced
this pull request
Sep 27, 2026
…they left HANDOVER.md opens on #189 and gains its batch: #174's diagnosis corrected (the phone's 2×2 is SMALL_TALL, not LARGE) before the fix, the fix, #188 found while checking it and fixed, what the emulator showed in both languages and at font scale 2.0, how the widget can and cannot be redrawn from a shell, and the gates on 675cafe. #187's section becomes «What the session before it added» and records its merge; the chain below shifts by one, and two references to #186's section now name it by its subject, since «What the batch before added» is shared. Section 5 says what #189 did not see: the one-line size during lessons at a large font, a system font-scale change, any other launcher. Section 7 has this batch's cost in disk. The Android test count is 1459 in its three places. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
Description
This is the first batch made on a machine with an emulator (#109). On 26 September 2026 the app was walked by hand on an API 37 emulator, against a local server and production, with the live bot beside it. The walkthrough found twelve defects and filed each before fixing it (#167–#178); nine are fixed here. Over the evening and the night the owner added six requests about the tab bar and the pickers (#179–#184), and a screenshot of Studio's sync warnings (#185). All of those are here too.
<View>inwidget_preview.xmlFrameLayout;RemoteViewsLayoutTestrefuses any tag RemoteViews will not inflateWidgetRedrawscounts redraws; a live composition re-reads when the count moves304never put them backreplaceWindowkeeps other years' terms and takes the window's owntzdatais declared for win32 onlyArrangingDismissLayerbetween the page and the barsrcDirsis deprecated in AGP 9.4directories +=, with the same foldersAlso in this batch:
.run/shares the Android gates as Android Studio run configurations.docs/build.mdsays how to open the repository in Studio and how an emulator reaches a local server.Checking #181 on the emulator found two defects this branch had introduced on its way, and both are fixed here. The folding label bounced a neighbouring tab out of the pill mid-drag. Keying the tabs took the gap after each tab along with it, so a drop could land 8 dp short.
Closes #119
Closes #156
Closes #167
Closes #168
Closes #169
Closes #170
Closes #172
Closes #173
Closes #177
Closes #178
Closes #179
Closes #180
Closes #181
Closes #182
Closes #183
Closes #184
Closes #185
Closes #114
Closes #115
Closes #116
Closes #117
What is affected
server/app/api— the client-facing APIserver/app/bot— the botserver/app/services— the rules the bot and the API shareserver/app/providers/petersburg— the electronic diaryserver/migrations— the database schemaandroid/core/model— the models and the state engineandroid/core/data— Room, network, sync, notificationsandroid/core/designsystem— theme and componentsandroid/widget— the widgetandroid/app— the screensdocs/,README.md.github/— build and automationAlso touched:
server/pyproject.tomland two server tests (#170, #178). There is no server code change.Boundaries
app/schedule.pystill imports neither FastAPI nor aiogram (untouched)EXPECTED_REVISIONis still0017:core:datadoes not depend on:widget: the widget's redraw goes through its ownWidgetRedrawsVerification
Run on this Windows machine at the head of the branch:
./gradlew assembleDebug./gradlew assembleRelease: the asset merges were up to date after Gradle sync warns six times that srcDirs is deprecated in AGP 9.4 #185's change, so the APK carries exactly the folders it did.Every fix has a test, and each test was checked to fail on the code before it.
What is NOT covered
HANDOVER.mdhas the detail, and section 5 there says what is still unseen.Documentation
docs/updated:build.md,widget.md,architecture.md,design.md, and the in-app guideCLAUDE.mdupdated (no commands, modules or boundaries changed)README.mdupdated: the honest status and the test count