[WEB] Add AI generator items to the Insert menu (#33967)

* adding  abstract generator in the dropdown

* add abstract generator to Insert menu dropdown

* add Keywords generator to Insert menu

* adding title generator and removing some unused code

* adding spanish translations

* adding buildOpenGeneratorHandler

* changing the approach to slots approach

* removing the feature flag

* niptick

* rename the file

* adding tests

* [WEB] Style changes for Writefull pop-up component   (#34067)

GitOrigin-RevId: 0bc97c2c1f3dc458a2ca30e8cc54dddfd5bc9b3b
This commit is contained in:
Davinder Singh
2026-06-10 08:05:49 +00:00
committed by Copybot
parent 8a68f89a03
commit dceb766db0
5 changed files with 17 additions and 0 deletions
@@ -5,6 +5,7 @@ import {
useContext,
useMemo,
useState,
ReactNode,
} from 'react'
type CommandInvocationContext = {
@@ -19,6 +20,7 @@ export type Command = {
handler?: (context: CommandInvocationContext) => void
href?: string
disabled?: boolean
leadingIcon?: ReactNode
}
const CommandRegistryContext = createContext<CommandRegistry | undefined>(