Provide search functionality through the TUI #134

Merged
wojtek merged 35 commits from 24---provide-search-functionality-through-the-tui into main 2024-02-18 22:12:42 +01:00

35 Commits

Author SHA1 Message Date
652dda3016 Typos
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m43s
Cargo CI / Lint (pull_request) Successful in 1m15s
2024-02-18 22:09:25 +01:00
68b70f6b04 Complete unit tests
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m45s
Cargo CI / Lint (pull_request) Successful in 1m15s
2024-02-18 21:54:54 +01:00
49a96b5eb2 Add benchmarks
Some checks failed
Cargo CI / Build and Test (pull_request) Failing after 1m51s
Cargo CI / Lint (pull_request) Successful in 1m15s
2024-02-18 21:07:17 +01:00
1cafca9048 String operations with aho-corasick 2024-02-18 16:49:58 +01:00
c1e634b473 Merge app with machine 2024-02-18 14:24:54 +01:00
9a803c1dde Rename state to machine 2024-02-18 14:05:07 +01:00
d427612bbf Move tests 2024-02-18 14:01:32 +01:00
127da2b180 Simplify tests 2024-02-18 13:54:29 +01:00
47bae4957d Move search from selection to search state 2024-02-18 13:45:02 +01:00
b5afa24b7e Move some tests around 2024-02-18 12:29:02 +01:00
24daaff2a1 Fix a clippy lint
Some checks failed
Cargo CI / Build and Test (pull_request) Failing after 1m39s
Cargo CI / Lint (pull_request) Successful in 1m11s
2024-02-18 02:26:09 +01:00
7ceb610bde lint
Some checks failed
Cargo CI / Build and Test (pull_request) Failing after 3m5s
Cargo CI / Lint (pull_request) Failing after 1m11s
2024-02-18 02:19:18 +01:00
954199b001 Split code for states 2024-02-18 01:39:33 +01:00
a68063e7c8 Convenience 2024-02-17 23:32:06 +01:00
8ca6c4d36b Make states generic 2024-02-17 22:53:46 +01:00
6b7e3ad232 Split states into own structs 2024-02-17 22:53:33 +01:00
001bc81b0d Extract public interface of app 2024-02-17 22:34:37 +01:00
e96963f37a Improvements 2024-02-17 22:07:27 +01:00
c2920aac81 State machine solution works
Some checks failed
Cargo CI / Build and Test (pull_request) Failing after 1m42s
Cargo CI / Lint (pull_request) Successful in 1m14s
2024-02-17 10:03:30 +01:00
5979e75dcd Lints
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 3m5s
Cargo CI / Lint (pull_request) Successful in 1m13s
2024-02-15 20:52:06 +01:00
b34cc9c662 Complete unit tests 2024-02-15 20:44:02 +01:00
55129ffcfc Minor change 2024-02-13 07:44:20 +01:00
9cf29b99b8 Save entire list state when beginning search 2024-02-13 07:38:28 +01:00
5b7263d5d8 Implement cancel search 2024-02-12 23:18:28 +01:00
a29a3fa3ce Implement step back 2024-02-12 23:09:19 +01:00
488d20273e Add search_next 2024-02-12 22:52:18 +01:00
39e0c7c3f6 Clarify names 2024-02-12 22:33:54 +01:00
cc3de25192 memoization works 2024-02-12 22:30:02 +01:00
f8815982f4 More intuitive search behaviour 2024-02-12 20:11:18 +01:00
77790b8944 Use linear search instead for more flexibility 2024-02-11 23:03:58 +01:00
aca4628594 Correct-ish implementation with binary search 2024-02-11 16:54:48 +01:00
0b697f5484 Unit tests
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m40s
Cargo CI / Lint (pull_request) Successful in 1m14s
2024-02-11 10:58:56 +01:00
cea3516c60 Add incremental search 2024-02-11 10:03:49 +01:00
8fd11c4f57 Search mode input 2024-02-11 09:05:04 +01:00
973db2a753 No need to require column number
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m39s
Cargo CI / Lint (pull_request) Successful in 1m13s
2024-02-11 08:37:20 +01:00