Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): integrate boxicons into client

Elian Doran90ee0965c7ae
diff --git a/apps/client/package.json b/apps/client/package.json
index c98f45bbc6..cc03140ba7 100644
--- a/apps/client/package.json
+++ b/apps/client/package.json
@@ -25,6 +25,7 @@
"@triliumnext/codemirror": "workspace:*",
"@triliumnext/commons": "workspace:*",
"bootstrap": "5.3.6",
+ "boxicons": "2.1.4",
"dayjs": "1.11.13",
"dayjs-plugin-utc": "0.1.2",
"debounce": "2.2.0",
diff --git a/apps/client/src/desktop.ts b/apps/client/src/desktop.ts
index 51c69aa704..db7484d9aa 100644
--- a/apps/client/src/desktop.ts
+++ b/apps/client/src/desktop.ts
@@ -11,6 +11,7 @@ import options from "./services/options.js";
import type ElectronRemote from "@electron/remote";
import type Electron from "electron";
import "./stylesheets/bootstrap.scss";
+import "boxicons";
await appContext.earlyInit();
diff --git a/apps/client/src/mobile.ts b/apps/client/src/mobile.ts
index 5d88ec1c41..b28dc86ff5 100644
--- a/apps/client/src/mobile.ts
+++ b/apps/client/src/mobile.ts
@@ -2,6 +2,7 @@ import appContext from "./components/app_context.js";
import noteAutocompleteService from "./services/note_autocomplete.js";
import glob from "./services/glob.js";
import "./stylesheets/bootstrap.scss";
+import "boxicons";
glob.setupGlobs();
diff --git a/apps/server/package.json b/apps/server/package.json
index 66cc22b530..d1e2e62393 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -43,7 +43,6 @@
"@types/ws": "8.18.1",
"@types/xml2js": "0.4.14",
"autocomplete.js": "0.38.1",
- "boxicons": "2.1.4",
"express-http-proxy": "2.1.1",
"jquery": "3.7.1",
"katex": "0.16.22",
diff --git a/apps/server/webpack.config.cjs b/apps/server/webpack.config.cjs
index cd5b549942..8279424949 100644
--- a/apps/server/webpack.config.cjs
+++ b/apps/server/webpack.config.cjs
@@ -15,8 +15,6 @@ function buildFilesToCopy() {
const nodePaths = [
"@excalidraw/excalidraw/dist/prod/fonts/",
"katex/dist",
- "boxicons/css",
- "boxicons/fonts",
"jquery/dist",
"jquery-hotkeys",
"autocomplete.js/dist",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 690228d8bf..6e0c305899 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -212,6 +212,9 @@ importers:
bootstrap:
specifier: 5.3.6
version: 5.3.6(@popperjs/[email protected])
+ boxicons:
+ specifier: 2.1.4
+ version: 2.1.4
dayjs:
specifier: 1.11.13
version: 1.11.13
@@ -490,7 +493,7 @@ importers:
version: 2.1.2([email protected])
'@excalidraw/excalidraw':
specifier: 0.18.0
'@triliumnext/commons':
specifier: workspace:*
version: link:../../packages/commons
@@ -605,9 +608,6 @@ importers:
bindings:
specifier: 1.5.0
version: 1.5.0
- boxicons:
- specifier: 2.1.4
- version: 2.1.4
chardet:
specifier: 2.1.0
version: 2.1.0
@@ -16861,47 +16861,6 @@ snapshots:
'@eslint/core': 0.13.0
levn: 0.4.1
- dependencies:
- '@braintree/sanitize-url': 6.0.2
- '@excalidraw/laser-pointer': 1.3.1
- '@excalidraw/mermaid-to-excalidraw': 1.1.2
- '@excalidraw/random-username': 1.1.0
- '@radix-ui/react-tabs': 1.0.2([email protected]([email protected]))([email protected])
- browser-fs-access: 0.29.1
- canvas-roundrect-polyfill: 0.0.1
- clsx: 1.1.1
- cross-env: 7.0.3
- es6-promise-pool: 2.5.0
- fractional-indexing: 3.2.0
- fuzzy: 0.1.3
- image-blob-reduce: 3.0.1
- jotai: 2.11.0(@types/[email protected])([email protected])
- lodash.debounce: 4.0.8
- lodash.throttle: 4.1.1
- nanoid: 3.3.3
- open-color: 1.9.1
- pako: 2.0.3
- perfect-freehand: 1.2.0
- pica: 7.1.1
- png-chunk-text: 1.0.0
- png-chunks-encode: 1.0.0
- png-chunks-extract: 1.0.0
- points-on-curve: 1.0.1
- pwacompat: 2.0.17
- react: 16.14.0
- react-dom: 19.1.0([email protected])
- roughjs: 4.6.4
- sass: 1.51.0
- tunnel-rat: 0.1.2(@types/[email protected])([email protected])
- transitivePeerDependencies:
- - '@types/react'
- - '@types/react-dom'
- - immer
- - supports-color
-
dependencies:
'@braintree/sanitize-url': 6.0.2
@@ -16971,12 +16930,6 @@ snapshots:
'@floating-ui/core': 1.6.9
'@floating-ui/utils': 0.2.9
- dependencies:
- '@floating-ui/dom': 1.6.13
- react: 16.14.0
- react-dom: 19.1.0([email protected])
-
dependencies:
'@floating-ui/dom': 1.6.13
@@ -18451,15 +18404,6 @@ snapshots:
'@radix-ui/[email protected]': {}
- dependencies:
- react: 16.14.0
- react-dom: 19.1.0([email protected])
- optionalDependencies:
- '@types/react': 19.1.4
- '@types/react-dom': 19.1.5(@types/[email protected])
-
dependencies:
@@ -18469,16 +18413,6 @@ snapshots:
'@types/react': 19.1.4
'@types/react-dom': 19.1.5(@types/[email protected])
- dependencies:
- '@babel/runtime': 7.27.0
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- '@radix-ui/react-context': 1.0.0([email protected])
- '@radix-ui/react-primitive': 1.0.1([email protected]([email protected]))([email protected])
- '@radix-ui/react-slot': 1.0.1([email protected])
- react: 16.14.0
- react-dom: 19.1.0([email protected])
-
dependencies:
'@babel/runtime': 7.27.0
@@ -18489,73 +18423,33 @@ snapshots:
react: 19.1.0
react-dom: 19.1.0([email protected])
- dependencies:
- '@babel/runtime': 7.27.0
- react: 16.14.0
-
dependencies:
'@babel/runtime': 7.27.0
react: 19.1.0
- dependencies:
- react: 16.14.0
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
react: 19.1.0
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- '@babel/runtime': 7.27.0
- react: 16.14.0
-
dependencies:
'@babel/runtime': 7.27.0
react: 19.1.0
- dependencies:
- react: 16.14.0
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
react: 19.1.0
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- '@babel/runtime': 7.27.0
- react: 16.14.0
-
dependencies:
'@babel/runtime': 7.27.0
react: 19.1.0
- dependencies:
- '@radix-ui/primitive': 1.1.1
- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-use-escape-keydown': 1.1.0(@types/[email protected])([email protected])
- react: 16.14.0
- react-dom: 19.1.0([email protected])
- optionalDependencies:
- '@types/react': 19.1.4
- '@types/react-dom': 19.1.5(@types/[email protected])
-
dependencies:
'@radix-ui/primitive': 1.1.1
@@ -18569,29 +18463,12 @@ snapshots:
'@types/react': 19.1.4
'@types/react-dom': 19.1.5(@types/[email protected])
- dependencies:
- react: 16.14.0
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
react: 19.1.0
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
- react: 16.14.0
- react-dom: 19.1.0([email protected])
- optionalDependencies:
- '@types/react': 19.1.4
- '@types/react-dom': 19.1.5(@types/[email protected])
-
dependencies:
'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
@@ -18603,25 +18480,12 @@ snapshots:
'@types/react': 19.1.4
'@types/react-dom': 19.1.5(@types/[email protected])
- dependencies:
- '@babel/runtime': 7.27.0
- '@radix-ui/react-use-layout-effect': 1.0.0([email protected])
- react: 16.14.0
-
dependencies:
'@babel/runtime': 7.27.0
'@radix-ui/react-use-layout-effect': 1.0.0([email protected])
react: 19.1.0
- dependencies:
- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
- react: 16.14.0
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
@@ -18629,29 +18493,6 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- '@radix-ui/primitive': 1.1.1
- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-focus-guards': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-slot': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
- aria-hidden: 1.2.4
- react: 16.14.0
- react-dom: 19.1.0([email protected])
- react-remove-scroll: 2.6.3(@types/[email protected])([email protected])
- optionalDependencies:
- '@types/react': 19.1.4
- '@types/react-dom': 19.1.5(@types/[email protected])
-
dependencies:
'@radix-ui/primitive': 1.1.1
@@ -18675,24 +18516,6 @@ snapshots:
'@types/react': 19.1.4
'@types/react-dom': 19.1.5(@types/[email protected])
- dependencies:
- '@floating-ui/react-dom': 2.1.2([email protected]([email protected]))([email protected])
- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-use-rect': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/rect': 1.1.0
- react: 16.14.0
- react-dom: 19.1.0([email protected])
- optionalDependencies:
- '@types/react': 19.1.4
- '@types/react-dom': 19.1.5(@types/[email protected])
-
dependencies:
'@floating-ui/react-dom': 2.1.2([email protected]([email protected]))([email protected])
@@ -18711,16 +18534,6 @@ snapshots:
'@types/react': 19.1.4
'@types/react-dom': 19.1.5(@types/[email protected])
- dependencies:
- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
- react: 16.14.0
- react-dom: 19.1.0([email protected])
- optionalDependencies:
- '@types/react': 19.1.4
- '@types/react-dom': 19.1.5(@types/[email protected])
-
dependencies:
@@ -18731,14 +18544,6 @@ snapshots:
'@types/react': 19.1.4
'@types/react-dom': 19.1.5(@types/[email protected])
- dependencies:
- '@babel/runtime': 7.27.0
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- '@radix-ui/react-use-layout-effect': 1.0.0([email protected])
- react: 16.14.0
- react-dom: 19.1.0([email protected])
-
dependencies:
'@babel/runtime': 7.27.0
@@ -18747,16 +18552,6 @@ snapshots:
react: 19.1.0
react-dom: 19.1.0([email protected])
- dependencies:
- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
- react: 16.14.0
- react-dom: 19.1.0([email protected])
- optionalDependencies:
- '@types/react': 19.1.4
- '@types/react-dom': 19.1.5(@types/[email protected])
-
dependencies:
'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
@@ -18767,13 +18562,6 @@ snapshots:
'@types/react': 19.1.4
'@types/react-dom': 19.1.5(@types/[email protected])
- dependencies:
- '@babel/runtime': 7.27.0
- '@radix-ui/react-slot': 1.0.1([email protected])
- react: 16.14.0
- react-dom: 19.1.0([email protected])
-
dependencies:
'@babel/runtime': 7.27.0
@@ -18781,15 +18569,6 @@ snapshots:
react: 19.1.0
react-dom: 19.1.0([email protected])
- dependencies:
- '@radix-ui/react-slot': 1.1.2(@types/[email protected])([email protected])
- react: 16.14.0
- react-dom: 19.1.0([email protected])
- optionalDependencies:
- '@types/react': 19.1.4
- '@types/react-dom': 19.1.5(@types/[email protected])
-
dependencies:
'@radix-ui/react-slot': 1.1.2(@types/[email protected])([email protected])
@@ -18799,21 +18578,6 @@ snapshots:
'@types/react': 19.1.4
'@types/react-dom': 19.1.5(@types/[email protected])
- dependencies:
- '@babel/runtime': 7.27.0
- '@radix-ui/primitive': 1.0.0
- '@radix-ui/react-collection': 1.0.1([email protected]([email protected]))([email protected])
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- '@radix-ui/react-context': 1.0.0([email protected])
- '@radix-ui/react-direction': 1.0.0([email protected])
- '@radix-ui/react-id': 1.0.0([email protected])
- '@radix-ui/react-primitive': 1.0.1([email protected]([email protected]))([email protected])
- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
- '@radix-ui/react-use-controllable-state': 1.0.0([email protected])
- react: 16.14.0
- react-dom: 19.1.0([email protected])
-
dependencies:
'@babel/runtime': 7.27.0
@@ -18829,25 +18593,12 @@ snapshots:
react: 19.1.0
react-dom: 19.1.0([email protected])
- dependencies:
- '@babel/runtime': 7.27.0
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- react: 16.14.0
-
dependencies:
'@babel/runtime': 7.27.0
'@radix-ui/react-compose-refs': 1.0.0([email protected])
react: 19.1.0
- dependencies:
- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
- react: 16.14.0
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
@@ -18855,20 +18606,6 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- '@babel/runtime': 7.27.0
- '@radix-ui/primitive': 1.0.0
- '@radix-ui/react-context': 1.0.0([email protected])
- '@radix-ui/react-direction': 1.0.0([email protected])
- '@radix-ui/react-id': 1.0.0([email protected])
- '@radix-ui/react-presence': 1.0.0([email protected]([email protected]))([email protected])
- '@radix-ui/react-primitive': 1.0.1([email protected]([email protected]))([email protected])
- '@radix-ui/react-roving-focus': 1.0.2([email protected]([email protected]))([email protected])
- '@radix-ui/react-use-controllable-state': 1.0.0([email protected])
- react: 16.14.0
- react-dom: 19.1.0([email protected])
-
dependencies:
'@babel/runtime': 7.27.0
@@ -18883,47 +18620,23 @@ snapshots:
react: 19.1.0
react-dom: 19.1.0([email protected])
- dependencies:
- '@babel/runtime': 7.27.0
- react: 16.14.0
-
dependencies:
'@babel/runtime': 7.27.0
react: 19.1.0
- dependencies:
- react: 16.14.0
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
react: 19.1.0
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- '@babel/runtime': 7.27.0
- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
- react: 16.14.0
-
dependencies:
'@babel/runtime': 7.27.0
'@radix-ui/react-use-callback-ref': 1.0.0([email protected])
react: 19.1.0
- dependencies:
- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
- react: 16.14.0
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
@@ -18931,13 +18644,6 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
- react: 16.14.0
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
@@ -18945,35 +18651,17 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- '@babel/runtime': 7.27.0
- react: 16.14.0
-
dependencies:
'@babel/runtime': 7.27.0
react: 19.1.0
- dependencies:
- react: 16.14.0
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
react: 19.1.0
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- '@radix-ui/rect': 1.1.0
- react: 16.14.0
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
'@radix-ui/rect': 1.1.0
@@ -18981,13 +18669,6 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
- react: 16.14.0
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
@@ -24208,7 +23889,7 @@ snapshots:
dependencies:
- '@babel/runtime': 7.27.0
+ '@babel/runtime': 7.27.1
loose-envify: 1.4.0
resolve-pathname: 3.0.0
tiny-invariant: 1.3.3
@@ -25175,21 +24856,11 @@ snapshots:
dependencies:
'@panva/asn1.js': 1.0.0
- dependencies:
- jotai: 2.11.0(@types/[email protected])([email protected])
- react: 16.14.0
-
dependencies:
jotai: 2.11.0(@types/[email protected])([email protected])
react: 19.1.0
- optionalDependencies:
- '@types/react': 19.1.4
- react: 16.14.0
-
optionalDependencies:
'@types/react': 19.1.4
@@ -27747,11 +27418,6 @@ snapshots:
react: 16.14.0
scheduler: 0.19.1
- dependencies:
- react: 16.14.0
- scheduler: 0.26.0
-
dependencies:
react: 19.1.0
@@ -27772,14 +27438,6 @@ snapshots:
- dependencies:
- react: 16.14.0
- react-style-singleton: 2.2.3(@types/[email protected])([email protected])
- tslib: 2.8.1
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
react: 19.1.0
@@ -27788,17 +27446,6 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- react: 16.14.0
- react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])
- react-style-singleton: 2.2.3(@types/[email protected])([email protected])
- tslib: 2.8.1
- use-callback-ref: 1.3.3(@types/[email protected])([email protected])
- use-sidecar: 1.1.3(@types/[email protected])([email protected])
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
react: 19.1.0
@@ -27831,14 +27478,6 @@ snapshots:
react: 16.14.0
warning: 4.0.3
- dependencies:
- get-nonce: 1.0.1
- react: 16.14.0
- tslib: 2.8.1
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
get-nonce: 1.0.1
@@ -29594,14 +29233,6 @@ snapshots:
dependencies:
safe-buffer: 5.2.1
- dependencies:
- zustand: 4.5.6(@types/[email protected])([email protected])
- transitivePeerDependencies:
- - '@types/react'
- - immer
- - react
-
dependencies:
zustand: 4.5.6(@types/[email protected])([email protected])
@@ -29832,13 +29463,6 @@ snapshots:
- dependencies:
- react: 16.14.0
- tslib: 2.8.1
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
react: 19.1.0
@@ -29846,14 +29470,6 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- detect-node-es: 1.1.0
- react: 16.14.0
- tslib: 2.8.1
- optionalDependencies:
- '@types/react': 19.1.4
-
dependencies:
detect-node-es: 1.1.0
@@ -29862,10 +29478,6 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.4
- dependencies:
- react: 16.14.0
-
dependencies:
react: 19.1.0
@@ -30752,13 +30364,6 @@ snapshots:
- dependencies:
- use-sync-external-store: 1.5.0([email protected])
- optionalDependencies:
- '@types/react': 19.1.4
- react: 16.14.0
-
dependencies:
use-sync-external-store: 1.5.0([email protected])