[App Search] Create engine view#89156
Conversation
86e1a2a to
63aec40
Compare
44b4a90 to
8720f15
Compare
This comment has been minimized.
This comment has been minimized.
Hey @zumwalt what if this view lived under a path like |
|
I'm fine with that if it unblocks you. |
aafc1f3 to
c7e98aa
Compare
This comment has been minimized.
This comment has been minimized.
d1d520e to
a751e55
Compare
| const { name, rawName, language } = useValues(CreateEngineLogic); | ||
| const { setLanguage, setRawName, submitEngine } = useActions(CreateEngineLogic); | ||
|
|
||
| // TODO these need to come from AppLogic and/or the Enterprise Search server |
There was a problem hiding this comment.
If you're going commit by commit, I remove this in 04bdfbc#diff-529e95b2a96ac2a4737364f8304d2c07b6095cb2378c51fb63a329faf8d5b86aL46-L51
|
|
||
| export const ENGINES_PATH = '/engines'; | ||
| export const CREATE_ENGINES_PATH = `${ENGINES_PATH}/new`; | ||
| export const CREATE_ENGINES_PATH = `/create_engine`; |
There was a problem hiding this comment.
@zumwalt is good with this change #89156 (comment)
There was a problem hiding this comment.
I need this for displaying the setQueuedSuccessMessage from CreateEngineLogic.actions.onCreateEngineSuccess
There was a problem hiding this comment.
I don't need this here... but it seems silly not to include this the normal view if I'm including it in the empty state view
There was a problem hiding this comment.
a751e55 to
5f8beff
Compare
|
Opening a new PR with less messy history |
💔 Build Failed
Failed CI Steps
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Summary
This PR migrates the Create Engine view from
ent-search, with improved test coverage and no custom STUI components.Screenshots
Create Engine view: Empty state
Create Engine view: Supported languages
Create Engine view: Acceptable name
Create Engine view: Sanitized name
Create Engine view: Sanitized name with length of 0
Create Engine view: Duplicate engine name error state
Engine Overview view: Success message after engine creation
Checklist
Delete any items that are not applicable to this PR.