Commit Graph

12688 Commits

Author SHA1 Message Date
Clemens Zeidler 4a6f931782 Merge branch 'develop' into key-bindings 2021-03-04 21:10:35 +13:00
Michael Telatynski 77cf4cf7a4 Merge pull request #5706 from matrix-org/t3chguy/spaces4.4
Space room hierarchies
2021-03-03 15:25:00 +00:00
Michael Telatynski 73411fa53d tidy code style 2021-03-03 13:42:44 +00:00
Michael Telatynski a8ff0fa75f Merge pull request #5705 from matrix-org/t3chguy/spaces4.3
Iterate Space view and right panel
2021-03-03 13:37:40 +00: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
Travis Ralston c7d4dfa4f5 Merge pull request #5692 from SimonBrandner/scroll-to-bottom-setting
Add a scroll to bottom on message sent setting
2021-03-02 17:41:15 -07:00
Michael Telatynski 49fc053b94 Merge pull request #5704 from matrix-org/t3chguy/spaces4.2
Initial Space Room View and Creation UX
2021-03-02 17:17:39 +00:00
J. Ryan Stinnett a5ee029c62 Merge pull request #5452 from SimonBrandner/feature-multi-language-spell-check
Add multi language spell check
2021-03-02 14:38:21 +00:00
Michael Telatynski 43cc7deeda Show hierarchy of auto_join rooms in the space view 2021-03-02 14:37:28 +00:00
Michael Telatynski 716268b2f9 Add context menu to spaces in the space panel 2021-03-02 14:35:29 +00:00
Travis Ralston 303ea16492 Merge pull request #5697 from matrix-org/travis/fix-tetris
Fix tetris effect (holes) in read receipts
2021-03-02 07:35:04 -07:00
Michael Telatynski ca1bd78921 Add space specific variant of the dropdown on "Rooms +" sublist 2021-03-02 14:20:29 +00:00
Michael Telatynski faf7a4b8bc Initial Space room directory view 2021-03-02 14:14:50 +00: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 e479edd47a Add an add existing room to space CTA to Space View 2021-03-02 13:34:53 +00:00
Michael Telatynski a687b9883c Add a create room in space CTA to Space View 2021-03-02 13:29:34 +00:00
Michael Telatynski ab4b7b73ea Add a basic Space Settings view 2021-03-02 13:26:00 +00:00
Michael Telatynski 926e226a78 Add Invite CTA to Space View 2021-03-02 10:12:49 +00:00
Michael Telatynski dfd0aaffe3 Iterate copy for some global warning prompts for spaces 2021-03-02 09:56:43 +00:00
Michael Telatynski 8efe7dcaa1 Decorate Right Panel cards with Space header for when viewing it in that context 2021-03-02 09:54:32 +00:00
Šimon Brandner 6fcb4c7cd2 Fix quote
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-02 07:37:00 +01:00
Michael Telatynski c10512fd56 Initial SpaceRoomView work 2021-03-01 18:53:11 +00:00
Michael Telatynski c8fe3f7676 Pass room creation opts for new rooms into RoomView 2021-03-01 17:54:53 +00:00
Michael Telatynski 483d56320c Beginning of space creation UX from space panel 2021-03-01 17:47:40 +00:00
Michael Telatynski ea61b18c18 Iterate Space Panel alignments 2021-03-01 17:02:02 +00:00
Michael Telatynski ce64863326 Annotate User Menu handle with currently selected space 2021-03-01 15:53:16 +00:00
Michael Telatynski d248a5fa5d Merge pull request #5689 from matrix-org/t3chguy/spaces2
Space Store and Space Panel for Room List filtering
2021-03-01 09:42:04 +00:00
Clemens Zeidler ef7284e69d Add missing JumpToOldestUnread action 2021-03-01 22:15:05 +13: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
Travis Ralston e43853d6b0 Use a small fractional value instead 2021-02-27 12:02:24 -07:00
David Baker 11ba9e0601 Merge pull request #5690 from matrix-org/dbkr/call_maxheight_nan
Null check for maxHeight in call view
2021-02-27 15:05:07 +00:00
Travis Ralston 76ad93b937 Put speed holes in the code
We can make read receipts more efficient (and avoid double-animation) by using `PureComponent` which no-ops useless updates for us.
2021-02-26 22:25:50 -07:00
Travis Ralston b3142d6138 Offset read receipt start positions by 1px
As mentioned in 208faf6d46, the velocity-animate update causes read receipts to occasionally show up 14px to the right of where they should be. This is because the read receipt width is 14px, and velocity-animate will *not* translate `left` if it isn't changing. Unfortunately, it's smart enough to realize that `-0px` is `0px`, so we end up having to specify `1px`. 

The comment already mentions it, but this should have no perceived effect for the user. During development I could not tell if the 1px was being applied during the animation, implying that it's a meaningless value. It's a bit unfortunate for those who know that it's translating left by 1px, but hopefully they'll be able to unsee that in time.
2021-02-26 22:24:36 -07:00
Travis Ralston 678ec52035 Merge branch 'develop' into fix-4963 2021-02-26 14:41:28 -07:00
Travis Ralston 855ee068c3 Appease the linter 2021-02-26 13:50:03 -07:00
Travis Ralston 4e27b00cf3 Move call buttons to the room header
This is to make some room in the composer for voice messages. The hangup behaviour is intentionally lost by this change as the VOIP UX is intended to rely on dedicated hangup buttons instead.
2021-02-26 13:46:39 -07:00
Šimon Brandner 361420bf68 Use scrollToBottomOnMessageSent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 18:37:30 +01:00
Šimon Brandner 1387c9f94d Display scrollToBottomOnMessageSent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 18:37:25 +01:00
David Baker b58ce4ccfc Null check for maxHeight in call view 2021-02-26 14:00:02 +00:00
Michael Telatynski f21aedc6cf Add Space Panel with Room List filtering 2021-02-26 10:41:26 +00:00
Travis Ralston fbe5d17785 sanity 2021-02-24 18:27:59 -07:00
Travis Ralston e2fb9b3ae8 Clean up widgets when leaving the room 2021-02-24 18:10:35 -07:00
Travis Ralston dee7c7b556 Merge pull request #5567 from SimonBrandner/fix-read-receipts
Fix read receipts?
2021-02-24 11:21:42 -07:00
Travis Ralston 83078a67c2 Merge pull request #5678 from matrix-org/hs/fix-usage-alerts
Fix MAU usage alerts
2021-02-24 11:21:03 -07:00
Will Hunt c78d1c49ab Apply changes from review 2021-02-24 17:32:00 +00:00
J. Ryan Stinnett c57b49a354 Merge pull request #5673 from SimonBrandner/dont-show-copy-button
Add <code> if it's missing
2021-02-24 13:33:39 +00:00
Šimon Brandner 986950697b Rmove unnecessary code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 14:10:09 +01:00
Šimon Brandner 024871f59d Merge branch 'dont-show-copy-button' of https://github.com/SimonBrandner/matrix-react-sdk into dont-show-copy-button 2021-02-24 13:41:16 +01:00
Šimon Brandner 363b753306 Avoid innerHTML
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 13:40:37 +01:00