PromucFlow_constructor/app/client/src/ce
Jacques Ikot ec5244ce30
feat: clean up datasource review page (#34348)
## Description
Remove the "Generate new page" button from the datasource review page
and make the "New Query" button a primary button. Tests related to the
removed generate CRUD page feature have been removed.


Fixes #31801

## Automation

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

### 🔍 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/9644141773>
> Commit: b1671022d7eee6a676103281dc2e7f5df8bfd513
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9644141773&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Datasource`

<!-- 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

- **Bug Fixes**
- Removed outdated test cases that were no longer relevant or causing
issues in MongoDB and S3 CRUD operations.

- **New Tests**
- Added `HideGeneratePageButton.test.tsx` to verify the visibility of
buttons based on feature flags and user permissions.

- **Refactor**
- Improved code structure by reordering imports and simplifying logic in
various datasource-related components.
- Removed deprecated methods and functions related to page generation
from datasource components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-02 08:43:01 +01:00
..
actions chore: constrain the diff on only affected JS actions (#33435) 2024-05-27 11:45:10 +05:30
api fix: workflow js func rename code split (#34512) 2024-06-28 17:38:35 +05:30
components fix: code split for run history resize issue in workflows editor (#34049) 2024-06-06 21:21:24 +05:30
configs chore: Fix bugs in logic for capturing web vitals for client (#32371) 2024-04-09 14:25:46 +05:30
constants test: Extract pageId with regex to cover more cases (#34521) 2024-07-02 06:31:59 +05:30
entities fix: add a warning icon and tooltip to indicate empty datasources (#33618) 2024-05-23 12:43:56 +05:30
hooks feat: clean up datasource review page (#34348) 2024-07-02 08:43:01 +01:00
mocks
navigation chore: Unify ID extraction regex from browser url (#33925) 2024-06-11 15:14:54 +05:30
pages fix: Revert "feat: Overflow tabs list view" (#34613) 2024-07-02 12:56:36 +05:30
plugins/Linting chore: add new custom linter for module inputs (#33940) 2024-06-05 21:09:12 +05:30
reducers chore: Change the default value of isLoading in settings reducer to true (#34490) 2024-07-01 12:57:36 +05:30
sagas feat: side-by-side edit mode hover analytics (#34185) 2024-06-20 14:03:06 +05:30
selectors fix: Revert "feat: Overflow tabs list view" (#34613) 2024-07-02 12:56:36 +05:30
types feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
utils fix: Prefetch apis: Include only branchname header in request key (#34389) 2024-06-21 14:42:33 +00:00
workers chore: Add evalTreeWithDiff to evalWorkerAction (#34403) 2024-06-27 12:08:53 +05:30
AppRouter.tsx fix: move useFeatureFlagOverride to routes instead of app router (#32685) 2024-04-15 20:00:11 +05:30
RouteBuilder.ts chore: Add Create as a Widget SelectionRequestType (#31799) 2024-03-15 14:57:06 +05:30
RouteParamsMiddleware.ts feat: start with data default option added (#30412) 2024-01-26 14:16:26 +05:30