Replies: 6 comments 4 replies
-
I see that in the form there are many different topics, Addresses, Acceptors, Connnectors etc. We've been using this for image builder, it's a good way to provide a multi step form to the user. |
Beta Was this translation helpful? Give feedback.
-
Speaking of pattern-fly I think we should use PF5 for any new components. I'll open a discussion on the subject. |
Beta Was this translation helpful? Give feedback.
-
Would it be better to have it as a |
Beta Was this translation helpful? Give feedback.
-
Indeed there's also the collapsible sections in the form if you prefer it https://www.patternfly.org/components/forms/form#field-groups 🙂 |
Beta Was this translation helpful? Give feedback.
-
For the moment I don't think the wizard is a good option, user still need to click on next multiple times. And I don't lik the collapsible form it seems clumsy. My suggestion is when user create or edit a broker the model is created with default values and the page will lay out all categories for user to edit. That's more straight forward. |
Beta Was this translation helpful? Give feedback.
-
The formGroups seems useful. |
Beta Was this translation helpful? Give feedback.
-
Currently when user chooses to create a broker or editing an existing broker, the plugin displays
a page that has 2 kinds of views, form view and yaml view. The form view currently is almost empty
and I suggest to replace it with a more broker focused view.
Below is a sample of existing view:
The new view would be something like:
It is just a sketch that shows the idea but not in its complete content.
This new view presents configurations as broker properties rather than
a custome resource. It breaks the whole configuration into some key config
categories of a broker. Each category will have a UI component for users
to add/remove/edit the items in it.
The new Broker view and the Yaml view should be synchronized, i.e. changes
from one view should be updated to the other -- they share one model.
This new form focus on the messaging part config by single it out in UI.
Even though it can offer cloud related options defined in the CR too.
One key benefit is that the spp plugin can utilize the brokerProperties
feature to configure the broker behind the scene. It prevents users to use
features that already deprecated. And also users don't need to know the
complex syntax of composing brokerProperties contents, the plugin will take
the user's input and convert them into brokerProperties automatically.
Any Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions