langcog / web-cdi

7 stars 5 forks source link

Limit the number of new records that can be created #456

Closed HenryMehta closed 1 year ago

HenryMehta commented 1 year ago

Someone created 123456 new records which weren't wanted. We need a max number installed

vmarchman commented 1 year ago

@HenryMehta Perhaps also have a confirmation question: e.g., You are about to add XXXX new administrations to your study. Do you want to continue?

HenryMehta commented 1 year ago

@vmarchman deployed to dev. I've set the maximum value to 100

vmarchman commented 1 year ago

Perfect.

The only other thing would be to add a warning that you must click past, e.g., "You are about to add XXX number administrations to your study. Are you sure?"

But it's not necessary, if you think this is sufficient.

On Mon, Jun 26, 2023 at 1:17 PM Henry Mehta @.***> wrote:

@vmarchman https://github.com/vmarchman deployed to dev. I've set the maximum value to 100

— Reply to this email directly, view it on GitHub https://github.com/langcog/web-cdi/issues/456#issuecomment-1608185258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2TUTDR3GNXU2QAQKOPKN3XNHU6XANCNFSM6AAAAAAYYLOYUQ . You are receiving this because you were mentioned.Message ID: @.***>