Commit Graph
3035 Commits
Author SHA1 Message Date
KerryandGitHub 92ee02fe02 unit test Notifications.tsx (#7468)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 09:47:03 +00:00
4ab3470184 History based navigation with new right panel store (#7398)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-05 17:25:41 +01:00
KerryandGitHub 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
74ea2adfc2 Fix room alias address isn't checked for validity before being shown as added (#7107)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-04 09:22:51 +00:00
Michael TelatynskiandGitHub 44d7d74949 Call view accessibility fixes (#7439) 2022-01-04 08:57:46 +00:00
KerryandGitHub 846fbfa2a0 Add jsx-a11y eslint plugin (#7434)
* add matrix-org a11y eslint plgin

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add eslint a11y, enable and fix anchor-has-content rule

Signed-off-by: Kerry Archibald <kerrya@element.io>

* enable and fix jsx-a11y/no-redundant-roles

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove debug

Signed-off-by: Kerry Archibald <kerrya@element.io>

* i18n

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use jsx-a11y via matrix-org-eslint

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-03 18:51:58 +01:00
Andy BalaamandGitHub a239c456e3 Allow opening a map view in OpenStreetMap (#7428) 2021-12-21 15:48:20 +00:00
Andy BalaamandGitHub 8b2a478a25 Update location text fallback and test it (#7408) 2021-12-21 09:37:06 +00:00
Michael TelatynskiandGitHub f389324571 Show error if could not load space hierarchy (#7399) 2021-12-17 10:36:52 +00:00
Michael TelatynskiandGitHub 39c4b78371 Space preferences for whether or not you see DMs in a Space (#7250) 2021-12-17 09:26:32 +00:00
Michael TelatynskiandGitHub 3229b06b01 Add internationalisation to progress strings in room export dialog (#7385) 2021-12-15 16:21:51 +00:00
Michael TelatynskiandGitHub 3c9c82ee0d Fix narrow mode composer buttons for polls labs (#7386) 2021-12-15 16:15:09 +00:00
Eric EastwoodandGitHub 1e09599447 Add /jumptodate slash command (#7372)
Fix https://github.com/vector-im/element-web/issues/7677

Utilizing MSC3030: https://github.com/matrix-org/matrix-doc/pull/3030

Experimental Synapse implementation added in https://github.com/matrix-org/synapse/pull/9445

---

Jump to date headers are being worked on in https://github.com/matrix-org/matrix-react-sdk/pull/7339
2021-12-15 06:34:47 -06:00
Michael TelatynskiandGitHub 9436f3b58d Update room context menu copy (#7361) 2021-12-15 09:56:15 +00:00
Michael TelatynskiandGitHub 42b14bfcd7 Tweak FacePile tooltip to include whether or not you are included (#7367) 2021-12-14 16:07:54 +00:00
Michael TelatynskiandGitHub 361e9e4360 Debounce User Info start dm "Message" button (#7357) 2021-12-14 12:45:02 +00:00
Michael TelatynskiandGitHub 914b61239c Spotlight search labs (#7116) 2021-12-10 11:50:01 +00:00
KerryandGitHub 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
KerryandGitHub 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
2b52e17a80 Allow ending polls (#7305)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-08 14:56:48 +00:00
Michael TelatynskiandGitHub 275e9c1d02 Update space panel expand mechanism (#7230) 2021-12-07 09:32:00 +00:00
Matthew HodgsonandGitHub 684b0617ae Support sharing custom locations. (#7185)
Add the ability to click on the map to share a specific named location.
2021-12-06 10:13:06 +00:00
Matthew HodgsonandGitHub 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
Michael TelatynskiandGitHub ca6feaad89 Expose PL control for pinned events when lab enabled (#7278) 2021-12-06 09:25:37 +00:00
Šimon BrandnerandGitHub c222c5511d Don't allow calls when the connection the server has been lost (#7287) 2021-12-06 08:07:02 +00:00
James SalterandGitHub 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
Andy BalaamandGitHub 494af883f3 Hide votes in a poll until you voted (#7269) 2021-12-03 10:26:28 +00:00
Šimon BrandnerandGitHub d3c556bef7 Remove the Screen sharing is here! dialog (#7266) 2021-12-02 15:36:36 +00:00
Michael TelatynskiandGitHub b69ad0cd0b Decorate view keyboard shortcuts link as a link (#7260) 2021-12-02 13:43:10 +00:00
Michael TelatynskiandGitHub 5e77822bcc Fix broken i18n in Forgot & Change password (#7252) 2021-12-01 17:33:55 +00:00
Michael TelatynskiandGitHub 4a6d46b76a Replace breadcrumbs with recently viewed menu (#7073) 2021-12-01 10:50:06 +00:00
Michael TelatynskiandGitHub 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 TelatynskiandGitHub 1d2965a111 Tweak bottom of space panel buttons in expanded state (#7213) 2021-11-29 20:10:34 +00:00
4cbed99de3 Add right panel chat timeline (#7112)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-11-29 17:06:15 +01:00
Michael TelatynskiandGitHub 35d4ec6e80 Fix Manage Restricted Join Rule Dialog for Spaces (#7208) 2021-11-29 09:23:25 +00:00
Michael TelatynskiandGitHub 9fefeefc8c Spaces quick settings (#7196) 2021-11-26 15:41:04 +00:00
965539da2d Show an error dialog if poll creation or voting fails (#7201)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-11-25 17:00:13 +00:00
Michael TelatynskiandGitHub c8765821b5 Group Labs flags (#7190) 2021-11-25 16:21:10 +00:00
d705fdd6e4 Display and send votes in polls (#7158)
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-11-23 10:27:44 +00:00
Michael TelatynskiandGitHub cdbe25bd36 Show room context details in forward dialog (#7162) 2021-11-23 09:35:01 +00:00
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
TimoandGitHub 734ce97135 Fix timeline text when sharing room layout (#7140) 2021-11-16 15:44:19 +01:00
556cfc7ed8 Add maximise widget functionality (#7098)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-11-16 15:43:18 +01:00
JosiasandGitHub 2f4f3f2a8c Add rainfall effect (#7086)
Just got approval from product.  Thanks for the little bit of extra joy :-)
2021-11-16 12:54:40 +00:00
Šimon BrandnerandGitHub bafeb38472 Improve VoIP UI/UX (#7048)
* Remove speaking indicator

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Remove mic icon for primary feed

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Remove caching as it doesn't seem to be neccessary

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Add call view buttons colors

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Refactor button code

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Update call view button icons

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* i18n

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Add dialpad icon

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix button sizing in PiP

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix secondary voice video feed color

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-11-15 17:24:11 +00:00
Michael TelatynskiandGitHub 27c3153947 Unified room context menus (#7072) 2021-11-15 11:39:25 +00:00
Paulo PintoandGitHub 646f87b2db In forgot password screen, show validation errors inline in the form, instead of in modals (#7113) 2021-11-12 11:39:39 +00:00
David BakerandGitHub cd1f660d04 Fix missing spaces in threads copy (#7119)
* Fix missing spaces in threads copy

Fixes: https://github.com/vector-im/element-web/issues/19702
Type: defect

* i18n
2021-11-11 16:42:32 +00:00
Michael TelatynskiandGitHub 155157dba1 Expose power level control for m.space.child (#7120) 2021-11-11 16:32:30 +00:00
GermainandGitHub e2b59335cf Implement empty design list (#7115) 2021-11-11 13:56:44 +00:00