feat: Clear store values
Description
At the moment developer can add to store & update store
This Implementation is to allow developer
- Clear all store value
- Clear specifics value from store
Fixes https://github.com/appsmithorg/appsmith/issues/11639
Type of change
- New feature (non-breaking change which adds functionality)
Welcome to the Appsmith community! Thank you for your first pull request and making this project better. 🤗 Please make sure that you raise a review request so your code change does not go unnoticed.
@gitstart-appsmith is attempting to deploy a commit to the Appsmith Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| appsmith | ✅ Ready (Inspect) | Visit Preview | Oct 14, 2022 at 5:11PM (UTC) |
/ok-to-test sha=ad649e9
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3273847356.
Workflow: Appsmith External Integration Test Workflow.
Commit: ad649e9.
PR: 17568.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-63465d4789020c7ac296d08d?pr=17568&runId=3273847356_1
This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected.
Deployment failed with the following error:
Resource is limited - try again in 1 hour (more than 100, code: "api-deployments-free-per-day").
/ok-to-test sha=f28d764
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3362189547.
Workflow: Appsmith External Integration Test Workflow.
Commit: f28d764.
PR: 17568.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-63465d4789020c7ac296d08d?pr=17568&runId=3362189547_1
LGTM, can be merged to release
@rimildeyjsr can you share an example usage for both the new functions? Can they be used directly or with appsmith. accessor?
If usage is direct, then removeValue may need a better naming, because every other function that is to do with the store has the word store used somewhere, and this would be the only exception. cc @bharath31
@rohan-arthur The naming convention implemented by the contributor follows MDN norms, i.e. does not deviate from the regular Javascript way which has previously caused us some trouble.