MiloszKrajewski / TooMany

Docker inspired console application host for Windows
MIT License
6 stars 1 forks source link

Log Filtering #27

Open jonathonhawkins92 opened 3 years ago

jonathonhawkins92 commented 3 years ago

Via the CLI the user can add a filter to the monitor command, I would like to also implement this via the Monitor page, this would be a client side filter, in the UI level, this cannot be at the server store level due to users changing and adjusting filters as they go, as if it was it would cause a re-fetch of all data for that task, aka Jira style!

The UI for managing filters would be in the extended header; a chevron to expand the header can be added, multiple filters can be applied for a compounding effect, with a quick filter in the base header to add filters by name with an &/| delimiter, filters would be a Regexp I'm hoping I can get away with having users generate an or/and of regexes meaning only one regex has to be ran per item.

Blocker - #26 should be implement before as a way of trimming down the data set, otherwise we might end up filtering 1000+ items each time the item list grows, as a result of the compounding complexity that is pagination mix with filtering #26 will have to be extended to be filter aware.

jonathonhawkins92 commented 3 years ago

This has gone fairly well so far; jinxed, if it continues to do so I might also add highlighting.