Suguru Hirahara
50a714de4a
Add margin-top to the location body which is a sibling of DisambiguatedProfile ( #8523 )
...
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-09 06:33:34 +00:00
Suguru Hirahara
ed086b0608
Set line-height: 1 to RedactedBody inside GenericEventListSummary for IRC/modern layout ( #8529 )
...
* Move line-height of .mx_EventTile_line from _GroupLayout.scss to _EventTile.scss
Specifying mx_EventTile_line's line-height in mx_GroupLayout is too strong for mx_GenericEventListSummary.
- Set line-height:1 to mx_RedactedBody inside mx_GenericEventListSummary on IRC/modern layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Use a variable to remove the comment
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Readability
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-09 06:27:13 +00:00
Suguru Hirahara
e980c146ff
Create a mixin of cancel button ( #8526 )
2022-05-07 21:08:00 +02:00
Michael Weimann
7e63202f9a
Replace compose context menu with IconizedContextMenu ( #22046 )
...
Signed-off-by: Michael Weimann <michaelw@matrix.org>
2022-05-07 20:19:08 +02:00
Suguru Hirahara
c86040b77a
Fix timestamp's position on the chat panel with a maximized widget in IRC layout ( #8464 )
...
Fix avatar's position on the chat panel with a maximized widget in IRC layout
Fix timestamp's position on Message Edits history modal window
Also:
- Align DisambiguatedProfile with reactions row and thread summary with a variable
- Add width property as default
- Use the global variable on _IRCLayout.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-07 03:07:51 +00:00
Suguru Hirahara
34471ba855
Fix unexpected and inconsistent inheritance of line-height property for mx_TextualEvent ( #8485 )
...
- IRC layout: unspecified
- Modern layout: $font-22px (with _GroupLayout.scss)
- Bubble layout: $font-18px (with _EventBubbleTile.scss)
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-07 03:07:11 +00:00
Suguru Hirahara
a01d73ca8b
Set the same margin to the right of NewRoomIntro on TimelineCard ( #8453 )
...
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-07 03:06:13 +00:00
Travis Ralston
d39d332f54
Merge pull request #8521 from matrix-org/travis/remove-unused-labs-1
...
Remove some labs features which don't get used or create maintenance burden: custom status, multiple integration managers, and do not disturb
2022-05-06 13:21:07 -06:00
Travis Ralston
2aec197354
Remove feature_many_integration_managers
...
Rationale: If we want this feature, design will do it properly.
2022-05-06 12:46:26 -06:00
Suguru Hirahara
3a6ddf3a2b
Set max-width for MLocationBody and MLocationBody_map by default ( #8519 )
...
To avoid map overflow due to width and height specified by maplibregl-canvas
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-06 18:24:42 +00:00
Suguru Hirahara
cce0833c21
Simplify ReplyPreview implementation ( #8516 )
...
- Use AccessibleButton for cancel button, following other cases on UI
- Use flexbox for RTL layout to remove clear: both
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-06 18:06:32 +00:00
Suguru Hirahara
4d5a063cda
Set max-width for thread summary on narrow message panel ( #8520 )
...
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-06 17:56:22 +00:00
Robin
e050d8432a
Enlarge emoji again ( #8509 )
...
* Enlarge emoji again
* Use font variable
2022-05-05 20:16:05 -04:00
Šimon Brandner
23cb0ae68c
Fix pills on bubble layout being cut-off ( #8505 )
2022-05-05 08:44:59 -04:00
Šimon Brandner
b5ac9493dd
Improve pills ( #6398 )
2022-05-05 11:13:09 +02:00
Šimon Brandner
c79596cfe6
Add a way to maximize/pin widget from the PiP view ( #7672 )
2022-05-05 10:57:10 +02:00
Robin
658ff4dfe6
Iterate video room designs in labs ( #8499 )
...
* Remove blank header from video room view frame
* Add video room option to space context menu
* Remove duplicate tooltips from face piles
* Factor RoomInfoLine out of SpaceRoomView
* Factor RoomPreviewCard out of SpaceRoomView
* Adapt RoomPreviewCard for video rooms
* "New video room" → "Video room"
* Add comment about unused cases in RoomPreviewCard
* Make widgets in video rooms mutable again to de-risk future upgrades
* Ensure that the video channel exists when mounting VideoRoomView
2022-05-04 17:02:06 -04:00
Šimon Brandner
a5b795c934
Improve UI/UX in calls ( #7791 )
2022-05-04 17:16:38 +02:00
Šimon Brandner
3c36a7f704
Add ability to change audio and video devices during a call ( #7173 )
2022-05-04 16:41:56 +02:00
agrani29
995d008aca
fixed avatar and message box layering ( #8190 )
...
Co-authored-by: Andy Balaam <andyb@element.io>
2022-05-04 14:35:04 +00:00
Michael Telatynski
fd6498a821
Add loading spinners to threads panels ( #8490 )
2022-05-04 13:37:19 +00:00
Šimon Brandner
af78356c9d
Fix forwarding UI papercuts ( #8482 )
2022-05-03 19:18:16 +02:00
Suguru Hirahara
f08f764f22
Specify position of DisambiguatedProfile inside a thread on bubble message layout ( #8452 )
2022-05-03 14:28:17 +01:00
Kerry
12af3038a8
fix message indent in thread view ( #8462 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-03 13:51:50 +02:00
Suguru Hirahara
483112950d
Fix poll overflowing a reply tile on bubble message layout ( #8459 )
...
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-02 08:36:59 +00:00
Suguru Hirahara
cea75fde27
Fix text link buttons on UserInfo panel ( #8247 )
...
* Fix text link buttons on UserInfo (right) panel
- Fix link button styling
- Replace className="mx_linkButton" with kind="link"
- Remove style rules required for mx_linkButton
- Align E2E icon and devices on the device list
- Replace margin with gap
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Spacing variables
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Replace link_inline with link
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove a redundant rule
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Wrap verifyButton
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-02 01:08:42 +00:00
Alexander
2c08063925
Add pointer if you hover over location map ( #8451 )
2022-04-30 16:15:20 +01:00
Suguru Hirahara
12e8534c2b
Implement improved spacing for the thread list and timeline ( #8337 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-04-29 11:03:39 +00:00
Suguru Hirahara
565488a10a
Add margin to the location map inside ThreadView ( #8442 )
...
* Add margin to the location map inside ThreadView
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove margin from location map inside a reply
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Add margin to the location map error message inside ThreadView
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Add margin-top to the map inside a reply
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-29 08:29:18 +00:00
Suguru Hirahara
7a0b3079be
Fix event text overflow on bubble message layout ( #8391 )
...
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-28 16:33:54 +00:00
Suguru Hirahara
7208953e5f
Disable the message action bar when hovering over the 1px border between threads in the threads list ( #8429 )
...
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-28 16:06:56 +00:00
Janne Mareike Koschinski
6120adaedd
correctly align read receipts to state events in bubble layout ( #8419 )
2022-04-28 15:39:17 +02:00
Michael Telatynski
8baa46b0dd
Fix baseline misalignment of thread panel summary by deduplication ( #8413 )
2022-04-27 18:10:27 +01:00
Michael Telatynski
f85e178fc1
Fix centering issue with sticker placeholder ( #8404 )
2022-04-25 17:36:32 +00:00
Matthew Hodgson
e0076c9f12
stop the bottom edge of buttons getting clipped in devtools ( #8400 )
2022-04-24 18:35:01 -04:00
Janne Mareike Koschinski
ee2ee3c08c
Implement new Read Receipt design ( #8389 )
...
* feat: introduce new alignment types for tooltip
* feat: introduce new hook for tooltips
* feat: allow using onFocus callback for RovingAccessibleButton
* feat: allow using custom class for ContextMenu
* feat: allow setting tab index for avatar
* refactor: move read receipts out of event tile
* feat: implement new read receipt design
* feat: update SentReceipt to match new read receipts as well
2022-04-22 17:09:44 +02:00
Yaya Usman
495a69532d
fix: "Mention highlight and cursor hover highlight has different corner radius" ( #8384 )
...
* fix: mention tile and hover highlight's same border radius
* style-lint fix
* update: mention tile and hover highlight's same border radius
2022-04-21 21:13:39 +00:00
Janne Mareike Koschinski
d5e911d876
Improve text of account deactivation dialog ( #8371 )
...
* Improve text of account deactivation dialog
* Reduce spacing of deactivate account dialog
2022-04-21 11:37:38 +02:00
Suguru Hirahara
605fbd3e4e
Remove float property to let the margin between events appear on bubble message layout ( #8373 )
...
* Add margin between events on bubble message layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Use more simplified way
Because the float property prevents the margin from appearing, removing
the property is more straightforward than adding other rules.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Co-authored-by: Kerry <kerrya@element.io>
2022-04-20 19:24:34 +00:00
Robin
6e86a14cc9
Show a lobby screen in video rooms ( #8287 )
...
* Show a lobby screen in video rooms
* Add connecting state
* Test VideoRoomView
* Test VideoLobby
* Get the local video stream with useAsyncMemo
* Clean up code review nits
* Explicitly state what !important is overriding
* Use spacing variables
* Wait for video channel messaging
* Update join button copy
* Show frame on both the lobby and widget
* Force dark theme for video lobby
* Wait for the widget to be ready
* Make VideoChannelStore constructor private
* Allow video lobby to shrink
* Add invite button to video room header
* Show connected members on lobby screen
* Make avatars in video lobby clickable
* Increase video channel store timeout
* Fix Jitsi Meet getting wedged on startup in Chrome and Safari
* Revert "Fix Jitsi Meet getting wedged on startup in Chrome and Safari"
This reverts commit 9f77b8c227c1a5bffa5d91b0c48bf3bbc44d4cec.
* Disable device buttons while connecting
* Factor RoomFacePile into a separate file
* Fix i18n lint
* Fix switching video channels while connected
* Properly limit number of connected members in face pile
* Fix CSS lint
2022-04-20 11:03:33 -04:00
Kerry
e45cd39906
Live location sharing: maximised view sidebar container ( #8360 )
...
* add h4
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add mixin to clear list style
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add basic sidebar container
Signed-off-by: Kerry Archibald <kerrya@element.io>
* open list view button on beaconviewdialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update tests for new utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-20 08:14:24 +00:00
Suguru Hirahara
2fcf787578
Use -webkit-line-clamp for the room header topic overflow ( #8367 )
2022-04-20 07:41:27 +00:00
Janne Mareike Koschinski
bca9caa98e
Settings toggle to disable Composer Markdown ( #8358 )
2022-04-19 14:53:59 +01:00
Suguru Hirahara
80c1fad088
RTL layout compatibility: bridges list on room settings page ( #8243 )
2022-04-19 11:39:45 +00:00
Germain
949b3cc650
Extract Tag to its own component ( #8309 )
2022-04-19 09:52:20 +01:00
olivialivia
2b91ed1084
Add copy buttons for event & room ID ( #8302 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-04-19 09:39:34 +01:00
Travis Ralston
2234f04332
Disable animation for indicator on hidden elements ( #8340 )
2022-04-16 21:05:20 -04:00
Šimon Brandner
d162e021e1
Add message right click context menu v2 ( #5672 )
...
* migrate the message context menu to IconizedContextMenu
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* migrate the message context menu to IconizedContextMenu
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Added right-click menu
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* add message context menu group keys
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* add message context menu icons
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* add _MessageContextMenu.scss license header
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* use null vars for context menu lists
* Add allowOverridingNativeContextMenus()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use allowOverridingNativeContextMenus()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove mistaken line
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix styling
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* InputHTMLAttributes -> AllHTMLAttributes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Convert to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add some types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make onClick optional
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add rightClick prop
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add copy button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* What about upgrading deps after the eslint migration, Simon?
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add edit button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* fix
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add reply button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add react button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Cleanup render()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix comments
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add save button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Don't show context menu if editing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add special handling for click a timestamp
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix double empty line
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Don't show context menu for images
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Cleanup
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix order
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Keep action bar shown when right-clicking
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Highlight event tile when right-clicking
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Delint
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Pointless change so that I can re-run the CI
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove dowload button
Because we don't use this menu when clicking on images
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Be more clear for non-bools
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use triggerOnMouse down prop
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove a comment
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove unused var
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove unnecessary import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add some missing types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add missing type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove unused import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add a missing type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix types/naming
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add missing current
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove unused var
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix editing and replying
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Support right-click context menu for threads
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make button order match `MessageActionBar`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix missing permalink button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove useless part of if statement
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Some small refactoring for consistency
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Some more refactoring
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix `editEvent()` call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make editing polls work
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix collapse reply chain button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix timelineRenderingType
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix reply button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Hide right-click context menu behind a labs flag
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add missing return type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make `contextMene` optional
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Move `renderContextMenu()`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Simplify `renderContextMenu()`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve `aboveLeftOf` typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use `InputHTMLAttributes`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Disable message right-click context menu in browser (for now)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Give permalink button more props
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
2022-04-15 08:22:59 -06:00
Suguru Hirahara
8da6c98201
Tidy style rules of TimelineCard up ( #8315 )
...
* .mx_EventTile_line
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* .mx_ReactionsRow
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* .mx_ThreadInfo
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* .mx_EventTile_avatar
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* .mx_MessageTimestamp
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* .mx_EventTile_msgOption
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* &.mx_EventTile_info
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* .mx_GroupLayout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* lint
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-14 22:09:10 +00:00
Suguru Hirahara
f97572f911
Align media and reactions row on thread panel ( #8312 )
...
* Align reactions row
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Nesting
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Include .mx_EventTile_mediaLine inside .mx_EventTile[data-layout=group]
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-14 15:13:46 -06:00