Michael Telatynski
7fa01ffb06
Improve typing around event emitter handlers ( #7816 )
2022-02-22 12:18:08 +00:00
Robin
bb79c6086a
Don't pillify code blocks ( #7861 )
...
* Don't pillify code blocks
Signed-off-by: Robin Townsend <robin@robin.town>
* Test that pills do not appear in code blocks
Signed-off-by: Robin Townsend <robin@robin.town>
* Use snapshot instead for test
Signed-off-by: Robin Townsend <robin@robin.town>
2022-02-22 06:46:34 -05:00
Michael Telatynski
8fccef86d8
Wire up drag-drop file uploads for the thread view ( #7860 )
2022-02-22 11:14:56 +00:00
Michael Telatynski
2a55d22916
Wire up CallEventGroupers for Search Results ( #7866 )
2022-02-22 10:39:08 +00:00
Kerry
5b8d440406
type Actions ( #7862 )
...
* type ViewHomPage action
Signed-off-by: Kerry Archibald <kerrya@element.io>
* type spacestore actions
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add action types
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use new action types in stores
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove debug change
Signed-off-by: Kerry Archibald <kerrya@element.io>
* stricter keyboard shortcut types
Signed-off-by: Kerry Archibald <kerrya@element.io>
* action comments
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-22 10:04:27 +00:00
Kerry
9db59d75b9
Bump react-focus-lock ( #7858 )
...
* react-focus-lock to 2.5.1
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use enzyme in ASSD test so focus lock finds active element
Signed-off-by: Kerry Archibald <kerrya@element.io>
* findById and flushPromises to test utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-21 17:09:01 +00:00
Kerry
8b9263c808
Clean up some unit test logs ( #7857 )
...
* kill some unit test logs in arrays-test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove mock logs that are asserted against anyway
* remove more logs
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix safeCOunterpartTranslate warnings in tests
Signed-off-by: Kerry Archibald <kerrya@element.io>
* more safeCounterpartTranslate warnings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove more logs
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add helper
Signed-off-by: Kerry Archibald <kerrya@element.io>
* naming
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-21 16:57:44 +00:00
David Baker
572fa99e67
Fix virtual / native room mapping on call transfers ( #7848 )
...
* Fix virtual / native room mapping on call transfers
By just sending them through the same code path as regular calls.
Also re-do the tests & add a test for transfer specifically.
* Optional arg
* Types
2022-02-21 12:17:09 +00:00
Andy Balaam
f1e1b7be86
Support "closed" polls whose votes are not visible until they are ended ( #7842 )
2022-02-21 10:21:35 +00:00
Kerry
fc9a221371
Focus trap in poll creation dialog ( #7847 )
...
* add autofocus
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* scope ids
Signed-off-by: Kerry Archibald <kerrya@element.io>
* whitespace
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-18 16:35:08 +00:00
Michael Telatynski
38a547b5d0
Remove ResizeObserver Polyfill ( #7844 )
2022-02-18 13:51:27 +00:00
Kerry
6fccd6b183
add cursor: pointer to actionable poll options ( #7826 )
...
* add cursor: pointer to actionable poll options
Signed-off-by: Kerry Archibald <kerrya@element.io>
* eof
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-18 11:43:07 +01:00
Kerry
08a0c6f86c
Don't aggregate rooms and users in SpaceStore ( #7723 )
...
* add direct child maps
* track rooms, users and space children in flat hierarchy in spacestore
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update spacefiltercondition to use new spacestore
* remove unused code
Signed-off-by: Kerry Archibald <kerrya@element.io>
* typos
Signed-off-by: Kerry Archibald <kerrya@element.io>
* only build flattened rooms set once per space when updating notifs
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove unnecessary currying
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rename SpaceStore spaceFilteredRooms => roomsIdsBySpace, spaceFilteredUsers => userIdsBySpace
Signed-off-by: Kerry Archibald <kerrya@element.io>
* cache aggregates rooms and users by space
Signed-off-by: Kerry Archibald <kerrya@element.io>
* emit events recursively up parent spaces on changes
Signed-off-by: Kerry Archibald <kerrya@element.io>
* exclude meta spaces from aggregate cache
Signed-off-by: Kerry Archibald <kerrya@element.io>
* stray log
* fix emit on member update
Signed-off-by: Kerry Archibald <kerrya@element.io>
* call order
Signed-off-by: Kerry Archibald <kerrya@element.io>
* extend existing getKnownParents fn
Signed-off-by: Kerry Archibald <kerrya@element.io>
* refine types and comments
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-17 21:24:05 +01:00
Michael Telatynski
658590e5bc
More posthog tracking around joining rooms and room search ( #7807 )
2022-02-17 18:03:27 +00:00
J. Ryan Stinnett
a939184e10
Tear down AppTile using lifecycle tracking ( #7833 )
2022-02-17 16:30:36 +00:00
Andy Balaam
93d4364455
Prevent forwarding polls ( #7819 )
2022-02-17 10:57:12 +00:00
David Baker
3be74d38d6
Fix src/lib import ( #7825 )
2022-02-17 10:06:19 +00:00
David Baker
01b00bf3fe
Add test for RoomNotificationState ( #7820 )
...
Regression test for https://github.com/vector-im/element-web/issues/20859
2022-02-17 09:18:37 +00:00
Andy Balaam
7387f3c80a
Allow editing polls ( #7806 )
2022-02-17 09:13:05 +00:00
Šimon Brandner
81f52283cf
Don't change KEYBOARD_SHORTCUTS
and do some refactoring ( #7818 )
2022-02-16 15:24:00 +00:00
J. Ryan Stinnett
0dc1355441
Fix right panel data flow ( #7811 )
2022-02-16 11:19:28 +00:00
dependabot[bot]
b5e3ba28d9
Bump ajv from 6.10.0 to 6.12.6 in /test/end-to-end-tests ( #7792 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.10.0 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.0...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kerry Archibald <kerrya@element.io>
2022-02-15 13:52:35 -07:00
David Baker
5fe8442f44
Add an end-to-end test for stickers ( #7733 )
...
* Add an end-to-end test for stickers
* More logs on login
* Wait for spinners to go away
* Factor out spinner waiting as it seems useful
* Move stickers to the end
* More waiting
* When all else fails... add sleeps
* Waiting for the server picker to appear seems to work..?
* Typos
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
* remove commented code from registration usecase
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-02-15 11:49:53 +00:00
Andy Balaam
84e15fa148
Display '(edited)' next to edited polls ( #7789 )
2022-02-15 08:52:51 +00:00
Michael Telatynski
cfa6e266cd
Wire up new fields on the ViewRoom posthog event and more interactions ( #7787 )
2022-02-14 19:31:13 +00:00
David Baker
1c3507bc11
Use the shared secret registration API directly ( #7774 )
...
* Use the shared secret registration API directly
rather than invoking the synapse module to do it. It's probably
a bit simpler, if anything, and allows for synapse to be run in
a separate container (or rather, avoids the javascript having to have
a copy of synapse source & server config).
* Make registration secret required
Update commander (8 major versions!) to get requiredOption
* Wrong options object :/
2022-02-11 17:03:22 +00:00
Kerry
b5e7d12f76
Add config option to autorageshake when key backup is not enabled ( #7741 )
...
* report on not enabled
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add setting
Signed-off-by: Kerry Archibald <kerrya@element.io>
* check key backup status after crypto init
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove log
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test encryption setup in DeviceListener
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* sendLogs for key backup auto-report event
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove reloadOnChagneController
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-11 14:00:37 +01:00
Michael Telatynski
ac6a356027
End-to-end test alias publishing flow ( #7779 )
2022-02-11 11:37:31 +00:00
Charlie Calendre
8103e606c4
Fix translation for keyboard shortcut displaynames ( #7758 )
2022-02-10 09:11:35 +00:00
Kerry
818fddd72c
Add customisation point to disable space creation ( #7766 )
...
* mock matchMedia in jest setup
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use UIComponent.CreateSpaces in space panel
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* hide add space in spacecontextmenu
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use UIComponent customistations in space oom view add space button
Signed-off-by: Kerry Archibald <kerrya@element.io>
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-09 17:21:40 +01:00
Michael Telatynski
5620b83d34
Wire up more Posthog tracking ( #7689 )
2022-02-09 14:25:58 +00:00
Michael Telatynski
714136d4f7
Consolidate RedactionGrouper and HiddenEventGrouper into MELS ( #7739 )
2022-02-09 10:51:12 +00:00
Kerry
30d1ac1eea
unit test basic paths in UserInfo ( #7740 )
...
* unit test main paths in UserInfo component
Signed-off-by: Kerry Archibald <kerrya@element.io>
* one more test case
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove BasicUserInfo export
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-08 12:14:52 +00:00
Germain
544957bdad
Use typographical quotes in no threads UI ( #7713 )
2022-02-07 15:13:34 +00:00
Michael Telatynski
5d89230271
Remove IA 1.1 feedback toast ( #7720 )
2022-02-07 12:46:48 +00:00
Michael Telatynski
78e78292cb
Update PollCreateDialog-test to snapshot the html and not react tree ( #7712 )
2022-02-03 11:54:03 +00:00
Kerry
292971dd0e
Upgrade to jest 27 ( #7699 )
...
* use jest@27.4.0, replace jest-environment-jsdom-sixteen with jest-environment-jsdom
Signed-off-by: Kerry Archibald <kerrya@element.io>
* polyfill setImmediate
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove done from async test cases
* useRealTimers in test relying on promise flushing
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove jest environment file
Signed-off-by: Kerry Archibald <kerrya@element.io>
* replace ts-jest mocked with jest utils mocked
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-02 13:02:17 +01:00
Kerry
cb1c94dd2b
Fix leaks in Login unit tests ( #7704 )
...
* make Login-test tsx, fix leaks
Signed-off-by: Kerry Archibald <kerrya@element.io>
* missed lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-02 11:18:55 +00:00
Andy Balaam
f5226f9d5b
Simplify Composer buttons ( #7678 )
...
* Render a CollapsibleButton's children (needed by UploadButton)
* Make UploadButton ready to live inside an overflow menu
* Always show overflow menu in composer: main buttons are emoji and attach
* Re-order composer buttons as per design
* Re-word composer button captions to be simple nouns
* Don't rotate More options button when clicked
* Move the composer menu and dialogs 16px in from right
* Reduce shadow on composer More menu
* From review: remove else clause
* From review: take input out of button
* Update test snapshots
* Update snapshots
2022-02-02 09:30:53 +00:00
Germain
5973d725e0
Add new threads to the panel as they are discovered ( #7688 )
2022-02-01 15:01:00 +00:00
Michael Telatynski
991257cbc3
Fix accessibility and consistency of MessageComposerButtons ( #7679 )
2022-01-31 16:05:05 +00:00
Šimon Brandner
a17d585a12
Work towards unifying KeyboardShortcuts
and KeyBindingsDefaults
#2 ( #7674 )
2022-01-31 15:55:45 +00:00
Kerry
085ecc7f5f
Chat export parameter customisation ( #7647 )
...
* use export settings and hide fields
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix exporter tests
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test ExportDialog with settings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tidy debugs, rename setting to Parameters
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use reasonable 100gb limit
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use normal setting instead of UIFeature
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use a customisation
Signed-off-by: Kerry Archibald <kerrya@element.io>
* move validateNumberInRange to utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use nullish coalesce
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use 8gb size limit for customisation
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update comments
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-31 12:54:14 +01:00
Andy Balaam
2229437424
Refactor renderButtons() into MessageComposerButtons component ( #7664 )
2022-01-28 15:44:03 +00:00
Eric Eastwood
7fa27f5834
Add jump to date functionality to date headers in timeline v2 ( #7339 )
...
Fix https://github.com/vector-im/element-web/issues/7677
Utilizes MSC3030: https://github.com/matrix-org/matrix-doc/pull/3030
https://user-images.githubusercontent.com/558581/150060664-79627573-f4fd-497c-b726-dc3485854bd0.png
2022-01-27 16:32:12 -06:00
Šimon Brandner
57a5647079
Work towards unifying KeyboardShortcuts
and KeyBindingsDefaults
#1 ( #7651 )
2022-01-27 11:37:53 +00:00
Michael Telatynski
f2249b3e37
Fix CallEventGrouper map building to not occur during a Render phase ( #7638 )
2022-01-27 11:08:28 +00:00
Kerry
3eca71bc84
Unit test ExportDialog ( #7619 )
...
* add test ids to dialog buttons
Signed-off-by: Kerry Archibald <kerrya@element.io>
* unit test ExportDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove extra snapshot
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix bad snapshots
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove wrappers from snapshot
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-27 09:55:08 +01:00
David Baker
225f8940c9
Revert "Start a conference in a room with 2 people + invitee rather than a 1:1 call ( #7557 )" ( #7641 )
...
This reverts commit 8ced6e6117
.
2022-01-26 13:31:00 +00:00
Kerry
f7a3027e50
runAllTimers -> runOnlyPendingTimers in SpaceStore-test ( #7634 )
...
* runAllTimers -> runOnlyPendingTimers in SpaceStore-test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* runAllTimers for switch to first valid space when selected metaspace is disabled
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-26 11:38:07 +01:00
J. Ryan Stinnett
51a44f491e
Upgrade linkifyjs to fix schemes as domain prefixes ( #7628 )
2022-01-25 17:37:54 +00:00
Michael Telatynski
8ddd677c35
De-labs Metaspaces ( #7613 )
2022-01-25 12:33:17 +00:00
Kerry
502b805164
Add customisation point for mxid display ( #7595 )
...
* add wrapping component for hiding UI
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add Setting
Signed-off-by: Kerry Archibald <kerrya@element.io>
* apply setting to profile settings, user menu, invite dialog, userinfo
Signed-off-by: Kerry Archibald <kerrya@element.io>
* hide mxids in user autocomplete
* remove mxids from title in memeber list and timeline
Signed-off-by: Kerry Archibald <kerrya@element.io>
* hide mxid in ConfirmUserActionDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use name in power level event message when displayMxids is falsy
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add customisation point for mxid display
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use userid customisation
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use customisation in sender profile
Signed-off-by: Kerry Archibald <kerrya@element.io>
* hide profile settings mxid if falsy
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rename and move to components
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove change to UIFeature.ts
Signed-off-by: Kerry Archibald <kerrya@element.io>
* improvements from pr
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint fix
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-25 10:40:02 +01:00
Kerry
b481fc069e
Wrapping component to show/hide UI based on UIFeature setting ( #7585 )
...
* add wrapping component for hiding UI
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rename and move to components
Signed-off-by: Kerry Archibald <kerrya@element.io>
* prefix interface and add missing copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove roomId prop
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-25 10:25:41 +01:00
Šimon Brandner
5f18e4888c
Improve the look of the keyboard settings tab ( #7562 )
...
* First cut of new keyboard shortcuts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove unused code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Amend shortcuts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve CATEGORIES struct
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add tests for registerShortcut()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Simplifie code tiny bit
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Translate ALTERNATE_KEY_NAME
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix `key` usage
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Export components for tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Write snapshot tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-01-24 11:33:27 +00:00
Kerry
8a9d869b8e
test textForCanonicalAliasEvent ( #7591 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-20 12:10:56 -07:00
Travis Ralston
6712a5b1c5
Parse matrix-schemed URIs ( #7453 )
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
Co-authored-by: Dariusz Niemczyk <dariuszn@element.io>
Co-authored-by: Timo K <toger5@hotmail.de>
With this pr all href use matrix matrix.to links. As a consequence right-click copy link will always return get you a sharable matrix.to link.
2022-01-20 18:18:47 +01:00
Faye Duxovni
582a1b093f
Track decryption failures for visible events only, with a shorter grace period ( #7579 )
2022-01-19 14:31:43 -05:00
Andy Balaam
2743a75a21
Display general marker on non-self location shares ( #7574 )
2022-01-19 09:33:49 +00:00
Germain
41b9e4aa4f
Implement reply chain fallback for threads backwards compatibility ( #7565 )
2022-01-19 09:06:48 +00:00
Eric Eastwood
a00d359422
Fix left positioned tooltips being wrong and offset by fixed value ( #7551 )
...
Previously, the `left` positioning seemed to only work with icons which are all about the same size so the arbitrary offset worked. Now we actually position off to the left of the element and we have equal `margin-left` and `margin-right` to determine the offset.
Spawned from https://github.com/matrix-org/matrix-react-sdk/pull/7339#discussion_r767154349
2022-01-18 21:08:11 -06:00
Šimon Brandner
1d45921d14
Improve/add notifications for location and poll events ( #7552 )
...
* Add getSenderName()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Handle location and poll event notifications
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* pollQuestions -> pollQuestion
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make lookup safe and remove poll end event lookup as it wouldn't work
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-01-18 17:58:31 -07:00
Dariusz Niemczyk
336e1ae3b6
Upgrade linkify to v3.0 ( #7282 )
...
Co-authored-by: Timo K <toger5@hotmail.de>
2022-01-18 18:24:16 +01:00
Šimon Brandner
8ced6e6117
Start a conference in a room with 2 people + invitee rather than a 1:1 call ( #7557 )
...
* Start a conference call in a room with 2 people + invitee rather than a 1:1
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-01-17 13:46:55 -07:00
Travis Ralston
65987e6b72
Move all polls processing to events-sdk & prep for stable polls ( #7517 )
...
* Move all polls processing to events-sdk
This makes polls support the full range of extensible events (both parsing and generation).
* Appease the linter
* Fix & update tests
* Update events-sdk for polls bugfix
* Update events-sdk for typechecking
* Add missing type cast
* Update per review
2022-01-17 10:06:30 -07:00
Michael Telatynski
f4a6219c88
Replace kick
terminology with Remove from chat
( #7469 )
2022-01-14 13:08:34 +00:00
Michael Telatynski
ec6c1b8272
Fix RoomViewStore forgetting some details of a view room call ( #7512 )
2022-01-12 13:12:28 -07:00
Germain
61116377f3
Fix composer localStorage key for draft event in a thread ( #7526 )
2022-01-12 17:13:47 +00:00
Andy Balaam
5ae166777c
Update test snapshots to reflect new field in Room ( #7523 )
2022-01-12 13:14:33 +00:00
Michael Telatynski
3c1ce77d48
Properly maintain aspect ratio of inline images ( #7503 )
2022-01-10 15:32:06 +00:00
Kerry
5cfb046816
fallback properly with pluralized strings ( #7495 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-10 14:54:57 +01:00
J. Ryan Stinnett
6199c337ea
Fix spacing errors ( #7484 )
2022-01-10 12:57:20 +00:00
Aaron Raimist
c03cb67aef
Disable "Publish this room" option in invite only rooms ( #7441 )
2022-01-10 11:46:30 +00:00
Kerry
d4250918cf
fix fallback for pluralized strings ( #7480 )
...
* fix fallback for pluralized cases
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add test case for no pluralizer
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-07 16:20:24 +01:00
Kerry
fed53a268b
A11y - fix anchors-as-buttons ( #7444 )
...
* add link_inline accessiblebutton variant
* valid anchors in SecurityRoomSettingsTab
Signed-off-by: Kerry Archibald <kerrya@element.io>
* new room intro link button
Signed-off-by: Kerry Archibald <kerrya@element.io>
* replace anchor with button in rerequest encryption keys message
Signed-off-by: Kerry Archibald <kerrya@element.io>
* inline button in UrlPreviewSettings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* ButtonResetDefault mixin
Signed-off-by: Kerry Archibald <kerrya@element.io>
* inline link buttons in TextForEvent
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in InviteDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in DevToolsDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in login/registration/reset pword flows
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix types after fixing anchors in devtools
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in MemberEventListSummary
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in ReactionsRow and RoomUpgrade
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in ReplyChain
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix more anchors
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in auth comps
* stylelint fixes
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove ignore of jsx-a11y rule that is not added yet
Signed-off-by: Kerry Archibald <kerrya@element.io>
* devtools style important explainer
Signed-off-by: Kerry Archibald <kerrya@element.io>
* translate button alt in devtools dialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* AccessibleButton is reactionsrow
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix viewsourcevent button placement, use AccessibleButton
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use AccessibleButton in EventTile
Signed-off-by: Kerry Archibald <kerrya@element.io>
* unignore jsx-a11y/anchor-is-valid
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix lint issue in test jsx
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update coment
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-07 10:40:53 +01:00
Kerry
dc2d52c1f2
a11y - wrap notification level radios in fieldsets ( #7471 )
...
* notification settings radios table -> fieldset
Signed-off-by: Kerry Archibald <kerrya@element.io>
* aria-label for inputs
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update tests for fielset
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove unneccessary wrapping div
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix stylelint
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 18:52:06 +01:00
Kerry
b1066a5699
Wrap inputs in fieldsets in Space visibility settings ( #7350 )
...
* use fieldset in space settings > visibility
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add basic tests for space setttings visibility
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix toggle button placement
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update settings separator color to quinary
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 10:09:26 +00:00
Kerry
92ee02fe02
unit test Notifications.tsx ( #7468 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 09:47:03 +00:00
Kerry
7f13a1b40a
Attribute fallback i18n strings with lang attribute ( #7323 )
...
* add lang attribute to fallback translations
Signed-off-by: Kerry Archibald <kerrya@element.io>
* readability improvement
Signed-off-by: Kerry Archibald <kerrya@element.io>
* split _t and _tDom
Signed-off-by: Kerry <kerry@Kerrys-MBP.fritz.box>
* use tDom in HomePage
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* bump matrix-web-i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-05 11:37:28 +01:00
Kerry
03f5a3c3e6
Associate room alias warning with public option in settings ( #7430 )
...
* add describedby to styledradiogroup description
Signed-off-by: Kerry Archibald <kerrya@element.io>
* alias warning in description
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update snapshot
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-03 09:55:09 +01:00
Andy Balaam
b412067b24
Fix nulls leaking into geo urls ( #7433 )
2021-12-21 16:56:28 +00:00
Andy Balaam
a239c456e3
Allow opening a map view in OpenStreetMap ( #7428 )
2021-12-21 15:48:20 +00:00
Renan Cleyson
9ac85bcaa3
Fix list formatting alternating on edit ( #7422 )
...
Co-authored-by: Andy Balaam <andyb@element.io>
2021-12-21 10:07:44 +00:00
Andy Balaam
8b2a478a25
Update location text fallback and test it ( #7408 )
2021-12-21 09:37:06 +00:00
Kerry
61e3c38b19
Add configuration to disable relative date markers in timeline ( #7405 )
...
* add disabler elative dates setting
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test existing DateSeparator
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use full date format when TimelineDisableRelativeDates is truthy
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
* flip timelineDisableRelativeDates -> timelineEnableRelativeDates to fit convention
Signed-off-by: Kerry Archibald <kerrya@element.io>
* mock date constructor in test
Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-21 10:08:22 +01:00
Travis Ralston
b90a0c443d
Fix end-to-end tests (synapse setup) ( #7420 )
...
* Update install.sh
* Update install.sh
* Update develop.yml
* Update install.sh
* Update develop.yml
* Update install.sh
* Update install.sh
* Work around suspected frozendict bug
* Faff around with install-webserver.sh
* Actually I don't think these clash anyway
* Minor cleanup
* Add comments
Co-authored-by: Olivier <olivier@librepush.net>
2021-12-21 02:12:07 +00:00
Eric Eastwood
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
Andy Balaam
670d7824ec
Tidy location code ( #7402 )
2021-12-17 12:26:02 +00:00
Andy Balaam
bd226cd062
Tests for getGeoUri ( #7400 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-17 10:58:24 +00:00
Andy Balaam
144e4c61fc
Avoid NaNs in parseGeoUri return ( #7396 )
2021-12-17 09:50:27 +00:00
Michael Telatynski
39c4b78371
Space preferences for whether or not you see DMs in a Space ( #7250 )
2021-12-17 09:26:32 +00:00
Andy Balaam
9a8265429c
Unit tests for parseGeoUri ( #7395 )
2021-12-16 14:20:55 +00:00
Andy Balaam
43839adec0
Use constants from js-sdk in polls code ( #7381 )
2021-12-15 14:26:26 +00:00
Kerry
46b0865e89
Add Heading components ( #7362 )
...
* add Heading components
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove margins
Signed-off-by: Kerry Archibald <kerrya@element.io>
* snapshots
Signed-off-by: Kerry Archibald <kerrya@element.io>
* unset block and inline margins
Signed-off-by: Kerry Archibald <kerrya@element.io>
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix werid quoting on heading test
Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-15 11:00:10 +01:00
Michael Telatynski
fcc4939075
Fix naming of set-theory utils to match convention ( #7343 )
2021-12-13 10:57:51 +00:00
Dominik Henneke
908e938996
Keep all previously approved widget capabilities when requesting new capabilities ( #7340 )
2021-12-13 10:34:04 +00:00
Andy Balaam
5554d7fdc1
Don't send a poll response event if you are voting for your current c… ( #7326 )
2021-12-10 12:36:53 +00:00
Germain
a727961c43
Adding missing TypeScript dependency ( #7330 )
2021-12-10 12:28:44 +00:00
Andy Balaam
fc96af5014
Show poll question in message preview ( #7320 )
2021-12-10 12:17:26 +00:00
Michael Telatynski
914b61239c
Spotlight search labs ( #7116 )
2021-12-10 11:50:01 +00:00
Travis Ralston
8a0398b632
Fix remaining import ordering requirements
2021-12-09 16:09:20 -07:00
Travis Ralston
e4b96cff1f
Merge remote-tracking branch 'aaronraimist/sort-imports' into develop
2021-12-09 16:03:59 -07:00
Kerry
2e3f225520
Put room settings form elements in fieldsets ( #7311 )
...
* override default fieldset styles
Signed-off-by: Kerry Archibald <kerrya@element.io>
* SettingsFieldset component
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test settings fieldset
Signed-off-by: Kerry Archibald <kerrya@element.io>
* refactor SettingsFlag styles
* use SettingsFieldset in room > securit settings
* use fieldset in urlpreviewsettings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use SettingsFieldset in AliasSettings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fieldset in room > roles settings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* css lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* run i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fussy order
Signed-off-by: Kerry Archibald <kerrya@element.io>
* default export
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix copyright headers
Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-09 18:44:22 +01:00
Kerry
3c1ee204a0
default export for TooltipTarget ( #7319 )
...
* default export for TooltipTarget
Signed-off-by: Kerry Archibald <kerrya@element.io>
* newline
Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-09 13:36:55 +01:00
Kerry
1216285ed2
Add descriptions to ambiguous links for screen readers ( #7310 )
...
* add title to room share link
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add ExternalLink component
Signed-off-by: Kerry Archibald <kerrya@element.io>
* unit test ExternalLink
Signed-off-by: Kerry Archibald <kerrya@element.io>
* default target and rel for external link
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use scss $font variables
Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-09 13:04:06 +01:00
Kerry
d7a6e3ec65
Correct tab order in room preview dialog ( #7302 )
...
* tab order
* lint fixes
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test RoomPreviewBar
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add copyright header
Signed-off-by: Kerry Archibald <kerrya@element.io>
* Update src/components/views/rooms/RoomPreviewBar.tsx
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* fix tabs/spaces lint for reformatted actions
Signed-off-by: Kerry Archibald <kerrya@element.io>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-09 11:48:58 +01:00
Kerry
0c850b2f13
Make tooltips keyboard accessible ( #7281 )
...
* show tooltips on hover in eventtile
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use tooltip props pass thru
* use tooltiptarget in InfoTooltip
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use target in TestWithTooltip
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tsc fixes
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test tooltip target
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint fix
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rename tooltip handlers
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update copyright to 2021
Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-09 11:47:50 +01:00
Aaron Raimist
5b293dd6df
Remove files created by merge
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:21:12 +00:00
Aaron Raimist
2e8a93834b
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:10:23 +00:00
Aaron Raimist
7b94e13a84
Merge branch 'develop' into sort-imports
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 08:34:20 +00:00
Andy Balaam
2b52e17a80
Allow ending polls ( #7305 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-08 14:56:48 +00:00
Kerry
697b5d28b3
fix leaking registration test ( #7304 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-08 10:34:24 +01:00
Renan Cleyson
b4b81a455e
Fix wrong indentation with nested ordered list unnesting list on edit ( #7300 )
2021-12-07 09:46:04 +00:00
James Salter
43f264ccfc
Integrate analytics stubs ( #7186 )
...
* Add matrix-analytics-events as a dependency
* Make IEvent look like a stub definition
* Update pageview tracking to track screens, using a hypothetical definition of a screen event
* Remove distinction between pseudo and anon tracking, will need to rework it considering stubs
2021-12-06 21:43:42 +11:00
Matthew Hodgson
1262021417
Simple static location sharing ( #7135 )
...
Adds maplibre as a dependency, and behind a labs flag, lets users send and receive [MSC3488](https://github.com/matrix-org/matrix-doc/blob/matthew/location/proposals/3488-location.md ) style location shares - with backwards compatibility with old school `m.location` `msgtype` location shares too.
For this to work, you have to define a valid maptile server and API in your config.json's `map_style_url`.
2021-12-06 09:45:12 +00:00
James Salter
d4813f7a1a
Convert end-to-end tests to Typescript ( #7206 )
2021-12-06 09:59:06 +11:00
James Salter
5219b6be80
Analytics opt in for posthog ( #6936 )
...
* Add a new flag pseudonymousAnalyticsOptIn replacing analyticsOptIn, stored at account level, so people only need to opt in once.
* Show a toast in login to users that have analyticsOptIn set but not yet pseudonymousAnalyticsOptIn prompting them confirm the new method is okay. Update the copy of the existing opt-in toast. Don't notify users that previously opted out.
* Update the copy in settings
* Add a new learn more dialog
* Support a new config flag analyticsOwner which is used in these toasts when explaining which entity the data is sent to ("Help improve %(analyticsOwner)"). If unset, display brand. This allows deployments whose brand differs from the receiver of the analytics to explain the situation to their users (e.g. AcmeCorp badges their app, but explains the data is sent to Element, not them)
* The new opt-in and flags are only used when posthog is configured; prior to that there are no changes to UX or tracking behaviour.
2021-12-06 09:39:33 +11:00
Dariusz Niemczyk
961fec9081
Refactor matrix-linkify module ( #7279 )
...
Refactor the module to make it easier for upgrade and proper separation of code contexts
2021-12-03 14:00:56 +00:00
Michael Telatynski
3b9e39ffca
When accepting DM from People metaspace don't switch to Home ( #7272 )
2021-12-03 11:17:51 +00:00
Andy Balaam
494af883f3
Hide votes in a poll until you voted ( #7269 )
2021-12-03 10:26:28 +00:00
Andy Balaam
141950d9e6
Ensure my votes from a different device show up ( #7233 )
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-12-02 17:12:18 +00:00
David Baker
25c119dd5a
Revert https://github.com/matrix-org/matrix-react-sdk/pull/7246 ( #7268 )
...
This is apprently fixed on synapse, so reverting the workaround
2021-12-02 16:31:23 +00:00
Dariusz Niemczyk
fda0c2cf79
Fix markdown formatting for bold ( #7257 )
...
* Fix markdown formatting for bold
Fix https://github.com/vector-im/element-web/issues/4674
* I hate you too eslint
2021-12-02 10:56:23 +00:00
Renan Cleyson
0afe141266
Fix textual message stripping new line ( #7239 )
2021-12-02 09:25:12 +00:00
Michael Telatynski
4a6d46b76a
Replace breadcrumbs with recently viewed menu ( #7073 )
2021-12-01 10:50:06 +00:00
Germain
2e82887dc2
Make e2e tests pass in CI by using an older Synapse version ( #7246 )
2021-12-01 09:53:57 +00:00
Šimon Brandner
cbb34d8ac7
Make CallHandler
more EventEmitter
y ( #6704 )
...
* sharedInstance() -> instance
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use CallState event instead of dispatching
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Simplifie some code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use a method to start a call instead of the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use a method instead of place_conference_call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make terminateCallApp() and hangupCallApp() public
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use hangupAllCalls() instead of the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make dialNumber(), startTransferToMatrixID() and startTransferToPhoneNumber() public instead of using the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use answerCall() instead of using the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use hangupOrReject() instead of the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Update docs
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Dispatch call_state, see https://github.com/vector-im/element-web/pull/18823#issuecomment-917377277
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add missing import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-11-30 18:09:13 +00:00
Dariusz Niemczyk
e3187ed15c
Fix links being parsed as markdown links improperly ( #7200 )
...
* Fix links being parsed as markdown links improperly
Fixes #4674
* Fix a typo
* Fix overriding too much stuff
* Fix parsing
* Remove useless console.log
* Remove unnecessary emph function
* Properly fix tests
* Add some better docs
* Add missing license header
2021-11-30 18:09:05 +00:00
Michael Telatynski
8fe582b094
Tweaks to informational architecture 1.1 ( #7052 )
...
* Move user avatar to Space panel
* Add room list header for 'Home' or 'Space Name' to room list
Add existing Space context menus to room list header
* Re-add pending room join spinner
* Iterate RoomListHeader plus context menu
* Iterate space context menu
* Iterate room list + interactions
* Move DND to new iA model
* Replace composer custom status management with usermenu one
* Cull Quick Actions
* Iterate minimized room list state
* delint
* Merge the RoomListNumResults into the RoomListHeader
* Make the search shortcut prompt semi-bold
* Iterate RoomListHeader based on design review
* Iterate UserMenu based on feedback
* Add name to expanded spacepanel usermenu button
* i18n
* Make room sub list aux button components more generic
* Change left panel explore button to only refer to room directory
* Iterate RoomListHeader
* Fix custom user status input field width in Chrome
* Bring back Notification settings button
* delint
* i18n
* post-merge fix
* iterate pr
* Remove unused state
* update copy
* Apply suggestions from PR review
* delint
* Update invite iconography
* Iterate Space context menu to match Figma
* Fix chevron alignment
* Fix edge case for RoomListHeader on metaspaces
* Wire up general rageshake-driven feedback mechanism
* Add IA1.1 info toast
* add missing alt attribute
* delint
* delint
* tweak ia toast priority
* e2e test account for new toast
* autofocus feedback field and remove old subheading
* tweak copy
* Iterate space panel colours to match Figma
* Iterate PR
* delint
* Fix feedback submission with object setting values
* iterate based on review
* Tweak colours and update splash image
* Tweaks based on review
* Remove room list prompt, made redundant by the big fat `+`
* Fix edge cases around User Menu positioning and dnd
* Add missing import, bad merge?
* Update aria label in e2e test
* Fix room list space rooms context menu explore button behaviour
* Tweak copy
* Revert order of options in the UserMenu
* Tweak copy
* i18n
2021-11-30 18:08:46 +00:00
Michael Telatynski
fe24c8ad2a
Improve ThreadPanel ctx menu accessibility ( #7217 )
2021-11-29 17:42:53 +00:00
Michael Telatynski
9727a82a12
Allow filtering room list during treeview navigation ( #7219 )
2021-11-29 17:18:35 +00:00
Michael Telatynski
138f6685d4
re-enable Spaces e2e tests ( #7207 )
2021-11-26 11:45:31 +00:00
Dariusz Niemczyk
d256af775d
Add basic linkify-matrix tests ( #7199 )
...
Add basic linkify-matrix tests
2021-11-26 10:39:07 +00:00
Andy Balaam
1c6703356d
Highlight my vote even if it was made on another device ( #7202 )
2021-11-26 09:24:34 +00:00
Renan Cleyson
ae0dba4e87
Add view_room
to Action
enum ( #7203 )
...
* Add ViewRoom action to Action enum
Signed-off-by: Renan <renancleyson.f@gmail.com>
* Change view_room occurrences to Action.ViewRoom
Signed-off-by: Renan <renancleyson.f@gmail.com>
* Add missing Action import
2021-11-25 21:49:43 +01:00
Andy Balaam
ea97c416f5
Test for showing a spinner after submitting a new poll ( #7194 )
2021-11-24 16:24:19 +00:00
Andy Balaam
d7f3d2791a
Basic tests for PollCreateDialog ( #7193 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-11-24 13:48:07 +00:00
Travis Ralston
08cd8926e6
Fix a couple relative date tests ( #7184 )
2021-11-23 11:29:23 -07:00
Andy Balaam
359962af6c
Prevent text overlapping on poll options ( #7187 )
2021-11-23 11:16:31 +00:00
Andy Balaam
d705fdd6e4
Display and send votes in polls ( #7158 )
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-11-23 10:27:44 +00:00
Travis Ralston
3c06e7f7a0
Add option to change the size of images/videos in the timeline ( #7017 )
...
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
Co-authored-by: Timo K <toger5@hotmail.de>
2021-11-17 15:19:30 +00:00
Timo
556cfc7ed8
Add maximise widget functionality ( #7098 )
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-11-16 15:43:18 +01:00
Michael Telatynski
27c3153947
Unified room context menus ( #7072 )
2021-11-15 11:39:25 +00:00
Michael Telatynski
5ad3261cb2
Implement more meta-spaces ( #7077 )
2021-11-11 13:07:41 +00:00
Andy Balaam
9c8e1d32e2
Rename mx_RadioButton to mx_StyledRadioButton to match class name ( #7083 )
2021-11-04 12:57:38 +00:00
Germain
7a203461f7
Fix TimeZone to be UTC in Jest tests ( #7082 )
2021-11-04 10:39:49 +00:00
Germain
38750202ee
Design thread list tiles according to mockups ( #7078 )
2021-11-03 18:05:01 +00:00
Germain
2a20d9a7df
Display relative time in thread panel event tile ( #7068 )
...
* Null-guard for missing root event in thread panel
* Add formatRelativeTime date utility
* Display relative time format in thread panel event tiles
2021-11-03 10:16:50 +00:00
Faye Duxovni
71244f3b3c
Add more checkbox styles ( #7058 )
...
Add a "kind" param for StyledCheckbox, allowing designers to choose different styles of checkbox as needed. In addition to the preexisting default kind (now called Solid), there's an Outline kind with a green checkmark and a transparent fill. This is used in the device trust view, since the default checkbox style looks too much like the green "verified" shield and it's awkward to have those next to each other.
2021-10-29 21:57:32 -04:00
Andy Balaam
d0bb6e0657
Unit tests for getEffectiveTheme ( #7051 )
...
* Unit tests for getEffectiveTheme
* Unit tests for choosing high-contrast theme
2021-10-29 09:11:55 +01:00