[
https://issues.apache.org/jira/browse/SOLR-17914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18132607#comment-18132607
]
Nick Shanin commented on SOLR-17914:
------------------------------------
[~malliaridis] I implemented the create collection dialog from this ticket on a
[branch|https://github.com/nick-boss-tech/solr/tree/solr-17914-create-collection-dialog],
and the
[diff|https://github.com/apache/solr/compare/main...nick-boss-tech:solr-17914-create-collection-dialog]
is {{CreateCollectionForm.kt}} under
{{ui/shared/src/commonMain/kotlin/org/apache/solr/ui/views/collections/}} with
its test {{CreateCollectionFormTest.kt}}, a JVM preview and strings. Spotless
and the test pass at the gated head. The branch builds on the collections
details card work in SOLR-17913.
Is this the right scope for the ticket, and would you review it if I open the
branch as a PR?
🤖 _AI text above_ 🤖 _(reviewed by Nick Shanin)_
> Implement Create Collection Dialog
> ----------------------------------
>
> Key: SOLR-17914
> URL: https://issues.apache.org/jira/browse/SOLR-17914
> Project: Solr
> Issue Type: Sub-task
> Components: Admin UI
> Reporter: Christos Malliaridis
> Priority: Major
> Labels: new-ui, newdev, ui
>
> When managing collections, the user should be able to create new collections
> with the existing configsets.
> h2. Task
> Implement a create collections dialog (with component interface) that allows
> the user to create a new collection.
> h2. Acceptance Criteria
> - The user can successfully create a new collection
> - There is an action available for creating new collections in the
> collections section
> - The user can select a configset
> - The user can provide a collection name, number of shards and replication
> factor
> - The advanced options from the current UI (see dialog in old UI) are
> included as well
> - The advanced options are hidden by default
> - Advanced options use well-defined labels (not just the parameter keys)
> - When the collection name already exists an error is shown under the
> collection name
> - When the creation of a new collection fails an error is shown
> - A general error is shown if the error cause cannot be resolved to a
> specific message / error with a solution
> As a bonus you may provide tooltips to the user for the advanced options. If
> not covered by in this ticket, a separate ticket will handle this request.
> You may also cover input ranges / limits for input values like replication
> factor and shards count.
> h2. Additional Information
> The designs for the a dialog can be found in the [Figma
> file|https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept?node-id=2119-22708&t=yxFihPpG3r7FXACm-1].
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]