Commit Graph

5907 Commits

Author SHA1 Message Date
Dariusz Niemczyk 60174c9836 Add a better comment describing the behavior 2021-09-14 14:51:17 +02:00
Šimon Brandner c460d56e50 Remove unused import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-14 06:37:08 +02:00
Šimon Brandner eae45d8a7e Merge remote-tracking branch 'upstream/develop' into task/structures-ts 2021-09-14 06:31:43 +02:00
Dariusz Niemczyk ceafa83392 Fix invalid ContextualMenu positions 2021-09-13 22:11:58 +02:00
Dariusz Niemczyk e913f03a67 Add missing types 2021-09-13 22:11:43 +02:00
Šimon Brandner 8a86407a4c Use MatrixClientContext
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-13 18:28:52 +02:00
Šimon Brandner 807792dc69 Revert some changes that are unncessary due to js-sdk changes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-13 18:24:53 +02:00
Šimon Brandner 44141bf048 Iterate PR first round
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-13 18:23:37 +02:00
Šimon Brandner e4cf7314f5 Fix init value
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-13 18:14:55 +02:00
Šimon Brandner 1590fe32cf Convert RoomStatusBar to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-12 10:15:34 +02:00
Šimon Brandner e48407a1d6 Convert ViewSource to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-12 10:15:34 +02:00
Šimon Brandner 9a7e2b31d4 Convert IndicatorScrollbar to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-12 10:15:28 +02:00
Š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
Aaron Raimist 354d0cfba4 Redirect from /#/welcome to /#/home if already logged in
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-09-11 10:52:33 -05:00
Michael Telatynski 80fd960304 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088 2021-09-10 09:53:04 +01: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 911ca07da4 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088 2021-09-08 15:28:58 +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
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 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