Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 2.41 KB

README.md

File metadata and controls

31 lines (26 loc) · 2.41 KB

presentation

Every screen and component of the app, with their ViewModels, as the UI in presentation decision describes. It depends on core, engine, designsystem and the logic modules (media, actors, studio), never on the data module.

Package Contents
ui BaseViewModel, which implements the MVI pattern used by every screen: it receives intents, publishes immutable state through a StateFlow and sends one-off effects, using StateStore from core
presentation.actors The actor library: cards, the add-actor screen, details sheet and dialogs, their ViewModels, and controls Actor Studio reuses (rigging, sketch)
presentation.media.audio The audio recorder, the trim screen and dialog, preview controls and the clip waveform
presentation.studio The editor: EditorScreen, StudioViewModel and EditorStorageViewModel (in editor, with the screen's slots), the canvas, dock, timeline, camera, colour, frame strip, reference and dialog controls, and Actor Studio (actorstudio)
presentation.library The library screen, its tabs and cards (catalog), the library picker, and packs: the browser, details and the Pack Creator (packs)
presentation.export The export screen and ExportViewModel
presentation.project The project gallery's cards and ViewModel, the new-project flow and ProjectDraftSession
presentation.common Stateless UI shared by features: the brand mark and brand bar, the bottom navigation bar, the add-flow top and bottom bars, icon context menus, sliders and dialogs. The app provides the user's settings through LocalAppPreferences and LocalShowMenuLabels
presentation.home The Home screen, its tabs and cards, and HomeActionsViewModel
presentation.settings The Settings screen and SettingsViewModel
presentation.library.preview PreviewCatalog: sample Library cards and assets for previews

Controls that know nothing about animation belong in designsystem. app keeps navigation and the wiring. Screen tests live here, except those that check the app's shipped assets.

./gradlew :presentation:assembleDebug
./gradlew :presentation:connectedDebugAndroidTest   # needs a device or emulator

See UI contributions. Licensed under Apache-2.0.