mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-03 16:41:26 +01:00
feat(android): a history page
History sits second in the navigation, as on the desktop: every played episode, newest first, under Today, Yesterday, a weekday or a date. The still plays the episode, the text opens its title, and the cross takes it off the page — forgetting its position and watched mark — with Undo. The list is the desktop's Library::history rule over the records the library already holds, so no bridge call is added; HistoryTest pins the rule and the day headings.
This commit is contained in:
1 parent
8d40b211ed
commit
1c61aadb22
7 files changed
+275
-2
No files matched your search
+1
-1
@@ -213,7 +213,7 @@ across fails here rather than being noticed in a screenshot.
|
||||
|
||||
**Screenshot tests** (`ScreenshotTest`, Roborazzi) draw each screen from fixed
|
||||
records — Library on a phone, a tablet and at font scale 1.5, an empty library,
|
||||
a title, Shares, Settings and Downloads — and `check` compares them with the
|
||||
a title, History, Shares, Settings and Downloads — and `check` compares them with the
|
||||
images in `app/src/test/screenshots`. A layout regression compiles and passes
|
||||
everything else; here it fails, and the review shows the changed image. After a
|
||||
deliberate change, `gradlew recordRoborazziDebug` rewrites the images and they
|
||||
|
||||
Reference in new issue
Block a user