PromucFlow_constructor/app/client/src
Aman Agarwal af184f3cb0
feat: add edit option in suggested queries in hint commands (#32076)
## Description
This PR introduces a new way to edit the queries directly from slash
hint commands that edit button appears on hover of the hint. This also
introduces an event `EDIT_ACTION_CLICK` as emitted from different other
places of our application with all the similar properties except the
`from` : `SlashCommandHint`

<img width="566" alt="Screenshot 2024-03-27 at 12 45 09 AM"
src="https://github.com/appsmithorg/appsmith/assets/7565635/34f0e226-d45a-482b-8484-7e1fdc672a04">


Fixes #32075
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8465758601>
> Commit: `cff14b0006441274e182d17ff66603219971ddbd`
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8465758601&attempt=2"
target="_blank">Click here!</a>
> All cypress tests have passed 🎉🎉🎉

<!-- end of auto-generated comment: Cypress test results  -->







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


- **New Features**
- Enhanced the code editor with improved command suggestions and quick
command generation, including URL and event parameter handling.
	- Introduced new styling for command suggestions in the code editor.
- **Refactor**
- Updated functions and components for better handling and mapping of
plugins within the code editor.
- **Chores**
- Added necessary imports and updated the usage of various components
and utilities to support new features and improvements.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2024-03-28 19:24:33 +05:30
..
actions feat: constrained diff between states (#31847) 2024-03-27 14:37:46 +05:30
api chore: Remove "Save theme" functionality (#31481) 2024-03-12 18:54:39 +05:30
assets feat: Tabler Icons (#30248) 2024-01-19 11:54:44 +03:00
ce chore: Update the getNextEntityName selector to re-use it in copy/move module instances feature on EE (#32223) 2024-03-28 18:20:25 +05:30
components feat: add edit option in suggested queries in hint commands (#32076) 2024-03-28 19:24:33 +05:30
constants feat: collapse all prop sections except data for table, json widgets (#32052) 2024-03-26 15:36:00 +05:30
ee fix: reinstating multienv switcher for view mode (#31699) 2024-03-28 12:09:13 +05:30
enterprise
entities chore: making body and variables as optional props- 31568 (#31665) 2024-03-20 19:03:52 +05:30
globalStyles feat: add edit option in suggested queries in hint commands (#32076) 2024-03-28 19:24:33 +05:30
icons feat: Adds partial import functionality (#28293) 2023-11-17 12:46:18 +05:30
layoutSystems fix: Closing modal in Split view, exits code mode (#32119) 2024-03-27 14:38:28 +00:00
mockComponentProps
mockResponses
mocks feat: Anvil DnD highlight activation upgrade (#29979) 2024-01-11 21:31:38 +05:30
navigation feat: Changed add button to toggle button in left pane (#31523) 2024-03-07 17:56:58 +05:30
pages fix: reinstating multienv switcher for view mode (#31699) 2024-03-28 12:09:13 +05:30
plugins/Linting chore: making body and variables as optional props- 31568 (#31665) 2024-03-20 19:03:52 +05:30
polyfills
reducers feat: constrained diff between states (#31847) 2024-03-27 14:37:46 +05:30
reflow chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
sagas feat: add edit option in suggested queries in hint commands (#32076) 2024-03-28 19:24:33 +05:30
selectors chore: [chart widget] show configuration errors only in editor (#32024) 2024-03-26 09:49:58 +05:30
templates
theme
transformers feat: expires in field added in oauth2 api datasource (#30866) 2024-02-07 18:26:21 +05:30
UITelemetry chore: Add traces for measuring data transfer time between worker thread and… (#30537) 2024-01-25 14:04:17 +05:30
usagePulse fix: unhandledRejection error in sentry log (#28091) 2023-10-16 04:01:00 +01:00
utils feat: add edit option in suggested queries in hint commands (#32076) 2024-03-28 19:24:33 +05:30
WidgetProvider chore: widgets alignment (#31923) 2024-03-22 16:53:29 +03:00
WidgetQueryGenerators chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
widgets feat: collapse all prop sections except data for table, json widgets (#32052) 2024-03-26 15:36:00 +05:30
workers chore: Capture telemetry around diff and serialise operation (#32124) 2024-03-28 15:57:50 +05:30
App.css
AppErrorBoundry.tsx
config.d.ts
Globals.d.ts chore: Add support for 3D Custom ECharts (#26657) 2023-09-27 16:54:27 +05:30
index.css chore: widgets alignment (#31923) 2024-03-22 16:53:29 +03:00
index.tsx chore: frontend and backend telemetry updates for execute flow #28800 and #28805 (#28936) 2023-11-24 13:09:02 +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
serviceWorker.js chore: Remove unused services (#30292) 2024-01-23 05:43:16 +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