PromucFlow_constructor/app/client
Favour Ohanekwu ff64f4d02f
fix: Fetch app's current branch from redux store (#20601)
## Description

### Cause of issue

Appsmith's persistent data is stored in the browser's localStorage under
a key generated using the `applicationId` and `branch name`. When
fetching the store's value on page load, if the branch's name is not
present in the URL string, its value defaults to an emptyString.

### Solution
Default value of `branch name` should be the current git branch.

Fixes #15692 
## Type of change

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


## How Has This Been Tested?
manual

### Test Plan
Cypress covers test case

### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)


## Checklist:
### Dev activity
- [ ] 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:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [x] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [x] Added Test Plan Approved label after reveiwing all Cypress test
2023-02-15 11:21:33 +01:00
..
cypress fix: Fetch app's current branch from redux store (#20601) 2023-02-15 11:21:33 +01:00
docker chore: Remove Maps API Key env variable for client (#19486) 2023-02-07 14:53:15 +05:30
generators feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +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 Maps API Key env variable for client (#19486) 2023-02-07 14:53:15 +05:30
src fix: Fetch app's current branch from redux store (#20601) 2023-02-15 11:21:33 +01:00
test chore: Render below the fold widget components when browser is idle using Intersection Observer (#18747) 2023-02-08 16:53:39 +05:30
typings fix: doc viewer and xlsx fixes (#19427) (#20113) 2023-02-08 15:22:51 +05:30
.babelrc
.dockerignore
.editorconfig
.eslintrc.json feat: upgrade to create react app 5 (#14000) 2022-06-21 19:27:34 +05:30
.flowconfig
.gitignore feat: Support running NGINX for development without Docker (#16667) 2022-09-14 09:58:31 +05:30
.huskyrc
.lintstagedrc feat: upgrade client npm packages. (#14858) 2022-06-30 16:59:09 +05:30
.nvmrc chore: Update node version to 16.15.0 LTS (#14094) 2022-05-26 16:05:02 +05:30
.prettierignore
.prettierrc
.sentryclirc
build.sh ci: Ship source maps + fix perf test failures on EE (#18700) 2022-12-09 18:40:59 +05:30
craco.build.config.js feat: Automatic height updates for widgets based on contents (Auto Height) (#18341) 2022-11-23 15:18:23 +05:30
craco.common.config.js fix: webpack hot reload issue (#15070) 2022-07-07 14:00:57 +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.env.json feat: [Context Switching] Complex widgets and other Phase 2 items (#17046) 2022-12-08 12:51:58 +05:30
cypress.json test: Cypress Flaky fixes + Mock api update + PgAdminspec fix (#20032) 2023-02-02 13:29:24 +05:30
Dockerfile feat: Support running NGINX for development without Docker (#16667) 2022-09-14 09:58:31 +05:30
index.tsx
jest.config.js chore: Remove Maps API Key env variable for client (#19486) 2023-02-07 14:53:15 +05:30
package.json feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
postcss.config.js feat: upgrade to create react app 5 (#14000) 2022-06-21 19:27:34 +05:30
README.md ci: Modularizing the Github actions workflow for maintainability (#16505) 2022-09-09 01:08:55 +05:30
README.old.md
start-https.sh chore: Remove Maps API Key env variable for client (#19486) 2023-02-07 14:53:15 +05:30
stats.json
tailwind.config.js feat: upgrade to create react app 5 (#14000) 2022-06-21 19:27:34 +05:30
tsconfig.json feat: Import javascript libraries (#17895) 2022-12-21 22:44:47 +05:30
tsconfig.path.json
vercel.json
yarn.lock feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00

Appsmith Client

This project was bootstrapped with Create React App.

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