Skip to content

Commit 7c5a1f2

Browse files
committed
Merge branch 'develop' into ai-llm-integration
2 parents 7146c89 + 6aee383 commit 7c5a1f2

File tree

111 files changed

+2404
-876
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+2404
-876
lines changed

.github/workflows/nightly.yml

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- cron: "0 2 * * *" # run at 2 AM UTC
66
# This can be used to allow manually triggering nightlies from the web interface
77
workflow_dispatch:
8+
pull_request:
9+
paths:
10+
- .github/actions/build-electron/*
811
env:
912
GITHUB_UPLOAD_URL: https://uploads.github.com/repos/TriliumNext/Notes/releases/179589950/assets{?name,label}
1013
GITHUB_RELEASE_ID: 179589950
@@ -56,6 +59,7 @@ jobs:
5659

5760
- name: Publish release
5861
uses: softprops/action-gh-release@v2
62+
if: ${{ github.event_name != 'pull_request' }}
5963
with:
6064
make_latest: false
6165
prerelease: true
@@ -88,6 +92,7 @@ jobs:
8892

8993
- name: Publish release
9094
uses: softprops/action-gh-release@v2
95+
if: ${{ github.event_name != 'pull_request' }}
9196
with:
9297
make_latest: false
9398
prerelease: true

_check_ts_progress.sh

-13
This file was deleted.

bin/copy-dist.ts

-3
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,11 @@ try {
7676
"node_modules/dayjs/",
7777
"node_modules/boxicons/css/",
7878
"node_modules/boxicons/fonts/",
79-
"node_modules/mermaid/dist/",
8079
"node_modules/jquery/dist/",
8180
"node_modules/jquery-hotkeys/",
8281
"node_modules/split.js/dist/",
83-
"node_modules/panzoom/dist/",
8482
"node_modules/i18next/",
8583
"node_modules/i18next-http-backend/",
86-
"node_modules/jsplumb/dist/",
8784
"node_modules/vanilla-js-wheel-zoom/dist/",
8885
"node_modules/mark.js/dist/",
8986
"node_modules/normalize.css/",

docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ It's possible to customize the title of generated date notes by defining a `#dat
4343

4444
It is also possible to customize the title of generated month notes through the `#monthPattern` attribute, much like `#datePattern`. The options are:
4545

46+
* `{isoMonth}` results in an ISO 8061 formatted month (e.g. "2025-03" for March 2025)
4647
* `{monthNumberPadded}` results in a number like `09` for September, and `11` for November
4748
* `{month}` results in the full month name (e.g. `September` or `October`)
4849
* `{shortMonth3}` is replaced with the first 3 letters of the month, e.g. Jan, Feb, etc.
@@ -56,4 +57,4 @@ Trilium has some special support for day notes in the form of [backend Script AP
5657

5758
Day (and year, month) notes are created with a label - e.g. `#dateNote="2018-08-16"` this can then be used by other scripts to add new notes to day note etc.
5859

59-
Journal also has relation `child:child:child:template=Day template` (see \[\[attribute inheritance\]\]) which effectively adds \[\[template\]\] to day notes (grand-grand-grand children of Journal).
60+
Journal also has relation `child:child:child:template=Day template` (see \[\[attribute inheritance\]\]) which effectively adds \[\[template\]\] to day notes (grand-grand-grand children of Journal).

e2e/note_types/mermaid.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async function testAriaSnapshot({ page, context, noteTitle, snapshot }: AriaTest
6363
await app.goto();
6464
await app.goToNoteInNewTab(noteTitle);
6565

66-
const svgData = app.currentNoteSplit.locator(".mermaid-render svg");
66+
const svgData = app.currentNoteSplit.locator(".render-container svg");
6767
await expect(svgData).toBeVisible();
6868
await expect(svgData).toMatchAriaSnapshot(snapshot);
6969
}

e2e/support/app.ts

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export default class App {
5454
async goToNoteInNewTab(noteTitle: string) {
5555
const autocomplete = this.currentNoteSplit.locator(".note-autocomplete");
5656
await autocomplete.fill(noteTitle);
57+
await expect(this.currentNoteSplit.locator(".note-detail-empty-results")).toContainText(noteTitle);
5758
await autocomplete.press("ArrowDown");
5859
await autocomplete.press("Enter");
5960
}

libraries/ckeditor/ckeditor-content.css

+8-8
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
margin: 0 !important;
1818
}
1919

20-
.ck-content .admonition {
20+
.admonition {
2121
--accent-color: var(--card-border-color);
2222
border: 1px solid var(--accent-color);
2323
box-shadow: var(--card-box-shadow);
@@ -29,19 +29,19 @@
2929
overflow: hidden;
3030
}
3131

32-
.ck-content .admonition p:last-child {
32+
.admonition p:last-child {
3333
margin-bottom: 0;
3434
}
3535

36-
.ck-content .admonition p, h2 {
36+
.admonition p, h2 {
3737
margin-top: 0;
3838
}
3939

40-
.ck-content .admonition.note { --accent-color: #69c7ff; }
41-
.ck-content .admonition.tip { --accent-color: #40c025; }
42-
.ck-content .admonition.important { --accent-color: #9839f7; }
43-
.ck-content .admonition.caution { --accent-color: #ff2e2e; }
44-
.ck-content .admonition.warning { --accent-color: #e2aa03; }
40+
.admonition.note { --accent-color: #69c7ff; }
41+
.admonition.tip { --accent-color: #40c025; }
42+
.admonition.important { --accent-color: #9839f7; }
43+
.admonition.caution { --accent-color: #ff2e2e; }
44+
.admonition.warning { --accent-color: #e2aa03; }
4545

4646
/*
4747
* CKEditor 5 (v41.0.0) content styles.

libraries/ckeditor/ckeditor.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libraries/ckeditor/ckeditor.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+49-49
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)