aboutsummaryrefslogtreecommitdiff
path: root/gui/internal/ui/window.go
Commit message (Collapse)AuthorAgeFilesLines
* the window cannot pull the lock out from under a running applyLukasz Kasprzak2 days1-4/+44
| | | | | | | | | | | | | | | | | | Close releases the directory lock and closes the log. The window could reach it while an apply was still running - saving rules, saving settings, adding a directory, or closing the window - and the engine then went on moving files with the log shut underneath: a file moved that no krino undo can see, the rest of the plan silently abandoned, and the directory unlocked while krino was still working in it. PlanTab and UndoTab refuse to close while their apply is in flight (model.ErrApplying), the window's close request and reloadEngine honour the refusal instead of ignoring it, and the tabs and Settings are greyed out for the duration so a button that cannot work says so by being unavailable rather than by an error afterwards. The test starts an apply, calls Close from another goroutine while it is in flight, and requires the refusal.
* the module path is git.labunix.xyz/krinoLukasz Kasprzak2 days1-4/+4
| | | | | | | | | | | So that go install can find it. cgit serves no go-import meta tag, so nginx answers a ?go-get=1 request for /NAME with one pointing at https://git.labunix.xyz/NAME.git; the alternative was carrying a .git suffix through every import line forever. One sed over the imports, both go.mod files, and the dependency gate's whitelist. Nothing else depends on the path. go install works from the next tag, the first release whose go.mod carries it.
* comments that explain the code, not how it was writtenLukasz Kasprzak2 days1-6/+5
| | | | | | | | | | | | | | | | | | About 340 comments cited the development process: task and plan numbers, fix waves, rulings, reviewers, and the author in the third person with a date. None of that exists outside the work itself, so to a reader it pointed at nothing. Each one now states the engineering reason it was standing in front of; where a comment was provenance and nothing else, it is gone. References to docs/design.md and docs/gui-design.md by section stay: both ship with the repository. The design documents lose their amendment diaries - CHANGELOG.md is that record - and the GUI's says plainly that the window has gone further than the document. Only comments changed. Every .go file was parsed and its code printed with comments stripped, before and after: the two hashes are identical across all 175 files.
* gui: the toolbar in the order things happen, and an About blockLukasz Kasprzak2 days1-0/+4
| | | | | | | | | | | | | | The Plan bar now reads left to right as the work does: which directory, how it should be listed, what of it, where it is on disk - then Scan, and only then what to do with what came back. Scan carries the theme's accent, being the button that starts everything. Settings ends with About: the program and the version it was built as, what it is in a sentence, the licence, and who to write to. The text is model.About so it is tested; ui.Version is stamped by main. leak-check knows krino's own contact address, so the address check stays useful without a per-clone setting.
* gui: conditions as a nested tree, and a way to add a directoryLukasz Kasprzak2 days1-0/+62
|
* gui: size and age columns, column toggles, readable colours, a laid-out ↵Lukasz Kasprzak2 days1-12/+43
| | | | explanation
* gui: keep every divider where it is put, and let the columns shrinkLukasz Kasprzak2 days1-6/+23
|
* gui: aligned columns, theme colours, a second layout, and a scan-selection ↵Lukasz Kasprzak2 days1-1/+32
| | | | setting
* gui: coloured actions with headers, a filter over the plan, bulk trash or deleteLukasz Kasprzak3 days1-11/+94
|
* gui: a rendered PDF page per file, and Settings in the top rightLukasz Kasprzak3 days1-4/+13
|
* gui: syntax colours, a file preview, and a settings windowLukasz Kasprzak3 days1-2/+22
|
* gui: forms editor - rules and excludes as forms, with add, delete and moveLukasz Kasprzak3 days1-1/+1
|
* gui: Rules tab - the file as text, checked as you type, tested and savedLukasz Kasprzak3 days1-1/+30
|
* gui: History and undo tab; each plan and undo is its own runLukasz Kasprzak3 days1-8/+32
|
* gui: the Plan tab - scan, review, apply, with the directory lockedLukasz Kasprzak3 days1-0/+144