PromucFlow_constructor/app/client
Rishabh Rathod 0c615d58ea
fix: set Api.data on promise resolution (#23060)
## Description

Set the `api.data` as soon as promise is resolved to avoid race
condition.

NOTE: We have added a logic to set the global context similar to
storeValue as a temporary fix.

#### PR fixes following issue(s)
Fixes #23052


#### Type of change

- Bug fix (non-breaking change which fixes an issue)


## Testing

#### How Has This Been Tested?

#### Test Plan

#### Issues raised during DP testing

## Checklist:
#### Dev activity
- [x] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Test-plan-implementation#speedbreaker-features-to-consider-for-every-change)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans/_edit#areas-of-interest)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-05-10 12:37:25 +05:30
..
.husky chore: improve husky and lint-staged checks (#21679) 2023-03-23 17:02:18 +05:30
cypress test: Cypress tests - Grouping logical it blocks - Part 3 (#20958) 2023-05-09 15:26:43 +05:30
docker chore: Remove OAuth env variables from client (#20660) 2023-04-30 11:52:42 +05:30
generators chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
packages chore: remove unnecessary props from button and improve test color co… (#22972) 2023-05-04 13:13:05 +05:30
patches
perf ci: run fat container docker inside perf tests and update setup-perf-test workflow to use localhost for accessing dev environment (#20280) 2023-02-07 15:56:41 +05:30
public chore: Remove OAuth env variables from client (#20660) 2023-04-30 11:52:42 +05:30
src fix: set Api.data on promise resolution (#23060) 2023-05-10 12:37:25 +05:30
test feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
typings fix: display name validation (client) (#22938) 2023-05-04 18:29:57 +05:30
.babelrc chore: Yarn workspaces + Storybook + WDS (#20776) 2023-03-03 12:17:35 +05:30
.dockerignore
.editorconfig
.eslintrc.json chore: improve husky and lint-staged checks (#21679) 2023-03-23 17:02:18 +05:30
.gitignore feat: put airgap client build in a separate folder (#22413) 2023-04-18 14:10:11 +05:30
.lintstagedrc chore: improve husky and lint-staged checks (#21679) 2023-03-23 17:02:18 +05:30
.nvmrc
.prettierignore ci: Add lint check to the build step (#21442) 2023-03-20 22:50:44 +05:30
.prettierrc chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
.sentryclirc
build.sh chore: increase build process heap size (#22763) 2023-04-27 01:07:22 +05:30
craco.build.config.js feat: put airgap client build in a separate folder (#22413) 2023-04-18 14:10:11 +05:30
craco.common.config.js chore: Yarn workspaces + Storybook + WDS (#20776) 2023-03-03 12:17:35 +05:30
craco.dev.config.js chore: updated dependencies removed unused dependencies. (#19441) 2023-01-06 19:12:03 +05:30
cypress_ci.json test: Cypress Flaky fixes + Mock api update + PgAdminspec fix (#20032) 2023-02-02 13:29:24 +05:30
cypress.json Disable hot reloading of cypress tests (#22560) 2023-04-21 15:08:06 +05:30
Dockerfile
download-assets.js feat: util to serve images locally or via remote url (#22080) 2023-04-10 12:32:31 +05:30
jest.config.js chore: Remove OAuth env variables from client (#20660) 2023-04-30 11:52:42 +05:30
package.json fix: country flag emojis not working in chromium browsers on windows for airgapped instances. (#23091) 2023-05-09 10:44:27 +05:30
README.md
README.old.md
start-https.sh chore: Remove OAuth env variables from client (#20660) 2023-04-30 11:52:42 +05:30
tailwind.config.js feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
tsconfig.json chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
tsconfig.path.json
vercel.json
yarn.lock fix: country flag emojis not working in chromium browsers on windows for airgapped instances. (#23091) 2023-05-09 10:44:27 +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