Skip to content

Add LaunchScreen with RettLogo on black background#3

Open
julien-fieschi wants to merge 1 commit into
mainfrom
rett-app-ios
Open

Add LaunchScreen with RettLogo on black background#3
julien-fieschi wants to merge 1 commit into
mainfrom
rett-app-ios

Conversation

@julien-fieschi
Copy link
Copy Markdown
Contributor

@julien-fieschi julien-fieschi commented Apr 24, 2026

  • RettLogo.imageset scaffold (@1x/@2x/@3x) — user drops PNGs in RettApp/Resources/Assets.xcassets/RettLogo.imageset/
  • LaunchScreen.storyboard: black background, 240×240 logo centered at y·0.85, "Association Française du Syndrome de Rett" in ultra-light system 18pt white below, "© AFSR, 2026" in thin 13pt white 70% under
  • Info.plist: replace UILaunchScreen dict with UILaunchStoryboardName = "LaunchScreen"
  • project.yml + generator: drop the old INFOPLIST_KEY_UILaunchScreen_Generation, include the storyboard as a target resource

- RettLogo.imageset scaffold (@1x/@2x/@3x) — user drops PNGs in
  RettApp/Resources/Assets.xcassets/RettLogo.imageset/
- LaunchScreen.storyboard: black background, 240×240 logo centered
  at y·0.85, "Association Française du Syndrome de Rett" in
  ultra-light system 18pt white below, "© AFSR, 2026" in thin 13pt
  white 70% under
- Info.plist: replace UILaunchScreen dict with
  UILaunchStoryboardName = "LaunchScreen"
- project.yml + generator: drop the old
  INFOPLIST_KEY_UILaunchScreen_Generation, include the storyboard
  as a target resource

https://claude.ai/code/session_0162vPt6R1byCQb5WL3fY1Gt
nanocorpintl pushed a commit that referenced this pull request May 17, 2026
Critical regressions from Phase 1 medication rework (issue #10):

#1 / #2 / #3: 'First tap on med opens new med, second tap edits;
              journal pollutes with phantom meds'
   Root cause: sheet(isPresented:) + separate @State for 'editing'.
   SwiftUI evaluates the sheet body before the editing @State has
   propagated, so the first tap captures editing=nil and shows the
   editor in create mode — saving creates a duplicate med. Switch to
   sheet(item:) with an EditorSheet enum (.create | .edit(Medication))
   that carries the medication value through the sheet identity, so
   the body always sees the right value on first tap.

#4: 'Can't dismiss keyboard, no save button on intake editor'
   - MedicationEditor + MedicationIntakeEditorView each got a
     ToolbarItemGroup(placement: .keyboard) with an 'OK' button so the
     decimal-pad keyboard can be dismissed (no return key on .decimalPad).
   - MedicationIntakeEditorView now exposes an explicit 'OK' button in
     the navigation toolbar that dismisses the navigation step.
     Mutations were already auto-propagated to the parent via mutate(),
     but the user expected an explicit commit affordance.

#8: 'Cannot delete a medication'
   Add an explicit destructive 'Supprimer ce médicament' section at the
   bottom of MedicationEditor (only visible in edit mode), guarded by a
   confirmation dialog. Wired via a new onDelete callback on the
   editor, called from the parent plan view's deleteMedication helper.
   The swipe-to-delete in the list stays available.

#9: 'Plan accessible from child profile in settings'
   ChildProfileEditor gains a NavigationLink to MedicationPlanView with
   a contextual footer mentioning the child's first name.

Out of scope, to discuss separately:
- #5 BDPM medication database integration
- #7 Versioned medication plan with history
Both are large features that need their own design pass.
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.

2 participants