PromucFlow_constructor/app/client
Ankita Kinger dddc6f11d3
chore: Adding permission check for the plus button in tabs list (#39694)
## Description

Adding permission check for the plus button in tabs list to handle the
edge case in GAC where we see a new query tab with no datasource options
in the page to create one.

Fixes [#39673](https://github.com/appsmithorg/appsmith/issues/39673)

## Automation

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

### 🔍 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/13811690526>
> Commit: 6501918837d95c646ce839dfec640f54268955dd
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13811690526&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.IDE`
> Spec:
> <hr>Wed, 12 Mar 2025 13:19:18 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


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

## Summary by CodeRabbit

- **New Features**
- Enhanced the editor’s tab behavior so the "Add" button is only
displayed when files are present and the user has the appropriate
permissions.
- **Style**
- Refined the display styling of push failure warnings for a cleaner
appearance.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-03-12 19:42:37 +05:30
..
.husky
.yarn
config fix: sourcemaps (#39301) 2025-02-16 20:05:50 +03:00
cypress chore: Remove dependancy (#39389) 2025-03-12 03:49:02 +00:00
docker/templates chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
generators
packages feat: add action resp viz (#39690) 2025-03-12 13:59:36 +01:00
public chore: AppIDE Folder Structure (#39165) 2025-02-17 10:34:23 +03:00
scripts chore: Eject CRA (#39264) 2025-02-14 14:24:41 +05:30
src chore: Adding permission check for the plus button in tabs list (#39694) 2025-03-12 19:42:37 +05:30
test feat: Trigger autocomplete even outside bindings (#39446) 2025-03-07 13:35:16 +05:30
typings
.babelrc chore: Eject CRA (#39264) 2025-02-14 14:24:41 +05:30
.dockerignore
.editorconfig
.eslintrc.base.json feat: add react-compiler eslint plugin (#37139) 2024-10-31 16:40:18 +01:00
.eslintrc.js
.fork-ts-checkerrc
.gitignore
.lintstagedrc.json
.nvmrc
.prettierignore
.prettierrc
.sentryclirc
.yarnrc.yml
build.sh fix: sourcemaps (#39301) 2025-02-16 20:05:50 +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 chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
knip.json chore: Eject CRA (#39264) 2025-02-14 14:24:41 +05:30
package.json chore: Remove dependancy (#39389) 2025-03-12 03:49:02 +00:00
README.md
README.old.md
start-caddy.sh
start-https.sh chore: convert consolidated api etag to a weak one (#38939) 2025-01-31 16:35:20 +05:30
tailwind.config.js
tsconfig.json
tsconfig.path.json
vercel.json
yarn.lock chore: Remove dependancy (#39389) 2025-03-12 03:49:02 +00: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