Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

activity : add several periods #365

Open
remipichon opened this issue Feb 14, 2017 · 2 comments
Open

activity : add several periods #365

remipichon opened this issue Feb 14, 2017 · 2 comments
Milestone

Comments

@remipichon
Copy link
Owner

No description provided.

@LeoMouyna
Copy link
Collaborator

@remipichon
Looks like Activity collection is set to only accept one time slot.
I suggest to refactor this with a time slot class and a time slot array for activities, what do you think ?
This time slot class could be useful for other collections too. Let me know.

@remipichon
Copy link
Owner Author

Timeslot is too complet (it has a lot of stuff for people needs), here you use an
array of start/end date (via another small schema).

On the ui, loop though those dates and allow for a "add". You can use the autoField to autoForm like 'description' to first play with it, then add a custom ui.

@remipichon remipichon removed the prior label Jul 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants