From 3f2c1b3701e571f498b9d5ff757f51708ba2a6a3 Mon Sep 17 00:00:00 2001 From: Owais Jamil Date: Mon, 16 Mar 2026 20:20:08 -0500 Subject: [PATCH] feat: add feed management screen * update home to show feeds --- docs/designs/compose.html | 1032 +++++----- docs/designs/devtools.html | 2 +- docs/designs/feeds.html | 2 +- docs/designs/home.html | 2 +- docs/designs/login.html | 2 +- docs/designs/logs.html | 2 +- docs/designs/messages.html | 2 +- docs/designs/notifications.html | 2 +- docs/designs/profile.html | 2 +- docs/designs/search.html | 2 +- docs/designs/settings.html | 2 +- docs/designs/styles.css | 2 +- docs/tasks/phase-2.md | 14 +- justfile | 2 +- lib/core/database/app_database.dart | 30 +- lib/core/database/app_database.g.dart | 1696 ++++++++++++++--- lib/core/database/tables.dart | 14 + lib/core/router/app_router.dart | 6 +- .../feed/cubit/feed_preferences_cubit.dart | 229 +++ lib/features/feed/data/feed_repository.dart | 49 +- .../presentation/feed_management_screen.dart | 364 ++++ .../feed/presentation/home_feed_screen.dart | 280 +++ lib/main.dart | 10 +- pubspec.lock | 2 +- pubspec.yaml | 1 + .../cubit/feed_preferences_cubit_test.dart | 327 ++++ .../feed/data/feed_repository_test.dart | 236 +++ 27 files changed, 3533 insertions(+), 781 deletions(-) create mode 100644 lib/features/feed/cubit/feed_preferences_cubit.dart create mode 100644 lib/features/feed/presentation/feed_management_screen.dart create mode 100644 lib/features/feed/presentation/home_feed_screen.dart create mode 100644 test/features/feed/cubit/feed_preferences_cubit_test.dart create mode 100644 test/features/feed/data/feed_repository_test.dart diff --git a/docs/designs/compose.html b/docs/designs/compose.html index f0d7977..fb0c1a9 100644 --- a/docs/designs/compose.html +++ b/docs/designs/compose.html @@ -1,515 +1,565 @@ - + - - - - Compose - Lazurite - - - - - - - - -
- - -
- - New Post - -
+ + + + Compose - Lazurite + + + + + + + + +
+ +
+ + New Post + +
- -
- - - - - Replying to @alice.bsky.social -
+ +
+ + + + + Replying to @alice.bsky.social +
- -
-
JD
- -
+ +
+
JD
+ +
- -
- - - - - Schedule for later -
+ +
+ + + + + Schedule for later +
- -
-
-
- [Photo 1] - + ALT +
+
+ [Photo 2] + + ALT +
+
+
+ + +
+
+ + - ALT -
-
- [Photo 2] -
-
-
- - -
-
- - - - - - -
-
- 192 -
- - - - +
+ 192 +
+ + + + +
-
- -
+ +
-
- Drafts - 3 drafts -
+
+ Drafts + 3 drafts +
-
-
Working on a thread about decentralised identity and why it matters for the open web...
-
- 2 hours ago - Draft +
+
+ Working on a thread about decentralised identity and why it matters for the open web... +
+
+ 2 hours ago + Draft +
-
-
-
Hot take: the best developer experience is the one you don't notice
-
- Yesterday - Mar 18, 9:00 AM +
+
Hot take: the best developer experience is the one you don't notice
+
+ Yesterday + Mar 18, 9:00 AM +
-
-
-
Quick review of the new AT Protocol SDK features that shipped this week
-
- 3 days ago - Draft +
+
Quick review of the new AT Protocol SDK features that shipped this week
+
+ 3 days ago + Draft +
-
- - - + + diff --git a/docs/designs/devtools.html b/docs/designs/devtools.html index d5f426c..08a9337 100644 --- a/docs/designs/devtools.html +++ b/docs/designs/devtools.html @@ -9,7 +9,7 @@ - +