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

[UI] Big Source/Collection Async DELETE request #1128

Closed
snyaggarwal opened this issue Nov 23, 2021 · 4 comments
Closed

[UI] Big Source/Collection Async DELETE request #1128

snyaggarwal opened this issue Nov 23, 2021 · 4 comments
Assignees
Labels
api2 OCL API v2 web2 OCL WEB v2

Comments

@snyaggarwal
Copy link
Contributor

No description provided.

@bmamlin
Copy link

bmamlin commented Dec 20, 2021

If it helps, from a user experience perspective, after manually re-entering the name of the source/collection to confirm deletion (as the UI currently supports), I would expect the source/collection to appear as "getting deleted", for example:

Name of Source or Collection Here Deleting...

with most actions on the source/collection disabled or hidden altogether while its in this state. Once the deletion has completed, the source/collection would disappear altogether.

@snyaggarwal
Copy link
Contributor Author

If it helps, from a user experience perspective, after manually re-entering the name of the source/collection to confirm deletion (as the UI currently supports), I would expect the source/collection to appear as "getting deleted", for example:

Name of Source or Collection Here Deleting...

with most actions on the source/collection disabled or hidden altogether while its in this state. Once the deletion has completed, the source/collection would disappear altogether.

In addition to the above, the API can decide whether it needs to do async or sync delete based on the count of resources it has. (Async if more than 100?)

snyaggarwal added a commit to OpenConceptLab/oclapi2 that referenced this issue Jan 25, 2022
snyaggarwal added a commit to OpenConceptLab/oclweb2 that referenced this issue Jan 25, 2022
snyaggarwal added a commit to OpenConceptLab/oclweb2 that referenced this issue Jan 25, 2022
@snyaggarwal
Copy link
Contributor Author

More conversation in #661

@snyaggarwal
Copy link
Contributor Author

This is done.
By default its async and we wait for 15 seconds for it to finish otherwise return task id.

@snyaggarwal snyaggarwal added the api2 OCL API v2 label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api2 OCL API v2 web2 OCL WEB v2
Projects
None yet
Development

No branches or pull requests

2 participants