Compare commits

..

11 Commits

Author SHA1 Message Date
J. Ryan Stinnett
b720c8a138 Merge remote-tracking branch 'origin/develop' into element 2020-07-15 10:35:45 +01:00
Michael Telatynski
989c4a3acc Merge pull request #14472 from vector-im/t3chguy/clean-up
Remove redundant enum
2020-07-15 09:58:12 +01:00
Michael Telatynski
18aab5f655 Remove redundant enum
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 09:46:39 +01:00
J. Ryan Stinnett
4ec679aaed Merge branch 'jryans/restore-device-name' into 'element'
Restore device name

See merge request new-vector/element/element-web/element-web!11
2020-07-15 08:41:47 +00:00
J. Ryan Stinnett
715a4f8dac Restore device name 2020-07-15 09:38:55 +01:00
Travis Ralston
970859629b Merge branch 'develop' into element 2020-07-14 15:04:48 -06:00
Jorik Schellekens
219a190e96 Merge pull request #14355 from vector-im/joriks/delabs-font-scaling
Remove font scaling from labs
2020-07-14 22:01:22 +01:00
J. Ryan Stinnett
1d90820b10 Merge branch 'jryans/device-name' into 'element'
Use a safe but sane device name

See merge request new-vector/element/element-web/element-web!10
2020-07-14 20:56:11 +00:00
Jorik Schellekens
f5209c0d7e Merge branch 'develop' of github.com:vector-im/riot-web into joriks/delabs-font-scaling 2020-07-14 21:51:41 +01:00
Matthew Hodgson
225d2ad931 new wallpaper 2020-07-14 21:44:26 +01:00
Jorik Schellekens
817759f590 Remove font scaling from labs 2020-07-06 15:45:30 +01:00
8 changed files with 12 additions and 30 deletions

View File

@@ -27,7 +27,6 @@
"showLabsSettings": false,
"features": {
"feature_new_spinner": "labs",
"feature_font_scaling": "labs",
"feature_pinning": "labs",
"feature_custom_status": "labs",
"feature_custom_tags": "labs",

View File

@@ -11,11 +11,6 @@ dropped. Ask in the room if you are unclear about any details here.**
Replaces the old spinner image with a new, svg-based one featuring a sleeker design.
## Font scaling (`feature_font_scaling`)
Enables font scaling options for accessibility. To alter the scale check the
appearance tab in settings.
## Message pinning (`feature_pinning`)
Allows you to pin messages in the room. To pin a message, use the 3 dots to the right of the message

View File

@@ -14,7 +14,6 @@
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
"features": {
"feature_new_spinner": "labs",
"feature_font_scaling": "labs",
"feature_pinning": "labs",
"feature_custom_status": "labs",
"feature_custom_tags": "labs",

Binary file not shown.

After

Width:  |  Height:  |  Size: 596 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 KiB

View File

@@ -28,7 +28,7 @@ export default class VectorAuthPage extends React.PureComponent {
if (VectorAuthPage.welcomeBackgroundUrl) return VectorAuthPage.welcomeBackgroundUrl;
const brandingConfig = SdkConfig.get().branding;
VectorAuthPage.welcomeBackgroundUrl = "themes/element/img/backgrounds/valley.jpg";
VectorAuthPage.welcomeBackgroundUrl = "themes/element/img/backgrounds/lake.jpg";
if (brandingConfig && brandingConfig.welcomeBackgroundUrl) {
if (Array.isArray(brandingConfig.welcomeBackgroundUrl)) {
const index = Math.floor(Math.random() * brandingConfig.welcomeBackgroundUrl.length);

View File

@@ -23,14 +23,6 @@ import {getVectorConfig} from "../getconfig";
import Favicon from "../../favicon";
export const updateCheckStatusEnum = {
CHECKING: 'CHECKING',
ERROR: 'ERROR',
NOTAVAILABLE: 'NOTAVAILABLE',
DOWNLOADING: 'DOWNLOADING',
READY: 'READY',
};
/**
* Vector-specific extensions to the BasePlatform template
*/

View File

@@ -173,21 +173,18 @@ export default class WebPlatform extends VectorBasePlatform {
}
getDefaultDeviceDisplayName(): string {
// TODO: Revert this after launch
// // strip query-string and fragment from uri
// const u = url.parse(window.location.href);
// u.protocol = "";
// u.search = "";
// u.hash = "";
// // Remove trailing slash if present
// u.pathname = u.pathname.replace(/\/$/, "");
// strip query-string and fragment from uri
const u = url.parse(window.location.href);
u.protocol = "";
u.search = "";
u.hash = "";
// Remove trailing slash if present
u.pathname = u.pathname.replace(/\/$/, "");
// let appName = u.format();
// // Remove leading slashes if present
// appName = appName.replace(/^\/\//, "");
// // `appName` is now in the format `develop.element.io`.
const appName = "Riot Web";
let appName = u.format();
// Remove leading slashes if present
appName = appName.replace(/^\/\//, "");
// `appName` is now in the format `develop.element.io`.
const ua = new UAParser();
const browserName = ua.getBrowser().name || "unknown browser";