Karl Stolley
4fee51fc99
compose_box: Render limit indicator as template with zero-width space.
2023-11-13 12:45:13 -08:00
Karl Stolley
601faf8548
compose_box: Handle responsive layouts on send column.
...
Fixes #27576 .
2023-11-13 12:45:13 -08:00
Karl Stolley
a6b3e74f7d
compose_box: Sensibly style disabled Send/vdots buttons.
2023-11-13 12:45:13 -08:00
Karl Stolley
609106e2d0
compose_box: Implement redesigned vdots-button styles.
2023-11-13 12:45:13 -08:00
Karl Stolley
bf0e806fed
compose_box: Implement redesigned send-button styles.
2023-11-13 12:45:13 -08:00
Karl Stolley
f8fa47fa02
compose_box: Use columnar flex to position Drafts, limit, Send button.
2023-11-13 12:45:13 -08:00
Karl Stolley
a3c1399924
compose_box: Handle compose and preview expansion.
2023-11-13 12:45:13 -08:00
Karl Stolley
ec38c7b5be
compose_box: Establish basic message box grid geography.
2023-11-13 12:45:13 -08:00
Karl Stolley
9f00b513f7
compose_box: Improve structures around compose buttons.
2023-11-13 12:45:13 -08:00
Karl Stolley
e608a389af
compose_box: Improve structures around send controls.
2023-11-13 12:45:13 -08:00
Karl Stolley
b4b71880e1
compose_box: Prepare redesign send and draft structures.
2023-11-13 12:45:13 -08:00
Aman Agrawal
637e9c11ee
billing: Show success text after plan change on top after reload.
2023-11-13 10:35:39 -08:00
Aman Agrawal
67bddb3d72
billing: Show success message for license change after page reload.
2023-11-13 10:35:39 -08:00
Aman Agrawal
c2e01f06a3
billing: Show message for users without access to page in a white box.
2023-11-13 10:35:39 -08:00
Aman Agrawal
17573cd1fb
billing: Don't show license update buttons until valid change in value.
2023-11-13 10:35:39 -08:00
Aman Agrawal
0772f8011c
billing: Don't reduce button width when loading.
2023-11-13 10:35:39 -08:00
Aman Agrawal
7dc4983898
billing: Wait 300ms before updating disabled status in buttons.
2023-11-13 10:35:39 -08:00
Aman Agrawal
5429582892
billing: Don't allow negative input.
2023-11-13 10:35:39 -08:00
Aman Agrawal
2a70143050
upgrade: Show user/month plurals based on their count.
2023-11-13 10:35:39 -08:00
Aman Agrawal
b516ae75db
upgrade: Remove tests temporarily as they need to be rewritten.
2023-11-13 10:35:39 -08:00
Aman Agrawal
067d820a8a
billing_helpers: Delete temporarily.
...
This needs to be re-written entirely.
2023-11-13 10:35:39 -08:00
Aman Agrawal
874d4a7026
upgrade: Improve styles for free trial upgrade.
2023-11-13 10:35:39 -08:00
Aman Agrawal
2ffae56efa
upgrade: Improve styles for onboarding free trial orgs.
2023-11-13 10:35:39 -08:00
Aman Agrawal
a04204e47d
billing: Style go to your org better.
2023-11-13 10:35:39 -08:00
Aman Agrawal
7d10b3dcf7
upgrade: Add required fields to upgrade a realm.
2023-11-13 10:35:39 -08:00
Aman Agrawal
2f9a48cce7
upgrade: Show payment amount based on user input.
...
Write script to make payment amount vary with payment schedule
and number of licenses.
2023-11-13 10:35:39 -08:00
Aman Agrawal
e3f20cdb8a
billing: Reduce clickable area to visible button area.
...
Clicking outside the button also used to work for cancel plan and
other buttons in that area which can deceiving for the user.
2023-11-13 10:35:39 -08:00
Aman Agrawal
f5ba6fe03c
upgrade: Fix HTML structure and styles.
2023-11-13 10:35:39 -08:00
Aman Agrawal
6cadf333fb
upgrade: Remove invoice payment instructions.
2023-11-13 10:35:39 -08:00
Aman Agrawal
f273229b01
upgrade: Add payment button and info style with fake text.
2023-11-13 10:35:39 -08:00
Aman Agrawal
4638f67e4e
upgrade: Use style similar to /billing page.
2023-11-13 10:35:39 -08:00
Aman Agrawal
d3363bab96
upgrade: Add a dropdown to select billing cycle.
2023-11-13 10:35:39 -08:00
Aman Agrawal
2570f7ce23
upgrade: Control automatic / manual license management via URL.
2023-11-13 10:35:39 -08:00
Karl Stolley
690b4efca8
left_sidebar: Explicitly handle clicks on collapsible Views targets.
2023-11-13 09:33:21 -08:00
Tim Abbott
8ad2e10cfe
typeahead: Fix exception trying to mention @all in DMs.
...
Fixes a regression in 4d1ade1f88
.
2023-11-13 09:07:36 -08:00
Prakhar Pratyush
1f91db1d43
topic_mentions: Add @topic mention typeahead.
...
This commit adds a @topic mention typeahead that appears
only in stream messages and not in private messages.
Fixes part of #22829 .
2023-11-13 09:07:36 -08:00
Prakhar Pratyush
5ec26c6542
typeahead: Fix message_type to correctly test stream mention typeahead.
...
This commit sets the 'message_type' to "stream" in the beginning
of the test to properly verify wildcard mentions typeahead for
stream messages.
Earlier, 'message_type' was set to "False", and the test was passing
falsely because in the 'broadcast_mentions' function, the 'else' block
gets executed for 'message_type' having a value of either
'stream' or 'False'.
```
if (compose_state.get_message_type() === "private") {
wildcard_string = $t({defaultMessage: "Notify recipients"});
} else {
wildcard_string = $t({defaultMessage: "Notify stream"});
wildcard_mention_array.push("stream");
}
```
We don't need to explicitly change the condition to:
```
else if (compose_state.get_message_type() === "stream")
```
because in practise, the 'message_type' is either set to 'stream'
or 'private' when the user types a message.
Only changing the 'message_type' in the test to simulate the
actual behaviour fulfils our purpose.
This should have been included in 5bddd8f
.
2023-11-13 09:07:36 -08:00
Aman Agrawal
1b804cd0dd
sponsorship: Don't preserve scroll position on reload.
2023-11-13 08:52:13 -08:00
Aman Agrawal
395cafcf46
sponsorship: Add extra input fields to get more org info.
...
Fixes #27600
2023-11-13 08:52:13 -08:00
Aman Agrawal
bf53c70dd9
sponsorship: Update discount description on page load.
...
Fixes part of #27645 .
2023-11-13 08:52:13 -08:00
Prakhar Pratyush
64005c03b6
topic_mentions: Highlight the @topic mention for topic participants.
...
This commit adds support to highlight the '@topic' wildcard
mention text for the users having 'topic_wildcard_mentioned'
flag set.
Fixes #27497 .
2023-11-13 08:29:16 -08:00
Tim Abbott
07769aec4b
rows: Fix logic for finding drafts rows.
2023-11-13 08:29:16 -08:00
Karl Stolley
554f33d033
left_sidebar: Set shared right margin on DM section.
2023-11-13 08:27:28 -08:00
N-Shar-ma
ed59316ff6
refactor: Rename `is_search` to `is_keyword_search` for clarity.
...
For more clarity, the 3 related functions `is_search` in `filter.js`,
`message_list.js` and `message_list_data.js` are all renamed to
`is_keyword_search`.
2023-11-13 08:09:03 -08:00
Sahil Batra
d1113b5371
invite: Use ICU plural syntax for invite success message.
...
The message shown on successful invitation included "User(s)"
previously. This commit updates it to include "User" or "Users"
according to the number of users invited.
2023-11-13 08:07:12 -08:00
Aman Agrawal
060b94b71f
inbox: Fix search icon position on narrow widths.
...
Due to filters dropdown's variable width, the search icon was
incorrectly positioned, we fix it by positioning it relative to
the filter dropdown.
2023-11-10 18:20:26 -08:00
Lalit
b86022ea52
ts: Convert `activity.js` module to TypeScript.
2023-11-10 16:37:44 -08:00
BrandonAWong
6edf24b0f7
search: Remove "All messages" typeahead
...
Previously, the "All messages" typeahead would be shown whenever
the search bar had an empty input. This change removes that typeahead
completely in favor of using other filters such as -is:muted.
Fixes #27358
Co-authored-by: Heran Zhang & Wei-Cheng Sung
2023-11-10 16:27:32 -08:00
N-Shar-ma
c3c72cda6d
compose: Completely remove style elements when pasting HTML as markdown.
...
Turndown would strip `<style>` tags, but retain the content enclosed.
This resulted in unwanted content being pasted, like the comment nodes
inside the `<style>` tag when pasting cell/s copied from Google Sheets.
2023-11-10 13:56:51 -08:00
N-Shar-ma
e15f518ccc
compose: Always retain `ul` tag when pasting content enclosed by it.
...
This functionally makes no difference, but we add it along with `ol`
for consistency.
2023-11-10 13:56:51 -08:00