PromucFlow_constructor/app/client
Abhinav Jha 75bd4292ea
fix: Anvil: Fix the delay in closure of modal widget name component on modal close (#33705)
## Description
Closing the modal widget name component was delayed due to the fact that
the DOM node that the widget name component used as a reference, was
still available even after the modal wasn't visible on the Canvas.
This was due to the floating-ui taking time to remove the DOM node.

As a fix, I've made react remove the DOM node when the state for the
modal visibility is set to `false`.

Now, the widget name component closes as soon as it discovers that the
reference is hidden.

Additional fix: Changed the detached widget hook functions to be
agnostic of the term "modal".

Fixes #33381  

## Automation

/ok-to-test tags="@tag.Anvil"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9219824326>
> Commit: 3f3f6262983a1a860bba8873d9284cfa5b1a2d12
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9219824326&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->






## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
2024-05-24 13:07:44 +05:30
..
.husky
.yarn
cypress test: updated commands in CE (#33662) 2024-05-22 23:27:26 +05:30
docker/templates chore: Fix bugs in logic for capturing web vitals for client (#32371) 2024-04-09 14:25:46 +05:30
generators
packages chore: Refine WDS icon stroke width values (#33615) 2024-05-23 12:28:35 +03:00
public feat: font update - PT root UI medium (#33008) 2024-05-08 17:47:34 +05:30
src fix: Anvil: Fix the delay in closure of modal widget name component on modal close (#33705) 2024-05-24 13:07:44 +05:30
test fix: The case of the missing tabs (#33066) 2024-05-08 22:57:27 +05:30
typings
.babelrc
.dockerignore
.editorconfig
.eslintrc.base.json
.eslintrc.js
.fork-ts-checkerrc
.gitignore chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
.lintstagedrc.json
.nvmrc chore: update node version and appropriate git workflows (#31486) 2024-03-26 14:12:11 +03:00
.prettierignore
.prettierrc
.sentryclirc
.yarnrc.yml
build.sh
craco.build.config.js
craco.common.config.js chore: add node variable for ts type checking (#31996) 2024-03-25 13:11:53 +03:00
craco.dev.config.js chore: Prefetch consolidated api using service worker (#33306) 2024-05-16 18:03:28 +05:30
cypress_ci_custom.config.ts
cypress_ci_hosted.config.ts
cypress_ci.config.ts
cypress-add-tags.js
cypress.config.ts
download-assets.js
jest.config.js chore: Fix bugs in logic for capturing web vitals for client (#32371) 2024-04-09 14:25:46 +05:30
package.json chore: Prefetch consolidated api using service worker (#33306) 2024-05-16 18:03:28 +05:30
README.md
README.old.md
start-caddy.sh chore: Local Caddy support (#31325) 2024-04-19 06:38:01 +05:30
start-https.sh chore: Local Caddy support (#31325) 2024-04-19 06:38:01 +05:30
tailwind.config.js
tsconfig.json
tsconfig.path.json
vercel.json
yarn.lock chore: Prefetch consolidated api using service worker (#33306) 2024-05-16 18:03:28 +05:30

Appsmith Client

This project was bootstrapped with Create React App.

For details on setting up your development machine, please refer to the Setup Guide