-
-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DM panel to the left side view (rebased #1416) #1532
base: main
Are you sure you want to change the base?
Add DM panel to the left side view (rebased #1416) #1532
Commits on Jul 11, 2024
-
buttons/views: Replace stream view with stream panel on left sidebar.
This commit reworks the stream view section in the left sidebar by replacing it with the new Stream Panel widget. The stream panel consists of the newly added stream messages button (StreamPanelButton), and the existing stream/topic view section. Test added, updated and renamed.
Configuration menu - View commit details
-
Copy full SHA for 88487e6 - Browse repository at this point
Copy the full SHA 88487e6View commit details -
boxes/views: Add context label parameter to PanelSearchBox.
This commit adds a label parameter to the PanelSearchBox to provide context to the user which searching the streams/topics list. Tests updated.
Configuration menu - View commit details
-
Copy full SHA for 2c846b6 - Browse repository at this point
Copy the full SHA 2c846b6View commit details -
helper/views: Add all_streams unread count to the UnreadCounts dict.
This commit adds an all_streams key to the UnreadCounts dict to store the unread stream messages count. This is subsequently used by the StreamPanelButton in the stream panel. Test case added and tests updated.
Configuration menu - View commit details
-
Copy full SHA for afd829c - Browse repository at this point
Copy the full SHA afd829cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 781962f - Browse repository at this point
Copy the full SHA 781962fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2451af - Browse repository at this point
Copy the full SHA a2451afView commit details -
model: Fetch recent direct messages from the Zulip API.
This commit adds a list of recent direct messages for the user to the ZT model (recent_dms). It also adds a _sort_recent_dms function to keep the list in sorted order according to the max_message_id of the dm. Fixture added and test updated.
Configuration menu - View commit details
-
Copy full SHA for 367b6a8 - Browse repository at this point
Copy the full SHA 367b6a8View commit details -
model: Update recent_dms while handling a message_event.
This commit adds an _update_recent_dms method which updates the recent_dms list when a message event is received. It keeps the list in sorted order as well. Tests modified.
Configuration menu - View commit details
-
Copy full SHA for 9270537 - Browse repository at this point
Copy the full SHA 9270537View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23f28ad - Browse repository at this point
Copy the full SHA 23f28adView commit details -
views: Rework direct messages UI.
This commit reworks the direct messages button by moving it to a different section between the menu and the streams panel. It also adds a direct messages panel which shows all DM recipients.
Configuration menu - View commit details
-
Copy full SHA for 88ff377 - Browse repository at this point
Copy the full SHA 88ff377View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3298cb6 - Browse repository at this point
Copy the full SHA 3298cb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 518e8d2 - Browse repository at this point
Copy the full SHA 518e8d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9167fb3 - Browse repository at this point
Copy the full SHA 9167fb3View commit details