zulip/static/templates
Tim Abbott 51c6c82003 message_list: Don't split message groups for a date divider.
This adds date dividers within a single message group when the only
reason we had previously been splitting apart two message groups is a
change of date.  The overall effect is a cleaner message list user
experience.

The downside of this change would be that the recipient bars no longer
will always show a new date for date changes; to fix that, we rewrite
how the floating recipient bars both set the date field on the
floating recipient bar itself, as well as ensure that non-floating
recipient bars don't show duplicate dates.

In a future design update where we modify how message recipient bars
look, we may very well be able to simplify this logic by removing some
of the dynamic nature of the recipient bar calculations.  But this is
a good implementation of what remains.

Tweaked significantly by tabbott from Steve Howell's original, both to
extract these changes from a larger PR as well as to modify the
first_visible_message logic to handle some tricky corner cases.

Fixes #10171.
2019-02-11 15:56:09 -08:00
..
settings org settings: Move "allow message content in email" to different subsection. 2019-02-08 10:16:09 -08:00
widgets poll-widget: Refactor comment to option. 2019-01-29 09:34:14 -08:00
.gitignore
actions_popover_content.handlebars popovers: Avoid passing message to actions popover template. 2018-12-29 14:19:18 -08:00
admin-settings-modals.handlebars settings_user: Add modal for user info and roles form. 2018-07-30 13:48:36 -07:00
admin_default_streams_list.handlebars admin_default_streams_list.handlebars: Use fa-4.7 icon prefixes. 2018-07-11 20:17:11 +05:30
admin_emoji_list.handlebars settings_emoji: Use display_name in handlebars. 2018-08-07 10:22:08 -07:00
admin_filter_list.handlebars admin_filter_list.handlebars: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:31:16 +05:30
admin_invites_list.handlebars settings_invites: Add invited_as column to the table. 2019-01-05 14:53:09 -08:00
admin_profile_field_list.handlebars custom profile field: Remove unnecessary table header from edit form. 2018-08-21 11:42:58 -07:00
admin_tab.handlebars settings: Rename realm_filters template to use linkifiers. 2018-12-17 12:29:39 -08:00
admin_user_group_list.handlebars user groups: Display error on user group name edit failure. 2018-08-13 16:13:49 -07:00
admin_user_list.handlebars settings: Remove extra column from table in bot-list-admin. 2018-10-29 23:16:45 -07:00
alert_word_settings_item.handlebars alert_word_settings_item.handlebars: Use fa-4.7 icon prefixes. 2018-07-11 20:31:17 +05:30
all_messages_sidebar_actions.handlebars all_messages_sidebar_actions.handlebars: Use fa-4.7 icon prefixes. 2018-07-11 20:17:11 +05:30
announce_stream_docs.handlebars create stream: Use English grammar for message about announcement. 2018-02-01 11:26:57 -08:00
archive_message_group.handlebars message_list: Rename show_date_separator to show_group_date_divider. 2019-02-08 11:30:15 -08:00
archive_recipient_row.handlebars subject -> topic: Fix group.subject references. 2018-11-16 11:05:43 -08:00
bankruptcy_modal.handlebars
bookend.handlebars message view: Decode HTML in Stream subscription messages. 2017-10-11 09:59:48 -07:00
bot_avatar_row.handlebars settings: Interchange Username and Bot Type positions. 2018-10-16 17:09:20 -07:00
bot_owner_select.handlebars settings_user: Refactor `open-user-form` click handler. 2018-07-30 13:48:36 -07:00
compose-invite-users.handlebars compose: Hide subscribe button and change text for waiting period users. 2018-08-13 10:18:35 -07:00
compose_all_everyone.handlebars
compose_announce.handlebars compose: Warn users when posting to the #announce stream. 2017-12-20 07:36:50 -05:00
compose_not_subscribed.handlebars compose: Hide sub-btn in compose-to-unsub warning if user can't subscribe. 2018-11-02 11:57:04 +05:30
compose_notification.handlebars
compose_private_stream_alert.handlebars compose: Improve line wrapping for multiline compose box alerts. 2018-03-06 13:01:41 -08:00
confirm_delete_user.handlebars settings: Confirm before deleting user groups. 2018-10-12 10:38:56 -07:00
confirm_dialog.handlebars settings: Add confirm_dialog module. 2018-10-12 10:37:06 -07:00
default_language_modal.handlebars settings: Add modal fade. 2018-04-28 12:55:15 -07:00
delete_topic_modal.handlebars delete topic: Update wording in confirmation modal. 2019-02-06 22:16:24 -08:00
draft.handlebars accessibility: Model messages as a list with items, each representing a single message. 2018-11-16 08:54:01 -08:00
draft_table_body.handlebars compose: Remove draft older than 30 days. 2018-03-14 10:57:11 -07:00
edit_bot.handlebars static/templates/edit_bot.handlebars: Fix undefined bot_id. 2018-05-15 10:35:19 -07:00
email_address_hint.handlebars subscription: Improve email-hint popover style. 2018-03-23 09:55:44 -07:00
embedded_bot_config_item.handlebars linter: Make html singleton tags use 2 space indentation. 2018-04-07 20:08:31 -07:00
emoji_popover.handlebars emoji_picker: Add emoji showcase. 2017-09-29 21:09:00 +00:00
emoji_popover_content.handlebars emoji_popover_content.handlebars: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:17:11 +05:30
emoji_popover_emoji.handlebars emoji: Rename `css_class` to `emoji_code` in emoji.js. 2018-07-23 12:35:08 -07:00
emoji_popover_search_results.handlebars
emoji_showcase.handlebars emoji: Rename `css_class` to `emoji_code` in emoji.js. 2018-07-23 12:35:08 -07:00
feedback_container.handlebars ui: Render feedback widget client side. 2019-01-04 10:54:10 -08:00
group_pms.handlebars right sidebar: Fix night-mode presence styling. 2018-12-02 19:14:40 -08:00
hotspot_overlay.handlebars template_parser: Add parsing support for self closing tags as per HTML5. 2018-02-15 17:47:43 -05:00
input_pill.handlebars input-pill: Refactor pills to eliminate fixed positioning of elements. 2018-07-23 10:21:13 -07:00
intro_reply_hotspot.handlebars hotspots: Change styling of intro to reply hotspot. 2018-10-02 11:38:26 -07:00
invitation_failed_error.handlebars invite: Clean error handling and use ui_report. 2019-01-17 10:28:59 -08:00
invite_subscription.handlebars invites: Use stream_id instead of stream names in invitation. 2019-02-01 15:47:20 -08:00
loader.handlebars org settings: Fix a bug where the loading spinner was not visible. 2018-08-08 10:59:23 -07:00
message_edit_form.handlebars message edit: Rearrange order of control icons. 2019-02-05 13:42:58 -08:00
message_edit_history.handlebars message_edit: Fix message edit history breakdown on large messages. 2019-02-08 15:47:17 -08:00
message_group.handlebars message_list: Rename show_date_separator to show_group_date_divider. 2019-02-08 11:30:15 -08:00
message_reaction.handlebars reactions.js: Migrate webapp to use the new reactions API. 2017-11-20 15:27:20 -08:00
message_reactions.handlebars accessibility: Make another reactions button semi-accessible. 2018-11-08 14:10:48 -08:00
mobile_message_buttons_popover.handlebars compose: Create the mobile compose popover. 2018-10-31 16:47:48 -07:00
mobile_message_buttons_popover_content.handlebars compose: Create the mobile compose popover. 2018-10-31 16:47:48 -07:00
more_topics.handlebars left-sidebar: Remove topics help code. 2017-11-15 11:01:33 -08:00
muted_topic_ui_row.handlebars muting: Add stream_id to markup for mute settings. 2018-12-14 16:05:35 -08:00
new_stream_users.handlebars linter: Make html singleton tags use 2 space indentation. 2018-04-07 20:08:31 -07:00
non_editable_user_group.handlebars user pills: Rename class `notmem` to `not-editable` for generalization. 2018-08-21 11:50:01 -07:00
notification.handlebars
propagate_notification_change.handlebars linter: Enforce 2 space indents on tags spread over multiple lines. 2018-04-07 20:08:44 -07:00
recipient_row.handlebars message_list: Rename show_date to group_date_divider_html. 2019-02-08 11:26:24 -08:00
remind_me_popover_content.handlebars reminders: Add various design improvements for the UI/reminder msg. 2018-05-21 09:07:37 -07:00
settings_tab.handlebars settings: Remove obsolete default_desktop_notifications setting. 2018-04-28 13:46:07 -07:00
sidebar_private_message_list.handlebars unread: Rename zero-subject-unreads to zero-topic-unreads. 2018-12-29 14:18:32 -08:00
single_message.handlebars message_list: Don't split message groups for a date divider. 2019-02-11 15:56:09 -08:00
stream_creation_form.handlebars subs: Replace tr block with t in subs handlebars template. 2018-07-23 10:55:16 -07:00
stream_member_list_entry.handlebars
stream_privacy.handlebars stream_privacy.handlebars: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:17:11 +05:30
stream_sidebar_actions.handlebars stream_sidebar_actions.handlebars: Use fa-4.7 icon prefixes. 2018-07-11 20:31:17 +05:30
stream_sidebar_row.handlebars stream_sidebar_row.handlebars: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:31:17 +05:30
stream_types.handlebars stream settings: Hide creating admin-only streams in members UI. 2019-01-24 10:51:49 -08:00
subscription.handlebars stream settings: Rename average messages to estimated messages. 2018-06-23 12:48:15 -07:00
subscription_count.handlebars subscriptions_settings_modal: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:17:11 +05:30
subscription_invites_warning_modal.handlebars dark-mode: Make all modals compatible with night mode. 2018-02-09 14:21:13 -08:00
subscription_members.handlebars subscriptions: Add tooltip, only subscribers can add user in private stream. 2019-01-05 16:21:41 -08:00
subscription_setting_icon.handlebars subscriptions_settings_modal: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:17:11 +05:30
subscription_settings.handlebars stream-settings: Remove unnecessary delete text from button. 2018-09-21 12:17:17 -07:00
subscription_stream_privacy_modal.handlebars streams: Improve 'is-announcement-only' checkbox. 2018-06-01 10:05:13 -07:00
subscription_table_body.handlebars user docs: Update stream guidelines link in stream subscriptions modal. 2018-10-01 12:45:59 -07:00
subscription_type.handlebars stream settings: Rephrase info to state guest user can't join public stream. 2018-11-12 17:00:38 -08:00
subscriptions.handlebars refactor: Render Stream Settings in two steps. 2018-07-26 11:20:46 -07:00
tab_bar.handlebars top left: Remove home-link markup in the main app. 2019-01-30 13:53:20 -08:00
topic_edit_form.handlebars topic_edit_form.handlebars: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:31:17 +05:30
topic_list_item.handlebars unread: Rename zero-subject-unreads to zero-topic-unreads. 2018-12-29 14:18:32 -08:00
topic_muted.handlebars muting: Rename container template to feedback_widget.html. 2019-01-04 10:48:19 -08:00
topic_sidebar_actions.handlebars messages: Add support for quickly deleting all messages in a topic. 2019-02-01 17:09:44 -08:00
typeahead_list_item.handlebars typeahead: Rename `codepoint` to `emoji_code`. 2019-01-05 15:09:04 -08:00
typing_notification.handlebars
typing_notifications.handlebars
uploaded_files_list.handlebars uploaded_files_list.handlebars: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:31:16 +05:30
user-groups-admin.handlebars org settings: Reposition instructions for user groups, and hide from guests. 2019-02-07 11:46:09 -08:00
user-info-form-modal.handlebars settings: Add admin UI for editing users' custom profile fields. 2019-01-15 15:34:35 -08:00
user_group_info_popover.handlebars popovers: Add a popover for group mentions. 2018-02-16 13:37:02 -08:00
user_group_info_popover_content.handlebars user-groups: Centre align popover content. 2018-07-22 20:14:29 -07:00
user_info_popover.handlebars
user_info_popover_content.handlebars user status: Style status message in user popover. 2019-02-05 13:42:32 -08:00
user_info_popover_title.handlebars popovers: Add guest avatar marker to user info popover. 2018-12-30 11:07:00 -08:00
user_presence_row.handlebars user status: Surface status in the buddy list. 2019-01-25 16:53:51 -08:00
user_presence_rows.handlebars
user_profile_modal.handlebars custom profile fields: Markdown rendering for custom profile field values. 2019-01-01 21:06:21 -08:00