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

Admin views csv upload #165

Merged
merged 3 commits into from
Feb 18, 2024
Merged

Admin views csv upload #165

merged 3 commits into from
Feb 18, 2024

Conversation

jonallured
Copy link
Owner

This PR improves the temporary view for showing a CsvUpload record. I added that view just so I could have somewhere for the create page to redirect to but I wanted to return to it next. Here's how it looks:

Screenshot 2024-02-18 at 10 48 05 AM

I was all set to use the existing pattern of doing a DL for the key/values for the model but then I realized that I'd rather just have a table. So I took a step back and found the places I was using the DL and updated them to use a table. Then I extracted a partial and moved the logic for what's in that table up into the models.

Then I was able to return to the CsvUpload show view and easily implement something that I think looks much better.

@github-actions github-actions bot merged commit 74243d9 into main Feb 18, 2024
3 checks passed
@github-actions github-actions bot deleted the admin-views-csv-upload branch February 18, 2024 18:51
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.

1 participant