yavsc/doc/architecture
Paul Schneider 12a71ada6a
doc: align navigation docs with VM-first pattern
The two recent commits (3fbbafc4, 0065de70) replaced the
OpenSettingsRequested event + CurrentViewModel assignment with
App.PushPageAsync(vm): the VM resolves the target ViewModel
through DI, App resolves the Control through the ViewLocator,
guards against double-push, and pushes via NavRoot. The docs
were still describing the pre-refactor world.

Update three places:

- CONTRIBUTING.md — the "Navigation (PostIt)" rule now
  describes App.PushPageAsync as the single channel and shows
  the canonical OpenSettings command as the example.
- doc/architecture/postit.md — the Navigation section
  distinguishes VM-first navigation (App.PushPageAsync) from
  lifecycle signals (LoginSucceeded, LogoutCompleted) and
  drops the obsolete OpenSettingsRequested row.
- src/PostIt/PostIt/App.axaml.cs — refresh the SettingsPage
  singleton justification: point (c) now describes the
  anti-empilement guard inside PushPageAsync, not the
  OpenSettingsRequested handler that no longer exists.

No production behaviour change — doc only (and the inline
comment that referenced a removed event).
2026-08-19 17:17:22 +01:00
..
decoupage-organisation.md doc(arch): PostIt topology + up-to-date project list 2026-07-09 21:54:06 +01:00
dictionnaires-metier.md doc: split Architecture.md into per-topic pages 2026-06-27 13:45:31 +01:00
domaine-musical.md doc: split Architecture.md into per-topic pages 2026-06-27 13:45:31 +01:00
domaines-activite.md doc: split Architecture.md into per-topic pages 2026-06-27 13:45:31 +01:00
licences.md doc: split Architecture.md into per-topic pages 2026-06-27 13:45:31 +01:00
offres-frontmatter.md doc: split Architecture.md into per-topic pages 2026-06-27 13:45:31 +01:00
postit-oidc.md PostIt: document the BaseAddress / pathPrefix URL convention 2026-07-06 21:03:10 +01:00
postit.md doc: align navigation docs with VM-first pattern 2026-08-19 17:17:22 +01:00
workflow-multi-parties.md doc: split Architecture.md into per-topic pages 2026-06-27 13:45:31 +01:00