From 38768ca96331cbc78f04a1dfcdfce2d3b5c5fe9d Mon Sep 17 00:00:00 2001 From: lew Date: Tue, 24 Mar 2026 02:39:36 +0000 Subject: [PATCH 1/8] feat: copied! text on share button --- src/lib/components/ShareMenu.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/ShareMenu.svelte b/src/lib/components/ShareMenu.svelte index 2b03bd6..2da40a2 100644 --- a/src/lib/components/ShareMenu.svelte +++ b/src/lib/components/ShareMenu.svelte @@ -36,12 +36,12 @@ + + {/if} + {#if fileImportData}
@@ -109,19 +129,56 @@ {/if} {:else} -
-

No characters yet.

- +
+
+
+

+ Pick a template and fill in the form. Each section covers a different record. Blank fields are omitted from the output automatically, so no rush to finish everything. +

+

+ Characters save to your browser. You can also export to a file or generate a share link: the link itself encodes the full set of records, so functionally it's a save file. +

+

+ Share links let the recipient see a preview of your records, with the option to import the character into their own roster. +

+

+ This tool is entirely data-driven in XML, and it's already set up for template sharing. A visual template editor is coming soon, so anybody can create their own templates and share them between one another. +

+

+ Cheers. +

+
+ +
+ + +
+
+ + + {#if showPicker} { showPicker = false; }} /> {/if} From ed695d136c2a8ca2a57187e098ed9243f1e1de44 Mon Sep 17 00:00:00 2001 From: lew Date: Tue, 24 Mar 2026 03:29:19 +0000 Subject: [PATCH 3/8] docs: README.md --- README.md | 58 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 999a2c3..0d9751e 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,44 @@ -# sv +# Character Records Generator -Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli). +A web-based character records tool for [Aurora Station](https://aurorastation.org/). Hosted at [c.ily.rs](https://c.ily.rs). -## Creating a project +Pick a template and fill in the form. Each section covers a different record. Blank fields are omitted from the output automatically, so no rush to finish everything. -If you're seeing this, you've probably already done this step. Congrats! - -```sh -# create a new project -npx sv create my-app -``` - -To recreate this project with the same configuration: - -```sh -# recreate this project -npx sv@0.12.8 create --template minimal --types ts --no-install . -``` - -## Developing - -Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: +Characters save to your browser. You can also export to a file or generate a share link: the link itself encodes the full set of records, so functionally it's a save file. + +Share links let the recipient see a preview of your records, with the option to import the character into their own roster. + +This tool is entirely data-driven in XML, and it's already set up for template sharing. A visual template editor is coming soon, so anybody can create their own templates and share them between one another. + +For issues, your best chance of getting a reply is to make an issue here, or to ping @llywelwyn in Discord. + +Cheers. + +## Development ```sh +npm install npm run dev - -# or start the server and open the app in a new browser tab -npm run dev -- --open ``` -## Building - -To create a production version of your app: +Build for production: ```sh npm run build ``` -You can preview the production build with `npm run preview`. +Validate the data files: -> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment. +```sh +npm run validate +``` + +Run tests: + +```sh +npx vitest run +``` + +## Where did the old WPF app go? + +This used to be a WPF desktop app. The last version of that lives at [`03feee5`](https://github.com/Aurorastation/character-records-generator/tree/03feee572bc7085fd8f9c458490a5dcc642ce689). From 79fe404de5dc310bbd96e85feca2e6404cb0992a Mon Sep 17 00:00:00 2001 From: lew Date: Tue, 24 Mar 2026 03:38:18 +0000 Subject: [PATCH 4/8] feat: updated help text --- src/lib/components/Header.svelte | 23 ++++++++++++++++++++++- src/lib/components/HelpText.svelte | 17 +++++++++++++++++ src/lib/file.test.ts | 2 +- src/lib/sharing.test.ts | 2 +- src/lib/utils/blank.test.ts | 4 ++-- src/routes/+page.svelte | 22 +++------------------- 6 files changed, 46 insertions(+), 24 deletions(-) create mode 100644 src/lib/components/HelpText.svelte diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte index e756c02..912b59f 100644 --- a/src/lib/components/Header.svelte +++ b/src/lib/components/Header.svelte @@ -1,5 +1,5 @@