-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Add a flag to prettify headings generated from parameter names in Tesseract input / output schemas. Headings will take the parameter name, replace underscores with spaces, and capitalise them to be consistent with the rest of the UI.
Will be in the CLI as --pretty-headings/--no-pretty-headings, where the default is --pretty-headings.
Why is this needed?
Currently this is implemented as a default. But this causes a problem when two or more parameter names diverge only in their case, eg. wizard and Wizard (real example here). Providing CLI users the option to switch off the text processing circumvents this issue.
Usage example
Parameter names show up as headings verbatim as they are in code:
tesseract-streamlit --no-pretty-headings "http://localhost:4567" app.pyParameter names are prettified as headings:
tesseract-streamlit --pretty-headings "http://localhost:4567" app.pyor just
tesseract-streamlit "http://localhost:4567" app.pyMetadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request