Repository navigation
feat(window): dashboards, templates, a short sidebar with palette and menubar, encryption at rest (0.11.0) - #10
Merged
Conversation
The button now lays out icon and label itself and takes the edge, hover wash, danger variant and disabled opacity from form.md. Export button loses its inline style.
The shared table empty state is now a centered block with an icon, a title and one line, set through a setEmpty method. The general ledger and payment allocation screens use it instead of writing into the element.
Ports form.md's menubar so each item with a cmd: id runs that window command, and adds Go submenus that list every screen. Not compiled here, there is no GTK in this sandbox.
Adds GET /api/reports/series and GET /api/reports/top, computed from posted ledger lines and posted invoices, guarded by reports.read.
Behavior, recognized and organizations, with the file name left as it is.
Adds the templates table, a templates package with list, get, create, update, delete and use routes, and seven built-in starter templates.
Organization, license and artifacts.
Behavior, neighbor and grayed.
The statement comes under the renderer interface, a FormTxt renderer calls the engine's report route and gives way to plain on any failure, and the print route names the renderer that answered.
The print command takes --plain to force the fallback and says on standard error which renderer drew the file.
FORMLEDGER_KEY_FILE names the at-rest encryption key, as FORMMD_KEY_FILE does in form.md.
… set Ports the form.md store open path: the formledger-crypt VFS with keys derived from the master key, and a 4096-byte page check.
The server and the snapshot command check the key against encryption.json and refuse a locked or wrong-keyed data directory before opening it.
A fixed-size select above the list sets how Cash on Home is counted, saves at the change, puts the old choice back with a toast on refusal, and a muted line names the accounts it counts.
The document form gains a quiet Save as template button that asks for a name in place, fills a new draft from a template address, and downloads its PDF with Print.
The canceled status label, the aging screen titles and the empty-state titles read in American English. Status values and keys stay as they are.
Adds grouped bars, lines with area, horizontal bars and sparklines drawn as inline SVG in token colors, ported from form.md's bar chart and chart styles.
Adds the period ranges and the calls to the series and top routes.
Adds the Dashboards view with four stat tiles and six charts on a fixed grid, and registers it with its stylesheet.
Adds search, dashboard, report, settings and template icons and the one-line description for the two hub screens.
The sidebar keeps Search, Home, Dashboards, the daily selling and buying lists and a short foot; Reports and Setup are hub screens with a card per screen, and every screen gets a go command.
Ctrl or Cmd+Shift+P and the sidebar Search item open a grouped, fuzzy command list; new documents, file, view and help actions are commands the native menubar runs too.
PRINT.md names the route, the record fields, the template settings and the plain switches, and says why FormTxt could not draw a page here.
FormCel's own query engine read the snapshot unchanged with one SELECT and pivoted profit and loss by month; the section gives those steps and the window route.
The log entry says how the renderer follows FormTxt's report route, why templates are named by environment, and what FormTxt answered here.
A Templates view shows every template as a card with a small live preview of its header and first lines, with category counts, a search field, and Use, Edit, Duplicate and Delete.
License, color, gray, behavior and catalog, as the owner spells them; no file name or stored value changed.
New docs/ENCRYPTION.md and a data-at-rest section in SECURITY.md, following form.md's encryption wiki.
Records what was ported from form.md for at-rest encryption and what was left out.
The design page now describes the sidebar user chip and top bar, form.md's buttons and empty state with their sources, and the cash control.
Logs why the button rules, the shared empty block and the cash control are shaped as they are.
Free-description template lines now name the account they post to, so a built-in template turns into an invoice that posts on a company with no items.
Records why the sidebar holds so little, where the other screens went, what was ported from form.md and the measured layout shift.
Records the cmd: id contract with the window and that the menubar was not compiled in this sandbox.
Puts the change badge at a fixed width on the trailing side and caps very large changes, so the tiles never shift when figures arrive.
The empty palette listed Sign out first, so Enter signed a person out; groups now start with New and the screens.
Screen names a person reads now say aging, matching the screen titles; view ids are unchanged.
Says where each dashboard number comes from and how it matches the statements and the balances route.
Logs where the dashboard figures come from and what was ported from form.md.
The starter chart's 4000 and 6000 are groups, so built-in lines now post to 4100 Sales, 4900 Other income, 5100 and 5200.
Names each series with its color swatch in the readout line while nothing is hovered, so two-series charts can be read without hovering.
The Built in or Yours flag moves to the foot of the preview so it no longer covers the kind, and Duplicate sits next to Use.
Explains the gallery, the built-in templates, Save as template, Print and the template routes and permissions.
Records why built-in templates live in code, how permissions are checked, and why the action row stays untouched.
The preview's note and line rows now have fixed heights, which cut the gallery's load shift from 0.0016 to 0.0003.
The form's status badge still used the British spelling; the stored value is unchanged.
Both screens opened with an empty line under the title.
The page still described the sidebar as one group per business area.
The menubar, command palette, buttons, charts and the encryption switch-on.
Centered head with badges and links, feature tables, agents, under the hood, download, run from source, repository, maintainers and license. Names the dashboards, templates, palette and encryption that exist, and says what has not been compiled.
Moves every version site to v0.11.0 and adds the changelog 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(window): dashboards, templates, a short sidebar with palette and menubar, encryption at rest (0.11.0)
Summary
keygen,encryptandFORMLEDGER_KEY_FILE. It is on only when a key is given.Commits
51 commits, no merges: 8 feat(window), 4 fix(templates), 3 fix(window), 3 docs(window), 3 docs(spelling), 2 feat(templates), 2 feat(printout), 2 fix(copy), 2 docs(templates), and one each of feat(reports), feat(docform), feat(menu), feat(masters), feat(table), feat(store), feat(startup), feat(config), refactor(buttons), docs(readme), docs(notice), docs(encryption), docs(ledger), docs(print), docs(printout), docs(snapshot), docs(desktop), docs(behaviors), docs(hashout), docs(log), docs(logs), chore(release).
Version
v0.10.0 to v0.11.0, a minor bump for new features. Every version site moves in the last commit.
Checks
go vet,gofmtand the web type check on the head.go build ./...at each commit: 50 of 51 build. The commit that changes how the store opens does not build alone; the next commit repairs it.encryptthe file no longer starts with the SQLite header, the server starts with the key, and a wrong key or no key stops it with a plain sentence.Not run: the desktop shell and its menubar (never compiled), a printout drawn by FormTxt (it needs FormTxt's window and a person's consent), FormCel's window, and CI.
Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.