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
Yaya Usman
ad2d3a3683
Fixes "space panel kebab menu is rendered out of view on sub spaces" ( #8350 )
...
* fixes space kebab menu out of view
* update-eslint: space kebab menu out of view
* update: space kebap menu
* update: space panel collapse behavior and kebap menu fix
* update: space panel collapse behavior and kebap menu fix
* updated fix
2022-04-30 15:36:03 +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
Kerry
699a9aeaaf
LLS: expose way to enable live sharing labs flag from location dialog ( #8416 )
...
* add state for waiting for labs flag
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add enable live share component
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test enabling live share labs flag
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-28 13:37:20 +02:00
Emmanuel
9c397625b0
Fix source text boxes in View Source modal should have full width ( #8425 )
...
Nice work, thanks!
2022-04-28 09:23:15 +01: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
Michael Telatynski
0c7a4dfcac
Fix issue with threads timelines with few events cropping events ( #8392 )
2022-04-22 22:29:57 +01: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
Esha Goel
03c46770f4
Changed font-weight to 400 to support light weight font ( #8345 )
...
* changed font-weight to 400 to support light weight font
* removed font-weight line and _CreateRoom.scss file
* removed _CreateRoom from _components.scss
2022-04-22 14:44:07 +00: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
Kerry
f2ec465f87
Live location sharing: own live beacon status on maximised view ( #8374 )
...
* add floating own live sharing eacon status to maximised view
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add tests for own beacon status
Signed-off-by: Kerry Archibald <kerrya@element.io>
* stylelint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove huge snapshot
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove unused emits from test
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-21 09:06:57 +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
4a38cbd550
Live location sharing: beacon list view tiles ( #8363 )
...
* add basic sidebar container
Signed-off-by: Kerry Archibald <kerrya@element.io>
* optionally show icon in beaconstatus
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add avatar and style list item
Signed-off-by: Kerry Archibald <kerrya@element.io>
* formatted last update time
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test beacon list item
Signed-off-by: Kerry Archibald <kerrya@element.io>
* move makeRoomWithState events to test utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
* move beacon test helpers into utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
* newline
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add copyable text to beacon list item
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add copyable geo uri to list item
Signed-off-by: Kerry Archibald <kerrya@element.io>
* improve spacing
Signed-off-by: Kerry Archibald <kerrya@element.io>
* overflow scroll on list
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-20 11:57:50 +00: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
Kerry
f70186ea9b
Live location sharing: set map bounds to include all locations ( #8324 )
...
* open a dialog with map centered around first beacon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test dialog opening from beacon body
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test beaconmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add bounds to Map comp
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add focusBeacon to beaconviewdialog, use bounds
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use membercolor on beacon view markers
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add lnglatbounds to maplibre mock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update snapshots for expanded maplibre Map mock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test map bounds
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tidy copy paste comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add fallback when no more live locations
Signed-off-by: Kerry Archibald <kerrya@element.io>
* accurate signature for getBoundsCenter
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-19 11:35:39 +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
Suguru Hirahara
eb1d9b8f41
Make ToastContainer compatible with RTL layout ( #8230 )
...
* Fix _ToastContainer.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Improve existing rules
- Use properties available for flexbox
- Align the title of the toast to the center
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Set the count indicator on the end side of the div
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove the vertical-align property since it has no longer effect
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-14 14:35:52 -06:00
Esha Goel
c9880feb04
Fix overlapping timestamps on empty messages ( #8205 )
...
* added min-height for event line
* Requested changes done
* Changes done
* fixing failing tests
2022-04-14 14:28:39 -06:00
Suguru Hirahara
af3eac2c4f
Fixes call tiles overflow ( #8096 )
...
* Responsive call tiles
Fixes https://github.com/vector-im/element-web/issues/20254
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Take e2e icon into consideration on Bubble message layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Use spacing variables
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* spacing variables
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-14 14:27:29 -06:00
Janne Mareike Koschinski
1436f23e2f
Fix image preview sizing for edge cases ( #8322 )
2022-04-14 20:07:34 +02:00
Kerry
f95106d2c6
Live location sharing - basic maximised beacon map ( #8310 )
...
* open a dialog with map centered around first beacon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add room member markers
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix unmount issue in smart marker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* dont throw on no more live locations
Signed-off-by: Kerry Archibald <kerrya@element.io>
* cursor on beacon maps
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fussy import ordering
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test dialog opening from beacon body
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test beaconmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test BeaconViewDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use unstable prefix for wk tile_Server
Signed-off-by: Kerry Archibald <kerrya@element.io>
* unstable prefix for new m.tile_server use in test
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-14 13:14:05 +00:00
Kerry
1c215e2b71
Live location sharing - render users own beacons in timeline ( #8296 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* wrap marker in smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* working map in location body
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove skinned sdk
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use new ZoomButtons in MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test LocationViewDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update commentt
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* extract livetimeremaining into own component
Signed-off-by: Kerry Archibald <kerrya@element.io>
* extract more beacon state utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update tests for roomlivesharewarning
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add beacon map and status chin
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add handling for bubbles
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tests for BeaconBody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* move displaystatus check up to mbeaconbody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test BeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rename BeaconStatusChin -> BeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io>
* make BeaconStatus generic
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* adjust spinner size
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add static time remaining option to beacon status
Signed-off-by: Kerry Archibald <kerrya@element.io>
* render time differently for own beacon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use children to add actions to BeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add OwnBeaconStatus wrapper with stop button
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add error states for own beacon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test OwnBeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io>
* move ownbeaconstatus to write dir
Signed-off-by: Kerry Archibald <kerrya@element.io>
* improve button styling
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-14 14:41:28 +02:00
Suguru Hirahara
a59f889f79
Fix padding and border-radius issue of the right panel for chat aka mx_ThreadPanel ( #8307 )
...
* Specify the correct padding to the chat panel aka mx_ThreadPanel
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Add border to the right chat panel
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-13 11:33:54 -04:00
Michael Telatynski
fe4683df10
Fix some issues with threads rendering ( #8305 )
2022-04-13 12:24:44 +01:00
Kerry
e59edb7101
Live location sharing - beacon in timeline happy path ( #8285 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* wrap marker in smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* working map in location body
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove skinned sdk
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use new ZoomButtons in MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test LocationViewDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update commentt
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* extract livetimeremaining into own component
Signed-off-by: Kerry Archibald <kerrya@element.io>
* extract more beacon state utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update tests for roomlivesharewarning
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add idle status to live beacon icon
* add beacon map and status chin
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add handling for bubbles
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tests for BeaconBody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* move displaystatus check up to mbeaconbody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test BeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rename BeaconStatusChin -> BeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io>
* make BeaconStatus generic
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* adjust spinner size
Signed-off-by: Kerry Archibald <kerrya@element.io>
* polish and copyrights
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* better comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-13 10:44:15 +02:00
Michael Telatynski
b4a91ea442
Fix threads rendering issue in Safari ( #8298 )
2022-04-13 09:16:09 +01:00
Janne Mareike Koschinski
ecdc11d3d5
Fix space panel width change on hovering over space item ( #8299 )
...
* Fix space panel width change on hovering over space item
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-04-12 15:52:46 +00:00
Kerry
137c015d6c
add excluded style to components.scss ( #8293 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-12 13:44:49 +01:00
Kerry
661e2c2aa5
Live location sharing - beacon map in timeline ( #8286 )
...
* add displaystatus util
Signed-off-by: Kerry Archibald <kerrya@element.io>
* map fallback svg
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add Map to mbeaconbody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add bubble layout handling
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test beaconbody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* typo
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use randomString from js-sdk
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-12 09:13:55 +01:00
Kerry
4b7840bf78
Live location sharing - extract live time UI for reuse ( #8283 )
...
* extract livetimeremaining into own component
Signed-off-by: Kerry Archibald <kerrya@element.io>
* extract LiveTimeRemaining for reuse in beacon timeline
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-12 09:24:17 +02:00
olivialivia
7b2f1e22e1
Add copy button to View Source screen ( #8278 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-04-11 18:37:52 +00:00
Kerry
9ba55d1d14
Live location sharing - consolidate maps ( #8236 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* wrap marker in smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* working map in location body
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test Map
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove skinned sdk
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update snaps with new mocks
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use new ZoomButtons in MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* make LocationViewDialog map interactive
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test LocationViewDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add copyrights, shrink snapshot
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-11 18:40:06 +02:00
Kerry
df20821fd6
Live location sharing - extract zoom buttons into component ( #8235 )
...
* extract out zoombuttons component
* newline
Signed-off-by: Kerry Archibald <kerrya@element.io>
* stylelint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove skinned sdk
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-11 10:29:07 +02:00
Suguru Hirahara
61076c3331
Fixes button labels being collapsed per a character in CJK languages ( #8212 )
...
* Fixes button labels being collapsed per a character in CJK languages
Closes https://github.com/vector-im/element-web/issues/21287
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Add a comment
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-08 23:16:13 -06:00
Suguru Hirahara
610225aef2
Fix bubble layout in thread view ( #8249 )
2022-04-08 09:11:08 +01:00
Kerry
b98739056e
Live location sharing - extract location markers into generic Marker ( #8225 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* comments
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove skinned
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-06 12:40:39 +01:00
Germain
0fcc271c10
Fix thread list appearance ( #8240 )
2022-04-06 10:48:30 +00:00
Suguru Hirahara
35c49a8cd8
Add default properties to link buttons and remove redundant settings ( #8151 )
...
* Add font-size: inherit to link button
Remove redundant font-size settings
_FeedbackDialog.scss
_GenericFeatureFeedbackDialog.scss
_Login.scss
_NewRoomIntro.scss
_NotificationSettingsTab.scss
_PinnedEventTile.scss
_PreferencesUserSettingsTab.scss
_SpaceCreateMenu.scss
_ToastContainer.scss
_UserMenu.scss
Specify font-size
- _ProfileSettings.scss
- _SpaceBasicSettings.scss
- _SpaceSettingsDialog.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Add line-height: inherit to link button
Remove redundant setting
- _GenericFeatureFeedbackDialog.scss
- _PinnedEventTile.scss
- _SpaceCreateMenu.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Add font-weight: normal to link button
Remove redundant setting
- _SpotlightDialog.scss
- _UserMenu.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Dedupe _link and _link_inline
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Set inline to "link_inline"
Treat the button as its name indicates.
For elements that should not be inlined, "link" should be used.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-05 11:29:35 -06:00
Travis Ralston
df4fd70dbb
Merge remote-tracking branch 'origin/develop' into travis/remove-skinning
2022-04-05 11:26:21 -06:00
Germain
cb5c524067
Threads appearance tweaks ( #8233 )
2022-04-05 18:07:34 +01:00
Travis Ralston
4057833036
Merge branch 'develop' into travis/remove-skinning
2022-04-05 10:50:37 -06:00
Germain
694c39e72d
Enable threads by default and mark it as a beta feature ( #8081 )
2022-04-05 17:15:31 +01:00
Michael Telatynski
27e48062b6
Apply tweaks to Thread list as per design spec ( #8149 )
...
Co-authored-by: Germain Souquet <germains@element.io>
2022-04-05 17:01:34 +01:00
Robin
4f6b939426
More video rooms design updates ( #8222 )
...
* Update video room icon
* Hide room header border in video rooms
* Fix inconsistent padding on AppTile frames
2022-04-05 06:30:57 -04:00
Robin
ba71fb169f
Scale emoji with size of surrounding text ( #8224 )
...
* Scale emoji with size of surrounding text
* Fix lint
2022-04-04 14:25:33 +00:00
Germain
1758450e5c
Revamp notification dot for better readibility ( #8197 )
2022-04-04 12:36:54 +01:00
Suguru Hirahara
631fd87509
Normalize call buttons ( #8129 )
...
- Set a mixin to use it on call events and toasts
Fixes https://github.com/vector-im/element-web/issues/21493
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-04 00:34:39 -06:00
Robin
1f64835fab
Update video rooms to new design specs ( #8207 )
...
* Remove radio component
* "Voice room" → "video room"
* Remove interactivity from video room tiles
* Update connection state when joining via widget
* Simplify room header buttons for video rooms
* Split out video room creation into a separate menu option
* Simplify room options for video rooms
* Update video room tile layout
* Tell the Jitsi widget whether it's a video channel
* Update tests
* "Voice" → "video" in more places
* Fix tests
* Re-add frame to immersive Jitsi widgets
* Comment ack
* Make updateDevices more readable
* Type FacePile
2022-04-01 14:36:10 +00:00
Travis Ralston
97efdf7094
Merge branch 'develop' into travis/remove-skinning
2022-03-31 19:25:43 -06:00
Michael Telatynski
215f89d76a
Fix alignment of UISIs in threads ( #8206 )
2022-03-31 14:37:31 +01:00
Kerry
4922e19b5a
Live Location Sharing - left panel warning with error ( #8201 )
...
* add error style to left panel beacon warning
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add beacon sort util
* link to latest beacon room from left panel warning
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-31 13:51:44 +02:00
Kerry
1175226bcb
Live location sharing - display wire error in room ( #8198 )
...
* expose wire errors in more useful way
* add wire error state to room live share warning bar
Signed-off-by: Kerry Archibald <kerrya@element.io>
* stylelint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add types to getLabel helper
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-31 10:57:12 +02:00
Kerry
e721c6b0c2
Live location sharing: allow retry when stop sharing fails ( #8193 )
...
* allow retry when stop sharing fails
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tidy
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-30 12:31:19 +00:00
J. Ryan Stinnett
8058f812c2
Show room preview bar with maximised widgets ( #8180 )
2022-03-30 11:43:54 +00:00
Travis Ralston
5fa2ca83ac
Allow voice messages to be scrubbed in the timeline ( #8079 )
...
* Use SeekBar for voice messages + move seeking logic to base class
* Appease the linter
* Update tests
2022-03-29 14:07:35 -06:00
Travis Ralston
bd1fd0a734
Step 13: Update documentation for skinning
2022-03-28 15:23:31 -06:00
Robin
af6bd63ac7
Fix some image/video scroll jumps ( #8182 )
...
* Fix some image/video scroll jumps
* Fix aspect ratio formatting
* Fix videos not being responsive to timeline width
2022-03-28 19:07:02 +00:00
Robin
e02ab66884
Add margins between labs sections ( #8169 )
2022-03-28 08:16:08 -04:00
Suguru Hirahara
f557ac9486
Responsive BetaCard on Labs ( #8154 )
2022-03-28 11:26:14 +01:00
Suguru Hirahara
7798ecfa33
Fix beta pill label breaking ( #8162 )
2022-03-28 09:27:59 +01:00
Šimon Brandner
bda18f8bc9
Fix disambiguated profile in threads in bubble layout ( #8168 )
2022-03-28 08:59:06 +01:00
Suguru Hirahara
f229ad6407
Set flex to buttons on NewRoomIntro with gap around them ( #8146 )
...
* Set flex to buttons on NewRoomIntro with gap around them
Closes https://github.com/vector-im/element-web/issues/21553
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* empty commit
2022-03-24 13:51:52 -06:00
Suguru Hirahara
56569dbb63
Readd the group icon on home page ( #8145 )
...
Fixes https://github.com/vector-im/element-web/issues/21551
- Replace `community` with `group`
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-03-24 13:51:18 -06:00
Suguru Hirahara
981b44cb0d
Set margin between user and "Show more" on Invite dialog ( #8144 )
2022-03-24 13:35:19 +00:00
Suguru Hirahara
c159d550f5
Fix member count on _SpaceRoomView.scss ( #8142 )
2022-03-24 09:48:54 +00:00
Suguru Hirahara
d92977df9e
Make rooms and spaces list responsive ( #8088 )
2022-03-24 08:50:02 +00:00
Suguru Hirahara
a5589d40e2
Specify userMenu width ( #8089 )
...
Fixes https://github.com/vector-im/element-web/issues/21486
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-03-24 09:49:48 +01:00
Suguru Hirahara
8710f59da5
Fix broken settingsIcon on SpaceRoomView ( #8137 )
2022-03-23 21:56:16 +00:00