Expanding a workflow run and waiting through one poll closed it again. Two causes. Nova applies whatever collapsible state getTreeItem returns, and it returned Collapsed for every row that was not built default-open, so each reload closed everything the user had opened. On top of that, a reload fired on every poll whether or not anything had changed, so an idle tree was rebuilt every 15 to 60 seconds for no reason. The provider now tracks expansion by node identifier, fed from the tree view's expand and collapse events. A node built default-open seeds that set the first time its identifier is seen, so such a section can still be closed by hand and stay closed. Node identifiers consequently have to be stable across rebuilds. The fallback for nodes without an explicit one was a counter, which changed on every build; it is now derived from the node's kind and name. Step rows were keyed by step number alone, which collided between jobs, and are now qualified by the job. Reloads are also skipped entirely when store.signature() is unchanged. The signature covers everything drawn, including the branch filter, which changes the tree without changing any data. A live run contributes a coarse time bucket so its elapsed clock still ticks, and the explicit Refresh command always redraws. Adds twelve checks covering expansion surviving a rebuild, a default-open section staying closed once closed, and the signature responding to run state and the branch filter but not to a no-op poll. 143 checks total. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MQuusXgZC2dzwpJJ1qhtti
1.9 KiB
1.9 KiB
Version 1.0
Initial release.
- Current Branch sidebar section with the pull requests and workflow runs for the checked-out branch, plus a configurable branch filter.
- Workflows section grouping every run by workflow file, expanding into jobs, steps, and artifacts. Servers older than Gitea 1.24 fall back to a flat recent runs list.
- Pull Requests section across every discovered repository, expanding into reviews, review comments, and changed files.
- Settings section showing per-instance connection state and per-repository Actions secrets and variables.
- Run control: re-run a run, re-run failed jobs, re-run a single job, cancel.
- Job logs opened in the editor, optionally saved under
.tmp/gitea-logs/. - Artifact download, reveal in Finder, and open.
- Pull request Markdown overview, unified diff, per-file diff, branch checkout, creation, merge with all four Gitea strategies, and close.
- Reviews: approve, request changes, comment, reply, resolve, unresolve, and adding a comment on the line under the cursor from the editor.
- Review comments for the current branch published as editor issues.
- Multiple Gitea instances, routed by git remote host, with tokens stored per instance in the macOS Keychain.
- Support for instances that answer SSH on a different hostname than their web
UI. The mapping is detected from the
ssh_urla repository advertises and saved as a host alias, so later repositories on that host resolve without a lookup; it can also be set by hand, and an unresolved host is reported in the sidebar with an action to fix it. - Adaptive polling and a notification when a workflow run fails.
- Gitea Actions CI running the test suites, script syntax checks, manifest validation, and a generated-image check.
- The sidebar keeps its open rows and scroll position across refreshes, and a poll that changes nothing no longer redraws it at all.