zulip-flutter icon indicating copy to clipboard operation
zulip-flutter copied to clipboard

Add topic-list page

Open PIG208 opened this issue 6 months ago • 12 comments

Stacked on top of #1491.

Some non-goals of this change are deferred to #1499. In this implementation, we fetch the topics but do not handle all events to receive live-updates. It's expected that when topics are resolved/unresolved or moved, or when new messages arrived, the changes to the topic-list will not be seen until the next fetch.

We also skip thinning down the app bar, since that will require work on app bars on message-list page too.

The PR is structured to encourage side-by-side comparison with similar existing code. Namely _TopicItem from lib/widgets/inbox.dart and MessageListAppBarTitle.

Fixes: #1158

screenshots (taken on my Android device, hence the left-aligned app bar!)
light dark
regular image image
unsubscribed image image
unknown channel image image
small regular large
image image image
message-list channel action sheet
image image
non-muted topic muted topic
image image

debugDefaultTargetPlatformOverride = TargetPlatform.iOS:

PIG208 avatar May 06 '25 21:05 PIG208