remove plugin actions in non-plugin views

This commit is contained in:
booleanmaybe 2026-01-29 09:51:14 -05:00
parent c45f5574ec
commit 0530c8896c
3 changed files with 27 additions and 11 deletions

View file

@ -11,13 +11,13 @@ documentation, brainstorming ideas, incomplete implementations, AI prompts and p
Stick them in your repo. Keep around for as long as you need. Find them back in **git** history. Make issues out of them
and take them through an agile lifecycle. `tiki` helps you save and organize these files:
- Standalone Markdown viewer - view and edit Markdown files, navigate to local/external/GitHub/GitLab links, edit and save
- Keep, search, view and version Markdown files in the git repo
- Wiki-style documentation with multiple entry points
- Keep a to-do list with priorities, status, assignee and size
- Issue management with Kanban/Scrum style board and burndown chart
- Plugin-first architecture - user-defined plugins with filters and actions like Backlog, Recent, Roadmap
- AI skills to enable [Claude Code](https://code.claude.com), [Codex](https://openai.com/codex), [Opencode](https://opencode.ai) work with natural language commands like
- Standalone **Markdown viewer** - view and edit Markdown files, navigate to local/external/GitHub/GitLab links, edit and save
- Keep, search, view and version Markdown files in the **git repo**
- **Wiki-style** documentation with multiple entry points
- Keep a **to-do list** with priorities, status, assignee and size
- Issue management with **Kanban/Scrum** style board and burndown chart
- **Plugin-first** architecture - user-defined plugins with filters and actions like Backlog, Recent, Roadmap
- AI **skills** to enable [Claude Code](https://code.claude.com), [Codex](https://openai.com/codex), [Opencode](https://opencode.ai) work with natural language commands like
"_create a tiki from @my-file.md_"
"_mark tiki ABC123 as complete_"

View file

@ -41,7 +41,12 @@ tags:
where fields can have these values:
- type: bug, feature, task, story, epic
- status: backlog, ready, in_progress, review, done
- priority: is any integer number from 1 to 5 where 1 is the highest priority
- priority: is any integer number from 1 to 5 where 1 is the highest priority. Mapped to priority description:
- high: 1
- medium-high: 2
- medium: 3
- medium-low: 4
- low: 5
- points: story points from 1 to 10
### body
@ -64,8 +69,9 @@ For example:
## View
`Created` timestamp is taken from git file creation if available else from the file creation timestamp
`Author` is taken from git history as the git user who created the file
`Created` timestamp is taken from git file creation if available else from the file creation timestamp.
`Author` is taken from git history as the git user who created the file.
## Creation
@ -79,7 +85,7 @@ When asked to create a tiki:
Example: for random ID `x7f4k2`:
- Filename: `tiki-x7f4k2.md`
- Derived ID: `TIKI-X7F4K2`
- tiki ID: `TIKI-X7F4K2`
### Create from file

View file

@ -118,6 +118,16 @@ func (rl *RootLayout) onLayoutChange() {
// Update header with new view's actions
rl.headerConfig.SetViewActions(convertActionRegistry(newView.GetActionRegistry()))
// Clear plugin actions for non-plugin views (task detail, task edit)
// Plugin navigation keys only work in plugin views
if model.IsPluginViewID(viewID) {
// Restore plugin actions for plugin views
rl.headerConfig.SetPluginActions(convertActionRegistry(controller.GetPluginActions()))
} else {
// Clear plugin actions for task detail/edit views
rl.headerConfig.SetPluginActions(nil)
}
// Apply view-specific stats from the view
rl.updateViewStats(newView)