'Load USWDS CSS' form option is misleading
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start by finding the Touchpoints form configuration UI and the code that handles the “Load USWDS CSS” option; the issue does not name specific files or tests. Reproduce the embedded form with USWDS loaded by the host page, then toggle the option off and check which styles are omitted. Done when the option's behavior or label matches what it promises and the embedded form displays as expected.
Written by the indexing model from the issue text.
Description
What happened?
One of the configuration options for a Touchpoints form is the boolean 'Load USWDS CSS'.
This option controls more than it claims to. When it is toggled off, no CSS is loaded with the Touchpoints form, neither USWDS CSS, nor the Touchpoints-specific form CSS.
The option should be made to do what it says it does, either by changing what it does or by changing the label on the option.
Steps to reproduce
- Create a new 'Open-ended feedback' form.
- Set the delivery mode to 'Embedded inline on your website'.
- Load the form on an existing webpage that independently loads USWDS.
- View the form on the webpage. It should look fine.
- Toggle off 'Load USWDS CSS' for the form.
- View the form on the webpage.
Expected behavior: If the toggle only controlled USWDS CSS, then the form should look fine since it inherits USWDS from its parent page.
Actual behavior: The form looks weird because it is missing Touchpoints-specific CSS too.
Environment
No response
Relevant log output
Security check
- This is not a security vulnerability (if it is, please follow https://www.gsa.gov/vulnerability-disclosure-policy instead of filing a public issue)
- Dominant language
- JavaScript
- Stars
- 73
- Forks
- 38
- Avg merge
- 14h 53m
- Merged PRs (30d)
- 12
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GSA/touchpoints
-
digital-registry
Difficulty 1/5 Under an hour Newbie friendliness 78/100
GSA/touchpoints#2130 ·
Maintainers usually reply within 1 day
-
digital-registry
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
GSA/touchpoints#2111 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
GSA/touchpoints#2038 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
GSA/touchpoints#2036 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
GSA/touchpoints#2034 ·
Maintainers usually reply within 1 day
Similar issues
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-js#1293 ·
Maintainers usually reply within 1 day
-
area: tests help wanted size/s
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
DahanItamar/DockNest#368 ·
Maintainers usually reply within 1 day
-
documentation good first issue help wanted security
Difficulty 2/5 Half a day Newbie friendliness 74/100
Haseeb-MernStack/commune#607 ·
Maintainers usually reply within 1 day
-
polish
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day