Merge commit '3f6887557b23d363e7f8f18518db4447739d64bb' into glitch-soc/merge-upstream

Conflicts:
- `app/javascript/entrypoints/common.js`:
  Upstream moved everything from `app/javascript/packs` to
  `app/javascript/entrypoints` while this file was a glitch-soc
  addition. Moved it like the rest.
- `tsconfig.json`:
  Conflict due to glitch-soc's flavor.
  Updated like upstream.

Also moved and updated the following files accordingly:
- `app/javascript/flavours/vanilla/theme.yml`
- `app/javascript/flavours/glitch/theme.yml`
- everything in `app/javascript/flavours/glitch/packs`
This commit is contained in:
Claire committed 2024-05-04 14:59:00 +02:00
commit bceb45adda
60 files changed
+92 -74

No files matched your search

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,4 @@
import 'packs/public-path';
import '@/entrypoints/public-path';
import { createRoot } from 'react-dom/client';
import Rails from '@rails/ujs';
@@ -1,4 +1,4 @@
import 'packs/public-path';
import '@/entrypoints/public-path';
import { start } from 'flavours/glitch/common';
import { loadLocale } from 'flavours/glitch/locales';
@@ -1,7 +1,7 @@
/* This file is a hack to have something more reliable than the upstream `common` tag
that is implicitly generated as the common chunk through webpack's `splitChunks` config */
import 'packs/public-path';
import '@/entrypoints/public-path';
import 'font-awesome/css/font-awesome.css';
// This is a hack to ensures that webpack compiles our images.
@@ -1,4 +1,4 @@
import 'packs/public-path';
import '@/entrypoints/public-path';
import ready from 'flavours/glitch/ready';
ready(() => {
@@ -1,6 +1,6 @@
import { createRoot } from 'react-dom/client';
import 'packs/public-path';
import '@/entrypoints/public-path';
import { IntlMessageFormat } from 'intl-messageformat';
import type { MessageDescriptor, PrimitiveType } from 'react-intl';
@@ -8,7 +8,7 @@ and performs no other task.
*/
import 'packs/public-path';
import '@/entrypoints/public-path';
import axios from 'axios';
@@ -1,4 +1,4 @@
import 'packs/public-path';
import '@/entrypoints/public-path';
import { createRoot } from 'react-dom/client';
import { start } from 'flavours/glitch/common';
@@ -1,4 +1,4 @@
import 'packs/public-path';
import '@/entrypoints/public-path';
import axios from 'axios';
import ready from 'flavours/glitch/ready';
+1 -1
View File
@@ -1,5 +1,5 @@
# (REQUIRED) The directory which contains the entry point files.
pack_directory: app/javascript/flavours/glitch/packs
pack_directory: app/javascript/flavours/glitch/entrypoints
# (OPTIONAL) Define files to be preloaded when a logged-in user is
# visiting the main web app.
+1 -1
View File
@@ -1,5 +1,5 @@
# (REQUIRED) The directory which contains the pack files.
pack_directory: app/javascript/packs
pack_directory: app/javascript/entrypoints
# (OPTIONAL) Define files to be preloaded when a logged-in user is
# visiting the main web app.
@@ -10,6 +10,13 @@ $content-width: 840px;
width: 100%;
min-height: 100vh;
.icon {
width: 16px;
height: 16px;
vertical-align: middle;
margin: 0 2px;
}
.sidebar-wrapper {
min-height: 100vh;
overflow: hidden;