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

Improve csv import column descriptions #1738

Open
steffenkleinle opened this issue Nov 4, 2024 · 0 comments
Open

Improve csv import column descriptions #1738

steffenkleinle opened this issue Nov 4, 2024 · 0 comments
Labels

Comments

@steffenkleinle
Copy link
Member

Is your feature request related to a problem? Please describe.
The CSV card import description is ambiguous. The mentioned column format does not inform the user whether the column is actually required or optional.

Describe the solution you'd like
It should be clear what columns are required and which are optional.
This can be done by either:

  • marking required columns with an asterisk (*)
  • marking optional columns with an (optional)
  • adding a separate bullet point Optionale Spalten or similar

Refactoring the card config to avoid having three separate config arrays (i.e. extensionColumnNames, extensions, extensionRequirement). Instead, we could do something like:

  extensions: [{
    name: 'Kartentyp',
    extension: BavariaCardTypeExtension,
    required: true,
  },
  ...
]

Describe alternatives you've considered
Leave it as it is.

Additional context
image

This was brought up here: #1715 (review)

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

No branches or pull requests

1 participant