Michael Telatynski
7fa01ffb06
Improve typing around event emitter handlers ( #7816 )
2022-02-22 12:18:08 +00:00
Michael Telatynski
8fccef86d8
Wire up drag-drop file uploads for the thread view ( #7860 )
2022-02-22 11:14:56 +00:00
Kerry
5b8d440406
type Actions ( #7862 )
...
* type ViewHomPage action
Signed-off-by: Kerry Archibald <kerrya@element.io>
* type spacestore actions
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add action types
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use new action types in stores
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove debug change
Signed-off-by: Kerry Archibald <kerrya@element.io>
* stricter keyboard shortcut types
Signed-off-by: Kerry Archibald <kerrya@element.io>
* action comments
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-22 10:04:27 +00:00
Michael Telatynski
5620b83d34
Wire up more Posthog tracking ( #7689 )
2022-02-09 14:25:58 +00:00
Šimon Brandner
a17d585a12
Work towards unifying `KeyboardShortcuts` and `KeyBindingsDefaults` #2 ( #7674 )
2022-01-31 15:55:45 +00:00
UwUnyaa
debf4caade
Add a keyboard shortcut to toggle hidden event visibility when labs are enabled. ( #7584 )
...
Notes: The keyboard shortcut is control (or cmd) shift h.
Signed-off-by: Katarzyna Stachura <uwunyaa@outlook.com>
2022-01-26 16:50:47 +00:00
Michael Telatynski
88cd2f8af7
Fix unfocused paste handling and focus return for file uploads ( #7625 )
2022-01-26 09:04:19 +00:00
Šimon Brandner
1f298250b9
Make the `Keyboard Shortcuts` dialog into a settings tab ( #7198 )
2022-01-17 11:53:10 +00:00
Germain
de28d82b81
Add onPaste fallback when getInputableElement returns null ( #7540 )
2022-01-14 12:49:09 +00:00
Timo
ef95644e23
Render Jitsi (and other sticky widgets) in PiP container, so it can be dragged and the "jump to room functionality" is provided ( #7450 )
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-13 12:10:41 +01:00
Timo
325e2ba99b
Right panel store refactor ( #7313 )
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-05 16:14:44 +01:00
Eric Eastwood
9289c0c90f
Refactor `ContextMenu` to use `RovingTabIndex` (more consistent keyboard navigation accessibility) ( #7353 )
...
Split off from https://github.com/matrix-org/matrix-react-sdk/pull/7339
2021-12-17 11:08:56 -06:00
Michael Telatynski
a968b4ce53
Improve typing around LoggedInView ( #7384 )
...
* Update SyncState imports
* Improve typing around LoggedInView
* Fix typing
2021-12-16 09:57:10 +00:00
Michael Telatynski
71b561d471
Make compact layout only apply to Modern layout ( #7382 )
2021-12-15 16:27:02 +00:00
Aaron Raimist
2e8a93834b
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:10:23 +00:00
Michael Telatynski
2e4fe7891a
Fix input field behaviour inside context menus ( #7293 )
2021-12-07 09:36:28 +00:00
Michael Telatynski
275e9c1d02
Update space panel expand mechanism ( #7230 )
2021-12-07 09:32:00 +00:00
Michael Telatynski
a4714829f7
Hide clear cache and reload button if crash is before client init ( #7242 )
2021-12-01 10:54:14 +00:00
Šimon Brandner
cbb34d8ac7
Make `CallHandler` more `EventEmitter`y ( #6704 )
...
* sharedInstance() -> instance
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use CallState event instead of dispatching
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Simplifie some code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use a method to start a call instead of the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use a method instead of place_conference_call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make terminateCallApp() and hangupCallApp() public
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use hangupAllCalls() instead of the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make dialNumber(), startTransferToMatrixID() and startTransferToPhoneNumber() public instead of using the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use answerCall() instead of using the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use hangupOrReject() instead of the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Update docs
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Dispatch call_state, see https://github.com/vector-im/element-web/pull/18823#issuecomment-917377277
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add missing import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-11-30 18:09:13 +00:00
Germain
7658187186
Fix composer focus after pasting ( #7181 )
2021-11-22 17:09:16 +00:00
Michael Telatynski
ddbfebbaa0
Fix automatic composer focus, regressed by threads work ( #7167 )
2021-11-19 17:15:15 +00:00
Michael Telatynski
5ad3261cb2
Implement more meta-spaces ( #7077 )
2021-11-11 13:07:41 +00:00
Travis Ralston
d188d32423
Add a developer mode flag and use it for accessing space timelines ( #6994 )
...
Fixes https://github.com/vector-im/element-web/issues/19416
2021-10-20 06:55:22 -06:00
Michael Telatynski
a688e5b8b3
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088
...
Conflicts:
src/components/structures/LoggedInView.tsx
src/stores/SpaceStore.tsx
2021-09-06 11:41:09 +01:00
Dariusz Niemczyk
a93d5cde09
Simplify rendering to css-only
2021-08-24 14:38:39 +02:00
Dariusz Niemczyk
a5c005756e
Fix resizer on left panel
2021-08-24 13:05:46 +02:00
Travis Ralston
a0dc5d2987
Honour user-selected background image from settings
...
Fixes https://github.com/vector-im/element-web/issues/18705
This is provided as an easter egg, but more importantly as an a11y workaround.
2021-08-23 20:39:46 -06:00
Dariusz Niemczyk
6205cbbdec
Merge pull request #6659 from matrix-org/palid/fix/backdrop-blur
...
Optimize background image from avatar on left panel
2021-08-23 20:05:49 +02:00
Dariusz Niemczyk
e54191f6b0
Move background-blur to fully css version
2021-08-23 19:26:57 +02:00
Dariusz Niemczyk
7dfe57833a
Fix GroupFilterPanel not having proper backdrop
2021-08-23 16:57:24 +02:00
Dariusz Niemczyk
ca92101c72
Optimize and rewrite backdrop rendering
2021-08-23 16:20:21 +02:00
Dariusz Niemczyk
51b5b0145b
Fix resizer on LoggedInView
2021-08-23 16:18:40 +02:00
Dariusz Niemczyk
0daa6ab845
Merge pull request #6648 from matrix-org/palid/fix/modern-layout
...
Fix modern layout
2021-08-23 10:18:49 +02:00
Travis Ralston
397a0f7849
Merge pull request #6651 from SimonBrandner/feature/watch-rl-background
...
Watch `RoomList.backgroundImage`
2021-08-22 23:49:32 -06:00
Dariusz Niemczyk
86b6c6a836
Fix room views not having proper container
2021-08-20 16:32:56 +02:00
Šimon Brandner
74d79ff205
Watch RoomList.backgroundImage
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-20 15:55:52 +02:00
Dariusz Niemczyk
fd3787ce82
Fix modern layout
2021-08-20 13:03:08 +02:00
Dariusz Niemczyk
f5a284a1f0
Fix flex values after blur changes
2021-08-19 16:10:09 +02:00
Dariusz Niemczyk
d65f6dd002
Fix bad merge
2021-08-19 07:11:40 +02:00
Dariusz Niemczyk
455a914cf3
Merge remote-tracking branch 'origin/develop' into gsouquet/fix-backdrop-filter
...
* origin/develop: (43 commits)
Update copy to indicate debug logs contain which UI elements you last interacted with
Fix name of Netlify workflow
Add type declarations
Fix pagination and improve typing
Fix import
Reset matrix-js-sdk back to develop branch
v3.28.1
Prepare changelog for v3.28.1
Upgrade matrix-js-sdk to 12.3.1
Explicitly handle first state change
Properly listen for call_state
Proper init in constructors
Resetting package fields for development
v3.28.0
Prepare changelog for v3.28.0
Fix error on accessing encrypted media without keys
Fix call tile buttons
Upgrade matrix-js-sdk to 12.3.0
Remove test code; good job we have tests
Fix dates
...
2021-08-19 07:11:02 +02:00
Dariusz Niemczyk
6310949bc8
Fix background blur not being shown on first load
2021-08-17 19:45:52 +02:00
Dariusz Niemczyk
eb242041a5
Fix missing background tonality without avatar
2021-08-17 18:56:19 +02:00
Šimon Brandner
533f2c2c98
Properly listen for call_state
...
The previous thing should have never worked, since CallsChanged doesn't get emitted when a call is answered
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-17 09:51:48 +02:00
Šimon Brandner
3fdf4d13ca
Proper init in constructors
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-17 09:48:25 +02:00
Dariusz Niemczyk
582b5c90a4
Properly sepearate left column from timeline
2021-08-16 14:26:21 +02:00
Dariusz Niemczyk
8bd5441fae
Merge branch 'develop' into gsouquet/fix-backdrop-filter
...
* develop: (22 commits)
Fix long display names in call toasts
Fix import
Add MatrixEvent type
Convert CrossSigningPanel to TS
Fix PiP of held calls
Use new call state icons
Add declined call buttons
Add "No answer" state
Left align call tiles
Fix tab trapping behaviour
add comment
Iterate PR based on feedback
Iterate PR, merge types with @types/PushRules
Remove misplaced bracket in a translation string
delint and improve ts
Convert SearchResult, InteractiveAuth, PushProcessor and Scheduler to Typescript
remove dead code and fix some types
delint
post-merge fixes, the new keybindings stuff made it messy
Improve VoiceOver & WebKit accessibility support
...
2021-08-16 13:16:28 +02:00
Dariusz Niemczyk
5f9b55eaa9
Merge remote-tracking branch 'origin/develop' into gsouquet/fix-backdrop-filter
...
* origin/develop: (1278 commits)
Add a little padding
Keep number field in focus when pressing dialpad buttons (#6520 )
Remove old version
Fix video call persisting when widget removed
Update link to matrix-js-sdk CONTRIBUTING file (#6557 )
$toast-bg-color -> $system
$system-... -> $system
Iterate PR based on feedback
Remove unnecessary code
Use AccessibleTooltipButton
Just upload the PR object itself
Edit PR Description instead of commenting
publish the right directory
Fix Netflify builds from fork PRs
This doesn't need to be here as it was moved into CallViewButtons
Make scrollbar dot transparent
Iterate PR based on feedback
Don't set hidden RRs labs setting at account level
Add a comment for weirdly placed div
Add full class names to animations.scss
...
2021-08-13 15:12:07 +02:00
Michael Telatynski
f9527c9d6b
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete
...
Conflicts:
src/components/views/rooms/BasicMessageComposer.tsx
src/editor/autocomplete.ts
2021-08-12 11:21:20 +01:00
Michael Telatynski
be85dcd1bf
Delabs Spaces, keeping it as a default-on preference for the time being
2021-08-11 14:52:40 +01:00
Michael Telatynski
ce78cdf4ad
Conform to new react and typescript eslint rules
2021-07-19 22:43:11 +01:00
Michael Telatynski
ebfe38dc4a
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete
...
Conflicts:
src/components/views/rooms/BasicMessageComposer.tsx
src/editor/autocomplete.ts
2021-07-15 09:59:40 +01:00
Michael Telatynski
90d380c8ae
Cache value of feature_spaces* flags as they cause page refresh so are immutable
2021-07-15 08:26:49 +01:00
Germain Souquet
8f345dc1ba
Rework backdrop to draw one image with two different level of blur
2021-07-12 13:51:46 +02:00
Germain Souquet
36ba65b534
Merge branch 'develop' into gsouquet/fix-backdrop-filter
2021-07-12 13:00:34 +02:00
Šimon Brandner
68d194444a
FocusComposer -> FocusSendMessageComposer
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-08 17:36:31 +02:00
Germain Souquet
edae9a4844
Merge branch 'develop' into gsouquet/fix-backdrop-filter
2021-07-06 10:19:25 +02:00
Šimon Brandner
5d054519dc
Tenth batch of burning
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-03 11:57:05 +02:00
Šimon Brandner
d99874318c
Ninth batch of burning
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-03 11:51:23 +02:00
David Baker
80f5232217
Comply with new member-delimiter-style rule
...
Just `eslint --fix` with rule from
https://github.com/matrix-org/eslint-plugin-matrix-org/pull/9 in place
2021-07-01 23:23:03 +01:00
David Baker
8bbb768825
Convert RoomHeader to TS
...
Also add a type of OOBData... possibly this should be in the js-sdk,
but threepid invites themselves have a type in react-sdk so it can
live alongside it I guess (also I'm not entirely sure we actually
use it anymore...)
2021-07-01 19:54:05 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Germain Souquet
e628cac06b
Improve image drawing fill strategy
2021-06-25 09:38:29 +01:00
Germain Souquet
652ad3617d
Backdrop filter compatibility for Firefox and Safari
2021-06-25 09:20:03 +01:00
Germain Souquet
27ee7c5836
Move backdrop filter to a canvas based solution
2021-06-24 17:51:11 +01:00
Šimon Brandner
9bceb40820
CallMediaHandler -> MediaDeviceHandler
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-23 09:26:33 +02:00
Michael Telatynski
a52dd57eb2
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17529
...
Conflicts:
package.json
yarn.lock
2021-06-15 13:59:54 +01:00
Michael Telatynski
35948374e9
remove unused imports
2021-06-02 11:56:49 +01:00
Travis Ralston
c9883f346c
Build pass 1
2021-06-01 22:21:04 -06:00
Michael Telatynski
0b7d3f007a
Remove react-beautiful-dnd
2021-06-01 17:35:31 +01:00
Michael Telatynski
e9c258a930
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete
...
Conflicts:
src/autocomplete/AutocompleteProvider.tsx
src/components/views/rooms/Autocomplete.tsx
2021-05-18 12:49:11 +01:00
Germain Souquet
7e846b8532
remove unused import
2021-05-17 15:05:20 +01:00
Germain Souquet
c67f31144f
remove custom LoggedInView::shouldComponentUpdate logic
2021-05-17 14:45:41 +01:00
Michael Telatynski
60d3da2441
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete
...
Conflicts:
src/components/structures/LoggedInView.tsx
src/components/views/rooms/BasicMessageComposer.tsx
src/editor/autocomplete.ts
2021-05-11 10:59:22 +01:00
Šimon Brandner
a220b8b572
Wire up AudioFeedArrayForCall
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 11:59:08 +02:00
Clemens Zeidler
be00320def
Make use of the KeyBindingsManager in the ScrollPanel
...
Signed-off-by: Clemens Zeidler <clemens.zeidler@gmail.com>
2021-03-29 13:38:15 +13:00
J. Ryan Stinnett
33e8edb3d5
Merge pull request #5720 from czeidler/key-bindings
...
Decouple key bindings from event handling
2021-03-26 15:14:38 +00:00
Michael Telatynski
56dbd5f628
Remove unused autoJoin prop and move viaServers logic into RVS
...
this fixes the issue where autoJoining ignored viaServers
2021-03-24 16:45:53 +00:00
Michael Telatynski
17399c6be6
Merge pull request #5764 from matrix-org/t3chguy/spaces4.9
...
Fix left panel resizing and lower min-width improving flexibility
2021-03-18 11:34:55 +00:00
David Baker
67e2ae9988
Make some dispatches async
...
It looks like these dispatches were being dispatched while already
dispatching, causing soft crashes (although I can't see where the
first dispatch was from). Either way, seems like these didn't need
to be sync.
2021-03-16 15:42:03 +00:00
Michael Telatynski
688407abe6
Merge branch 'develop' into t3chguy/spaces4.9
2021-03-16 11:14:38 +00:00
Michael Telatynski
11cd791c76
Tweak left panel min widths for better flexibility
2021-03-16 11:13:39 +00:00
Michael Telatynski
baaceccfda
Rearrange dom hierarchy to put space panel at same level as LeftPanel
...
so they don't steal horizontal space from each other
2021-03-16 11:13:39 +00:00
Clemens Zeidler
a8a8741c06
Make FocusRoomSearch a NavigationAction
2021-03-12 19:40:28 +13:00
Clemens Zeidler
2a21d45ac0
Merge branch 'develop' into key-bindings
2021-03-12 16:44:12 +13:00
Travis Ralston
c230a75eda
Flag structural components as replaceable
2021-03-08 20:23:24 -07:00
Will Hunt
d07069238f
Merge remote-tracking branch 'origin/develop' into hs/blocked-err
2021-03-05 18:50:00 +00:00
Will Hunt
35dbc82b87
Add issue comments
2021-03-05 15:01:48 +00:00
Clemens Zeidler
4a6f931782
Merge branch 'develop' into key-bindings
2021-03-04 21:10:35 +13:00
Clemens Zeidler
0214397e27
Fix handling of the platform onKeyDown
...
Only call it if the event hasn't been handled yet.
2021-03-03 22:06:36 +13:00
Michael Telatynski
4e93452275
Tweak resizer collapse distributor behaviour to work with the expanding space panel
2021-03-02 14:02:03 +00:00
Michael Telatynski
c8fe3f7676
Pass room creation opts for new rooms into RoomView
2021-03-01 17:54:53 +00:00
Clemens Zeidler
601be50b71
Split KeyAction into multiple enums
...
This gives some additional type safety and makes enum member usage more
clear.
2021-03-01 21:43:00 +13:00
Clemens Zeidler
32ec8b7dc8
Add key bindings for RoomList, Room and Navigation
2021-02-28 20:13:34 +13:00
Will Hunt
c78d1c49ab
Apply changes from review
2021-02-24 17:32:00 +00:00
Will Hunt
84bcdf66f2
Fix TS check
2021-02-23 13:00:05 +00:00
Will Hunt
aa86c1d751
Ensure that a dismissed usage alert toast stays dismissed
2021-02-23 12:51:47 +00:00
Will Hunt
0daed98627
Do not process an older usage event if we've already processed a newer one
2021-02-23 12:51:17 +00:00
Michael Telatynski
9e2974d84d
Improve composer keyboard trapping
2021-02-18 11:08:43 +00:00
Jason Robinson
6ccce7142c
Merge branch 'develop' into jaywink/hosting-provider-iframe-minimize-wip
2021-02-03 22:35:22 +02:00
Šimon Brandner
9c5af8b61e
Fix collapsing of the left panel
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-29 13:19:09 +01:00