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

[Bug]: Can't edit output templates #488

Open
ClaireValdivia opened this issue Oct 10, 2024 · 1 comment
Open

[Bug]: Can't edit output templates #488

ClaireValdivia opened this issue Oct 10, 2024 · 1 comment

Comments

@ClaireValdivia
Copy link

ClaireValdivia commented Oct 10, 2024

Why is this issue important?

USDR Admins are unable to edit the output templates, and you can't view the previous file that was added for the output template version. Being able to download the file that was added as well as edit the output template will be helpful for troubleshooting and updating output templates in the case that an incorrect file was added.

Current State

Received this error when trying to update the output template
Image

Expected State

"Show" page
When a USDR Admin clicks the "Show" button next to the output template version, they should see the following on the details page:
each file type should display along with linked text showing the file name next to it. For example:
CPF1ABroadbandInfrastructureTemplate: namoffile.csv
CPF1BDigitalConnectivityTechTemplate: namoffile.csv
CPF1CMultipurposeCommunityTemplate: namoffile.csv

The "nameoffile.csv" should display the name of the file uploaded, and the text should be a link to download the file that was uploaded.

"Edit" page
When a USDR Admin clicks the "Edit" button next to an output template version:

  • next to the fields for each file type, "nameoffile.csv" should display for what was previously uploaded - this should display the name of the file uploaded, and the text should be a link to download the file that was uploaded.
  • USDR Admin should also be able to edit any field on the page and save the output template
  • The new output template should be used going forward for any reporting period that is associated with that output template id.

Implementation Plan

The following functions need to be added...

Relevant Code Snippets

No response

@ClaireValdivia ClaireValdivia changed the title [Bug]: Can't update output templates [Bug]: Can't edit output templates Oct 17, 2024
@ClaireValdivia
Copy link
Author

Note- another workaround could be adding a prompt after creating a new output template to "Apply to most recent reporting period?"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant