added CSV upload to enable fast creation of similar components #14

Merged
mhu merged 3 commits from feature/csv-import into develop 2024-11-17 21:55:44 +01:00
Collaborator
No description provided.
sst added 1 commit 2024-11-17 19:54:39 +01:00
mhu reviewed 2024-11-17 20:17:12 +01:00
@ -0,0 +11,4 @@
storage uuid and/or the path to the storage (as printed in the breadcrumbs) or
a combination of a storage uuid and the path from this storage.
See example for details.
Owner

Can we add this help text as tooltip on the actual website? or maybe add a download link for the CSV file template so it can be filled out more easily.

Can we add this help text as tooltip on the actual website? or maybe add a download link for the CSV file template so it can be filled out more easily.
Author
Collaborator

good point - will add it :)

good point - will add it :)
@ -237,0 +242,4 @@
try:
import_components_from_csv(cform.files['csv_file'].file)
except Exception as ex:
cform.add_error('csv_file', str(ex))
Owner

Okay. The error handling is indeed a little bit basic 😄 But I guess it's okay for now.

Okay. The error handling is indeed a little bit basic 😄 But I guess it's okay for now.
@ -38,3 +38,3 @@
<li class="list-group-item list-group-item-action justify-content-between align-items-center d-flex">
<div>
<h5>{{storage.name}}</h5>
<h5>{{storage.name}}{% if storage.verbose_name %}<small> ({{storage.verbose_name}})</small>{% endif %}</h5>
Owner

Sneaky 😛

Sneaky 😛
mhu marked this conversation as resolved
mhu changed title from added CSV upload to enable fast creation of similar components to WIP: added CSV upload to enable fast creation of similar components 2024-11-17 20:31:08 +01:00
mhu requested review from mhu 2024-11-17 20:31:21 +01:00
sst added 1 commit 2024-11-17 21:44:35 +01:00
sst changed title from WIP: added CSV upload to enable fast creation of similar components to added CSV upload to enable fast creation of similar components 2024-11-17 21:44:51 +01:00
sst added 1 commit 2024-11-17 21:44:54 +01:00
mhu approved these changes 2024-11-17 21:55:39 +01:00
mhu merged commit f1e366c7af into develop 2024-11-17 21:55:44 +01:00
Sign in to join this conversation.
No reviewers
mhu
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mhu/shimatta-kenkyusho#14
No description provided.