Janne Mareike Koschinski
c3f26d619e
Improve high-contrast support for spotlight ( #8948 )
2022-06-30 16:17:30 +02:00
Michael Telatynski
bb859d5886
Fix wrong assertions that all media events have a mimetype ( #8946 )
2022-06-30 14:35:40 +01:00
Kerry
7a80ea4bbe
Test typescriptification - MessagePanel ( #8943 )
...
* mv test/components/structures/MessagePanel-test.js test/components/structures/MessagePanel-test.tsx
* convert simpler messagepanel tests to rtl
* add data-testid to eventlistsummary
* convert read marker tests to rtl
* formatting
* remove commented
2022-06-30 14:41:53 +02:00
Suguru Hirahara
78a98415eb
Set common width, white-space, and display values to MessageTimestamp ( #8818 )
...
* Add mx_MessageTimestamp to mx_PinnedEventTile_timestamp
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Apply display: block globally to enable the width declaration
- Unset display and width value of timestamp on pinned messages card
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Apply nowrap globally
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* MessageTimestamp on ThreadsList - Remove width setting and add font-size setting
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant font-size declaration from Threadview
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Fix timestamp position of timestamp on ThreadView in IRC layout
- GroupLayout is modern layout, not IRC layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant font-size declaration from IRC layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant color setting from timestamp on file panel
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Cancel the default width to set a gap between the event tile line
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Apply user-select: none globally
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-06-30 13:37:43 +02:00
Janne Mareike Koschinski
d4a4eeaf63
Allow finding group DMs by members in spotlight ( #8922 )
2022-06-30 11:44:56 +02:00
Michael Weimann
7e47749ce2
Migrate crypto test to cypress ( #8833 )
2022-06-30 10:59:25 +02:00
Valere
f137bf3fd3
Fix all megolm error reported as unknown ( #8916 )
...
* Fix all megolm error reported as unknown
* code review
* bad paste in comment
2022-06-30 08:55:05 +01:00
Suguru Hirahara
731776d189
Improve link buttons and inline link buttons styling ( #8238 )
...
* Set padding: 0 to both "link" and "link_inline"
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - _SpotlightDialog.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - JoinRuleSettings
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - _ViewSourceEvent.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - _RoomDirectory.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - _InviteDialog.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - ServerOfflineDialog
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - UpdateCheckButton
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - NonUrgentEchoFailureToast
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - CallView
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove unused styles - _RoomSettingsDialogBridges.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Replace "link" with "link_inline" for inline links
- src/components/structures/UserMenu.tsx
- src/components/views/dialogs/BetaFeedbackDialog.tsx
- src/components/views/dialogs/FeedbackDialog.tsx
- src/components/views/rooms/NewRoomIntro.tsx
- src/components/views/settings/tabs/room/NotificationSettingsTab.tsx
- src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx
- src/components/views/spaces/SpaceCreateMenu.tsx
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Replace "link_inline" with "link" for links not inline
- src/async-components/views/dialogs/security/CreateKeyBackupDialog.tsx
- src/async-components/views/dialogs/security/CreateSecretStorageDialog.tsx
- src/components/structures/auth/ForgotPassword.tsx
- src/components/structures/auth/Registration.tsx
- src/components/views/auth/InteractiveAuthEntryComponents.tsx
- src/components/views/dialogs/security/AccessSecretStorageDialog.tsx
- src/components/views/dialogs/security/RestoreKeyBackupDialog.tsx
- src/components/views/messages/TileErrorBoundary.tsx
- src/components/views/messages/ViewSourceEvent.tsx
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove a redundant declaration - _SetupEncryptionBody.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove a redundant declaration - _ReplyChain.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove a redundant declaration - _EventTile.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove an obsolete style block - _RoomPreviewCard.scss
The block was transferred from _SpaceRoomView.scss with ec24dc661edb6979ba901936067e5bc731dafa59
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove a redundant declaration - _SecurityUserSettingsTab.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove element='span' - NewRoomIntro.tsx
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant declarations - _ServerPicker.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Replace 'link' with 'link_inline' - AnalyticsToast.tsx
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-06-29 22:37:34 +00:00
Šimon Brandner
68c94c6400
Update MSC3827 implementation to not change the default behaviour ( #8936 )
2022-06-29 16:37:23 +00:00
Michael Weimann
2bbd542140
Remove unbin from widget kebab menu ( #8924 )
2022-06-29 15:30:44 +02:00
Kerry
4486509d88
Live location share - redact related locations on beacon redaction (PSF-1151) ( #8926 )
...
* redact beacon locations on redaction
* redact beacon locations on beacon info redaction
* fussy import ordering
* use real fake redaction in beaconbody test
2022-06-29 09:07:36 +00:00
Kerry
eaf13d490e
Live location share - disallow message pinning (PSF-1084) ( #8928 )
...
* unmock isContentActionable
* test message pinning
* disallow pinning for beacon events
* try to make tests more readable
2022-06-29 07:11:33 +00:00
Janne Mareike Koschinski
8b841951db
Move New Search Experience out of beta ( #8859 )
2022-06-28 12:02:08 +02:00
Janne Mareike Koschinski
e1d6356927
Remove tabindex from filter remove button ( #8919 )
...
Filters can already be removed via backspace
Removing the tabindex ensures the search input is focused by default instead
2022-06-28 11:44:36 +02:00
Michael Telatynski
e7a8dbd04c
Revert recent composer changes ( #8840 )
...
* Revert "Prevent new composer from overflowing from non-breakable text (#8829 )"
This reverts commit 57dff8131c
.
* Revert "Fix scroll jump issue with the composer (#8791 )"
This reverts commit 5167521ea4
.
* Revert "Fix scroll jump issue with the composer (#8788 )"
This reverts commit f568a76dc6
.
* Revert "Revert link color change in composer (#8784 )"
This reverts commit aedbeb2995
.
* Revert "Improve composer visiblity (#8578 )"
This reverts commit f14374a51c
.
2022-06-27 09:43:58 +01:00
Suguru Hirahara
7852e168a0
Improve SetIntegrationManager ( #8878 )
2022-06-26 10:43:33 +00:00
Suguru Hirahara
33d680b134
Clarify style rule structure of ProfileSettings to avoid unexpected regressions ( #8884 )
2022-06-25 19:23:33 +02:00
Suguru Hirahara
3ccde7afa1
Improve view source dialog style ( #8883 )
2022-06-25 14:50:58 +02:00
Suguru Hirahara
814ca6811c
Improve font scaling panel style ( #8887 )
2022-06-25 14:20:01 +02:00
Suguru Hirahara
ca93076d85
Display description of E2E advanced panel as subsection text ( #8889 )
2022-06-25 13:55:04 +02:00
Suguru Hirahara
e49aac7b3f
Improve integration manager dialog style ( #8888 )
2022-06-25 13:54:07 +02:00
Suguru Hirahara
4b2a922e2e
Remove mx_GroupLayout ( #8876 )
2022-06-25 13:51:07 +02:00
Šimon Brandner
eca14dea57
Disable option to Quote
when we don't have sufficient permissions ( #8893 )
2022-06-25 12:43:18 +02:00
Šimon Brandner
663bca559f
Implement MSC3827: Filtering of /publicRooms
by room type ( #8866 )
2022-06-24 15:08:00 +00:00
Suguru Hirahara
18c21d77cd
Remove references to mx_GroupLayout from scss files ( #8875 )
2022-06-20 18:55:47 +02:00
Suguru Hirahara
769efa3074
Move the beta pill to the right side and display the pill on video room only ( #8873 )
2022-06-19 14:52:58 +00:00
Suguru Hirahara
cfbe1cb066
Stop using absolute property to place beta pill on RoomPreviewCard ( #8872 )
2022-06-19 14:35:04 +02:00
Suguru Hirahara
b1e07e8ef0
Make the pill text single line ( #8744 )
2022-06-19 11:56:37 +02:00
Robin
ef48443dc9
Show chat panel when opening a video room with unread messages ( #8812 )
...
* Show chat panel when opening a video room with unread messages
* Remove unnecessary calls to private methods in tests
* Make room ID mandatory when toggling the right panel
* Restore the isViewingRoom check
* Test RightPanelStore
* Make the constructor private again
* Add even more tests
* Fix onReady
2022-06-17 16:57:40 -04:00
Kerry
b51ef246ab
Live location share - forward latest location (PSF-1044) ( #8860 )
...
* handle beacon location events in ForwardDialog
* add transformer for forwarded events in MessageContextMenu
* remove canForward
* update snapshots for beacon model change
* add comments
* fix bad copy pasted test
* add test for beacon locations
2022-06-17 15:27:08 +02:00
Suguru Hirahara
fe8c267a14
Create a common header on right panel cards on BaseCard ( #8808 )
...
* Remove duplicate declarations and add height and overflow properties
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Move mx_TimelineCard__header under mx_BaseCard_header for normalization
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Normalize mx_BaseCard_close position
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Normalize className of header
- mx_BaseCard_header__ThreadPanel
- mx_BaseCard_header__TimelineCard
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Normalize header's button size
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Normalize inline start header margin
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* normalize header bottom margin for PinnedMessagesCard and TimelineCard
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Normalize header declarations
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Add mixin RightPanelCard
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Move common declarations - top level
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Move common declarations - mx_BaseCard_header
Remove specific declarations on PinnedMessagesCard
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Move common declarations - mx_BaseCard_back and mx_BaseCard_close
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Create a common class name - mx_BaseCard_header_title
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Create a common class name - mx_BaseCard_header_title - ThreadPanel
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Move common declarations - mx_BaseCard_header_title
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Move common declarations - span:first-of-type
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant declarations
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Rename a variable to remove --ThreadPanel_header-button-size
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove class name - mx_BaseCard_header_title
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove mx_BaseCard_header_title--ThreadPanel and h2 declarations from PinnedMessagesCard
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Headers need Heading
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Use spacing variables
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Move common style rules of mx_ContextualMenu inside mx_BaseCard_header_title to BaseCard
leaving style rules specific to ThreadPanel.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Hide long header title with ellipsis
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Merge style rules - BaseCard_header-button-size
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Merge style rules - BaseCard_header margin-bottom
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Merge style rules - BaseCard back and close margin
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Merge style rules - BaseCard back ~ mx_BaseCard_header_title
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Merge style rules - mx_BaseCard_header_title
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Return special declarations to _ThreadPanel.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove the mixin
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Add mx_BaseCard_header_title_button--option
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant margin from AppTileFullWidth
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Header on mx_RoomSummaryCard - remove default declarations
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove default declarations from mx_UserInfo
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Use variables - _BaseCard.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-06-16 09:22:45 +02:00
Janne Mareike Koschinski
f9100d5fb6
Fix issues with the Create new room button in Spotlight ( #8851 )
...
* Correct label of create new room button
* Capitalize suggested name for new room
2022-06-15 16:16:40 +00:00
Suguru Hirahara
1b426ce0c8
Organize style rules of AccessSecretStorageDialog to avoid visual bugs ( #8395 )
...
* .mx_AccessSecretStorageDialog
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* .mx_AccessSecretStorageDialog_primaryContainer
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* .mx_AccessSecretStorageDialog_titleWithIcon
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Adopt BEM style
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-06-15 09:47:25 -06:00
Michael Weimann
aac97e01e3
Reload map on reconnect ( #8848 )
...
PSD-282
2022-06-15 16:38:35 +02:00
Janne Mareike Koschinski
5096e7b992
Integrate searching public rooms and people into the new search experience ( #8707 )
...
* Implement searching for public rooms and users in new search experience
* Implement loading indicator for spotlight results
* Moved spotlight dialog into own subfolder
* Extract search result avatar into separate component
* Build generic new dropdown menu component
* Build new network menu based on new network dropdown component
* Switch roomdirectory to use new network dropdown
* Replace old networkdropdown with new networkdropdown
* Added component for public room result details
* Extract hooks and subcomponents from SpotlightDialog
* Create new hook to get profile info based for an mxid
* Add hook to automatically re-request search results
* Add hook to prevent out-of-order search results
* Extract member sort algorithm from InviteDialog
* Keep sorting for non-room results stable
* Sort people suggestions using sort algorithm from InviteDialog
* Add copy/copied tooltip for invite link option in spotlight
* Clamp length of topic for public room results
* Add unit test for useDebouncedSearch
* Add unit test for useProfileInfo
* Create cypress test cases for spotlight dialog
* Add test for useLatestResult to prevent out-of-order results
2022-06-15 16:14:05 +02:00
Travis Ralston
44b2667f73
Add a bit of safety around timestamp handling for threads ( #8845 )
2022-06-14 22:43:20 -06:00
Travis Ralston
39f2bbaaf4
Bring back waveform for voice messages and retain seeking ( #8843 )
...
* Crude way of layering the waveform and seek bar
Not intended for production.
* Use a layout prop instead of something less descriptive
* Fix alignment properly, and play with styles
* Convert back to a ball
* Use `transparent` which makes NVDA happy enough
* Allow keyboards in the seek bar
* Try to make the clock behave more correctly with screen readers
MIDNIGHT
* Remove legacy export
* Remove redundant attr
* Appease the linter
2022-06-14 18:13:13 -06:00
Šimon Brandner
7da8c51c6b
Improve colors in settings ( #7283 )
2022-06-14 18:17:10 +00:00
Michael Telatynski
3c5c2bef6d
Remove Piwik support ( #8835 )
...
* Remove all mentions of Piwik
* Kill off all consumer of the old Piwik Analytics module
* Simplify ModalManager interface
* i18n
* Attempt to fix old e2e tests
* Remove unused component
* Iterate PR
2022-06-14 17:51:51 +01:00
Suguru Hirahara
1dee39f419
Improve help user settings tab styling ( #8838 )
...
* Set the default margin between the debug button and the subsection texts
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove obsolete style rule for AccessibleButton
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove the special block margin setting from the reload button
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove obsolete class name - mx_HelpUserSettingsTab_versions
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Replace <br>s for spacing with a margin style declaration
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Replace <br> for spacing with a margin style declaration
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove <br>s for spacing
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Apply mx_SettingsTab_subsectionText to the credits list
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Apply spacing-16 instead of spacing-12
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-06-14 15:20:54 +02:00
Suguru Hirahara
dfdba46d57
Remove _NotificationUserSettingsTab.scss ( #8831 )
2022-06-13 17:30:07 +02:00
Michael Telatynski
f10d35cb18
Add try-catch around blurhash loading ( #8830 )
2022-06-13 13:25:32 +01:00
Suguru Hirahara
18d7f7c525
Use mx_SettingsTab_subsectionText for the text under the top header of appearance user settings tab ( #8822 )
2022-06-12 14:52:55 +00:00
Suguru Hirahara
d1d4cc42bc
Use common subheading on sidebar user settings tab ( #8823 )
2022-06-12 15:12:34 +02:00
Suguru Hirahara
89743c9321
Fix clickable area of advanced toggle on appearance user settings tab ( #8820 )
2022-06-12 13:13:41 +02:00
Michael Telatynski
ba2ce5ecba
Abstract electron settings properly to avoid boilerplate-hell ( #8798 )
...
* Remove unused method `BasePlatform::screenCaptureErrorString`
* Improve platform typescripting
* Remove redundant awaits
* Abstract electron settings properly to avoid boilerplate-hell
* i18n
* Fix stray semi-colons
* Fix setting level order for Platform settings
2022-06-10 22:38:50 +01:00
Šimon Brandner
9b8b1d193e
Disable redacting reactions if we don't have sufficient permissions ( #8767 )
2022-06-10 18:41:05 +00:00
Michael Telatynski
3f99f594de
Keep draft in composer when a slash command syntax errors ( #8811 )
2022-06-10 17:16:31 +01:00
Robin
53340db5e9
Update the live timeline when the JS SDK resets it ( #8806 )
2022-06-10 08:59:07 -04:00
Robin
30460943b2
Release video rooms as a beta feature ( #8431 )
...
* Remove blank header from video room view frame
* Add a beta card for video rooms
* Rename the 'disclaimer' on beta cards to 'FAQ'
Because that's what the section actually gets used as
* Add beta pills to video room creation buttons
* Remove duplicate tooltips from face piles
* Add beta pill to headers of video rooms
* 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
* Add types
* Clarify !important comments
* Add a reload warning
* Fix the reload warning being the wrong way around
* Fix lints
* Make widgets in video rooms mutable again to de-risk future upgrades
* Ensure that the video channel exists when mounting VideoRoomView
* Fix lint
* Iterate beta reload warning
2022-06-09 13:07:59 -04:00