Commit 19ff229
authored
✨ Design fine tuning (#405)
* feat(feed): implement local persistence and push notification integration
This change introduces a persistent local feed powered by DataStore, allowing push notifications to be saved and displayed to users.
- Add `FeedLocalRepository` using DataStore and Kotlin Serialization for local message storage.
- Integrate push notification handling on Android (`FirebaseMessagingService`) and iOS (`AppDelegate`) to capture and persist incoming feed items.
- Introduce `FeedItem.Message` type and `MessageCard` UI component for displaying dynamic feed content.
- Refactor `GetFeedUseCase` to fetch directly from the repository, removing hardcoded venue-to-article mapping.
- Add POST_NOTIFICATIONS permission request for Android 13+ in `MainActivity`.
- Update `AgendaRow` to limit visible tags to 3 with an overflow indicator and refine chip styling.
- Replace `MockFeedRepository` with `FeedLocalRepository` in the dependency injection module.
* feat(ui): consolidate About and Venue into Info screen
- Introduce `InfoScreen` to combine about information and venue details.
- Update bottom navigation and routes to replace `VenueKey` and `AboutKey` with `InfoKey`.
- Refactor `AboutScreen` components to be reusable within the new `InfoScreen`.
- Adjust `VenuePager` styling and add modifier support.
- Bump dependency versions for `androidx-wear-compose`, `compose`, `firebase-bom`, and `jetbrains-lifecycle`.
* refactor(ui): replace material-icons-extended with local resources and modernize UI
- Replaces the `material-icons-extended` dependency with local XML drawables in `composeResources`.
- Updates UI components to use Material 3 Expressive APIs, including `ElevatedCard`, `OutlinedCard`, and `FilledTonalButton`.
- Migrates standard typography to `Emphasized` styles (e.g., `headlineSmallEmphasized`, `titleMediumEmphasized`).
- Replaces custom tag surfaces with `SuggestionChip`.
- Implements dynamic edge-to-edge support in `MainActivity` based on the user's theme preference.
- Refactors icon usage to use `painterResource` instead of `ImageVector`.
* feat(ui): implement bottom sheet navigation for session details
Introduces `BottomSheetSceneStrategy` to handle navigation entries as modal overlays using Navigation3. Updates the application layout to provide a responsive experience: session details now appear in a bottom sheet on narrow screens and remain in the detail pane on wide screens.
- Added `BottomSheetSceneStrategy` and `BottomSheetScene` for Material3 `ModalBottomSheet` integration.
- Updated `AVALayout` to toggle between `ListDetailSceneStrategy` and `BottomSheetSceneStrategy` based on screen size.
- Added `showTopBar` and `showBackButton` configuration to `SessionDetailLayout`.
- Refactored `AgendaRow` icon logic for better readability.
- Removed unused `0.xml` vector resource.
* refactor(ui): localize dismiss string in AlertBannerCard
- Added `dismiss` string resource to `strings.xml`.
- Updated `AlertBannerCard` to use `stringResource` for the close icon's content description instead of a hardcoded string.
* refactor(ui): replace SuggestionChip with Surface implementation for TagChip
- Replaces `SuggestionChip` with a custom `Surface` and `Text` layout in `AgendaRow` and `SessionDetailLayout` to improve styling control.
- Enables the Feed navigation item in `AVALayout` by commenting out the feature flag check.
* feat: support images in feed items
- Add optional `imageUrl` to `FeedItem.Message` domain model
- Update `MessageCard` UI to display images using Coil
- Parse `feed_image_url` from FCM payloads in `AndroidMakersMessagingService`
- Update local persistence and repositories to handle image metadata
- Supplement feed with mock/hardcoded article items for testing1 parent 62d0b1c commit 19ff229
78 files changed
Lines changed: 1615 additions & 702 deletions
File tree
- androidApp
- src/main/java/fr/paug/androidmakers
- messaging
- gradle
- iosApp/AndroidMakers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
Lines changed: 53 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
9 | 18 | | |
10 | 19 | | |
11 | 20 | | |
| |||
19 | 28 | | |
20 | 29 | | |
21 | 30 | | |
| 31 | + | |
| 32 | + | |
22 | 33 | | |
23 | 34 | | |
24 | 35 | | |
| |||
41 | 52 | | |
42 | 53 | | |
43 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
44 | 61 | | |
45 | 62 | | |
46 | 63 | | |
47 | 64 | | |
48 | | - | |
49 | | - | |
| 65 | + | |
50 | 66 | | |
51 | 67 | | |
52 | 68 | | |
53 | 69 | | |
54 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
55 | 96 | | |
56 | 97 | | |
57 | 98 | | |
| |||
74 | 115 | | |
75 | 116 | | |
76 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
77 | 128 | | |
78 | 129 | | |
79 | 130 | | |
| |||
Lines changed: 54 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
16 | 27 | | |
17 | 28 | | |
18 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
19 | 38 | | |
20 | 39 | | |
21 | 40 | | |
22 | 41 | | |
23 | 42 | | |
24 | | - | |
25 | 43 | | |
26 | 44 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | | - | |
44 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
45 | 55 | | |
46 | 56 | | |
47 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
48 | 80 | | |
49 | | - | |
| 81 | + | |
50 | 82 | | |
51 | 83 | | |
52 | 84 | | |
53 | | - | |
| 85 | + | |
54 | 86 | | |
55 | 87 | | |
56 | 88 | | |
57 | 89 | | |
58 | 90 | | |
59 | 91 | | |
60 | | - | |
| 92 | + | |
61 | 93 | | |
62 | 94 | | |
63 | 95 | | |
| |||
66 | 98 | | |
67 | 99 | | |
68 | 100 | | |
69 | | - | |
70 | 101 | | |
71 | 102 | | |
72 | 103 | | |
73 | | - | |
| 104 | + | |
74 | 105 | | |
75 | 106 | | |
76 | 107 | | |
77 | 108 | | |
78 | 109 | | |
79 | | - | |
| 110 | + | |
80 | 111 | | |
81 | 112 | | |
82 | | - | |
83 | 113 | | |
84 | 114 | | |
85 | 115 | | |
86 | | - | |
87 | 116 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | | - | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
22 | 34 | | |
23 | 35 | | |
24 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
25 | 96 | | |
26 | 97 | | |
27 | 98 | | |
28 | 99 | | |
29 | | - | |
30 | | - | |
31 | 100 | | |
32 | 101 | | |
33 | 102 | | |
34 | 103 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 104 | | |
40 | 105 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments