Files
amethyst/desktopApp/src
Claude 96598a042d refactor: share the clipboard helpers, screen-layout types, FAB padding and account-free route builders
- Clipboard.setText/getText become one commonsUI expect: Android keeps
  ClipData, desktop the AWT StringSelection code (its own copy is
  deleted), iOS uses UIPasteboard. 49 files repoint their import.
- CrossfadeIfEnabled's enabled flag defaults to a new
  LocalAnimationsEnabled, which AppNavigation provides from the
  performance-mode feature set (collected, so it follows the setting).
  Shared composables no longer need the AccountViewModel to respect it.
- NavigationStyle, ScreenLayoutSpec and LocalScreenLayout move to
  commonsUI ui/layouts; the window-size logic that computes them stays in
  the app. fabBottomBarPadding / FabBottomBarPadded / FABPaddingFromBottom
  move to commonsUI ui/navigation/bottombars.
- The account-free route builders (routeFor for channels, rooms, groups
  and users, routeForUser, authorRouteFor, minichatRouteFor) move to
  commons model/navigation. routeFor(Note/Event, Account),
  routeForPointer and THREAD_VIEW_KINDS stay in the app.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0168wY9t7i9NC5u3svyMxEz6
2026-09-24 13:35:45 +00:00
..