Zoe
098df07c67
review feedback
2020-03-30 10:18:47 +01:00
Michael Telatynski
2a54a8aa85
Escape should cancel a reply
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-29 20:33:01 +01:00
Michael Telatynski
b2d905ef2c
Make FormatButton use AccessibleButtons
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-29 20:07:32 +01:00
Michael Telatynski
f586aaab35
Fix ugly scrollbars in TabbedView (settings), emojipicker and widgets
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-28 00:51:01 +00:00
J. Ryan Stinnett
37619dd127
Show red shield for users that become unverified
...
For any users that we previously verified but that are not unverified, we will
now mark them and rooms they are in with a red shield.
Fixes https://github.com/vector-im/riot-web/issues/12808
2020-03-28 00:21:18 +00:00
Zoe
5d7adef0a2
Factor out shield display rules into one file
2020-03-27 13:45:35 +00:00
Zoe
0f2e2ea069
Update shield display rules
2020-03-27 13:44:54 +00:00
Bruno Windels
053a5a5ff4
Merge pull request #4269 from ThobyV/thobyv/hide-formatBar-on-highlight-backspacing-message
...
Fix formatBar not hidden after highlight and backspacing some text
2020-03-26 13:19:06 +00:00
thobyv-kismat
1713006958
recommit bwindels commited changes to refactor check logic after rebase mistake
2020-03-26 14:03:38 +01:00
thobyv-kismat
2bd112ca7c
add delete support and to keyboard shortcuts
2020-03-26 12:40:31 +01:00
thobyv-kismat
c95b23f3ec
fix formatBar not hidden after highlight-backspacing text partially
2020-03-26 12:40:31 +01:00
David Baker
25e7bde7bc
Add a flag to control whether cross-signing signatures are trusted
...
Fixes: https://github.com/vector-im/riot-web/issues/12616
2020-03-25 18:38:12 +00:00
thobyv-kismat
b817c06c6e
fix failing linter tests
2020-03-24 19:09:50 +01:00
thobyv-kismat
91b9a04ede
refactor:consider checking if no placeholder
2020-03-24 19:00:43 +01:00
thobyv-kismat
d7953dfa6d
fix formatbar not hidden on highlighted message sent
2020-03-24 13:09:06 +01:00
Bruno Windels
cef1fd55b2
Merge pull request #4260 from matrix-org/bwindels/filtercanon-altaliases
...
Fix: filter room list (again) by canonical and alternative aliases
2020-03-23 12:48:03 +00:00
Bruno Windels
51c78809e6
filter room list by canonical and alternative aliases
2020-03-23 12:34:23 +01:00
Michael Telatynski
4da7ce10de
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-19 23:15:05 +00:00
Michael Telatynski
f5d490ee78
Tidy up code
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-19 23:11:28 +00:00
Michael Telatynski
d7ca374991
open room sublist when using alt-arrows to navigate into it, refire scroll event
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-19 22:07:22 +00:00
Michael Telatynski
7d28137cfd
Merge branches 'develop' and 't3chguy/shortcuts1' of github.com:matrix-org/matrix-react-sdk into t3chguy/shortcuts1
2020-03-19 19:18:20 +00:00
Michael Telatynski
578b3f2b97
Improve Keyboard Shortcuts. Add alt-arrows & alt-shift-arrows.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-19 19:07:33 +00:00
Hubert Chathi
c6ff6f2a79
Merge branch 'develop' into uhoreg/prepare_to_encrypt
2020-03-19 10:57:47 -04:00
Michael Telatynski
fb46258528
we don't do mx_fadable anymore so get rid of broken RLS disabling
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-19 13:57:36 +00:00
Hubert Chathi
3bb1422f93
pre-send megolm keys when possible when a user starts typing
2020-03-18 19:23:36 -04:00
Michael Telatynski
42ee157645
Merge pull request #4217 from matrix-org/t3chguy/gemini
...
Remove Gemini Scrollbars
2020-03-18 14:03:51 +00:00
David Baker
fafddc9b50
Merge pull request #4110 from aaronraimist/mac-redo
...
Fix redo keyboard shortcut on macOS
2020-03-18 11:33:13 +00:00
Travis Ralston
1453120c66
Merge pull request #4208 from matrix-org/matthew/jump-to-bottom-ublock
...
Rename 'jump to bottom' to avoid ublock block
2020-03-17 13:06:41 -06:00
Aaron Raimist
038888f2d4
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into mac-redo
2020-03-17 13:52:43 -05:00
Aaron Raimist
84a8ca6982
Fix typo
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-03-17 13:18:27 -05:00
Matthew Hodgson
af023a2d7c
rename 'jump to bottom' to avoid ublock block
2020-03-17 11:15:57 -06:00
J. Ryan Stinnett
93b8dee33c
Merge pull request #4227 from matrix-org/jryans/hide-video-config
...
Add default on config setting to control call button in composer
2020-03-17 11:56:34 +00:00
J. Ryan Stinnett
59b1cbd4b2
Add default on config setting to control call button in composer
...
This adds a default on setting that can be used to control whether call buttons
are shown in the composer via `settingDefaults` in config.json. No UI is added
to control it for now.
Fixes https://github.com/vector-im/riot-web/issues/12758
2020-03-17 11:33:10 +00:00
Michael Telatynski
a9f414dafe
Remove unused SearchableEntityList.js
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-13 23:23:23 +00:00
Michael Telatynski
6137e5d5d8
Fix typo in tabIndex to make React happy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-13 17:52:06 +00:00
Travis Ralston
f33c930c41
Revert "Merge pull request #3892 from krkc/move-read-receipts-to-bottom"
...
This reverts commit 191abb5b0d
.
2020-03-10 11:28:52 -06:00
Marco Zehe
3bff5c55cf
Remove extraneous tab stop from room tree view.
...
This was introduced some time ago when the room list became scrollable. Divs with overflow:scroll; become focusable for the keyboard in Firefox, but since we have keyboard handling for the whole compound widget, we don't need that tab stop on the tree view container div. Putting tabindex="-1" on it fixes it.
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-03-10 16:24:42 +01:00
Bruno Windels
0d8b4ac194
remove timeline tiles for m.room.aliases events
2020-03-09 18:23:32 +01:00
Travis Ralston
1975a8e082
Merge branch 'develop' into move-read-receipts-to-bottom
2020-03-05 17:13:24 -07:00
Travis Ralston
fcc28c4d4d
Merge pull request #4159 from mstriemer/mark-as-read-button
...
Include a mark as read X under the scroll to unread button
2020-03-05 11:01:12 -07:00
Simeon Keske
cf1d9cc8b5
make the linter happy
2020-03-04 22:46:07 +01:00
Simeon Keske
98f0a2ab67
show the room presence indicator, even when cross-singing is enabled
2020-03-04 22:30:24 +01:00
Mark Striemer
07348a65ad
Include a mark as read X under the scroll to unread button
2020-03-02 13:59:14 -06:00
Michael Telatynski
70bc405b6f
Merge pull request #4145 from MarcoZehe/ImproveUserListA11y
...
Hide user avatars from screen readers in group and room user lists.
2020-02-28 12:04:55 +00:00
Michael Telatynski
48dc671bcb
Merge pull request #4085 from matrix-org/t3chguy/alpha_room_list
...
Room List sorting algorithms
2020-02-28 12:04:10 +00:00
Marco Zehe
f4937a81cf
Fix formatting
...
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-02-28 12:56:53 +01:00
Marco Zehe
41e3e266e4
Hide user avatars from screen readers in group and room user lists.
...
Like in pill components, these only duplicate information for screen readers, so hide them.
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-02-28 12:40:43 +01:00
J. Ryan Stinnett
5325b5677f
Merge pull request #4142 from matrix-org/jryans/shift-composer-shortcut
...
Ignore cursor jumping shortcuts with shift
2020-02-27 16:09:20 +00:00
J. Ryan Stinnett
95bb6f0d76
Ignore cursor jumping shortcuts with shift
...
This tweaks the new cursor jumping shortcuts in the composer so that they only
activate without shift. When shift _is_ pressed, you want to extend the
selection instead of just moving.
Fixes https://github.com/vector-im/riot-web/issues/12549
2020-02-27 11:39:11 +00:00
Michael Telatynski
b3fbcd4521
Fix formatting buttons not marking the composer as modified
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-27 11:01:22 +00:00
Michael Telatynski
a1908a208e
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/alpha_room_list
...
Conflicts:
src/components/views/rooms/RoomList.js
src/stores/RoomListStore.js
2020-02-26 23:02:06 +00:00
Travis Ralston
30a0d88074
Don't print errors when the tab is used with no autocomplete present
...
Fixes https://github.com/vector-im/riot-web/issues/12461
Not a release blocker because the error is caught, and is at the end of the function. Just log spam.
2020-02-25 13:13:41 -07:00
Travis Ralston
866ed68615
Ensure DMs tagged outside of account data work in the invite dialog
...
Fixes https://github.com/vector-im/riot-web/issues/12418
Includes a refactor so we don't need to litter the code with the same magic string for DM tags.
2020-02-24 19:43:49 -07:00
Aaron Raimist
550ee216c6
Apply suggestions from code review
...
Co-Authored-By: David Baker <dbkr@users.noreply.github.com>
2020-02-24 18:22:07 -06:00
Zoe
866fdd6185
Merge pull request #4120 from matrix-org/foldleft/cancel-events
...
Show cancel events as hidden events if we wouldn't usually render them
2020-02-24 17:02:11 +00:00
Zoe
d01c58bd41
added comment
2020-02-24 16:54:10 +00:00
Zoe
91b85cd060
show cancel events as hidden events if we wouldn't usually render them
2020-02-24 16:51:06 +00:00
Travis Ralston
d2e7cc7f19
Merge branch 'develop' into feature/padLockInviteOnly
2020-02-24 09:50:06 -07:00
Michael Telatynski
72e5313a5a
Merge pull request #4113 from matrix-org/t3chguy/fix_downloading
...
Handle file downloading locally in electron rather than sending to browser
2020-02-24 13:37:16 +00:00
J. Ryan Stinnett
c0c22ba7f9
Merge pull request #4108 from matrix-org/jryans/a11y-editor-keyboard
...
Add shortcuts for beginning / end of composer
2020-02-24 12:02:03 +00:00
Michael Telatynski
d783ce86c8
Use noreferrer in addition to noopener for edge case browsers
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-23 22:14:29 +00:00
Michael Telatynski
3308152439
Fix a couple of React warnings/errors
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-23 14:10:41 +00:00
Matthew Hodgson
7696f704b2
Fix two big DOM leaks which were locking Chrome solid.
...
pillifyLinks leaked Pill components, which if they contained a BaseAvatar
would leak a whole DOM tree retained by the BaseAvatar's onClientSync
event listener. This tracks the Pill containers so they can be unmounted
via unmountPills.
BasicMessageComposer set an event listener on selectionchange in onFocus
which leaked if onBlur wasn't called. This removes it in unmount.
We've also seen Velociraptor retaining full DOM trees from RRs, which
this doesn't address as the leak is probably within Velocity, and the plan
is to replace it with CSS animations.
Should fix https://github.com/vector-im/riot-web/issues/12417
2020-02-22 23:51:30 +00:00
Aaron Raimist
42c6818f95
Remove debugger;
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-02-21 22:00:00 -06:00
Aaron Raimist
d3367834d0
Fix redo keyboard shortcut on macOS
...
I added the correct macOS shortcut for redo which is Cmd+Shift+Z. I had to reorder the if statement so redo is checked first, otherwise it would detect the undo first and never check that I was actually trying to redo.
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-02-21 21:56:58 -06:00
J. Ryan Stinnett
dc6a4854ce
Add shortcuts for beginning / end of composer
...
This adds Ctrl/Command+Home/End shortcuts for jumping to the start and end of
the composer contents.
Fixes https://github.com/vector-im/riot-web/issues/12438
2020-02-21 18:50:44 +00:00
Michael Telatynski
8087f18bf7
Remove unused props
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-14 10:32:42 +00:00
Marco Zehe
b83bc7db68
Always speak the full text of the typing indicator when it updates.
...
By default, aria-live regions only speak partial updates. However in the case of the typing indicator, if it goes from one person typing to several, and back, the updated text would only be spoken in fragments by screen readers. Adding the aria-atomic attribute with a value of true makes screen readers always speak the full update for this tile, making the experience much nicer.
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-02-14 11:12:41 +01:00
Michael Telatynski
256659e6f8
Merge pull request #4071 from MarcoZehe/MoveSidebarTabs
...
Move the sidebar to below the sidebar tab buttons for screen readers.
2020-02-13 18:31:25 +00:00
Marco Zehe
7840aa74fd
Fix ID to be namespaced
...
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-02-13 19:18:21 +01:00
Marco Zehe
6319407cab
Move the sidebar to below the sidebar tab buttons for screen readers.
...
Do this by aria-owning the sidebar into the header wrapper. aria-owned subtrees get added as the last child after all other child elements that are in the DOM. This way, if a sidebar tab is activated, the aside element now is inserted in a position following the tabs, before the main messages list. The association for screen readers is therefore more logical. This has no bearing on the DOM order or CSS properties. aria-owns simply rearranges the accessibility tree.
Fixes vector-im/riot-web/issues/11319
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-02-13 16:02:58 +01:00
Zoe
c3af1a2f95
don't be too magic about hiding tooltips
2020-02-13 13:47:39 +00:00
Zoe
9649f2a2da
don't show tooltips on big icons
...
fixes: https://github.com/vector-im/riot-web/issues/12191
2020-02-13 10:11:57 +00:00
unknown
06ba55e1a1
I have made changes according to turt2live recommandations, mainly css indentation and variable definition
2020-02-09 15:05:08 +01:00
rtestard
f023bcfd63
I have modified padlocks styling when the left panel is collapsed
2020-02-04 15:05:26 +01:00
Zoe
41f4b38fe8
Do not show alarming red shields on large encrypted rooms for your own device
...
Fixes: https://github.com/vector-im/riot-web/issues/12214
2020-02-03 16:53:32 +00:00
J. Ryan Stinnett
16f72140b9
Merge pull request #4016 from matrix-org/jryans/verif-status-text
...
Fix user trust text to match what was checked
2020-01-31 15:12:52 +00:00
J. Ryan Stinnett
0fad5a62b4
Fix user trust text to match what was checked
...
This fixes the unverified users status text to omit devices since they haven't
been checked.
Fixes https://github.com/vector-im/riot-web/issues/12176
2020-01-31 14:06:57 +00:00
J. Ryan Stinnett
b64ba1dbbf
Add temporary feature flag to control padlocks
...
This default on feature flag will help in case we want to trial padlocks on vs.
off this weekend.
Fixes https://github.com/vector-im/riot-web/issues/12166
2020-01-31 11:09:49 +00:00
J. Ryan Stinnett
68b2454920
Merge pull request #4006 from matrix-org/jryans/user-list-deco
...
Add shields to member list, move power label to text
2020-01-31 10:20:13 +00:00
J. Ryan Stinnett
3ef7e5113b
Move power label to right of name
...
The power label is shown to the right of the name, but hidden on hover.
Part of https://github.com/vector-im/riot-web/issues/11940
2020-01-30 22:09:57 +00:00
J. Ryan Stinnett
57c4293fc6
Add verification status icons to room members
...
This displays verification status on each room member tile using the same shield
logic as elsewhere.
Part of https://github.com/vector-im/riot-web/issues/11940
2020-01-30 21:38:40 +00:00
David Baker
39e9bffe1f
Make encryption events into bubble-style tiles
...
Factors out the verification tile stuff into encryption event
styles so we can reuse them betwen all the encryption event tiles.
Also makes the event list summary stuff even more gnarly by
putting the encryption event tile above the group. We really need
to refactor that. :/
Fixes https://github.com/vector-im/riot-web/issues/12006
2020-01-30 20:03:26 +00:00
J. Ryan Stinnett
bae35c0859
Change power icon to label instead
2020-01-30 16:40:25 +00:00
J. Ryan Stinnett
ceebb7dc55
Remove unused Entities, UserTile modules
2020-01-30 16:40:25 +00:00
Michael Telatynski
52ed55d887
Update placeholder when it changes, not sure how this ever worked
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-30 00:23:19 +00:00
J. Ryan Stinnett
81ee27f41e
Replace device with session in UI text
...
This replaces "device" with "session" throughout user-visible text at the React
layer. Variable names and comments are left as-is for now.
2020-01-29 15:52:32 +00:00
Michael Telatynski
83fdeeb180
Fix MemberInfo handling User objects without crashing
2020-01-29 07:53:23 +00:00
Zoe
1964e18315
Fix issue where we don't notice if our own devices shouldn't be trusted
2020-01-27 16:40:56 +00:00
Zoe
e224150190
detail pass on DMs
2020-01-27 12:17:12 +00:00
Travis Ralston
169ca4a4da
Merge pull request #3926 from matrix-org/travis/event-tile-trace
...
Add trace logging to figure out which component is causing weird events
2020-01-24 08:57:43 -07:00
Zoe
543be90eda
Merge pull request #3931 from matrix-org/foldleft/12035-room-decoration-design-pass
...
Design pass for room icons
2020-01-24 13:54:51 +00:00
Zoe
75da5b7944
Design pass for room icons
2020-01-24 13:37:47 +00:00
Zoe
131aacd3ab
Merge pull request #3929 from matrix-org/zip/11840-tooltips-on-padlocks
...
Seperates out the padlock icon, and adds a tooltip
2020-01-24 13:26:59 +00:00
Michael Telatynski
2c40b73ff6
Merge pull request #3910 from matrix-org/t3chguy/cross-signing-composer
...
Cross Signing redesign for composer
2020-01-24 13:18:09 +00:00
Zoe
a6fcbcacf6
Seperates out the padlock icon, and adds a tooltip
...
Fixes https://github.com/vector-im/riot-web/issues/11840
2020-01-24 12:06:21 +00:00
Zoe
1d686fe49e
Merge pull request #3908 from matrix-org/zip/11935-room-list-decoration
...
Room list reflects encryption state
2020-01-24 11:14:53 +00:00
Michael Telatynski
b72ab57e1b
add <Tooltip/> to <E2EIcon/>
2020-01-24 10:13:03 +00:00
Travis Ralston
ebcc4d573b
Add trace logging to figure out which component is causing weird events
...
For https://github.com/vector-im/riot-web/issues/11120
2020-01-23 20:10:31 -07:00
Travis Ralston
915c4efeac
Ensure a plaintext version of the composer ends up on the clipboard
...
Fixes https://github.com/vector-im/riot-web/issues/12018
2020-01-23 15:53:32 -07:00