Commit Graph

16287 Commits (8ced6e6117b734a154db7f64b1a63c4f07bf56b1)

Author SHA1 Message Date
Andy Balaam 144e4c61fc
Avoid NaNs in parseGeoUri return (#7396) 2021-12-17 09:50:27 +00:00
Michael Telatynski 818465a4d6
Increase gap between ELS and the subsequent event to prevent overlap (#7391) 2021-12-17 09:28:10 +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
Michael Telatynski 5ee356daaa
Fix list of members in space preview (#7356) 2021-12-17 08:53:26 +00:00
Michael Telatynski 314475985c
Fix bubble radius wrong when followed by a state event from same user (#7393) 2021-12-16 18:35:28 +00:00
Andy Balaam 9a8265429c
Unit tests for parseGeoUri (#7395) 2021-12-16 14:20:55 +00:00
Michael Telatynski a968b4ce53
Improve typing around LoggedInView (#7384)
* Update SyncState imports

* Improve typing around LoggedInView

* Fix typing
2021-12-16 09:57:10 +00:00
Will Hunt b952fef195
Don't include the accuracy parameter in location events if accuracy could not be determined. (#7375)
* Don't include accuracy on geouri if not defined

* Use !== undefined

* Add a )
2021-12-15 21:06:40 +00:00
Michael Telatynski 11aa6c7435
Don't show a message bubble around polls (#7374)
* Don't show a message bubble around polls

* Update res/css/views/rooms/_EventBubbleTile.scss
2021-12-15 19:47:57 +00:00
Timo d31aa12156
Fix MaxListenersExceededWarning (#7389) 2021-12-15 18:06:37 +01:00
Andy Balaam 1c6a7646fa
Use UnstableValue for all location constants (#7388) 2021-12-15 16:54:11 +00:00
Andy Balaam fc58ce7ed2
Use the moved makePollContent function from js-sdk (#7387) 2021-12-15 16:54:01 +00:00
Michael Telatynski 71b561d471
Make compact layout only apply to Modern layout (#7382) 2021-12-15 16:27:02 +00:00
Michael Telatynski 3229b06b01
Add internationalisation to progress strings in room export dialog (#7385) 2021-12-15 16:21:51 +00:00
Michael Telatynski 7857bf2da1
Prevent escape to cancel edit from also scrolling to bottom (#7380) 2021-12-15 16:21:32 +00:00
Michael Telatynski 3c9c82ee0d
Fix narrow mode composer buttons for polls labs (#7386) 2021-12-15 16:15:09 +00:00
Kerry b174cc8963
Use semantic heading on dialog component (#7383)
* use semantic heading on dialog

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

* tidy styles

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

* un-flex text centering

Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-15 17:05:58 +01:00
Andy Balaam 43839adec0
Use constants from js-sdk in polls code (#7381) 2021-12-15 14:26:26 +00:00
Germain 69c4a0cebc
Fix main timeline pending events bleeding in thread's timeline (#7373) 2021-12-15 12:40:56 +00:00
Eric Eastwood 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
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 9436f3b58d
Update room context menu copy (#7361) 2021-12-15 09:56:15 +00:00
Michael Telatynski 5163ad216f
Use lazy rendering in the AddExistingToSpaceDialog (#7369) 2021-12-15 09:55:53 +00:00
Michael Telatynski 42b14bfcd7
Tweak FacePile tooltip to include whether or not you are included (#7367) 2021-12-14 16:07:54 +00:00
Michael Telatynski 1d9906c3fa
Fix room join spinner in room list header (#7364) 2021-12-14 16:07:00 +00:00
Michael Telatynski cc689f95d8
Fix room search sometimes not opening spotlight (#7363) 2021-12-14 16:06:45 +00:00
Michael Telatynski 7033f8696a
Improve typing (#7349) 2021-12-14 15:34:54 +00:00
Michael Telatynski b2548f05a8
Add missing react keys, fixing the warning (#7360) 2021-12-14 15:15:27 +00:00
Michael Telatynski a667677c57
Fix accessibility regressions (#7336)
* Fix room list roving treeview

New TooltipTarget & TextWithTooltip were not roving-accessible

* Fix programmatic focus management in roving tab index not triggering onFocus handler

* Fix toolbar no longer handling left & right arrows

* Fix roving tab index focus tracking on interactive element like context menu trigger

* Fix thread list context menu roving

* add comment

* fix comment

* Fix handling vertical arrows in the wrong direction

* iterate PR

* delint

* tidy up
2021-12-14 14:27:35 +00:00
Michael Telatynski 361e9e4360
Debounce User Info start dm "Message" button (#7357) 2021-12-14 12:45:02 +00:00
Germain d00809b8b9
Fix thread filter being cut-off on narrow screens (#7354) 2021-12-14 09:43:51 +00:00
Michael Telatynski 132e19beb7
Update typescript-eslint plugin & parser (#7351) 2021-12-13 23:39:45 +00:00
Timo ed895f5881
Always unhide widgets on layout change (pinning a widget) (#7299) 2021-12-13 17:46:50 +01:00
Timo f938bfaab9
Right panel chat style changes for read receipts and optimizations for smaller widths (#7297)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-12-13 17:46:32 +01:00
Michael Telatynski 9c0868ce4f
Fix upgraded rooms wrongly showing up in spotlight (#7341) 2021-12-13 15:00:09 +00:00
Germain ce570ab827
Hook threads notification state to UI (#7298) 2021-12-13 14:05:42 +00:00
Andy Balaam 55eda7314b
Show votes in replied-to polls (pass in getRelationsForEvent) (#7345) 2021-12-13 13:12:22 +00:00
Šimon Brandner 43499b9244
Update status message in the member list and user info panel when it is changed (#7338)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-13 12:44:03 +00:00
Michael Telatynski a46de3b9b3
Improving typing around Message Edit History Dialog (#7342)
* Improving typing around Message Edit History Dialog

* Update Typescript to 4.5

* Depend on TS4.5

* Update types for TS4.5
2021-12-13 12:42:36 +00:00
Andy Balaam c21895b5b4
Don't show polls in timeline if polls are disabled (#7332) 2021-12-10 13:28:21 +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
Michael Telatynski 914b61239c
Spotlight search labs (#7116) 2021-12-10 11:50:01 +00:00
Šimon Brandner 69c847b94c
Don't show options button when the user can't modify widgets (#7324)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-12-09 16:21:05 -07: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
Michael Telatynski 93a90280a9
Improve accessibility of opening space create menu (#7316) 2021-12-09 12:27:03 +00: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
Michael Telatynski 9452a3cc09
Iterate room context menus for DMs (#7308) 2021-12-09 09:28: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
Michael Telatynski 97ee25126f
Fix favourite & people metaspace issue on Chromium browsers (#7301) 2021-12-07 15:54:30 +00:00
Germain 38e5e94ee4
Threads notifications after app startup (#7253) 2021-12-07 12:51:34 +00:00
Michael Telatynski 2e4fe7891a
Fix input field behaviour inside context menus (#7293) 2021-12-07 09:36:28 +00:00
Michael Telatynski 275e9c1d02
Update space panel expand mechanism (#7230) 2021-12-07 09:32:00 +00:00
Michael Telatynski e2ed00db85
Location Picker catch instantiation errors e.g WebGL disabled (#7296) 2021-12-07 09:31:13 +00:00
Tulir Asokan 2e5a6fc738
Allow sharing manual location without giving location permission (#7295) 2021-12-06 14:53:39 +00:00
Kerry eab028f2f8
Make emoji picker search placeholder localizable (#7294) 2021-12-06 14:39:11 +00:00
Šimon Brandner 5e19009e02
Fix jump to bottom on message send (#7280)
Co-authored-by: Germain <germain@souquet.com>
2021-12-06 14:32:15 +00:00
Timo 12000060a5
Fix: Warning: Unsupported style property pointer-events. Did you mean pointerEvents? (#7291) 2021-12-06 12:47:43 +01:00
Timo 2bfffab566
Add edits and replies to the right panel timeline & prepare the timelineCard to share code with threads (#7262)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-12-06 12:29:37 +01: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 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 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
Michael Telatynski eb05044bc4
Fix labs exploding when lab group is empty (#7290) 2021-12-06 09:29:42 +00:00
Michael Telatynski f410d52bc1
Finish sending pending messages before leaving room (#7276) 2021-12-06 09:25:53 +00:00
Michael Telatynski 7dfdb06627
Dropdown follow wai-aria practices for expanding on arrow keys (#7277) 2021-12-06 09:25:44 +00:00
Michael Telatynski ca6feaad89
Expose PL control for pinned events when lab enabled (#7278) 2021-12-06 09:25:37 +00:00
Michael Telatynski baa17e4a68
In People & Favourites metaspaces always show all rooms (#7288) 2021-12-06 09:25:14 +00:00
Michael Telatynski 336f159004
Update URL when room aliases are modified (#7289) 2021-12-06 09:25:05 +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
Andy Balaam 494af883f3
Hide votes in a poll until you voted (#7269) 2021-12-03 10:26:28 +00:00
Germain f2fee53a0e
Allow stickers to be sent in a Thread (#7267) 2021-12-03 08:22:13 +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
Michael Telatynski 0a99be3d65
Render mini user menu for when space panel is disabled (#7258) 2021-12-02 15:44:01 +00:00
Šimon Brandner d3c556bef7
Remove the `Screen sharing is here!` dialog (#7266) 2021-12-02 15:36:36 +00:00
Michael Telatynski f40291d408
Make composer buttons react to settings without having to change room (#7264) 2021-12-02 14:09:57 +00:00
Michael Telatynski b5a488b01b
Fix CallPreview `room is null` (#7265) 2021-12-02 14:07:27 +00:00
Michael Telatynski b69ad0cd0b
Decorate view keyboard shortcuts link as a link (#7260) 2021-12-02 13:43:10 +00:00
Michael Telatynski 5169bca570
Improve ease of focusing on Room list Search (#7255) 2021-12-02 13:43:02 +00:00
Michael Telatynski 675901f629
Fixes more instances of double-translation (#7259) 2021-12-02 13:42:47 +00:00
Šimon Brandner ab750aefce
Fix video calls (#7256)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-12-02 10:46:48 +00:00
Michael Telatynski 5e77822bcc
Fix broken i18n in Forgot & Change password (#7252) 2021-12-01 17:33:55 +00:00
Germain 3d4ece02e8
Send read receipts for events in thread's timeline (#7229) 2021-12-01 15:45:31 +00:00
Michael Telatynski 279caecde7
Autofocus device panel entry when renaming device (#7249) 2021-12-01 14:17:52 +00:00
Michael Telatynski 2046991848
Disallow sending empty feedbacks (#7240) 2021-12-01 10:59:46 +00:00
Michael Telatynski a4714829f7
Hide clear cache and reload button if crash is before client init (#7242) 2021-12-01 10:54:14 +00:00
Michael Telatynski 82c125c170
Update Space Panel scrollable region (#7245) 2021-12-01 10:51:54 +00:00
Michael Telatynski 4a6d46b76a
Replace breadcrumbs with recently viewed menu (#7073) 2021-12-01 10:50:06 +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
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 5ff810b687
Fix room list treeview filtering not ignoring modifier keys (#7231) 2021-11-30 16:04:27 +00:00
Timo 8905c5d2bb
Add unread indicator to the timelineCard header icon (#7156)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-11-30 11:06:20 +01:00
Michael Telatynski 1d2965a111
Tweak bottom of space panel buttons in expanded state (#7213) 2021-11-29 20:10:34 +00:00
Timo 82ae39435c
Only show core navigation elements (call/chat/notification/info) when a widget is maximised (#7114)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-11-29 19:01:47 +01: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 87e8e3d6ef
Fix EmojiPicker lazy loaded rendering bug (#7225) 2021-11-29 17:12:56 +00:00
Germain 065b65a764
Hide scrollbar if content height is smaller than scroll node height (#7220) 2021-11-29 17:03:53 +00:00
Germain 9d52c23e06
Add option to disable grouping in TimelinePanel (#7221) 2021-11-29 17:01:23 +00:00
Michael Telatynski 3f75c6afb0
Prevent duplicate avatars in Event List Summaries (#7222) 2021-11-29 16:51:34 +00:00
Timo 4cbed99de3
Add right panel chat timeline (#7112)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-11-29 17:06:15 +01:00
Timo 8860916225
Fix size of portrait images with the SIZE_NORMAL setting. (#7188) 2021-11-29 15:01:54 +01:00
Michael Telatynski 3ffe752730
Fix RoomUpgradeWarningBar exploding (#7214) 2021-11-29 11:06:19 +00:00
Michael Telatynski dbd148489d
Hide server options hint when disable_custom_urls is true (#7215) 2021-11-29 11:06:11 +00:00
Germain 3a2aa9d96c
Polish threads misalignments and UI diversion (#7209) 2021-11-29 10:58:34 +00:00
Michael Weimann f5d32345f4
Improve right panel resize handle usability (#7204) 2021-11-29 10:56:09 +00:00
Michael Telatynski 35d4ec6e80
Fix Manage Restricted Join Rule Dialog for Spaces (#7208) 2021-11-29 09:23:25 +00:00
Michael Telatynski 9fefeefc8c
Spaces quick settings (#7196) 2021-11-26 15:41:04 +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
Timo 37828ab084
Maximised widgets always force a call to be shown in PIP mode (#7163) 2021-11-25 22:14:19 +01: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 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 Telatynski c8765821b5
Group Labs flags (#7190) 2021-11-25 16:21:10 +00:00
Germain e4c00d1123
Open thread view when linking thread root (#7195) 2021-11-25 15:40:38 +00:00
Michael Telatynski 508d4d70b6
Fix wrongly showing unpin in pinned messages tile with no perms (#7197) 2021-11-25 15:38:11 +00:00
Timo a0e8c29d85
Make image size constrained by height when using the ImageSize.Large option (#7171) 2021-11-24 15:32:47 +01: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
Germain 392c4ad8d9
Make local echo work for threads (#7157) 2021-11-24 08:40:15 +00:00
Andy Balaam aec09dcad2
Show a spinner while waiting for a poll to be created (#7189) 2021-11-23 14:19:48 +00: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
Timo a156ba8be9
Fix video call container size inconsistencies (#7170) 2021-11-23 11:13:51 +01:00
Michael Telatynski cdbe25bd36
Show room context details in forward dialog (#7162) 2021-11-23 09:35:01 +00:00
Germain 14b5ed01d3
Change thread panel filtering (#7169) 2021-11-23 08:50:14 +00:00
Germain df032b04e0
Disable typing notifications for threads (#7180) 2021-11-23 08:25:58 +00:00
Germain 87201c8bfb
Chat effects fixes for threads (#7183) 2021-11-23 08:17:30 +00:00
Germain 925136d016
Disallow KeyVerificationRequest as thread root (#7182) 2021-11-22 17:17:05 +00:00
Germain 7658187186
Fix composer focus after pasting (#7181) 2021-11-22 17:09:16 +00:00
Michael Telatynski 7f6f984438
Iterate type definitions (#7168) 2021-11-19 17:35:11 +00:00
Michael Telatynski ddbfebbaa0
Fix automatic composer focus, regressed by threads work (#7167) 2021-11-19 17:15:15 +00:00
Andy Balaam 39e47e0375
Limit the length of poll questions and answers to 340 characters (#7166) 2021-11-19 14:01:30 +00:00
Andy Balaam a2c662272e
When we only show one compose button, show upload (#7165) 2021-11-19 14:01:07 +00:00
Michael Telatynski 52e391a92a
Show space members when not invited even if summary didn't fail (#7153) 2021-11-19 10:17:05 +00:00
Michael Telatynski c2ab593816
Prevent custom power levels from breaking roles & permissions tab (#7160) 2021-11-19 10:08:57 +00:00
Michael Telatynski c457da4c6b
Room Context Menu should respond to tag changes (#7154) 2021-11-19 10:07:55 +00:00
Germain e4d645e360
Hide MFileBody download link for threaded messages (#7127)
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-11-19 09:07:12 +00:00
Travis Ralston 28d7a51bb9
Fix improper splice when determining vias for tombstones (#7159)
`splice` takes one element from the array whereas `slice` takes all after a given point. We want `slice` so we can pick up ipv6 addresses and port numbers.
2021-11-18 13:50:37 -07:00
Germain 256c468c15
Chat Effects & Commands in thread context (#7138) 2021-11-18 12:47:11 +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
Šimon Brandner 816136de97
Make double-clicking the PiP take you to the call room (#7142) 2021-11-17 12:49:43 +00:00
Šimon Brandner 8f13f3882f
Cleanup `E2ePadlock` code (#7144) 2021-11-17 09:36:10 +00:00
Renan Cleyson ac15661c3e
Fix bulk invite button getting a negative count (#7122)
* Fix bulk invite button getting a negative counter

Signed-off-by: Renan <renancleyson.f@gmail.com>

* Change invites to be count on membership events

Signed-off-by: Renan <renancleyson.f@gmail.com>

* Remove unnecessary bind

* Change invitedRooms state to a set of ids

Signed-off-by: Renan <renancleyson.f@gmail.com>
2021-11-16 21:03:08 +00:00
Timo 645f900a36
Fix maximised / pinned widget state being loaded correctly (#7146) 2021-11-16 16:09:19 +00:00