PromucFlow_constructor/app/client
Hetu Nandu b1d7d6c749
fix: Add null checks for focus setters (#32458)
## Description

Adds the missing null checks in Focus Setters. 

Since `undefined` is a valid state for an element to have, null checks
need to happen at the focus setter levels to ensure it is getting the
correct format of the state to set. This was missed in a few setters
which caused a user error.


Fixes #32457

## Automation

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

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

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



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **Refactor**
- Improved parameter handling and logic in navigation focus setters for
enhanced reliability.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-05 17:21:16 +05:30
..
.husky
.yarn
cypress fix: action selector create flow (#32326) 2024-04-05 11:28:47 +05:30
docker/templates
generators
packages chore: WDS components in Table header (#32112) 2024-04-03 15:57:39 +03:00
perf
public chore: Update @tinymce/tinymce-react (#32120) 2024-03-29 12:07:35 +05:30
src fix: Add null checks for focus setters (#32458) 2024-04-05 17:21:16 +05:30
test chore: Add tests for useGetPageFocusUrl hook (#32107) 2024-03-27 12:00:31 +00:00
typings
.babelrc
.dockerignore
.editorconfig
.eslintrc.base.json fix: add testing library eslint rules (#31028) 2024-02-12 18:59:10 +03:00
.eslintrc.js fix: add testing library eslint rules (#31028) 2024-02-12 18:59:10 +03:00
.fork-ts-checkerrc fix: OOM issue (#31995) 2024-03-21 22:08:58 +05:30
.gitignore
.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 chore: include client build source map (#30664) 2024-02-26 15:30:36 +05:30
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 fix: Client development build performance (#31390) 2024-03-04 10:52:06 +03:00
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 fix: [custom widget] remove stale keys from dynamicTriggerPathList (#31586) 2024-03-20 14:31:03 +05:30
package.json chore: Update @tinymce/tinymce-react (#32120) 2024-03-29 12:07:35 +05:30
README.md
README.old.md
start-https.sh
tailwind.config.js
tsconfig.json fix: Client development build performance (#31390) 2024-03-04 10:52:06 +03:00
tsconfig.path.json
vercel.json
yarn.lock chore(deps): bump express from 4.18.2 to 4.19.2 in /app/client (#32070) 2024-03-29 14:34:03 +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