Michael Telatynski
c1d4199b02
Upgrade target to es2022 ( #12852 )
...
* Upgrade target to es2021
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Upgrade to es2022
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix babel config
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix React contexts
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix React state
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-08-01 16:14:28 +00:00
Florian Duros
caef3c1921
Tooltip: improve accessibility in room ( #12493 )
...
* Migrate to `AccessibleButton`
* Update snapshots
* Update snapshots
2024-05-07 10:20:46 +00:00
Michael Telatynski
6af4335db1
Migrate more strings to translation keys ( #11680 )
2023-09-29 08:49:26 +01:00
Germain
09c5e06d12
Change avatar to use Compound implementation ( #11448 )
...
* Move avatar to new compound implementation
* Make space avatars square
* Remove reference to the avatar initial CSS class
* remove references to mx_BaseAvatar_image
* Fixe test suites
* Fix accessbility violations
* Add ConfirmUserActionDialog test
* Fix tests
* Add FacePile test
* Fix items clipping in members list
* Fix user info avatar sizing
* Fix tests
2023-08-24 03:48:35 +00:00
Michael Telatynski
d5cacff6c3
Create more action_*
common strings ( #11438 )
2023-08-23 11:57:22 +01:00
Michael Telatynski
a1328d8ef7
Switch to importing more things from the main js-sdk export ( #11376 )
2023-08-09 15:10:54 +00:00
Michael Telatynski
033c600fa2
Switch to importing @types/{event,partials} from main js-sdk export ( #11369 )
2023-08-08 10:12:12 +00:00
Michael Telatynski
24703eea8f
Switch to importing models/event from main js-sdk export ( #11363 )
2023-08-07 08:24:58 +00:00
Kerry
74d30187a4
Apply strictNullChecks
to src/components/views/rooms/*
( #10875 )
...
* fix everything except notificationbadge
* unit test ThirdPartyMemberInfo
* fix RoomPreviewBar dm tests
* lint
* test PinnedEventTile
2023-05-21 23:53:23 +00:00
Michael Telatynski
76b82b4b2b
Make more code conform to strict null checks ( #10219
...
* Make more code conform to strict null checks
* Fix types
* Fix tests
* Fix remaining test assertions
* Iterate PR
2023-02-24 15:28:40 +00:00
Michael Telatynski
da7aa4055e
Conform more of the code base to strict null checking ( #10147 )
...
* Conform more of the code base to strict null checking
* More strict fixes
* More strict work
* Fix missing optional type
* Iterate
2023-02-13 17:01:43 +00:00
Michael Telatynski
61a63e47f4
Comply with noImplicitAny ( #9940 )
...
* Stash noImplicitAny work
* Stash
* Fix imports
* Iterate
* Fix tests
* Delint
* Fix tests
2023-02-13 11:39:16 +00:00
Kerry
544baa30ed
use Poll model with relations API in poll rendering ( #9877 )
...
* wip
* remove dupe
* use poll model relations in all cases
* update mpollbody tests to use poll instance
* update poll fetching login in pinned messages card
* add pinned polls to room polls state
* add spinner while relations are still loading
* handle no poll in end poll dialog
* strict errors
* strict fix
* more strict fix
2023-02-02 20:22:26 +00:00
Travis Ralston
badb2c4b27
Use js-sdk imports for poll event types instead of events-sdk ( #9904 )
...
* Use js-sdk imports for poll event types instead of events-sdk
* Attempt to appease some tsc --strict errors
* Manually create poll response in cypress test
2023-01-13 10:02:33 -07:00
Michael Telatynski
030b7e90bf
Enable @typescript-eslint/explicit-function-return-type
in /src ( #9788 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
* Enable `@typescript-eslint/explicit-function-return-type` in /src
* Fix types
* tsc strict fixes
* Delint
* Fix test
* Fix bad merge
2023-01-12 13:25:14 +00:00
Michael Telatynski
f1e8e7f140
Enable @typescript-eslint/explicit-member-accessibility
on /src ( #9785 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
2022-12-16 12:29:59 +00:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Michael Telatynski
e576347b62
Fix pinned messages not re-linkifying on edit ( #9042 )
...
* Fix pinned messages not re-linkifying on edit
* Fix tests
2022-07-12 07:27:45 +01:00
Suguru Hirahara
78a98415eb
Set common width, white-space, and display values to MessageTimestamp ( #8818 )
...
* Add mx_MessageTimestamp to mx_PinnedEventTile_timestamp
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Apply display: block globally to enable the width declaration
- Unset display and width value of timestamp on pinned messages card
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Apply nowrap globally
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* MessageTimestamp on ThreadsList - Remove width setting and add font-size setting
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant font-size declaration from Threadview
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Fix timestamp position of timestamp on ThreadView in IRC layout
- GroupLayout is modern layout, not IRC layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant font-size declaration from IRC layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant color setting from timestamp on file panel
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Cancel the default width to set a gap between the event tile line
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Apply user-select: none globally
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-06-30 13:37:43 +02:00
Travis Ralston
997d6d40bf
Step 1: Remove all usage of @replaceableComponent
2022-03-28 14:02:31 -06:00
Robin
3608fdb2ae
Paginate responses to pinned polls ( #8025 )
...
* Paginate responses to pinned polls
Signed-off-by: Robin Townsend <robin@robin.town>
* Test that pinned polls display paginated responses
Signed-off-by: Robin Townsend <robin@robin.town>
2022-03-10 18:14:34 +00:00
Robin
3099a75a5d
Allow pinning polls ( #7922 )
...
* Allow pinning polls
Signed-off-by: Robin Townsend <robin@robin.town>
* Show responses to pinned polls
Signed-off-by: Robin Townsend <robin@robin.town>
* Use enums more
Signed-off-by: Robin Townsend <robin@robin.town>
2022-03-04 09:26:13 -05:00
Robin
33657947d3
Inject sender into pinned messages ( #7904 )
...
* Inject sender into pinned messages
Signed-off-by: Robin Townsend <robin@robin.town>
* Remove unused prop
Signed-off-by: Robin Townsend <robin@robin.town>
2022-02-28 14:47:14 +00:00
Michael Telatynski
5f5bb4a4fe
Consolidate TileShape into TimelineRenderingType ( #7843 )
2022-02-18 15:56:05 +00:00
Michael Telatynski
658590e5bc
More posthog tracking around joining rooms and room search ( #7807 )
2022-02-17 18:03:27 +00:00
Michael Telatynski
0d6ef76605
Add analytics for the ViewRoom action ( #7666 )
2022-02-10 14:29:55 +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
Travis Ralston
4d38218e24
Appease the linter
2021-07-16 16:11:27 -06:00
Travis Ralston
5a75539b93
Introduce a "pinned" tile shape
...
All components which don't understand this shape will fall through to their normal states, as they would for no explicit tile shape.
2021-07-13 19:01:55 -06:00
Michael Telatynski
53fc475539
Update src/components/views/rooms/PinnedEventTile.tsx
...
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-06-03 08:03:31 +01:00
Michael Telatynski
27ad90760d
Iterate pinned messages
2021-05-26 13:51:17 +01:00
Michael Telatynski
4fa6d3599b
Convert PinnedEventTile to Typescript
2021-05-25 15:44:39 +01:00