Commit Graph

9699 Commits

Author SHA1 Message Date
majordwarf
b3a09c77d9 css: Use SCSS nesting in zulip.scss for .selected_message. 2020-05-20 11:17:06 -07:00
majordwarf
a562f208e5 css: Use SCSS nesting in zulip.scss for .last_message. 2020-05-20 11:17:06 -07:00
majordwarf
77d3df05ac css: Reorder zulip.scss to put .last_message alongside. 2020-05-20 11:17:06 -07:00
majordwarf
69e1b0f26a css: Use SCSS nesting in zulip.scss for .unread_marker. 2020-05-20 11:17:06 -07:00
majordwarf
cd88666bc1 css: Reorder zulip.scss to put .unread_marker alongside. 2020-05-20 11:17:06 -07:00
majordwarf
6e02d9e977 css: Merge css rulesets in zulip.scss for .message-header-contents. 2020-05-20 11:17:06 -07:00
majordwarf
2039f6f459 css: Use SCSS nesting in zulip.scss for .private-message. 2020-05-20 11:17:06 -07:00
majordwarf
d99a834bc4 css: Reorder zulip.scss to put .private-message alongside. 2020-05-20 11:17:06 -07:00
majordwarf
646e725b4f css: Use SCSS nesting for .message_header_private_message. 2020-05-20 11:17:06 -07:00
majordwarf
d4e7e99ec7 css: Use SCSS nesting in zulip.scss for .bookend_tr. 2020-05-20 11:17:06 -07:00
majordwarf
5282bf34dd css: Use SCSS nesting in zulip.scss for .summary_row. 2020-05-20 11:17:06 -07:00
majordwarf
0d854b736b css: Reorder zulip.scss to put .summary_row alongside. 2020-05-20 11:17:06 -07:00
majordwarf
7d491b87fd css: Use SCSS nesting in zulip.scss for .recipient_row_date. 2020-05-20 11:17:06 -07:00
majordwarf
f991990a4d css: Use SCSS nesting in zulip.scss for .stream_label. 2020-05-20 11:17:06 -07:00
majordwarf
38bd00d63b css: Use SCSS nesting in zulip.scss for .floating_recipient. 2020-05-20 11:17:06 -07:00
majordwarf
d514c5a372 css: Reorder zulip.scss to put .floating_recipient alongside. 2020-05-20 11:17:06 -07:00
majordwarf
20cb19b51a css: Use SCSS nesting in zulip.scss for .message_list. 2020-05-20 11:17:06 -07:00
majordwarf
a23455bbcb css: Reorder zulip.scss to put .message_list alongside. 2020-05-20 11:17:06 -07:00
majordwarf
6b06a23783 css: Use SCSS nesting in zulip.scss for .messagebox. 2020-05-20 11:17:06 -07:00
majordwarf
fab0263e70 css: Merge css ruleset in zulip.scss for .messagebox. 2020-05-20 11:17:06 -07:00
majordwarf
87b5329a54 css: Reorder zulip.scss to put .messagebox alongside.
Removed a comment that along with reordering that deemed null now.
2020-05-20 11:17:06 -07:00
majordwarf
7b0f015830 css: Use SCSS nesting in zulip.scss for #message-edit-history. 2020-05-20 11:17:06 -07:00
majordwarf
62de6083a5 css: Reorder zulip.scss to put #message-edit-history alongside. 2020-05-20 11:17:06 -07:00
majordwarf
2a6a817f57 css: Use SCSS nesting in zulip.scss for .sender-status. 2020-05-20 11:17:06 -07:00
majordwarf
388e4622f0 css: Reorder zulip.scss to put .sender-status alongside. 2020-05-20 11:17:06 -07:00
majordwarf
2ffc69899f css: Use SCSS nesting in zulip.scss for .include-sender. 2020-05-20 11:17:06 -07:00
majordwarf
f867175e6b css: Reorder zulip.scss to put .include-sender alongside. 2020-05-20 11:17:06 -07:00
majordwarf
7a046ae4a4 css: Use SCSS nesting in zulip.scss for #message_edit_tooltip. 2020-05-20 11:17:06 -07:00
majordwarf
4867639393 css: Use SCSS nesting in zulip.scss for .tooltip. 2020-05-20 11:17:06 -07:00
majordwarf
b5501795f1 css: Use SCSS nesting in zulip.scss for .header-main. 2020-05-20 11:17:06 -07:00
majordwarf
7c8f8a89f2 css: Use SCSS nesting in zulip.scss for input. 2020-05-20 11:17:04 -07:00
majordwarf
582f638af3 css: Use SCSS nesting in zulip.scss for .app-main. 2020-05-20 11:02:03 -07:00
majordwarf
50a9eccd77 css: Reorder zulip.scss to put .app-main alongside. 2020-05-20 11:02:03 -07:00
majordwarf
3d5352f875 css: Use SCSS nesting in zulip.scss for #panels. 2020-05-20 11:02:03 -07:00
majordwarf
4eaf99b9fa css: Use SCSS nesting in zulip.scss for .fade-in-message. 2020-05-20 11:02:03 -07:00
majordwarf
685335eb44 css: Use SCSS nesting in zulip.scss for #feedback_container. 2020-05-20 11:02:03 -07:00
majordwarf
49cc9b680c css: Reorder zulip.scss to put #feeback_container alongside. 2020-05-20 11:02:03 -07:00
majordwarf
faf6a274a0 css: Use SCSS nesting in zulip.scss for .top-messages-logo. 2020-05-20 11:02:03 -07:00
majordwarf
82c8c0e9ff css: Remove ignored css rulesets in zulip.scss.
`vertical-align` property is ignored due to the display.
With 'display: block', vertical-align should not be used.
2020-05-20 11:02:03 -07:00
Rohitt Vashishtha
c24aaa0e74 portico-css: Style codeblocks to look neater.
The currrent css of codeblocks left too much empty space between
the lines as well as indented the first character of a codeblock
slightly towards the right.

This commit fixes both of these, thus making codeblocks look closer
to what someone would expect codeblocks to look like in their text
editor.
2020-05-20 10:18:29 -07:00
Rohitt Vashishtha
1091615b17 edit-bot: Show dropdown list widget for selecting owner.
This commit removes user_dropdown in favor of the common
dropdown_list_widget for our bot edit forms.
2020-05-20 09:51:38 -07:00
Rohitt Vashishtha
4d14ba41ba dropdown-list-widget: Properly handle disabled state.
We wrap the [reset] anchor tag in a button so that we can set 'disabled'
attribute on it. We change the styles to hide the [reset] button and the
pencil icon when the widget is disabled.

We also need to call `e.preventDefault()` in the event handler since now
the anchor tag behaves as a button.
2020-05-20 09:51:38 -07:00
Aman Agrawal
370d1b6ca7 recent-topics: Handle topic and topic's stream edit updates.
* Implementation and logic similar to recent_sender.process_topic_edit.
2020-05-20 09:44:50 -07:00
Aman Agrawal
04cdc89681 recent_topics: Handle mute/unmute update to topic.
* We don't remove topic data when it's muted. We will filter it
before rendering.
2020-05-20 09:44:50 -07:00
Aman Agrawal
76b0c6de86 recent-topics: Add module.
Add methods to extract recent topics from received messages.
Process new messages as they are received.
Use new messages received from the server to extract recent_topics.
Node tests added.
2020-05-20 09:44:50 -07:00
Rohitt Vashishtha
da22f3b961 dropdown-list-widget: Refactor styles to use SCSS scopes. 2020-05-19 15:13:28 -07:00
Rohitt Vashishtha
96638f5bd4 dropdown-list-widget: Use null-value when no value is specified.
Previously, we tried to read the value from page_params, which was just
a hack to make the calling code look cleaner. We now remove that hack
and thus, our dependency on page_params existing. Now, if the caller
does not specify a default value, we'll use the null-value.

This also creates a new init() function to cleanly wrap the code that
makes changes to the opts passed to the widget.
2020-05-19 15:13:28 -07:00
Rohitt Vashishtha
aeb247f528 dropdown-list-widget: Rename setting_name -> widget_name.
This change is another in a series of commits that allows us to use
DLW outside of realm_settings.
2020-05-19 15:13:28 -07:00
Siddharth Varshney
0af2f9d838 popover: Hide color palette.
Change in stream color occurs very rarely, and the palette is taking a lot of space in the popover.

This commit will hide the palette in default view of stream popover.
2020-05-19 14:03:35 -07:00
Siddharth Varshney
2c5275839b popover: Change the divider color in Choose custom color.
Changed the divider color in to match the style of day/night mode.
2020-05-19 14:03:35 -07:00