commits
the conditionals here were a bit confusing, branch-based PRs just
skipped commit links altogether.
loading up issues on @tangled.sh/core should be much faster because we
only have to resolve ~10 DIDs at a time. with a saturated did-handle
cache, this should be near-instant page load times.
introduces the filetree package.
eventually we will have a sticky side-panel style layout for any page
displaying diffs (probably makes most sense when we have split diffs),
and this file-tree will move there.
in dev mode; all html templates are loaded from disk on access. UI
updates take <100ms now:
- go files are watched by air/gust
- html/css files are watched by `tailwind -w`
html/css changes do not cause appview reload; but do trigger reload of
static assets and templates; giving us instant live reloads for UI
development.
follows our diff fragment colorscheme now
and move appview/state/settings to appview/settings
move settings router into a subpackage
also introduces a middleware package under appview, and turns TID() into
a global function that operates on a globally mutable TID clock.
takes a lot of inspiration from patchutils' interdiff algorithm. unlike gerrit; rebase detection is very much a work in progress.
This allows knots to be deployed on a platform like coolify
takes advantage of our existing cache-busting logic now
include latest round number and number of comments in the latest round
in db.GetPulls. this is then displayed on the summary line on /pulls.
fixes a a few links in blob and tree views that caused the link to
switch from handle to did.
Fixes a crash when viewing a single commit, and possibly appending something like `.patch` to the end of it. The `result` from the knotserver is nil and then leads to a nil pointer deref later.
- ksClient returns strong types in its API
- ResubmitPull is broken down into 3 flows similar to NewPull
there is quite a bit of duplication going on here; but i imagine this is solved by introducing the xrpc layer down the line.
- use a better icon for reopen
- fix subtle bug with close and comment
- more spacing fixes
in dev mode; all html templates are loaded from disk on access. UI
updates take <100ms now:
- go files are watched by air/gust
- html/css files are watched by `tailwind -w`
html/css changes do not cause appview reload; but do trigger reload of
static assets and templates; giving us instant live reloads for UI
development.
and move appview/state/settings to appview/settings