flare-floss icon indicating copy to clipboard operation
flare-floss copied to clipboard

qs: add option to disable printing of strings with given tag

Open williballenthin opened this issue 1 year ago • 5 comments

via #761 and @r0ny123

add an option to disable the printing of common/library strings to the console. and expanding on this: any tag specified by the user.

currently #code is hidden by default, maybe provide a way to un-hide that.

williballenthin avatar Jun 12 '23 09:06 williballenthin

it feels like this sort of interaction is best done live, such as with a quick filter panel and re-rendering the output. this way the user can play around with the output until it works for them. i'm a little worried that relying on CLI arguments is tedious to type and format. still, we should definitely have the functionality.

williballenthin avatar Jun 12 '23 09:06 williballenthin

I agree that this would be best done interactively. Are we in good enough shape yet to start on the dynamic UI?

mr-tz avatar Jun 12 '23 11:06 mr-tz

i would enjoy working on the interactive aspect of QS. my only hesitation right now is that it would distract from any other effort currently in progress with QS. what do we have left to explore and do we want to figure that out now?

for example, the databases need some work, especially #expert, so i think a database editor is useful, so had been working on that. this way, QS with static output is useful standalone, before the interactive view.

williballenthin avatar Jun 12 '23 11:06 williballenthin

ok, let's not get ahead of ourselves 😄 maybe can just start collection (user-specific) configuration values like below for now

{
  "min_str_len": 6,
  "tags_to_hide": ["#code"],
  "tags_to_show": [],
  ...
}

mr-tz avatar Jun 12 '23 11:06 mr-tz

I like @mr-tz's idea of configuration values.

r0ny123 avatar Jun 27 '23 16:06 r0ny123