-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[App Search] Create engine view #89156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zumwalt is good with this change #89156 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need this for displaying the setQueuedSuccessMessage from CreateEngineLogic.actions.onCreateEngineSuccess
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.