Replace various instances of Riot with Element

This commit is contained in:
J. Ryan Stinnett 2020-11-25 17:01:19 +00:00
parent d05c022d4f
commit f1e89bf833
10 changed files with 11 additions and 11 deletions

View file

@ -74,7 +74,7 @@ Key:
Notes: Notes:
+ A task begins when all its dependencies (arrows going into it) are fulfilled. + A task begins when all its dependencies (arrows going into it) are fulfilled.
+ The success of setting up rageshake is never asserted, riot-web has a fallback path for running without IDB (and thus rageshake). + The success of setting up rageshake is never asserted, element-web has a fallback path for running without IDB (and thus rageshake).
+ Everything is awaited to be settled before the Modernizr check, to allow it to make use of things like i18n if they are successful. + Everything is awaited to be settled before the Modernizr check, to allow it to make use of things like i18n if they are successful.
Underlying dependencies: Underlying dependencies:

View file

@ -152,7 +152,7 @@ decentralised.
Desktop app configuration Desktop app configuration
========================= =========================
See https://github.com/vector-im/riot-desktop#user-specified-configjson See https://github.com/vector-im/element-desktop#user-specified-configjson
UI Features UI Features
=========== ===========

View file

@ -40,7 +40,7 @@ should start a new conference on your Jitsi server.
domain will appear later in the URL as a configuration parameter. domain will appear later in the URL as a configuration parameter.
**Hint**: If you want everyone on your homeserver to use the same Jitsi server by **Hint**: If you want everyone on your homeserver to use the same Jitsi server by
default, and you are using riot-web 1.6 or newer, set the following on your homeserver's default, and you are using element-web 1.6 or newer, set the following on your homeserver's
`/.well-known/matrix/client` config: `/.well-known/matrix/client` config:
```json ```json
{ {

View file

@ -43,7 +43,7 @@ When reviewing code, here are some things we look for and also things we avoid:
### Workflow ### Workflow
* Authors should request review from the riot-web team by default (if someone on * Authors should request review from the element-web team by default (if someone on
the team is clearly the expert in an area, a direct review request to them may the team is clearly the expert in an area, a direct review request to them may
be more appropriate) be more appropriate)
* Reviewers should remove the team review request and request review from * Reviewers should remove the team review request and request review from

View file

@ -52,7 +52,7 @@ other changes:
- skins/vector/themes/foo/css - skins/vector/themes/foo/css
- skins/vector/themes/foo/img - skins/vector/themes/foo/img
- skins/vector/themes/foo/fonts - skins/vector/themes/foo/fonts
- ideally riot-web would contain almost nothing but skins/vector directory. - ideally element-web would contain almost nothing but skins/vector directory.
- ability to entirely replace CSS rather than override it for a given theme - ability to entirely replace CSS rather than override it for a given theme
- e.g. if we replace `Login.js` with `StatusLogin.js`, then we should similarly be able to replace `_Login.scss` with `_StatusLogin.scss`. - e.g. if we replace `Login.js` with `StatusLogin.js`, then we should similarly be able to replace `_Login.scss` with `_StatusLogin.scss`.

View file

@ -18,7 +18,7 @@ my $gh = Net::GitHub->new(
login => 'ara4n', pass => read_password("github password: "), login => 'ara4n', pass => read_password("github password: "),
); );
$gh->set_default_user_repo('vector-im', 'riot-web'); $gh->set_default_user_repo('vector-im', 'element-web');
#my @issues = $gh->issue->repos_issues({ state => 'all', milestone => 3 }); #my @issues = $gh->issue->repos_issues({ state => 'all', milestone => 3 });
my @issues = $gh->issue->repos_issues({ state => 'all' }); my @issues = $gh->issue->repos_issues({ state => 'all' });

View file

@ -126,7 +126,7 @@ export async function loadSkin() {
/* webpackPreload: true */ /* webpackPreload: true */
"matrix-react-sdk"), "matrix-react-sdk"),
import( import(
/* webpackChunkName: "riot-web-component-index" */ /* webpackChunkName: "element-web-component-index" */
/* webpackPreload: true */ /* webpackPreload: true */
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore - this module is generated so may fail lint // @ts-ignore - this module is generated so may fail lint
@ -143,7 +143,7 @@ export async function loadTheme() {
export async function loadApp(fragParams: {}) { export async function loadApp(fragParams: {}) {
// load app.js async so that its code is not executed immediately and we can catch any exceptions // load app.js async so that its code is not executed immediately and we can catch any exceptions
const module = await import( const module = await import(
/* webpackChunkName: "riot-web-app" */ /* webpackChunkName: "element-web-app" */
/* webpackPreload: true */ /* webpackPreload: true */
"./app"); "./app");
window.matrixChat = ReactDOM.render(await module.loadApp(fragParams), window.matrixChat = ReactDOM.render(await module.loadApp(fragParams),

View file

@ -239,7 +239,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
// try to flush the rageshake logs to indexeddb before quit. // try to flush the rageshake logs to indexeddb before quit.
ipcRenderer.on('before-quit', function() { ipcRenderer.on('before-quit', function() {
console.log('riot-desktop closing'); console.log('element-desktop closing');
rageshake.flush(); rageshake.flush();
}); });

View file

@ -38,7 +38,7 @@ export function initRageshake() {
"Meatball menu → Settings → Blackboxing → Add /rageshake\\.js$"); "Meatball menu → Settings → Blackboxing → Add /rageshake\\.js$");
window.addEventListener('beforeunload', (e) => { window.addEventListener('beforeunload', (e) => {
console.log('riot-web closing'); console.log('element-web closing');
// try to flush the logs to indexeddb // try to flush the logs to indexeddb
rageshake.flush(); rageshake.flush();
}); });

View file

@ -249,7 +249,7 @@ module.exports = (env, argv) => {
}, },
{ {
// cache-bust languages.json file placed in // cache-bust languages.json file placed in
// riot-web/webapp/i18n during build by copy-res.js // element-web/webapp/i18n during build by copy-res.js
test: /\.*languages.json$/, test: /\.*languages.json$/,
type: "javascript/auto", type: "javascript/auto",
loader: 'file-loader', loader: 'file-loader',