yaroslav k
8bdf1c9be3
rewrite README; replace example e2e spec with a smoke test
...
README is now project-specific (features, stack, dev commands, docs).
The Playwright spec checks home/inventories/wiki render and asserts no
console errors.
2026-08-15 14:57:35 +03:00
yaroslav k
6a07bd668d
clear all compiler warnings
...
Remove unused imports (nav, sidebar, state, mock, inventory, item,
numput), the unused qty closure, the unused #![feature] gate, and a
module-scoped allow(dead_code) for the unmounted search stubs.
2026-08-15 14:56:57 +03:00
yaroslav k
444f046990
replace lazy_static with std::sync::LazyLock; commit Cargo.lock
...
lazy_static removed from Cargo.toml (the only dependency removal for
now, per decision). ITEMS_REFS/ITEMS_NAMES are now LazyLock statics; the
duplicate foundry.json load is dropped and the no-op HashMap roundtrip
is gone. Cargo.lock is now tracked: the app is a binary and builds
should be reproducible.
2026-08-15 14:56:54 +03:00
yaroslav k
6b792734b6
note kept dependencies in MODERNIZE.md and ROADMAP
...
itertools, thiserror, anyhow, pretty_env_logger, dotenvy stay for
certain; the rest of the unused-dependency list is under consideration.
2026-08-04 14:53:52 +03:00
yaroslav k
af60019fa2
add MODERNIZE.md: dependency and idiom cleanup list
...
Verified dependency reductions (13 unused or replaceable crates) and
idiomatic cleanups for the current codebase. Not applied yet; linked from
ROADMAP phase 0. Toolchain stays on nightly.
2026-08-04 09:39:37 +03:00
yaroslav k
ec4e771792
add ARCHITECTURE.md: concise overview of the codebase
...
State model (Store<Dashboard> via context), bundled item data, SSR/hydrate
pipeline, component tree, conventions, and current gaps.
2026-08-04 09:21:25 +03:00
yaroslav k
257f254b13
document every function, trait and struct in src/
...
Doc comments on all modules, components, entities, helpers and type
aliases; larger comments on the important entities (Dashboard, PlayerData,
Context, App, Numput, item data). No behavior changes.
2026-08-04 09:21:25 +03:00
yaroslav k
da405758ce
add ROADMAP.md: phased plan to MVP
...
Covers full campaign dashboard scope (character, inventory, quests,
notes, contacts, wiki) with localStorage + export/import persistence.
Phases 0-8 with acceptance criteria and effort estimates.
2026-08-04 09:13:51 +03:00
yaroslav k
8eee42c6dd
bump leptos to 0.8.20
...
- leptos 0.8.2 -> 0.8.20, meta/router/actix to latest 0.8.x
- reactive_stores 0.2.5 -> 0.4.3 (matches reactive_graph used by leptos 0.8.20)
- wasm-bindgen =0.2.101 -> =0.2.126, js-sys =0.3.78 -> =0.3.103
Fixes the build with the current nightly (tachys 0.2.18 no longer
needs the re-gated min_adt_const_params feature).
2026-08-04 06:40:38 +03:00
YK
6c7ba86018
item rendering, custom numput components
2025-09-23 15:44:06 +03:00
YK
c38fe1e3bc
remove tyolka
2025-09-23 15:37:56 +03:00
YK
38c6c7bb78
<Inventory/> component, basic markup + styles, balance (with <Numput>)
2025-09-20 11:08:03 +03:00
YK
b581802c32
styles
2025-09-20 11:06:55 +03:00
YK
0620207877
basic routing, <Nav> component
2025-09-20 11:06:39 +03:00
YK
ae1193e6ce
proper import spacing
2025-09-20 11:04:51 +03:00
YK
c54ca148f5
Numput component: custom number <input /> with relative value changes
2025-09-20 11:02:11 +03:00
YK
94befe3cd1
feature flag
2025-09-20 11:00:16 +03:00
YK
63da2898e1
reorder services
2025-09-20 11:00:10 +03:00
YK
2e742629dd
InventoryKind entity definition and Display impl
2025-09-20 10:59:52 +03:00
YK
8471deef8c
deps
2025-09-20 10:59:05 +03:00
YK
377051cf4f
assets
2025-09-20 10:58:50 +03:00
YK
ce0365963a
add missing component
2025-09-13 17:02:00 +03:00
YK
4b45e33cea
refactor: extract all sidebar blocks into separate modules/components
2025-09-13 16:54:10 +03:00
YK
17fba36476
chore: add entities generated fields to prelude, fix imports / #
2025-09-13 16:53:48 +03:00
YK
5870ec2def
css: change dst reset button appearance
2025-09-13 16:50:14 +03:00
YK
05563c18ec
sidebar part 4: spell slot block
2025-09-13 16:28:44 +03:00
YK
ef5fb1dfa2
expand header
2025-09-13 16:28:33 +03:00
YK
260dbc6b27
css fix
2025-09-13 16:05:48 +03:00
YK
8f1ec42e48
dst reset button functionality
2025-09-13 12:58:15 +03:00
YK
e956e986fb
todo
2025-09-13 12:57:50 +03:00
YK
809e13ce06
fix heading
2025-09-13 12:48:40 +03:00
YK
4e232e97e0
sidebar part 3: death save throws block
2025-09-13 12:48:01 +03:00
YK
fc13befcfb
font experiments
2025-09-13 12:47:31 +03:00
YK
697e7db055
make return type for closure explicit
2025-09-13 12:47:16 +03:00
YK
1c0c0a2b5f
sidebar part 2: hit dice block
2025-09-13 11:53:59 +03:00
YK
5fa38ad67d
remove unused mixin/font
2025-09-13 11:53:21 +03:00
YK
9a820583a7
set min field on number inputs
2025-09-13 10:09:42 +03:00
YK
f13db5cd9f
update entities defs
2025-09-13 10:09:20 +03:00
YK
37f2232af1
sidebar part 1: character image, name, class, level, xp, hp
2025-09-12 11:44:55 +03:00
YK
9c211d46de
remove debug code, fix <input> tag
2025-09-12 10:21:25 +03:00
YK
58879c7463
update entity defs, Name struct, mock data updated
2025-09-12 10:20:59 +03:00
YK
474f3c33af
button mixin
2025-09-12 10:20:17 +03:00
YK
ec1bc78fdf
update entities defs
2025-09-12 08:08:03 +03:00
YK
51eab50cf5
split styles
2025-09-12 08:07:54 +03:00
YK
2de2bb9c42
theme fix
2025-09-12 07:59:25 +03:00
YK
ee0e2e3df9
css background radial gradient
2025-09-12 07:44:54 +03:00
YK
4d07d0b429
dark default theme
2025-09-12 07:36:10 +03:00
YK
b8e9ddcdaf
feat: header with campaign image, name, session #, current date and (not yet functional nor properly styled) buttons
2025-09-12 07:23:09 +03:00
YK
57f0b29d5c
update entities defs
2025-09-12 07:22:18 +03:00
YK
964ce9aeab
deps
2025-09-12 07:22:03 +03:00