964c60d086 
								
									
								
							
								 
							
						 
						
							
							
								
								Apply corrections identified by SonarQube ( #8457 )  
							
							
							
						 
						
							2022-05-03 22:04:37 +01:00  
				
					
						
							
							
								 
						
							
							
								ee2ee3c08c 
								
									
								
							
								 
							
						 
						
							
							
								
								Implement new Read Receipt design ( #8389 )  
							
							... 
							
							
							
							* feat: introduce new alignment types for tooltip
* feat: introduce new hook for tooltips
* feat: allow using onFocus callback for RovingAccessibleButton
* feat: allow using custom class for ContextMenu
* feat: allow setting tab index for avatar
* refactor: move read receipts out of event tile
* feat: implement new read receipt design
* feat: update SentReceipt to match new read receipts as well 
							
						 
						
							2022-04-22 17:09:44 +02:00  
				
					
						
							
							
								 
						
							
							
								7c41b8612d 
								
									
								
							
								 
							
						 
						
							
							
								
								Put the right-click message context menu to the right ( #8339 )  
							
							... 
							
							
							
							* Improve `alwaysAboveRightOf()` typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve typing of `alwaysAboveLeftOf()`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add `aboveRightOf()`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use `aboveRightOf()`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix typo
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> 
							
						 
						
							2022-04-17 09:50:13 -04:00  
				
					
						
							
							
								 
						
							
							
								d162e021e1 
								
									
								
							
								 
							
						 
						
							
							
								
								Add message right click context menu v2 ( #5672 )  
							
							... 
							
							
							
							* migrate the message context menu to IconizedContextMenu
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* migrate the message context menu to IconizedContextMenu
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Added right-click menu
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* add message context menu group keys
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* add message context menu icons
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* add _MessageContextMenu.scss license header
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* use null vars for context menu lists
* Add allowOverridingNativeContextMenus()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use allowOverridingNativeContextMenus()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove mistaken line
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix styling
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* InputHTMLAttributes -> AllHTMLAttributes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Convert to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add some types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make onClick optional
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add rightClick prop
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add copy button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* What about upgrading deps after the eslint migration, Simon?
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add edit button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* fix
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add reply button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add react button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Cleanup render()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix comments
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add save button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Don't show context menu if editing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add special handling for click a timestamp
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix double empty line
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Don't show context menu for images
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Cleanup
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix order
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Keep action bar shown when right-clicking
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Highlight event tile when right-clicking
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Delint
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Pointless change so that I can re-run the CI
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove dowload button
Because we don't use this menu when clicking on images
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Be more clear for non-bools
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use triggerOnMouse down prop
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove a comment
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove unused var
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove unnecessary import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add some missing types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add missing type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove unused import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add a missing type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix types/naming
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add missing current
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove unused var
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix editing and replying
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Support right-click context menu for threads
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make button order match `MessageActionBar`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix missing permalink button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove useless part of if statement
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Some small refactoring for consistency
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Some more refactoring
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix `editEvent()` call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make editing polls work
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix collapse reply chain button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix timelineRenderingType
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix reply button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Hide right-click context menu behind a labs flag
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add missing return type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make `contextMene` optional
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Move `renderContextMenu()`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Simplify `renderContextMenu()`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve `aboveLeftOf` typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use `InputHTMLAttributes`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Disable message right-click context menu in browser (for now)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Give permalink button more props
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Michael Weimann <mail@michael-weimann.eu> 
							
						 
						
							2022-04-15 08:22:59 -06:00  
				
					
						
							
							
								 
						
							
							
								997d6d40bf 
								
							
								 
							
						 
						
							
							
								
								Step 1: Remove all usage of `@replaceableComponent`  
							
							
							
						 
						
							2022-03-28 14:02:31 -06:00  
				
					
						
							
							
								 
						
							
							
								115e17b097 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix positioning of the thread context menu ( #7918 )  
							
							
							
						 
						
							2022-03-01 08:32:29 +00:00  
				
					
						
							
							
								 
						
							
							
								df591ee835 
								
									
								
							
								 
							
						 
						
							
							
								
								Make everything use the `KeyBindingManager` ( #7907 )  
							
							
							
						 
						
							2022-02-28 16:05:52 +00:00  
				
					
						
							
							
								 
						
							
							
								ece2b8572a 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix edge case in context menu chevron positioning ( #7899 )  
							
							... 
							
							
							
							* Fix edge case in context menu chevron positioning
Signed-off-by: Robin Townsend <robin@robin.town>
* Expand context menu positioning regression tests
Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2022-02-25 17:49:57 +00:00  
				
					
						
							
							
								 
						
							
							
								85dc58a504 
								
									
								
							
								 
							
						 
						
							
							
								
								Try harder to keep context menus inside the window ( #7863 )  
							
							... 
							
							
							
							* Try harder to keep context menus inside the window
Signed-off-by: Robin Townsend <robin@robin.town>
* Use UIStore for window dimensions
Signed-off-by: Robin Townsend <robin@robin.town>
* Test ContextMenu positioning
Signed-off-by: Robin Townsend <robin@robin.town> 
							
						 
						
							2022-02-24 10:25:27 -05:00  
				
					
						
							
							
								 
						
							
							
								991257cbc3 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix accessibility and consistency of MessageComposerButtons ( #7679 )  
							
							
							
						 
						
							2022-01-31 16:05:05 +00:00  
				
					
						
							
							
								 
						
							
							
								f3776f8944 
								
									
								
							
								 
							
						 
						
							
							
								
								Prevent keyboard propagation out of context menus ( #7437 )  
							
							
							
						 
						
							2021-12-22 10:53:17 +00:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								132e19beb7 
								
									
								
							
								 
							
						 
						
							
							
								
								Update typescript-eslint plugin & parser ( #7351 )  
							
							
							
						 
						
							2021-12-13 23:39:45 +00:00  
				
					
						
							
							
								 
						
							
							
								2e4fe7891a 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix input field behaviour inside context menus ( #7293 )  
							
							
							
						 
						
							2021-12-07 09:36:28 +00:00  
				
					
						
							
							
								 
						
							
							
								fe24c8ad2a 
								
									
								
							
								 
							
						 
						
							
							
								
								Improve ThreadPanel ctx menu accessibility ( #7217 )  
							
							
							
						 
						
							2021-11-29 17:42:53 +00:00  
				
					
						
							
							
								 
						
							
							
								0bae79d3c3 
								
									
								
							
								 
							
						 
						
							
							
								
								Improve Thread View UI ( #7063 )  
							
							
							
						 
						
							2021-11-02 13:18:51 +00:00  
				
					
						
							
							
								 
						
							
							
								04c06b6aa8 
								
									
								
							
								 
							
						 
						
							
							
								
								Improve RovingTabIndex & Room List filtering performance ( #6987 )  
							
							
							
						 
						
							2021-10-26 12:16:50 +01:00  
				
					
						
							
							
								 
						
							
							
								1c8bcce0ed 
								
							
								 
							
						 
						
							
							
								
								comment  
							
							
							
						 
						
							2021-10-07 11:13:13 +01:00  
				
					
						
							
							
								 
						
							
							
								047f182cd8 
								
							
								 
							
						 
						
							
							
								
								focusLock only specific context menus  
							
							
							
						 
						
							2021-10-07 11:04:10 +01:00  
				
					
						
							
							
								 
						
							
							
								b373b98d48 
								
							
								 
							
						 
						
							
							
								
								Simplify aria menu item roles/selectors  
							
							
							
						 
						
							2021-10-06 16:49:53 +01:00  
				
					
						
							
							
								 
						
							
							
								a6c780674a 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/focus-lock-ctx-menu  
							
							... 
							
							
							
							 Conflicts:
	src/components/views/spaces/SpaceCreateMenu.tsx 
							
						 
						
							2021-10-06 16:39:52 +01:00  
				
					
						
							
							
								 
						
							
							
								898e4acb4f 
								
							
								 
							
						 
						
							
							
								
								Don't let click events propagate out of context menus  
							
							
							
						 
						
							2021-10-01 10:00:53 +01:00  
				
					
						
							
							
								 
						
							
							
								0cfa2a58c7 
								
									
								
							
								 
							
						 
						
							
							
								
								Add ability to expand and collapse long quoted messages ( #6701 )  
							
							... 
							
							
							
							In case where we had a very long message the experience of going between 
messages to see the full quote isn't very nice on desktop, therefore this commit
adds a button with additional hotkey to normalize the experience a bit.
Fixes https://github.com/vector-im/element-web/issues/18884  
							
						 
						
							2021-09-27 12:20:37 +02:00  
				
					
						
							
							
								 
						
							
							
								60174c9836 
								
									
								
							
								 
							
						 
						
							
							
								
								Add a better comment describing the behavior  
							
							
							
						 
						
							2021-09-14 14:51:17 +02:00  
				
					
						
							
							
								 
						
							
							
								ceafa83392 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix invalid ContextualMenu positions  
							
							
							
						 
						
							2021-09-13 22:11:58 +02:00  
				
					
						
							
							
								 
						
							
							
								e913f03a67 
								
									
								
							
								 
							
						 
						
							
							
								
								Add missing types  
							
							
							
						 
						
							2021-09-13 22:11:43 +02:00  
				
					
						
							
							
								 
						
							
							
								42d6afd4b1 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #6497  from matrix-org/t3chguy/fix/18093  
							
							
							
						 
						
							2021-07-30 12:25:44 +01:00  
				
					
						
							
							
								 
						
							
							
								a7c15b2ac0 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix DialPad and Call Menu buttons not working when a call is fullscreened. ( #6496 )  
							
							... 
							
							
							
							This PR:
* Moves the dialpad and hold/transfer menu buttons into the part of the DOM that's included when a call is fullscreen'd.
* Tweaks `ContextMenu` to allow menu content to be mount as a child of the current component, rather than at the root of the DOM (which was not included in the full-screen'd content).
<!-- Please read https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md  before submitting your pull request -->
<!-- Include a Sign-Off as described in https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md#sign-off  -->
`Signed-off-by: Andrew Morgan <andrewm@element.io>` 
							
						 
						
							2021-07-29 17:51:27 +01:00  
				
					
						
							
							
								 
						
							
							
								67ef263940 
								
							
								 
							
						 
						
							
							
								
								Refactor SpaceButton to be more reusable and add context menu to Home button  
							
							
							
						 
						
							2021-07-28 17:40:33 +01:00  
				
					
						
							
							
								 
						
							
							
								171874ae30 
								
							
								 
							
						 
						
							
							
								
								Use FocusLock around ContextMenus to simplify focus management  
							
							
							
						 
						
							2021-07-02 16:31:37 +01:00  
				
					
						
							
							
								 
						
							
							
								ae0a8b8da4 
								
							
								 
							
						 
						
							
							
								
								Auto-fix lint errors  
							
							
							
						 
						
							2021-06-29 13:11:58 +01:00  
				
					
						
							
							
								 
						
							
							
								f156c2db15 
								
							
								 
							
						 
						
							
							
								
								prevent reflow in app when accessing window dimensions  
							
							
							
						 
						
							2021-05-25 10:28:43 +01:00  
				
					
						
							
							
								 
						
							
							
								d0458332d5 
								
							
								 
							
						 
						
							
							
								
								fix roving tab index intercepting home/end in space create menu  
							
							
							
						 
						
							2021-05-14 11:22:20 +01:00  
				
					
						
							
							
								 
						
							
							
								c230a75eda 
								
							
								 
							
						 
						
							
							
								
								Flag structural components as replaceable  
							
							
							
						 
						
							2021-03-08 20:23:24 -07:00  
				
					
						
							
							
								 
						
							
							
								483d56320c 
								
							
								 
							
						 
						
							
							
								
								Beginning of space creation UX from space panel  
							
							
							
						 
						
							2021-03-01 17:47:40 +00:00  
				
					
						
							
							
								 
						
							
							
								72ff919512 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #5644  from weeman1337/fix-contextmenu-padding  
							
							... 
							
							
							
							Fix context menu leaving visible area 
							
						 
						
							2021-02-22 17:42:09 +00:00  
				
					
						
							
							
								 
						
							
							
								354925c2c8 
								
							
								 
							
						 
						
							
							
								
								Improve TS definitions  
							
							
							
						 
						
							2021-02-18 15:16:07 +00:00  
				
					
						
							
							
								 
						
							
							
								f343aaa05a 
								
									
								
							
								 
							
						 
						
							
							
								
								fix context menu padding calculation  
							
							... 
							
							
							
							Signed-off-by: Michael Weimann <mail@michael-weimann.eu> 
							
						 
						
							2021-02-14 18:37:06 +01:00  
				
					
						
							
							
								 
						
							
							
								4b43929aa3 
								
							
								 
							
						 
						
							
							
								
								Add in-call dialpad for DTMF sending  
							
							... 
							
							
							
							Requires https://github.com/matrix-org/matrix-js-sdk/pull/1573  
							
						 
						
							2021-01-04 20:01:43 +00:00  
				
					
						
							
							
								 
						
							
							
								2a02e57a95 
								
							
								 
							
						 
						
							
							
								
								Add UI for hold functionality  
							
							
							
						 
						
							2020-11-26 14:35:09 +00:00  
				
					
						
							
							
								 
						
							
							
								ed30750f63 
								
							
								 
							
						 
						
							
							
								
								Extract RoomWidgetContextMenu  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-09-30 15:38:35 +01:00  
				
					
						
							
							
								 
						
							
							
								98b59fb217 
								
							
								 
							
						 
						
							
							
								
								Consolidate all the work thus far  
							
							
							
						 
						
							2020-09-08 15:43:38 +01:00  
				
					
						
							
							
								 
						
							
							
								9ba33c7f80 
								
							
								 
							
						 
						
							
							
								
								Fix eslint ts override tsx matching and delint  
							
							
							
						 
						
							2020-08-29 01:11:08 +01:00  
				
					
						
							
							
								 
						
							
							
								b30ce0355e 
								
							
								 
							
						 
						
							
							
								
								Factor out Iconized Context Menu for reusabilit  
							
							
							
						 
						
							2020-08-04 21:42:39 +01:00  
				
					
						
							
							
								 
						
							
							
								4380ebcbb8 
								
							
								 
							
						 
						
							
							
								
								Add ContextMenuTooltipButton  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-07-17 16:43:24 +01:00  
				
					
						
							
							
								 
						
							
							
								8703bc1abc 
								
							
								 
							
						 
						
							
							
								
								Create a generic ARIA toolbar component which works with existing roving tab index context  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-07-15 03:47:35 +01:00  
				
					
						
							
							
								 
						
							
							
								8c2286a044 
								
							
								 
							
						 
						
							
							
								
								Move all the ContextMenu semantic helper (ARIA) components out to separate modules  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-07-07 15:24:46 +01:00  
				
					
						
							
							
								 
						
							
							
								afac330143 
								
							
								 
							
						 
						
							
							
								
								Merge branches 'develop' and 't3chguy/room-list/3' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/3  
							
							... 
							
							
							
							 Conflicts:
	src/components/structures/ContextMenu.tsx
	src/components/structures/UserMenu.tsx
	src/components/views/rooms/RoomSublist2.tsx
	src/components/views/rooms/RoomTile2.tsx 
							
						 
						
							2020-07-07 15:01:27 +01:00  
				
					
						
							
							
								 
						
							
							
								0854924b8d 
								
							
								 
							
						 
						
							
							
								
								iterate some more  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-07-02 23:51:02 +01:00  
				
					
						
							
							
								 
						
							
							
								404009c8cb 
								
							
								 
							
						 
						
							
							
								
								Merge branches 'develop' and 't3chguy/room-list/3' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/3  
							
							... 
							
							
							
							 Conflicts:
	src/components/structures/ContextMenu.tsx
	src/components/views/rooms/RoomSublist2.tsx 
							
						 
						
							2020-07-02 23:46:12 +01:00