Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Only include supported language and file types based on report type selection #50

Open
fletchapin opened this issue Feb 4, 2021 · 1 comment
Assignees
Labels
Enhancement New feature or request

Comments

@fletchapin
Copy link
Member

Use Case

When selecting what kind of report for the website to produce, some file types and languages are only supported by certain report types. For example, the Design Specs can be output in PDF or HTML form, but the validation report can only be a PDF. See this PR and associated issue.

Solution

Ideally, the user selects Report Type first before the Language and File Type options are displayed. This way, only file types supported by the selected report will be displayed in the dropdown.

Alternatives

To avoid this, we put all permutations into a single dropdown, e.g. Design Specs - PDF (Spanish). This single list approach is less user friendly and will grow quite rapidly as new languages or file types are added, so ideally it should be replaced.

@fletchapin fletchapin added the Enhancement New feature or request label Feb 4, 2021
@fletchapin fletchapin changed the title ENH: ENH: Only include supported language and file types based on report type selection Feb 4, 2021
@fletchapin
Copy link
Member Author

Oliver mentioned: "The ideal fix you mentioned could probably be implemented in class DocGenForm"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants