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
Michael Telatynski
e6af09e424
Switch to importing models/room-state & models/room-member from main js-sdk export ( #11362 )
...
* Switch to importing TypedEventEmitter from main js-sdk export
* Switch to importing js-sdk/matrix in cypress
* Remove duplicated imports
* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess
* Add lint rule
* Switch to importing models/Room from main js-sdk export
* Switch to importing models/room-state & models/room-member from main js-sdk export
* Fix cypress-axe import
* Fix more imports
* Fix cypress-axe import
* Fix bad merge
2023-08-04 11:22:08 +00:00
Michael Telatynski
792a39a39b
ARIA Accessibility improvements ( #10675 )
...
* Fix confusing tab indexes in EventTilePreview
* Stop using headings inside buttons
* Prefer labelledby and describedby over duplicated aria-labels
* Improve semantics of tables used in settings
* Fix types
* Update tests
* Fix timestamps
2023-04-21 09:48:48 +00:00
kenwuuu
dc4bb237d4
Replace hardcoded strings with MsgType constants ( #10604 )
...
* replace hardcoded strings with MsgType constants
* fix import and revert comments
Signed-off-by: Ken Wu kenqiwu@gmail.com
* fix import
Signed-off-by: Ken Wu kenqiwu@gmail.com
---------
Signed-off-by: Ken Wu kenqiwu@gmail.com
2023-04-17 09:37:29 +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
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
Suguru Hirahara
18c21d77cd
Remove references to mx_GroupLayout from scss files ( #8875 )
2022-06-20 18:55:47 +02:00
Travis Ralston
997d6d40bf
Step 1: Remove all usage of @replaceableComponent
2022-03-28 14:02:31 -06:00
Travis Ralston
fce36ec826
Delete groups (legacy communities system) ( #8027 )
...
* Remove deprecated feature_communities_v2_prototypes
* Update _components
* i18n
* delint
* Cut out a bit more dead code
* Carve into legacy components
* Carve into mostly the room list code
* Carve into instances of "groupId"
* Carve out more of what comes up with "groups"
* Carve out some settings
* ignore related groups state
* Remove instances of spacesEnabled
* Fix some obvious issues
* Remove now-unused css
* Fix variable naming for legacy components
* Update i18n
* Misc cleanup from manual review
* Update snapshot for changed flag
* Appease linters
* rethemedex
* Remove now-unused AddressPickerDialog
* Make ConfirmUserActionDialog's member a required prop
* Remove useless override from RightPanelStore
* Remove extraneous CSS
* Update i18n
* Demo: "Communities are now Spaces" landing page
* Restore linkify for group IDs
* Demo: Dialog on click for communities->spaces notice
* i18n for demos
* i18n post-merge
* Update copy
* Appease the linter
* Post-merge cleanup
* Re-add spaces_learn_more_url to the new SdkConfig place
* Round 1 of post-merge fixes
* i18n
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-03-22 23:07:37 +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
Steffen Kolmer
6a550f2f9c
Added trailing comma to make eslint happy
2021-08-28 14:04:00 +02:00
Steffen Kolmer
3ef9584f68
Simplify things
2021-08-28 14:00:18 +02:00
Steffen Kolmer
9fdc5659b7
Fixed eslint error and copyright header
2021-08-28 13:56:08 +02:00
Steffen Kolmer
d76adde1ab
Use scss instead of inline styles
2021-08-28 13:41:24 +02:00
Steffen Kolmer
f65eff103e
Switch from inline-spinner to spinner
2021-08-27 20:48:29 +02:00
Steffen Kolmer
a4899ad225
Fixed padding
2021-08-27 20:11:34 +02:00
Steffen Kolmer
9b495eeec3
Optimized style
2021-08-27 20:10:01 +02:00
Steffen Kolmer
21cf3592cf
Update props and state interfaces
2021-08-27 19:32:38 +02:00
Steffen Kolmer
6e30673164
Show spinner if user id is missing in event tile preview
2021-08-27 19:23:26 +02:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Michael Telatynski
bbdc28f56d
Merge pull request #6241 from matrix-org/t3chguy/ts/7
2021-06-22 22:34:15 +01:00
Michael Telatynski
ffaa19ef2c
fix typing
2021-06-22 22:27:12 +01:00
Robin Townsend
79bf7bee56
Fix EventTilePreview display names
...
Because of 91df392a2a
, we now need to
additionally set rawDisplayName to properly fake our display name for an
event.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-16 18:23:44 -04:00
Germain Souquet
b1824ce579
fix HTML tag for Event Tile when not rendered in a list
2021-06-11 11:34:53 +01:00
Robin Townsend
5e3ad62189
Remove mysterious dot from EventTilePreviews
...
It was a bullet point, since EventTiles now get created as li by
default :P
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-07 19:03:04 -04:00
Robin Townsend
43921500d3
Revert "Match requested avatar size to displayed size"
...
This reverts commit 44b143c8c3
.
2021-06-05 22:21:10 -04:00
Robin Townsend
e46bc93178
Fall back to MXID when no display name is present
...
MemberAvatar requires a display name, or else it refuses to render.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-08 21:22:31 -04:00
Robin Townsend
44b143c8c3
Match requested avatar size to displayed size
...
Reduces the blurriness of avatars in the EventTilePreview.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-08 21:17:05 -04:00
J. Ryan Stinnett
798a891d83
Tweak appearance of invite reason
...
This adjusts the display of invite reasons to match design feedback.
Fixes https://github.com/vector-im/element-web/issues/16869
2021-04-12 12:28:42 +01:00
Robin Townsend
2477258249
Merge branch 'develop' into show-invite-reasons
2021-03-31 16:13:29 -04:00
Robin Townsend
f0333b5b1c
Show invite reasons
...
Displays the reason for invitation in the invitation dialog, requiring a
click to reveal the message.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-03-31 15:46:09 -04:00
Travis Ralston
af9f17219b
Fix MemberAvatar crash from EventTilePreview
2021-03-10 12:32:18 -07:00
Travis Ralston
c359dff738
Batch of views getting replaceableComponent decorators
2021-03-08 20:23:34 -07:00
Šimon Brandner
972c947049
More generic layout setting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-23 10:35:35 +01:00
Travis Ralston
2cd431db1c
Appease the linter
2020-10-08 14:50:17 -06:00
Travis Ralston
d5b264b7a0
Fix parsing issue in event tile preview for appearance tab
...
Fixes https://github.com/vector-im/element-web/issues/15419
2020-10-08 14:21:39 -06:00
Michael Telatynski
9cc789756b
UI Feature Flag: Hide flair
2020-09-16 11:26:15 +01:00
Michael Telatynski
656a815991
delint some more
2020-09-01 09:07:46 +01:00
Michael Telatynski
9ba33c7f80
Fix eslint ts override tsx matching and delint
2020-08-29 01:11:08 +01:00
Jorik Schellekens
aab42a291b
implement appearance tab nits
...
- fix border colours in dark theme
- lighten dark theme preview background
- add missing return statement
2020-06-22 12:28:15 +01:00
Jorik Schellekens
b9fb9aae4a
Rename MessagePreview to EventTilePreview
2020-06-18 15:36:23 +01:00