Repository navigation
feat(ledger): FormTxt templates for every document, 30 pixel lines that add up, and a key backup notice (0.13.9) - #13
Merged
Merged
Conversation
…tter and a4 FormTxt now has a template for quotes, sales orders, purchase orders, purchase invoices and goods receipts beside the invoice and statement, and the lookup picks the Letter or A4 title by the same currency rule as the plain page. formtxt-template takes any kind, --a4, and --all --out DIR.
HomeStatus says whether the ledger is encrypted, where its key is and whether the owner confirmed a backup; ConfirmHomeBackup writes a marker beside a key the server made.
…rmation The owner's /api/me now carries the key state (path only, never the key), and a new handler records that the made key was backed up.
The owner sees a fixed notice in the overlay root until they confirm the made key is backed up, and the Setup hub always lists encryption, key file and backup state.
The line grid now works out each line's amount, tax and the document totals itself, on every edit and when a template's lines are set, writing into the existing cells.
The reserved error band under each line is gone; a line error now shows as a small tag laid over the row's lower edge.
The notice now sits at the bottom end of the window, over the content, so it no longer covers the sidebar's account row.
The goods receipt template named the customer fields, so FormTxt left the supplier blank; it now merges supplier, supplierName and supplierRef.
Removing a line now moves the following lines' values up one row and drops the last row node, so no row changes position.
Says when the owner sees the backup notice, what the confirmation writes and where Setup lists the key state.
…ge size rule PRINT.md lists each shipped template, the Letter and A4 titles chosen by currency, the --all command, and the 2026-11-27 run against FormTxt 0.38.0 with the page size of each print.
The log records why the A4 twin is made at write time and why the lookup never uses the other size.
Records the pre-write statement, the shift numbers and the JPY and USD dashboard readings.
POST /api/me/key-backed-up records that the owner backed up the key the server made.
The window mounts the notice that says the books are encrypted and where the key is.
The account hint beside a free line's description now holds a fixed box, so changing its text never moves it.
Why the error band went, how the grid totals lines and how removal keeps rows still.
…licy allows it The notice and the Encryption list set their layout with inline style attributes, which the server's style-src 'self' policy blocks. Seen in the compiled desktop app: the notice did not show and the list was unstyled. The rules now live in styles/key-notice.css.
Every version site moves to 0.13.9 and the changelog gets its section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(ledger): FormTxt templates for every document, 30 pixel lines that add up, and a key backup notice (0.13.9)
Summary
formledger formtxt-template KIND [--a4]writes one and--all --out DIRwrites all 14. The FormTxt page follows the plain page's size.style-src 'self'policy blocks, so the notice did not show.Commits
19 commits, oldest first, release commit last:
Version
v0.13.9 (release commit is last). Bumped:
internal/app/version.go,Makefileline 1,web/package.json, two fields inweb/package-lock.json,src-tauri/tauri.conf.json,src-tauri/Cargo.toml, theformledger-desktopentry insrc-tauri/Cargo.lock, the "Current build version" line in the fourHASHOUT_LOG.mdfiles, the README badge, and a newCHANGELOG.mdsection.Checks
go build ./...passed at each of the 19 commits;go vet ./...,gofmtandnpm run checkinweb/passed at the head.cargo checkand a debugcargo buildon Linux finished with no errors and no warnings, the first compile of this shell. Run on a virtual display with the release server beside it: the window opened signed in, the server madeformledger.keyin the app data folder and reused it on a second start, the ledger file was not readable as a plain database, and the key backup notice and the Setup facts showed.Not run: FormCel's window reading the snapshot (the agent sent to do it was stopped before finishing). Posted documents through FormTxt (drafts were used). The purchase document form in a browser. The packaged app, and anything on macOS or Windows. Still above zero: opening Setup reads 0.00001 with input, and typing in a unit price after select-all read 0.00004 with input in one slice.
Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.