Karl Stolley
5bedbb14b4
compose_box: Rename message-control-button to send-control-button.
2023-11-14 09:21:11 -08:00
Karl Stolley
41b61cfb3e
compose_box: Don't fill Topic line on restored draft.
2023-11-13 12:45:13 -08:00
Karl Stolley
93d6bcef0e
compose_box: Properly present Drafts button in all languages.
2023-11-13 12:45:13 -08:00
Karl Stolley
be34c4c2ef
compose_box: Improve Drafts and button alignment in smaller views.
2023-11-13 12:45:13 -08:00
Karl Stolley
71468492b7
compose_box: Restore purple color to Send button.
2023-11-13 12:45:13 -08:00
Karl Stolley
d92a1e7ca8
compose_box: Update vdots tooltip to 'Send options'.
2023-11-13 12:45:13 -08:00
Karl Stolley
4fe9e4e715
compose_box: Handle delay, radio selection on Enter-sends elements.
2023-11-13 12:45:13 -08:00
Karl Stolley
7209476b18
compose_box: Integrate Drafts, Enter-to-send in send-later popover.
2023-11-13 12:45:13 -08:00
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