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

Question Type Spec #48

Closed
fraserclark opened this issue May 30, 2024 · 5 comments
Closed

Question Type Spec #48

fraserclark opened this issue May 30, 2024 · 5 comments
Assignees

Comments

@fraserclark
Copy link
Collaborator

We have question types which will form the Template builder, however we need to scope these out a little, after we can wireframe them so we know what to build.

Simple:
Text field
Email field
URL field
Text area
Radio buttons
Check boxes
Select box
Multi-select boxes
Date field
Date range
Table (define #rows and cols and set heading text)

Complex widgets
Repository selector
Metadata standard selector
Output formats
Licenses
People (ORCID lookup)
Protocol selector
RRID selector
Genbank
Gene ontologies etc (look at CZI proposal)

I think we need to define each something like the following structure for each. We can then Wireframe these to help development of style guide etc

Type: Text Field
Comment: Standard text field - no real special features
Requirement text: Yes
Guidance Text: Yes
Sample Answer : Yes
Default answer: No - this will be covered by sample text etc
Validation rules: Allow builder to as required, allow min and max length???
Allow for conditional logic? yes

Type: Radio buttons
Comment: Standard radio button - will allow for single selection of a radio button. The template builder must allow for key and label of each radio option must be editable
Requirement text: Yes
Guidance Text: Yes
Sample Answer : n/a - as going to be yes/no
Default Answer: Yes - we want builder to be able to preselect a radio button
Validation rules: required
Allow for conditional logic? yes

Type: Repository selector
Comment: An autocomplete-like tool and repo selector API will be used, API is TBC. but it will return Repo Name to display to user and other meta data such as ID, Repo URL etc
Requirement text: Yes
Guidance Text: Yes
Sample Answer : n/a - as going to be yes/no
Default Answer: n/a
Validation rules: required
Allow for conditional logic? no

@fraserclark fraserclark self-assigned this May 30, 2024
@fraserclark fraserclark transferred this issue from CDLUC3/dmsp_backend_prototype May 30, 2024
@mariapraetzellis
Copy link

For now we will define these questions on a google doc and link here when done.

@mariapraetzellis
Copy link

We have started working on defining the specs here.

We can get through the Simple question types this week. The Complex question types may take longer- will that hold you up @fraserclark?

@fraserclark
Copy link
Collaborator Author

@mariapraetzellis nope all good

@mariapraetzellis
Copy link

@fraserclark @cazinc I am considering closing this ticket and moving the "complex question" types to their own issues. I have finished defining the simple question types (here, but the "complex" questions will take more time to define. Let's discuss at the next dev meeting.

@cazinc
Copy link
Collaborator

cazinc commented Jun 21, 2024

I think that's a good idea @mariapraetzellis - there's certainly enough material to warrant their own card. Thanks for letting us know.

@bofstein bofstein closed this as completed Jul 8, 2024
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

No branches or pull requests

5 participants