PromucFlow_constructor/app/client/src
Jacques Ikot 9766775d05
fix: hide generate page button in DSFormHeader (#34780)
## Description

In PR #34655, the "Generate Page" button was removed from the datasource
preview page (Footer). However, the `DSFormHeader` for other datasource
types still included this button, leading to inconsistencies across the
application.

This PR addresses the issue by removing the "Generate Page" button from
the DSFormHeader for all datasource types, ensuring uniformity in the
datasource preview pages and aligning with the changes made in PR
#34655.

Fixes #34771

## 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/9836680996>
> Commit: bde150dd6010e110f32288a52e39657f96945704
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9836680996&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Datasource`
> <hr>Mon, 08 Jul 2024 09:44:32 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**
- Introduced a feature flag to control the visibility of the "generate
page" button in the DataSource Editor.
- **Tests**
- Added a new test case to ensure the "generate page" button is hidden
when the `release_drag_drop_building_blocks_enabled` feature is enabled.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-08 11:10:09 +01:00
..
actions fix: Changes for Anvil Alpha release (#34211) 2024-07-05 13:57:59 +05:30
api chore: Remove strict payload parsing (#34680) 2024-07-03 19:11:41 +05:30
assets fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
ce fix: Changes for Anvil Alpha release (#34211) 2024-07-05 13:57:59 +05:30
components fix: snowflake imports issue fixed (#34745) 2024-07-05 15:09:39 +05:30
constants fix: Changes for Anvil Alpha release (#34211) 2024-07-05 13:57:59 +05:30
ee chore: Prefetch module apis in service worker (#34003) 2024-06-14 16:30:23 +05:30
enterprise
entities chore: autocommit feature branch (#34062) 2024-06-10 12:35:23 +05:30
globalStyles fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
icons feat: Adds partial import functionality (#28293) 2023-11-17 12:46:18 +05:30
IDE fix: Overflow list new UI restore (#34658) 2024-07-05 11:55:29 +05:30
layoutSystems fix: Changes for Anvil Alpha release (#34211) 2024-07-05 13:57:59 +05:30
mockComponentProps
mockResponses
mocks feat: Anvil DnD Polish(Refactor) (#32839) 2024-04-29 11:32:08 +05:30
navigation test: Extract pageId with regex to cover more cases (#34521) 2024-07-02 06:31:59 +05:30
pages fix: hide generate page button in DSFormHeader (#34780) 2024-07-08 11:10:09 +01:00
plugins/Linting chore: add new custom linter for module inputs (#33940) 2024-06-05 21:09:12 +05:30
polyfills
reducers feat: side-by-side edit mode hover analytics (#34185) 2024-06-20 14:03:06 +05:30
reflow chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
sagas chore: remove unevalTree (#34605) 2024-07-08 11:26:45 +05:30
selectors fix: Changes for Anvil Alpha release (#34211) 2024-07-05 13:57:59 +05:30
templates
theme
transformers fix: self signed certificates value set in the props (#32474) 2024-04-08 14:34:53 +05:30
UITelemetry chore: Add evalTreeWithDiff to evalWorkerAction (#34403) 2024-06-27 12:08:53 +05:30
usagePulse chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
utils fix: Changes for Anvil Alpha release (#34211) 2024-07-05 13:57:59 +05:30
WidgetProvider feat: On Canvas UI Colors and Widget API to consume these colors (#33013) 2024-05-01 13:57:52 +05:30
WidgetQueryGenerators chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
widgets fix: Unable to select table rows (#34753) 2024-07-08 12:46:50 +03:00
workers chore: remove unevalTree (#34605) 2024-07-08 11:26:45 +05:30
App.css
AppErrorBoundry.tsx chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
config.d.ts
Globals.d.ts fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
index.css feat: font update - PT root UI medium (#33008) 2024-05-08 17:47:34 +05:30
index.tsx chore: Fix bugs in logic for capturing web vitals for client (#32371) 2024-04-09 14:25:46 +05:30
LandingScreen.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
preload-route-chunks.ts fix: Refactor preloads to fix an issue with CDN on EE (#28402) 2023-10-30 13:32:37 +05:30
react-app-env.d.ts
RouteChangeListener.tsx chore: added route listener on non-trackable URLs (#25671) 2023-08-11 17:04:42 +05:30
serviceWorker.ts chore: Prefetch module apis in service worker (#34003) 2024-06-14 16:30:23 +05:30
store.ts chore: Refactor URLAssembly to throw error on missing pageId for app route resolution only (#28527) 2023-11-02 15:55:24 +05:30
wdyr.ts chore: improve eslint rules (#26056) 2023-08-07 15:38:48 +03:00