Skip to content

added the recent actions feature when search bar is empty#210

Merged
unsecretised merged 5 commits intoRustCastLabs:masterfrom
hriztam:recent-actions
Mar 25, 2026
Merged

added the recent actions feature when search bar is empty#210
unsecretised merged 5 commits intoRustCastLabs:masterfrom
hriztam:recent-actions

Conversation

@hriztam
Copy link
Contributor

@hriztam hriztam commented Mar 22, 2026

Added the feat #204

  • Stores the recent actions data onto the disk itself so that it does not get reset with every with session
  • Current limit of recent actions is 5 which can we modified in the config.toml
  • Store format: ~/.config/rustcast/recent_actions.json with versioned schema, e.g. {"version":1,"keys":["settings","iterm",...]}
  • Creating another pr cause the last one got messed up with the merge conflicts

fixes #204

@unsecretised
Copy link
Collaborator

Is it possible to change the recent actions to be stored in the apps state instead of a json file? this is because I don't want to create more files than i have to on the users system

@hriztam
Copy link
Contributor Author

hriztam commented Mar 22, 2026

@unsecretised ok I can store it in the apps state

@unsecretised
Copy link
Collaborator

unsecretised commented Mar 22, 2026

Rather than recent actions maybe it could be the most used (done via using the ranking and giving top 5 rankings) when there is no query

@unsecretised unsecretised marked this pull request as draft March 23, 2026 03:02
@unsecretised unsecretised marked this pull request as ready for review March 25, 2026 15:48
@unsecretised unsecretised merged commit 83c7289 into RustCastLabs:master Mar 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] Show x recent used actions while search field is empty

2 participants