yast icon indicating copy to clipboard operation
yast copied to clipboard

feat(tui): implement query history and model to render for the same.

Open qascade opened this issue 3 years ago • 1 comments

We need to implement query history for users to directly choose magnets, they searched for previously.

Acceptance Criteria:

  1. No Duplicate Entries in the registry.
  2. Filter support for search based on name
  3. Add simple command to print out top queries searched recently and give options to choose and run the same.

qascade avatar Aug 25 '22 00:08 qascade

Already Implemented ListModel can be used to display the stored query-history results. Store the query-history results in any data serialization file(json/yaml) and put it in $HOMEDIR/.yast. Try to use the already implemented functions to minimize code repetition. Also, add the ability to clear history by adding a history-clear command to CLI.

qascade avatar Oct 01 '22 10:10 qascade