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

🐛 Refactor questionnaire template downloading #1574

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

sjd78
Copy link
Member

@sjd78 sjd78 commented Nov 27, 2023

Resolves: https://issues.redhat.com/browse/MTA-1720

Refactor the questionnaire template download to follow the direct download of the application / manage imports / download CSV template.

Summary of changes:

  • Move template files to client/public/templates/
  • Reconfigure webpack to copy the template folder to dist/
  • Update URLs for the new location
  • Convert the questionnaire template download to use an <a download> tag Button

Resolves: https://issues.redhat.com/browse/MTA-1720

Refactor the questionnaire template download to follow the direct
download of the application / manage imports / download CSV template.

Summary of changes:
  - Move template files to `client/public/templates`
  - Reconfigure webpack to copy the template folder to `dist/`
  - Update URLs for the new location
  - Convert the questionnaire template download to use an `<a download>`
    tag Button

Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
Copy link

codecov bot commented Nov 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ae8c567) 39.55% compared to head (1640afd) 39.55%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1574   +/-   ##
=======================================
  Coverage   39.55%   39.55%           
=======================================
  Files         146      146           
  Lines        4786     4786           
  Branches     1143     1143           
=======================================
  Hits         1893     1893           
  Misses       2879     2879           
  Partials       14       14           
Flag Coverage Δ
client 39.55% <ø> (ø)
server ∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ibolton336
Copy link
Member

Tested in dev & prod mode. LGTM!

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

Successfully merging this pull request may close these issues.

2 participants