Commit 4899063
authored
Implement all Feed UI components (#118)
* Homepage story and schedule UI implementation.
* Fixed tests for feed viewmodel.
Refer feed_viewmodel_test.dart for examples on how to write unit tests
for the functions that use Task to call functions from the API service.
Added test for failure case in stories API call.
* Implemet MM articles UI and improve test coverage.
This commit adds UI implementation for MM articles, changes the story
component widget to match the design spec, and adds tests for Margin,
Failure. Unused code and tests related to API classes have been removed.
* Feed view implemented.
Feed view UI components implemented:
[x] Stories
[x] Schedule
[x] Stories this week
[x] Upcoming Events
Internet permission added to AndroidManifest.xml, Story component has a
border gradient now. Files for exporting the files in some folders are
added to make documentation generation work correctly.
* Implement suggested changes.
- Deleted test/.test_coverage.dart
- Use Future.wait() in FeedViewmodel.initialise().1 parent 7d7e104 commit 4899063
File tree
46 files changed
+836
-434
lines changed- elaichi
- android
- app
- src/main
- assets
- icons
- images
- translations
- lib
- app
- datamodels
- generated
- graphql
- services
- ui
- utils
- views
- feed
- home
- startup
- widgets
- schedule
- story
- test
- misc
- service_tests
- setup
- viewmodel_tests
- widget_tests
- widgets
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
46 files changed
+836
-434
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments