commits
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
- improve issue page icons and icon states
- make issue comments more like pull comments
- padding and spacing consistency across the board
drive-by fix: style the separator between pull submissions
path.Match does not work as expected; but our ACLs currently do not make
use of these anyway. glob/wildcard matching can be implemented in the
future.
Also make the repo action button font size text-sm.
drive-by fixes:
- make the edit icon for repo-descriptions more compact
- do not double-pad rendered blob contents
Turns out we were accidentally using the destination knot as the
sourceUrl, and git was understandably annoyed. This also improves the
error checking when fetching the existingRepo from the database to
verify the forkName won't clash.
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.
Turns out we were accidentally using the destination knot as the
sourceUrl, and git was understandably annoyed. This also improves the
error checking when fetching the existingRepo from the database to
verify the forkName won't clash.