Skip to content

feat(mobile): a thing's page on iPhone with its items, decisions, questions, metrics, people and linked things - #262

Merged
tob71 merged 8 commits into
mainfrom
thing-page-ios
Dec 3, 2026
Merged

tob71 merged 8 commits into
mainfrom
thing-page-ios

Conversation

@tob71

@tob71 tob71 commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

The iPhone page of a thing shows what the Android page (#259) shows, in SwiftUI over the same MemoryHolder: the summary and the open items with due marks (overdue and due soon marked, done ones crossed out), decisions, questions, metrics, the people who work on it, related things and where it was learned. A linked thing opens its page, and Back goes back. The page is read-only, reads only the phone's copy, and shows no Forget or edit.

#259 is merged, so the base is main and this diff holds only the iPhone page.

What changed

  • ThingPageScreen.swift draws one ThingPage; opening a thing from a row of the list, or a linked thing from a page, calls MemoryHolder.openThing, and Back calls back.
  • MemoryScreen.swift shows the open page in place of the list (Layout.thing); MemoryPage.swift passes the two new actions.
  • ThingPageText.swift words the marks, counts, kinds and sources as Android does; MemoryText.dueMark is the one due wording that the list rows and the page share.
  • Tests: ThingPageTextTests and a layout test that an open thing takes the place of the list.

Checks

  • ./iosApp/check.sh: green (structure rules, SwiftLint, 0 violations).
  • iPhone unit tests (xcodebuild test, iPhone 18 Pro Simulator): MemoryTextTests, MemoryLayoutTests, ThingPageTextTests, 14 run, 0 failures. The whole ConstructTests target was not re-run here; feat(mobile): Memory page on iPhone with Work and Personal, kind tabs with counts, search and thing rows #257 reported 11 Keychain failures in ModelSettingsStoreTests on the unsigned Simulator build, unrelated to this change.
  • Screenshots come from a temporary UI test and sample profile with a colleague, an overdue promise and action, a done item, a decision, questions and a metric; neither is part of this PR.

Screenshots

Project, light and dark (top of the page, then its end):

Project, light Project, dark

Project, light, end Project, dark, end

Colleague, opened from the project, light and dark:

Colleague, light Colleague, dark

@tob71 tob71 self-assigned this Dec 3, 2026
@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c5db2f5b-c4ed-46a1-9f0c-70a8084a2842
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@tob71
tob71 force-pushed the memory-thing-page branch 3 times, most recently from f74e281 to 9658a92 Compare December 3, 2026 14:37
@tob71
tob71 force-pushed the memory-thing-page branch from 9658a92 to 0bb6125 Compare December 3, 2026 17:04
tobias.mayer added 5 commits December 3, 2026 19:02
…stions, metrics, people and linked things

Signed-off-by: tobias.mayer <tobias.mayer@constructor.tech>
Signed-off-by: tobias.mayer <tobias.mayer@constructor.tech>
… so neither is squeezed

Signed-off-by: tobias.mayer <tobias.mayer@constructor.tech>
…y position and make the whole row of a thing tappable

Signed-off-by: tobias.mayer <tobias.mayer@constructor.tech>
Signed-off-by: tobias.mayer <tobias.mayer@constructor.tech>
@tob71
tob71 changed the base branch from memory-thing-page to main December 3, 2026 18:02
@tob71 tob71 closed this Dec 3, 2026
@tob71 tob71 reopened this Dec 3, 2026
Signed-off-by: tobias.mayer <tobias.mayer@constructor.tech>
tobias.mayer added 2 commits December 3, 2026 20:12
… it opens the thing

Signed-off-by: tobias.mayer <tobias.mayer@constructor.tech>
…lement, as its row is a button

Signed-off-by: tobias.mayer <tobias.mayer@constructor.tech>
@tob71
tob71 merged commit b237f5f into main Dec 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant