Commit graph

4932 commits

Author SHA1 Message Date
b737910813
[#1223] lens/tui: Fix records view update
All checks were successful
DCO action / DCO (pull_request) Successful in 1m28s
Tests and linters / Run gofumpt (pull_request) Successful in 1m28s
Build / Build Components (1.21) (pull_request) Successful in 2m3s
Build / Build Components (1.22) (pull_request) Successful in 2m25s
Vulncheck / Vulncheck (pull_request) Successful in 2m10s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m4s
Tests and linters / Tests (1.22) (pull_request) Successful in 3m14s
Tests and linters / Staticcheck (pull_request) Successful in 3m17s
Tests and linters / Tests (1.21) (pull_request) Successful in 3m27s
Tests and linters / Lint (pull_request) Successful in 3m42s
Tests and linters / Tests with -race (pull_request) Successful in 3m52s
Tests and linters / gopls check (pull_request) Successful in 3m52s
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
79050140c6
[#1223] lens/tui: Change color schema
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
836e158c74
[#1223] lens/tui: Fix data loading while records view update
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
72fae1434d
[#1223] lens/tui: Refactor UI
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
8ddea4b8b2
[#1223] lens/tui: Add raw data handling
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
358083a539
[#1223] lens/tui: Update help
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
79563454c9
[#1223] lens/tui: Refactor UI
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
73b466db3b
[#1223] lens/tui: Change shortcuts
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
e3490cf0e1
[#1223] lens/tui: Fix color formatting
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
1515d8b7b4
[#1223] lens/tui: Add schema for writecache
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
78dd552739
[#1223] lens/tui: Fix container bucket schema display
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
d97b9a8439
[#1223] lens/tui: Fix buckets filters
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
bb62a88de0
[#1223] lens/tui: Use search history when start with predefined filter
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
fbc4e3169f
[#1223] lens/tui: Add missing parser for shard id
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
c76d901ca0
[#1223] lens/tui: Change help page for searching
Add information about empty prompt handling. In that case
all results are returned with no filter applied.

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
2c8e4f963d
[#1223] lens/tui: Fix User Attribute bucket schema display method
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
8dd398914e
[#1223] lens/tui: Add cursor to search bar
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
a248b4233d
[#1223] lens/tui: Use colorization in schema desplay
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
b3f8b30842
[#1223] lens/tui: Add search history
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
c46c868628
[#1223] lens/tui: Add interface for string colorization
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
2157afb76d
[#1223] lens/tui: Change User Attribute bucket schema
Make User Attribute bucket display more verbose

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
f8ce4ea63a
[#1223] lens/tui: Add alternative text on open an empty bucket
Add an alternative text to display in the selected bucket's records
view in case that bucket is empty.

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
4ed3b273f9
[#1223] lens/tui: Enchance help page
- Make help multipage: one page for each chapter.
- Improve help information.
- Add markup.

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:32 +03:00
ff28b7e592
[#1223] lens/tui: Add help for tui command in lens CLI
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
62f8e91d79
[#1223] lens/tui: Add app exit on q pressed while on help page
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
b00f184c78
[#1223] lens/tui: Add CLI flags to start search on application run
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
bcd48ff221
[#1223] lens/tui: Add help page
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
1504a1ae19
[#1223] lens/tui: Add search by attribute key or key and value
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
c54ae73841
[#1223] lens/tui: Fix exit on loading cancel
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
a3e0380e43
[#1223] lens/tui: Add error message on invalid search prompt
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
235cc15037
[#1223] lens/tui: Add search by OID, CID and full address
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
78a39f47b3
[#1223] lens/tui: Remove redundant UI components
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
1a1aa9fc4b
[#1223] lens/tui: remove pprof
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
98215ff06b
[#1223] lens/tui: fix records view input handling
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
b05fb6b767
[#1223] lens/tui: add records view and detailed view
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
172492a9be
[#1223] lens/tui: add loadable components into application
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
1da1824d15
[#1223] lens/tui: Make parsers for each bucket/record type
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
22170f05e9
[#1223] lens/tui: Fix subhandlers using same result to decode
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
c72bc6596a
[#1223] lens/tui: Abandon parsers
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
08f9fc4738
[#1223] lens/tui: Add lazy/eager switch while loading buckets
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
ec66b4cee2
[#1223] lens/tui: Add search by CID and OID
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
c65b3a9ba9
[#1223] lens/tui: Change buckets view loading
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
4115e4575b
[#1223] lens/tui: Add CID/OID-based filtering to handlers
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
8682762ef1
[#1223] lens/tui: Add rich text support for multipage view component
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
cd282edfd5
[#1223] lens/tui: Add detailed view for key-value records
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
249f621b56
[#1223] lens/tui: Change schema handlers
Make schema parsers generic

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
103d6e4c08
[#1223] scripts: Fix EC headers generation
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
1e07775161
[#1223] lens/tui: Add schema handlers for all bucket types
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
18c372198a
[#1223] scripts: Make db populating script work with all bucket types
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00
d4ce0adf11
[#1223] lens/tui: Add page navigation component
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-08-16 11:33:31 +03:00