PromucFlow_constructor/app/client/src
Rishabh Rathod 8a16903f31
feat: Add currentPage, workspace, application name to appsmith context (#38114)
## Description

Add currentPageName, AppName and workspace name to appsmith context
object

Fixes https://github.com/appsmithorg/appsmith/issues/38046

## Automation

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

### 🔍 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/12462985063>
> Commit: eec4292d3bc1db86bdcf089061a6d2c7d8fa2205
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12462985063&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.JS`
> Spec:
> <hr>Mon, 23 Dec 2024 09:14:06 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

- **New Features**
- Enhanced `AppsmithEntity` interface with new properties:
`currentPageName`, `workspaceName`, and `appName`.
- Updated `getUnevaluatedDataTree` selector to accept additional
parameters, providing more contextual information about the current
application state.
- Introduced a new internal selector to retrieve the current page's
name.

- **Bug Fixes**
- Adjusted expected hint text in autocomplete tests for JavaScript
objects to align with updated behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2024-12-23 16:33:50 +05:30
..
actions chore: Analytics util refactor (#38089) 2024-12-19 17:46:22 +05:30
api chore: Analytics util refactor (#38089) 2024-12-19 17:46:22 +05:30
assets feat: update response tab UI (#37640) 2024-11-28 17:01:50 +05:30
ce feat: Add currentPage, workspace, application name to appsmith context (#38114) 2024-12-23 16:33:50 +05:30
components chore: Masking user data in mixpanel session recordings (#38267) 2024-12-20 16:32:02 +03:00
constants chore: added premium tags datasources for knowing users request to add new integrations (#38110) 2024-12-19 20:00:09 +05:30
Datasource/components chore: reconnect ds detached from datasource editor part 1 (#35907) 2024-09-02 11:26:34 +05:30
ee chore: Changes for introducing disabled states for package pull in application (#38222) 2024-12-23 14:13:19 +05:30
enterprise fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
entities chore: Analytics util refactor (#38089) 2024-12-19 17:46:22 +05:30
git chore: git mod - connect modal and branches (#38171) 2024-12-23 16:33:17 +08:00
globalStyles
icons chore:delete unused files (#36368) 2024-09-19 16:01:03 +03:00
IDE chore: Visual changes for core navigation elements on IDE (#37880) 2024-12-19 18:57:44 +05:30
layoutSystems chore: add custom widget to anvil (#37878) 2024-12-06 16:03:40 +05:30
mockResponses
mocks chore: delete unused code (#36461) 2024-09-23 13:52:00 +03:00
modules/ui-builder/ui/wds chore: Allow currency and phone dial code change (#38141) 2024-12-19 11:12:23 +05:30
navigation fix: API Body format focus retention (#37150) 2024-11-01 11:24:49 +05:30
pages chore: Changes for introducing disabled states for package pull in application (#38222) 2024-12-23 14:13:19 +05:30
PluginActionEditor chore: Masking user data in mixpanel session recordings (#38267) 2024-12-20 16:32:02 +03:00
plugins/Linting chore: add eslint package to handle linting (#37417) 2024-11-22 14:26:05 +05:30
polyfills chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
reducers chore: Analytics util refactor (#38089) 2024-12-19 17:46:22 +05:30
reflow chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
sagas chore: add packagePullStatus to consolidated API (#38179) 2024-12-17 13:16:30 +05:30
selectors feat: Add currentPage, workspace, application name to appsmith context (#38114) 2024-12-23 16:33:50 +05:30
templates
theme
UITelemetry chore: remove metrics in fe (#38240) 2024-12-19 09:37:06 +05:30
usagePulse feat: Added analytics for pulse failure (#37781) 2024-11-28 12:20:14 +05:30
utils chore: Masking user data in mixpanel session recordings (#38267) 2024-12-20 16:32:02 +03:00
WidgetProvider chore: chore: add SVGR to appsmith-icon package, add processing for custom icons, update date-fns (#37115) 2024-10-28 14:55:42 +03:00
WidgetQueryGenerators chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
widgets feat: optimize HTML text extraction in TableWidgetV2 (#38153) 2024-12-23 15:49:46 +05:30
workers chore: converted isNewEntity lookup to use a set (#38264) 2024-12-20 10:37:39 +05:30
App.css
AppErrorBoundry.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
config.d.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
Globals.d.ts
index.css chore: Remove google fonts imported from googleapis (#35392) 2024-08-07 08:49:04 +05:30
index.tsx chore: optimise first evaluation by adding worker scope cache (CE) (#38068) 2024-12-13 09:44:19 +05:30
LandingScreen.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
preload-route-chunks.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
react-app-env.d.ts
RouteChangeListener.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
serviceWorker.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
store.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
wdyr.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00