Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
5b4a7e6
chore: add handlebars-rs crate
Lepidopteran Nov 7, 2025
91893b1
refactor: add deserialization support to property info
Lepidopteran Nov 7, 2025
9654fec
feat: create template module with basic logic
Lepidopteran Nov 7, 2025
b85acb3
refactor: remove pub from fields in AppState
Lepidopteran Nov 7, 2025
8738f64
refactor: allow cache to be written to
Lepidopteran Nov 7, 2025
2a58635
feat: add templates to AppState and templates directory
Lepidopteran Nov 7, 2025
e4a4c23
feat: add handlers to template commands
Lepidopteran Nov 7, 2025
e18b393
chore: add fontdb crate
Lepidopteran Nov 7, 2025
29cf9f6
feat: add handlebars and font database to AppState
Lepidopteran Nov 7, 2025
76a9a18
fix(template): make helper functions public
Lepidopteran Nov 7, 2025
8285934
fix(template): rename template field to content
Lepidopteran Nov 7, 2025
56da82c
refactor(template): make FontFace path optional
Lepidopteran Nov 7, 2025
df37572
fix(template): add logic for optional font face paths
Lepidopteran Nov 7, 2025
44deda0
test(template): correct assert in test_get_font_face_monospaced
Lepidopteran Nov 7, 2025
065c7e6
chore(frontend): update Template bindings
Lepidopteran Nov 7, 2025
ae94cb2
feat(template): add ability to render templates that a user could create
Lepidopteran Nov 7, 2025
902d9aa
feat(template): create font face block helper
Lepidopteran Nov 8, 2025
f89a633
refactor(template)!: remove individual font face helpers for simplicity
Lepidopteran Nov 8, 2025
5308a89
feat(template): add theme to template data
Lepidopteran Nov 8, 2025
cc6f996
fix(template): use block context instead of replacing context in font…
Lepidopteran Nov 8, 2025
9843128
feat(template): add lines with tokens to template data
Lepidopteran Nov 8, 2025
4d4ab01
chore: update typescript bindings
Lepidopteran Nov 9, 2025
861728f
feat(template): add color hex and channel helpers
Lepidopteran Nov 9, 2025
5e6dbb1
chore: separate helpers into sub module for template
Lepidopteran Nov 11, 2025
28919b7
chore: upgrade `handlebars` to commit that introduces the `remove_hel…
Lepidopteran Nov 11, 2025
c0d2b15
chore: move quellcode license to quellcode to fix softlink issues on …
Lepidopteran Nov 12, 2025
cf4a064
chore(frontend): add `svelte-codemirror-editor` and `codemirror-lang-…
Lepidopteran Nov 12, 2025
0fb5888
chore(frontend): remove `svelte-code-editor` package
Lepidopteran Nov 14, 2025
70224d7
feat(frontend): copy code mirror component from `svelte-codemirror-ed…
Lepidopteran Nov 14, 2025
ff9a088
style(frontend): fix modal overflow by using flex
Lepidopteran Nov 14, 2025
bbded21
feat: create template registry to keep track of templates
Lepidopteran Nov 15, 2025
ff526a3
Merge branch 'main' into templating
Lepidopteran Nov 17, 2025
6b3252d
chore: update lock file
Lepidopteran Nov 17, 2025
56a6a3b
Merge branch 'main' into templating
Lepidopteran Nov 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
346 changes: 325 additions & 21 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion crates/quellcode/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ once_cell = "1.21.1"
toml = "0.8.20"
toml_edit = "0.22.24"
evalexpr = "12.0.2"
tinytemplate = "1.2.1"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json", "blocking"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
time = { version = "0.3.41", features = ["macros", "serde", "parsing", "formatting"] }
Expand All @@ -39,6 +38,9 @@ tauri-plugin-log = {version = "2", features = ["colored"] }
ts-rs = "11.0.1"
tauri-plugin-store = "2"
tauri-plugin-clipboard-manager = "2.3.0"
handlebars = { git = "https://github.com/sunng87/handlebars-rust.git", rev = "36ebe048567a895feabd3f75829bd6832efc6a4e", features = ["script_helper"] }

fontdb = "0.23.0"
tauri-plugin-fs = { git = "https://github.com/tauri-apps/plugins-workspace.git", rev = "c23fa03f07d5c1c220bcf0bca482364513e3f754"}

[dependencies.tauri-plugin-dialog]
Expand Down
154 changes: 95 additions & 59 deletions crates/quellcode/frontend/bun.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions crates/quellcode/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
"@tauri-apps/plugin-fs": "^2.4.2",
"@tauri-apps/plugin-log": "^2.7.0",
"@tauri-apps/plugin-store": "^2.4.0",
"@xiechao/codemirror-lang-handlebars": "^1.0.4",
"codemirror": "^6.0.2",
"runed": "^0.34.0",
"tailwindcss": "^4.1.13",
"ts-pattern": "^5.8.0",
Expand Down
Loading