Commit Graph

5611 Commits

Author SHA1 Message Date
Šimon Brandner ff7e32cdd1 Convert UserView to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-12 09:24:55 +02:00
Šimon Brandner a6a56b455b Convert GenericErrorPage to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-12 08:56:29 +02:00
Šimon Brandner e882576f86 Convert EmbeddedPage to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-12 08:56:00 +02:00
Šimon Brandner 716aba2a0e Convert MainSplit to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-12 08:40:56 +02:00
Šimon Brandner 4673e1aa49 Convert SearchBox to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-12 08:24:17 +02:00
Robin Townsend def1c68c16 Fix message bubble corners being wrong in the presence of hidden events
Signed-off-by: Robin Townsend <robin@robin.town>
2021-09-09 16:11:36 -04:00
Germain 051e166c68 Merge pull request #6772 from matrix-org/gsouquet/fix-18947 2021-09-09 18:56:49 +01:00
Germain d475b7f1ea Merge pull request #6753 from matrix-org/revert-6752-revert-6682-gsouquet/compact-composer-18533 2021-09-09 18:49:38 +01:00
David Baker bd5d02d690 Update comment too
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-09-09 18:15:51 +01:00
Germain Souquet 672dab1998 Force refresh threads timeline
Fixes vector-im/element-web#18947

In the absence of a proper pending events / remote echo setup it seems fairly difficult to get the timeline to update

Adding a temporary helper to force refresh the timeline and not swallow local events when sending a message from the thread sidebar
2021-09-09 17:31:05 +01:00
David Baker a4aa6dfcd7 Debounce read marker update on scroll
Reverts https://github.com/matrix-org/matrix-react-sdk/pull/6751 in
favour of debouncing the updates to read markers, because it seems
allowing the scroll to be 1px away from the bottom was important for
some browsers and meant they never got to the bottom.

We can fix the problem instead by debouncing the update to read
markers, because the scroll state gets reset back to the bottom when
componentDidUpdate() runs which happens after the read marker code
does a setState(). This should probably be debounced anyway since
it doesn't need to be run that frequently.

Fixes https://github.com/vector-im/element-web/issues/18961
Type: bugfix
2021-09-09 15:58:19 +01:00
Germain Souquet 07ebd85f7e Merge branch 'develop' into revert-6752-revert-6682-gsouquet/compact-composer-18533 2021-09-09 13:30:35 +01:00
Michael Telatynski d00c4d042b Merge pull request #6760 from matrix-org/t3chguy/fix/18528
Improve tooltips on space quick actions and explore button
2021-09-08 22:59:52 +01:00
Michael Telatynski d4bac4752d Make space members and user info behave more expectedly 2021-09-08 13:34:26 +01:00
Michael Telatynski 8bd1f384b9 Improve tooltips on space quick actions and explore button 2021-09-08 10:16:20 +01:00
Travis Ralston 3217ab26ff Merge pull request #5759 from panoschal/fix/call-search-areas
Compact call area, better ui when in call & searching messages
2021-09-07 12:31:56 -06:00
Germain Souquet 646ef197fe Fix PR UI defects 2021-09-07 16:02:26 +01:00
David Baker 495b6dcd97 Merge pull request #6705 from SimonBrandner/fix/call-tile-dispatch/18825
Use disptacher to answer/reject calls in call tiles
2021-09-07 15:45:40 +01:00
Germain 94cef3bf13 Merge pull request #6755 from matrix-org/gsouquet/fix-thread-creation 2021-09-07 15:26:28 +01:00
Michael Telatynski 51f1d21464 Merge pull request #6748 from matrix-org/t3chguy/fix/18764
Fix Space creation wizard go to my first room button behaviour
2021-09-07 11:08:53 +01:00
Michael Telatynski 8cab86e58b fix typing of firstRoomId 2021-09-07 11:02:38 +01:00
Germain Souquet 6c60e4c306 Fix thread creation 2021-09-07 09:57:49 +01:00
David Baker 6468ce68a2 Fix scroll being stuck at bottom
The check for whether we're at the bottom or not allowed for a
difference of 1 to account for fractional scroll values, but
allowed the difference of exactly 1 too, meaning we'd consider
the timeline to be at the bottom if you were scrolled up by exactly
a single pixel. If your scrolling was set up to be precise enough and
the event handlers fired fast enough that they'd evaluate each time
you scrolled up by a single pixel, it would reset you back to the bottom
each time and you'd never be able to scroll up.

Fixes https://github.com/vector-im/element-web/issues/18903
2021-09-06 18:59:47 +01:00
Germain Souquet 385222719c Fix replies not appearing in timeline 2021-09-06 15:53:18 +01:00
Michael Telatynski 43868c4539 Fix Space creation wizard go to my first room button behaviour 2021-09-06 15:17:09 +01:00
Dariusz Niemczyk 1e50246a78 Merge pull request #6636 from matrix-org/palid/fix/forgot-password-ux
Make ForgotPassword UX slightly more user friendly
2021-09-06 10:55:25 +02:00
David Baker de01dcfd26 Merge pull request #6700 from SimonBrandner/feature/call-timer/18566
Show call length during a call
2021-09-03 17:17:36 +01:00
Michael Telatynski f7e491f713 Merge pull request #6729 from matrix-org/t3chguy/fix/18762
Fix explore rooms button not working during space creation wizard
2021-09-03 16:18:25 +01:00
Michael Telatynski cc40df298b Improve form handling in and around space creation 2021-09-03 13:34:09 +01:00
Germain e16921e1f1 Merge pull request #6619 from matrix-org/gsouquet/ts-components-migration 2021-09-03 08:47:12 +01:00
Šimon Brandner 367049bd08 Improve typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-02 17:52:00 +02:00
Michael Telatynski aed835554c Fix explore rooms button not working during space creation wizard 2021-09-02 12:30:49 +01:00
Michael Telatynski daba23d1bf Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18760
 Conflicts:
	src/components/structures/SpaceRoomView.tsx
2021-09-02 12:10:20 +01:00
Germain 9be9e75c13 Merge pull request #6720 from matrix-org/gsouquet/replies-fix-18717 2021-09-02 08:42:54 +01:00
Michael Telatynski 030fa17a66 When creating private spaces, make the initial rooms restricted if supported 2021-09-01 12:47:43 +01:00
Germain Souquet 95d1b06abb Make composer able to reply in thread or in room timeline 2021-09-01 12:12:40 +01:00
Michael Telatynski 642d8a0ec0 Merge pull request #6716 from matrix-org/t3chguy/fix/18668
Clear currentRoomId when viewing home page, fixing document title
2021-09-01 09:01:52 +01:00
Germain 7621a9a0f3 Merge pull request #6658 from matrix-org/gsouquet/threaded-messaging-2349 2021-09-01 08:47:10 +01:00
Germain Souquet 8b567944ec Merge branch 'develop' into gsouquet/ts-components-migration 2021-09-01 08:40:48 +01:00
Michael Telatynski 4ce79148cf Clear currentRoomId when viewing home page, fixing document title 2021-08-31 17:14:50 +01:00
Michael Telatynski d3ba33172b Only make the initial space rooms suggested by default 2021-08-31 16:42:21 +01:00
Šimon Brandner 072fdf1cb8 Use disptacher so that https://github.com/matrix-org/matrix-react-sdk/pull/6691 has effect
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-28 15:06:48 +02:00
Šimon Brandner c6400c8db3 Show call length during a call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:34:44 +02:00
Germain Souquet bf3c8e5664 Fix imports 2021-08-27 10:38:01 +01:00
Germain Souquet f0a4225bf7 Remove unused renderEventTile method 2021-08-26 08:45:00 +01:00
Germain Souquet bd1aa01b67 Update copyright and method accessors 2021-08-26 08:19:44 +01:00
Travis Ralston 4415a7037c Fix left panel widgets not remembering collapsed state
Fixes https://github.com/vector-im/element-web/issues/17803

The `setExpanded` function takes a boolean, not a function.
2021-08-25 23:10:19 -06:00
Germain Souquet 450140befd Fix linting issues 2021-08-25 09:34:16 +01:00
Germain Souquet d205585385 Merge branch 'develop' into gsouquet/ts-components-migration 2021-08-25 09:03:45 +01:00
Germain Souquet 77a463e679 Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-25 08:53:16 +01:00