Codeinwp / Codeinwp/visualizer
Add a 'delete all charts' button
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 108
- Forks
- 29
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 7
Description
For certain power users, it might be beneficial to have an option to delete all existing charts on an instance, as deleting them one by one can be slow.
We could add a red "Delete All" button on the right of the "Add New" button, with some separation in-between (maybe just a | ).
This button would open a prompt that says:
"This will delete ALL your charts and tables, this action is permanent and irreversible. If you are certain you wish to do so, please write down "DELETE" below."
https://i.imgur.com/2qBDncc.png
Hitting OK will only work if DELETE was entered in the box.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the chart management screen containing the "Add New" button and trace the existing individual chart deletion flow. Add the separated red "Delete All" control and require the exact DELETE confirmation before removing all charts and tables. Done means the confirmation blocks other input and every existing chart and table is deleted only after approval.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100