Skip to content

Commit 6811ef5

Browse files
feat: implement Lua plugin engine and add help and onboarding UI models
1 parent bc0e8e3 commit 6811ef5

5 files changed

Lines changed: 23 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v1.6.1 (2026-05-09)
9+
10+
### Added
11+
* **Onboarding Enhancement**: Added "Filter by Tag" step to the Welcome Tour.
12+
* **Help Menu Clarity**: Included the Focus Engine and updated Filter by Tag shortcuts in the in-app help screen.
13+
14+
### Changed
15+
* **Shortcut Synchronization**: Standardized documentation across TUI help, Welcome Tour, and README to reflect the new `f` (Focus) and `ctrl+f` (Filter) keybindings.
16+
817
## v1.6.0 (2026-05-09)
918

1019
### Added

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.6.0
1+
1.6.1

internal/lua/engine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (e *Engine) SetupKairoAPI(L *lua.LState) {
6161
L.SetField(kairo, "notify", L.NewFunction(e.luaNotify))
6262

6363
// Meta
64-
L.SetField(kairo, "version", lua.LString("1.6.0"))
64+
L.SetField(kairo, "version", lua.LString("1.6.1"))
6565

6666
// Set as global
6767
L.SetGlobal("kairo", kairo)

internal/ui/help/model.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ func (m Model) View() string {
100100
"Navigation",
101101
[]struct{ key, desc string }{
102102
{"1-9", styles.IconView + "Switch views (tabs)"},
103-
{"f", styles.IconTag + "Filter by tag (Tag view)"},
103+
{"f", "󰔟 " + "Focus engine"},
104+
{"ctrl+f", styles.IconTag + "Filter by tag (Tag view)"},
104105
{getK(m.km.OpenTask), styles.IconView + "View task details"},
105106
{getK(m.km.ProjectSwitcher), "󰜎 " + "Switch project"},
106107
{getK(m.km.Back), "󰌍 " + "Back / Close"},

internal/ui/onboarding/model.go

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const (
1818
StepNavigation
1919
StepCreation
2020
StepCompletion
21+
StepFilter
2122
StepDashboard
2223
StepAI
2324
StepRecurring
@@ -102,6 +103,10 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {
102103
}
103104
case StepCompletion:
104105
if x.String() == "z" {
106+
m.step = StepFilter
107+
}
108+
case StepFilter:
109+
if x.Type == tea.KeyCtrlF || strings.EqualFold(x.String(), "ctrl+f") {
105110
m.step = StepDashboard
106111
}
107112
case StepDashboard:
@@ -177,6 +182,10 @@ func (m Model) View() string {
177182
title = "MARK AS DONE"
178183
body = "The best part of productivity is checking things off."
179184
action = "Press [Z] to complete a task"
185+
case StepFilter:
186+
title = "ORGANIZE BY TAG"
187+
body = "Keep your tasks categorized and find what you need instantly."
188+
action = "Press [CTRL+F] to filter by tag"
180189
case StepDashboard:
181190
title = "COMMAND CENTER"
182191
body = "Analyze your productivity, momentum, and focus trends in the Command Center."
@@ -236,7 +245,7 @@ func (m Model) View() string {
236245
}
237246

238247
func (m Model) renderProgress() string {
239-
steps := 11
248+
steps := 12
240249
var b strings.Builder
241250
for i := 0; i < steps; i++ {
242251
if i == int(m.step) {

0 commit comments

Comments
 (0)