Kerry
15c2fb6b71
Live location sharing - open location in OpenStreetMap (PSF-1040) ( #8695 )
...
* share plain lat,lon string from beacon tooltip and list item
Signed-off-by: Kerry Archibald <kerrya@element.io >
* export makeMapSiteLink helper fn
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use currentColor in external-link.svg
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add open in openstreetmap link
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fussy import ordering
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix icon color var
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-05-27 11:58:39 +02:00
Kerry
14cf6275d0
Fix: AccessibleButton does not set disabled attribute (PSF-1055) ( #8682 )
...
* remove old styles for pin drop buttons
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fully disable share location button until location is shared
Signed-off-by: Kerry Archibald <kerrya@element.io >
* set disabled on button
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test AccessibleButton disabled
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove disbaled check in LocationPicker
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-05-27 07:13:50 +00:00
Travis Ralston
0f26ddd285
Update local aliases checks to use stable API ( #8698 )
...
Fixes https://github.com/vector-im/element-web/issues/22337
2022-05-25 15:56:30 -06:00
Michael Telatynski
0343548dbe
Don't show broken composer format bar when selection is whitespace ( #8673 )
2022-05-24 09:08:46 +01:00
Michael Telatynski
fe21ec8715
Consolidate random string generation to make Sonar happier ( #8675 )
...
* Consolidate random string generation to make Sonar happier
* Update snapshots
2022-05-24 09:05:11 +01:00
Suguru Hirahara
20fd68b902
Organize UserInfo.scss ( #8461 )
...
* .mx_UserInfo_profileField under .mx_UserInfo_memberDetails
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* .mx_UserInfo_container:not(.mx_UserInfo_separator) under .mx_UserInfo_container
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* reorganize structure of .mx_UserInfo_avatar - 1
.mx_UserInfo_avatar > div > div *
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* reorganize structure of .mx_UserInfo_avatar - 2
.mx_UserInfo_avatar > div > div
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* reorganize structure of .mx_UserInfo_avatar - 3
.mx_UserInfo_avatar > div
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* reorganize structure of .mx_UserInfo_avatar - 4
- .mx_BaseAvatar_initial
- .mx_BaseAvatar
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* reorganize structure of .mx_UserInfo_avatar - 5
Move .mx_BaseAvatar_initial under .mx_BaseAvatar
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Replace a wildcard with className
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Specify className
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* .mx_UserInfo.mx_BaseCard.mx_UserInfo_smallAvatar
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Use variables
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Fix position of the E2E icon of expanding sessions button
To prevent the icon from moving down a little bit
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* yarn run lint:style --fix
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2022-05-23 12:42:31 +01:00
James Salter
4f9598361f
Add the option to disable hardware acceleration ( #8655 )
2022-05-23 11:23:40 +01:00
pvagner
c1c3ed6a9e
Slightly better presentation of read receipts to screen reader users ( #8662 )
2022-05-21 13:06:47 +02:00
Janne Mareike Koschinski
01a3150d44
Automatically log in after registration ( #8654 )
2022-05-20 19:14:17 +02:00
Travis Ralston
025fb631b7
Update "jump to related event" for design requirements & dev tooling ( #8652 )
2022-05-20 08:07:00 -06:00
Kerry
804ddbb332
Live location sharing - update live location tiles (PSF-1027) ( #8649 )
...
* update map svg
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add map fallback component, update styls
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update purple location icon style
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fussy import ordering
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-05-20 09:49:01 +00:00
Hugh Nimmo-Smith
60cd740b66
Fix crash on null idp for SSO buttons ( #8650 )
...
* Add test case for null identity_providers for SSO
* Fix typing for identity_providers
* Make null idp explicit and handle in analytics
* chore: whitespace fix
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-05-20 10:08:57 +01:00
Šimon Brandner
efc36acf93
Don't open the regular browser or our context menu on right-clicking the Options button in the message action bar ( #8648 )
2022-05-19 15:26:35 +00:00
Germain
3f2f839b3b
Add jump to related event context menu item ( #6775 )
2022-05-19 14:56:10 +01:00
Travis Ralston
e87bda9f37
Add an option to ignore (block) a user when reporting their events ( #8471 )
...
* Add an option to ignore (block) a user when reporting their events
This is primarily useful if the content being reported really doesn't belong on your screen, and the room moderators are slow to react.
Ideally we'd use the word "block" instead of "ignore", but we call it "ignore user" everywhere else. See https://github.com/vector-im/element-web/issues/19590 for further context on the word choice.
This change includes a minor refactor to the styles of labelled toggles (for reusability).
* Appease the linter
* Use a checkbox instead of toggle in the dialog
* Update classnames handling for toggle switch
* Appease the linter
2022-05-18 16:20:55 +00:00
Michael Telatynski
ce73b9988e
Hide image banner on stickers, they have a tooltip already ( #8641 )
2022-05-18 10:08:33 +01:00
Michael Telatynski
65e27cd6be
If pasting a url atop another url, don't wrap one in the other ( #8642 )
2022-05-18 10:08:24 +01:00
Robin
e099ebd9ec
Fix click behavior of notification badges on spaces ( #8627 )
...
* Fix click behavior of notification badges on spaces
* Fix import
2022-05-17 14:28:19 +00:00
Michael Telatynski
5976f59827
Add missing return values in Read Receipt animation code ( #8625 )
2022-05-17 15:08:23 +01:00
Robin
796e12e789
Go to space landing page when clicking on a selected space ( #6442 )
...
* Go to space landing page when clicking on a selected space
Signed-off-by: Robin Townsend <robin@robin.town >
* Go to home landing page when clicking on selected home space
Signed-off-by: Robin Townsend <robin@robin.town >
* Remove metaspace behavior
* Add tests
* Use the dispatcher action enum
* Break up the onClick assignment
2022-05-17 13:22:35 +00:00
Michael Telatynski
007b8816df
Tweak ReactionsRow to make saner use of its RoomContext ( #8623 )
...
* Tweak ReactionsRow to make saner use of its RoomContext
* `this.context.canReact` already asserts membership=join
2022-05-17 14:17:27 +01:00
Travis Ralston
afaeaaf954
Convert setupNotificationListener to an unbound function ( #8618 )
...
This isn't called by an event handler directly, so shouldn't need to be bound. Equally, this shouldn't cause any problems.
This is a long-shot attempt at completing https://github.com/vector-im/element-web/issues/22141
2022-05-17 00:21:29 -06:00
Travis Ralston
2bddadc14e
Fix order of object override when copying identity server terms state ( #8619 )
...
Fixes https://github.com/vector-im/element-web/issues/20003
2022-05-17 00:20:16 -06:00
Travis Ralston
5f8aecaf08
Use a default for ignoreHover when not supplied ( #8617 )
...
It is considered optional by the component props, so let's treat it as optional.
2022-05-16 20:26:19 -04:00
Travis Ralston
12cee6e29f
Add missing key to ReplyInThreadButton as used in MessageActionBar ( #8616 )
2022-05-16 18:09:38 -04:00
Robin
a66ffa43c4
Fix copy on video room creation button ( #8614 )
2022-05-16 21:10:44 +00:00
Šimon Brandner
fb30b67b14
Fix issues with the new topic dialog ( #8608 )
2022-05-16 14:10:00 +02:00
Šimon Brandner
e1d11db256
Don't show public indicator on spaces ( #8607 )
2022-05-16 10:24:01 +02:00
Šimon Brandner
b54c7d8faf
Fix not being able to open avatars in lightbox ( #8598 )
2022-05-14 16:07:54 +00:00
Travis Ralston
f51a6b6da4
Show file name and size on images on hover ( #6511 )
...
* Show simple file name and size on images/videos
Fixes https://github.com/vector-im/element-web/issues/18197
* i18n
* Fix bad merge
* Add hover state tracking
* Only show on timeline-like objects
* Match new design requirements
* Remove video support (deemed not needed)
* Colouring and sizing from design
* Include file name in lightbox
* Revert changes to videos since we don't need them
* i18n
* Iterate PR
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-05-14 10:31:53 +02:00
Travis Ralston
bc0bfa6377
Iterate on search results for message bubbles ( #7047 )
...
* PSFD-455: Iterate on search results for message bubbles
Though not perfect, this is a bit better than it was before. Specifically, we ensure our matching for `isOwnEvent` correctly identifies the user and that the results don't look *awful*.
There's still room for improvement, but this should be a measurable improvement itself. Most notably, this doesn't fix a couple obvious bugs due to complexity:
* Message bubbles have the wrong corners for the display format (pre-existing).
* The sender's own messages are missing avatars/names. This is just way too complex to fix.
**Requires https://github.com/matrix-org/matrix-js-sdk/pull/2004 **
* Tweak opacity
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-05-13 15:20:43 +00:00
Janne Mareike Koschinski
6d6cfcde11
registration: redesign email verification page ( #8554 )
2022-05-13 14:10:22 +00:00
Michael Telatynski
438e66bb3f
Show full thread message in hover title on thread summary ( #8568 )
2022-05-13 14:32:28 +01:00
Robin
26bc3ab0aa
Tweak video rooms copy ( #8582 )
...
* "Video room" → "New video room"
* "Connect now" → "Join"
* "N people connected" → "N people joined"
* "Connected" → "Joined"
* Fix tests
2022-05-13 12:45:38 +00:00
Kerry
fbbb9c27ba
Live location share - beacon tooltip in maximised view ( #8572 ) PSF-926
...
* pass optional tooltip prop down through markers
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add beaconstatustooltip, handle overflow on beacon status label
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove debug, fix mouseout
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy comments
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-05-13 08:30:53 +00:00
Germain
fdd5494402
Add dialog to navigate long room topics ( #8517 )
2022-05-13 08:55:10 +01:00
Janne Mareike Koschinski
d87cfae0c9
Change spaceroomfacepile tooltip if memberlist is shown ( #8571 )
2022-05-12 15:47:19 +02:00
Suguru Hirahara
997d8ab8b3
Fix button width and align 絵文字 (emoji) on the user panel ( #8562 )
...
* Fix button width and align 絵文字 (emoji) on the user panel
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* mx_UserInfo_container:not(.mx_UserInfo_separator)
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Move the spinner to the center
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Add indent to 'Unable to load session list' paragraph
Because the indent style has been specified with ':not(h3)', wrapping
with something is required for the indent.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Align the spinner to the center
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove margin of paragraph inside div on verification panel
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2022-05-12 14:21:22 +01:00
Michael Weimann
7ed3089434
Improve tooltip positioning
...
Signed-off-by: Michael Weimann <michaelw@matrix.org >
2022-05-12 14:05:55 +02:00
Suguru Hirahara
0951a766aa
Fix displaying hidden events on threads ( #8555 )
...
* Fix avatar size and style inheritances for hidden events in the thread view
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Use a variable
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* yarn run lint:style --fix
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Reset the comment
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Re-add padding-left override for bubble layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* yarn run lint:style --fix
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Add a empty line
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Adjust avatar and E2E icon position inside .mx_EventTile_info
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Update src/components/views/rooms/EventTile.tsx
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
* Align with mx_EventTile_line
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Align mx_EventTile_line and avatar + E2E icon
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-05-12 08:04:54 +01:00
Michael Telatynski
36f2824eb8
Update thread summary when latest event gets decrypted ( #8564 )
2022-05-11 17:32:48 +01:00
Suguru Hirahara
464eb93a44
Fix visual bugs on AccessSecretStorageDialog ( #8160 )
...
* Remove duplicate mx_Dialog_buttons
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Group buttons on mx_Dialog with span
- Cancel default styling for elements inside .mx_AccessSecretStorageDialog_primaryContainer
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Move common rules of mx_Dialog_buttons_row to _common.scss
- Set 16px gap between buttons per https://github.com/vector-im/element-web/issues/19426#issuecomment-949778515
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Spacing variables
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Nesting - .mx_AccessSecretStorageDialog_reset
- Fix the reset link color
- Set $spacingStart variable
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove unnecessary rule
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2022-05-11 12:33:21 +00:00
Šimon Brandner
a0c3a3ab06
Fix download button not working on events that were decrypted too late ( #8556 )
2022-05-10 17:22:39 +00:00
Robin
97c99c6aae
Only jump to date after pressing the 'go' button ( #8548 )
2022-05-10 12:49:05 -04:00
Kerry
c67b41fbde
Enable forwarding static locations ( #8553 )
...
* enable forwarding for location events
Signed-off-by: Kerry Archibald <kerrya@element.io >
* allow forwarding of static locations
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add comment
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-05-10 16:21:20 +00:00
Robin
0b0e414fd4
Fix unresponsive notification toggles ( #8549 )
...
* Return consistently typed setting values from localStorage
* Watch notification toggles
* Test that it all works
2022-05-10 09:13:02 -04:00
Eric Eastwood
3a241e0dfb
Log TimelinePanel debugging info when opening the bug report modal ( #8502 )
...
To debug all of the timeline problems:
- https://github.com/vector-im/element-web/issues/21613
- https://github.com/vector-im/element-web/issues/21922
- https://github.com/vector-im/element-web/issues/21432
- https://github.com/vector-im/element-web/issues/21533
2022-05-09 21:32:25 -05:00
Travis Ralston
401e124df6
Merge branch 'develop' into 19245-improve-styling-of-search-initialization-errors
2022-05-09 19:32:43 -06:00
Travis Ralston
548290b006
Run a minor code quality checker over the repo ( #8524 )
...
* Run a minor code quality checker over the repo
Largely targeted at spelling of common words and misc code issues.
* Update snapshots
2022-05-09 22:52:05 +00:00
Robin
89d7760f36
Don't leave button tooltips open when closing modals ( #8546 )
2022-05-09 18:02:03 -04:00