Commit Graph

63228 Commits

Author SHA1 Message Date
Travis Ralston
5b592eca4f Step 10.3: Use module replacement to achieve component overrides
This is the same system as the customisations override, however deliberately using a different JSON file to avoid conflicts. 

Forks would be expected to use the customisations file, not the components file, to override/add components.
2022-03-28 13:02:50 -06:00
Travis Ralston
5459c1eb96 Step 10.2: Move hacky welcome page replacement to react-sdk 2022-03-28 13:02:50 -06:00
Travis Ralston
0bcb1d18ce Step 10.1: Ensure the js-sdk browser bundle gets pulled
We no longer have implicit imports which would have called this path, so manually call it. We have to disable lint as it doesn't like us doing this, but we only end up with a single entry point.
2022-03-28 13:02:50 -06:00
Travis Ralston
e1f9e9a8f8 Step 8.1: Remove skin-sdk.js 2022-03-28 13:02:50 -06:00
Travis Ralston
384903361d Step 4: Disable/remove bulk of skinner code 2022-03-28 13:02:50 -06:00
Travis Ralston
585c777878 Step 3.2: Stop using getComponent 2022-03-28 13:02:50 -06:00
Travis Ralston
1bbecdff6c Step 3.1: Stop using getComponent in tests 2022-03-28 13:02:50 -06:00
Travis Ralston
303f06cc61 Step 2: Remove the decorator 2022-03-28 13:02:50 -06:00
Yaya Usman
afa60acbf1 Fix "react error on share dialog" (#8170)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-03-28 17:58:57 +01:00
Kerry
d2b97e251e Live location sharing - handle geolocation errors (#8179)
* display live share warning only when geolocation is happening

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

* kill beacons when geolocation is unavailable or permissions denied

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

* polish and comments

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-28 18:46:39 +02:00
Robin
02a5789dd3 Fix typo in labs label workflow (#21582) 2022-03-28 16:44:25 +01:00
RiotRobot
951fdaf3ab Reset matrix-react-sdk back to develop branch 2022-03-28 16:29:08 +01:00
RiotRobot
7ce2538778 Reset matrix-js-sdk back to develop branch 2022-03-28 16:28:55 +01:00
RiotRobot
23608855c6 Merge branch 'master' into develop 2022-03-28 16:28:42 +01:00
RiotRobot
d34b628583 v1.10.8 v1.10.8 2022-03-28 16:23:24 +01:00
RiotRobot
6ceefe2a27 Upgrade matrix-react-sdk to 3.42.1 2022-03-28 16:22:21 +01:00
RiotRobot
33e515608f Upgrade matrix-js-sdk to 16.0.1 2022-03-28 16:21:39 +01:00
RiotRobot
2520d81784 Reset matrix-js-sdk back to develop branch 2022-03-28 16:19:31 +01:00
RiotRobot
7a130d2eb7 Resetting package fields for development 2022-03-28 16:19:20 +01:00
RiotRobot
7507d4f43d Merge branch 'master' into develop 2022-03-28 16:19:20 +01:00
RiotRobot
cc296ef3da v3.42.1 2022-03-28 16:17:36 +01:00
RiotRobot
eb51ba1d2a Upgrade matrix-js-sdk to 16.0.1 2022-03-28 16:16:39 +01:00
Robin
8baf06c3ff Show voice room participants when not connected (#8136)
* Add utility for getting connected voice participants

* Allow voice room members to send connected device state

* Update connected devices when connecting/disconnecting voice

* Show voice room participants in room tile when not connected

* Update voice room tests

* Add null types and guards
2022-03-28 14:12:09 +01:00
Robin
0a16989d26 Fix unexpected coverage diffs for PRs that aren't up to date (#8161) 2022-03-28 08:17:04 -04:00
Robin
e02ab66884 Add margins between labs sections (#8169) 2022-03-28 08:16:08 -04:00
Germain
d7c1a6f33e [Release] Add null-guard for appEvent in PersistentApp (#8176) 2022-03-28 12:41:36 +01:00
Germain
4f57a4661d Add null-guard for appEvent in PersistentApp (#8175) 2022-03-28 12:41:14 +01:00
Kerry
e9b2aea97b Live location sharing - send geolocation beacon events - happy path (#8127)
* geolocation utilities

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

* messy send events

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

* add geolocation services

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

* geolocation tests

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

* debounce with backup emit every 30s

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

* import reorder

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

* some more working tests

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

* complicated timeout testing

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

* publish first location immediately

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

* move advanceDateAndTime to utils, tidy

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

* typos

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

* types and lint

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-28 10:48:38 +00:00
Suguru Hirahara
f557ac9486 Responsive BetaCard on Labs (#8154) 2022-03-28 11:26:14 +01:00
Suguru Hirahara
a7a0c55adf Display button as inline in room directory dialog (#8164) 2022-03-28 10:02:32 +01:00
Michael Telatynski
190968c73c Null guard TimelinePanel unmount edge (#8171) 2022-03-28 09:58:49 +01:00
Michael Telatynski
a3e5231873 Add support for Animated (A)PNG (#8158) 2022-03-28 09:38:54 +01:00
Suguru Hirahara
7798ecfa33 Fix beta pill label breaking (#8162) 2022-03-28 09:27:59 +01:00
Šimon Brandner
bda18f8bc9 Fix disambiguated profile in threads in bubble layout (#8168) 2022-03-28 08:59:06 +01:00
Robin
1e060fed84 Don't form continuations from thread roots (#8166)
* Don't form continuations from thread roots

* Only apply the continuation break in the main timeline
2022-03-26 18:06:25 -04:00
Travis Ralston
6c69f3e3b6 Fix end-to-end tests for recent Synapse features (#8159)
* Ensure a useful logfile gets recorded for synapse startup failures

* Update synapse config to stop complaining about key servers

* Add flag to turn on registrations again

From https://github.com/matrix-org/synapse/pull/12091
2022-03-25 19:45:52 +00:00
Kerry
61231ee321 Unit test settings controllers pt 1 (#8155)
* test FontSizeController

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

* test IncompatibleController

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

* test SystemFontController

* test ThemeController

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

* test UseSystemFontController

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

* fix themecontroller

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-25 16:50:17 +00:00
dependabot[bot]
e844938235 Bump minimist from 1.2.5 to 1.2.6 (#8156)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 10:43:59 -06:00
Travis Ralston
14f46a8ca9 Update location of Settings.ts in labs docs (#21562) 2022-03-25 10:43:03 -06:00
Robin
3160442b8b Floor media dimensions to prevent blurhash errors (#8157) 2022-03-25 16:40:49 +00:00
Michael Telatynski
bc01efa124 Improve handling of animated GIF and WEBP images (#8153) 2022-03-25 16:31:40 +00:00
dependabot[bot]
6ae7d60f4a Bump minimist from 1.2.5 to 1.2.6 (#21561)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 15:23:00 +00:00
Travis Ralston
50fd24581c Fix incorrect typing on SdkConfig defaults (#8147)
It's not a partial anymore - it's a full-fledged object with proper types.

Without this change, `SdkConfig.put(DEFAULTS)` is broken.
2022-03-25 09:13:26 -06:00
Travis Ralston
fe6a9c257b Fix style lint on Windows (#21557) 2022-03-25 09:13:22 -06:00
Travis Ralston
596c207e5b Remove unused step from e2e test docs for Windows (#8148) 2022-03-25 09:13:20 -06:00
Kerry
1397652f52 Extract location utils from components (#8152)
* extract util functions from MLocationBody

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

* disassemble mlocationbody

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

* tidy and add copyrights

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

* move types and utils from components/location to utils

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

* i18n

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

* empty line

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-25 15:36:22 +01:00
Kerry
0d513b3a2d geo.getCurrentPosition and some testing helpers (#8150)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-25 12:30:50 +01:00
Michael Telatynski
f2c3f880c7 Update Posthog URLs (#21559) 2022-03-25 10:34:25 +00:00
Suguru Hirahara
f229ad6407 Set flex to buttons on NewRoomIntro with gap around them (#8146)
* Set flex to buttons on NewRoomIntro with gap around them

Closes https://github.com/vector-im/element-web/issues/21553

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* empty commit
2022-03-24 13:51:52 -06:00
Suguru Hirahara
56569dbb63 Readd the group icon on home page (#8145)
Fixes https://github.com/vector-im/element-web/issues/21551

- Replace `community` with `group`

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-03-24 13:51:18 -06:00