aboutsummaryrefslogtreecommitdiff
path: root/gui/internal/model/prefs.go
Commit message (Collapse)AuthorAgeFilesLines
* Settings changes take effect, and keep this copy respects the planLukasz Kasprzak46 hours1-0/+38
| | | | | | | | | | | | | | | | | | | | | Five of the Settings window's controls - the sort order, the three column toggles and the preview height - were read when it built its new preferences but never connected to anything, so changing them did nothing until some other control happened to fire, and then they all landed at once out of nowhere. Every control is connected now. The same closure composed a whole Prefs from its own widgets, which wrote the remembered divider positions back as zeros: dragging the panes to taste and then ticking any checkbox threw them away. A settings change is now applied over the preferences as they are, by model.Prefs.WithDisplay - which is where it can be tested, and is. "Keep this copy, replace the other" wrote a Displaces straight into the chain. internal/plan refuses to build two steps that displace one path, because the second destroys what the first put there; the window went round that code, so choosing it for two duplicates of one file left both rows saying "done" with the first file in the Trash. It now refuses the second, naming the file that has the place.
* the module path is git.labunix.xyz/krinoLukasz Kasprzak47 hours1-1/+1
| | | | | | | | | | | 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 Kasprzak48 hours1-2/+2
| | | | | | | | | | | | | | | | | | 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: sort the plan by name, size, age, action or ruleLukasz Kasprzak2 days1-1/+7
|
* gui: size and age columns, column toggles, readable colours, a laid-out ↵Lukasz Kasprzak2 days1-0/+6
| | | | explanation
* gui: keep every divider where it is put, and let the columns shrinkLukasz Kasprzak2 days1-4/+22
|
* gui: aligned columns, theme colours, a second layout, and a scan-selection ↵Lukasz Kasprzak2 days1-1/+14
| | | | setting
* gui: coloured actions with headers, a filter over the plan, bulk trash or deleteLukasz Kasprzak2 days1-3/+1
|
* gui: the preview is as big as you drag it, and PDFs render to suitLukasz Kasprzak2 days1-1/+12
|
* gui: syntax colours, a file preview, and a settings windowLukasz Kasprzak2 days1-0/+62