You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@solr.apache.org by Christos Malliaridis <c....@gmail.com> on 2024/07/01 16:25:08 UTC

SIP-7 New Admin UI

Hello everyone,

In regards to SIP-7
<https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI>
and SIP-10
<https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience>
I would like to add my perspective and address the current concerns about
implementing a new UI, so that we can take some actions and improve the
overall quality and experience of Solr Admin UI.

There are many discussions and opinions about the UI and how to resolve the
current issues, but they all led to the topic becoming stale. In my
opinion, developing and introducing a new UI into the main repository piece
by piece without replacing the current UI until feature-complete could

- address all the issues currently reported (and not),
- add new features,
- replace the EOL framework and
- improve the overall user experience.

And the maintenance, which is one of the most important parts, could be
addressed with the right choice of framework.

I created a detailed writeup
<https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing>
for those who are interested, where I also write about the alternative
approaches proposed in the past and listing the pros and cons of each one
individually.

I also started to improve this part by simply designing a new UI
<https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept>
and addressing multiple issues at once. I have already received some community
feedback
<https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999>, but
it is far from production-ready and needs more input. I think this could be
further refined and moved to development if there is consensus on that as
the initial approach.

What's your opinion about this approach and do you have any concerns that
have not been addressed?

Best regards,
Christos

Re: SIP-7 New Admin UI

Posted by Christos Malliaridis <c....@gmail.com>.
Thanks Jason for updating the SIP-7 page. I think further updates to the
page will follow soon with more information.

I have prepared a presentation in favor of the POC (
https://github.com/apache/solr/pull/2605) where I go through the basic
theory and show how a component with Kotlin and Compose is structured and
implemented.

You can find the presentation with detailed notes for each theory slide
(expand presenter notes), hopefully it is that way self-explanatory for
people that cannot attend a live presentation. The presentation can be
found at
https://docs.google.com/presentation/d/1IvKz1aGN2sWTfehgAAwcsmJr_PfUsQK7f6YKDB4cdFo
.

I plan to present the content of the slides before our next meetup so that
I can share any feedback I'll receive. I will send out a few date proposals
soon to the dev and users mailing lists to reach out to anyone interested.

If you have any feedback in advance, please let me know.

Re: SIP-7 New Admin UI

Posted by Jason Gerlowski <ge...@gmail.com>.
Perfect!  Yeah, I think getting SIP-7 updated is a big step as it'll
let folks catch up on where things stand and on the "big picture"
decisions.

Thanks for the PR link - will take a look shortly!

On Tue, Jul 30, 2024 at 11:59 AM Christos Malliaridis
<c....@gmail.com> wrote:
>
> Nothing easier than that, and probably a better idea than referencing a
> branch that may be deleted at some point.
>
> Here are the updated links:
> - Github pull-request
> <https://github.com/apache/solr/pull/2605#issue-2438171887>
> - Dev Docs for getting started
> <https://github.com/apache/solr/blob/15402bd66b4108340f05549c923ced9e66a581d6/dev-docs/ui/introduction.adoc>
>
> I have linked the PR to the initial Jira ticket, but I would like to
> introduce an epic for breaking down the scope of the UI into smaller
> pieces, once the migration officially begins. We would also have to update
> the SIP-7 with newer information, which I am working on. :)
>
> On Tue, Jul 30, 2024 at 6:07 PM Jason Gerlowski <ge...@gmail.com>
> wrote:
>
> > > *For the implementation* I'd like to know from the committers how
> > > comfortable they feel with the code base for the new UI. Input about code
> > > complexity, code readability and suitability of the framework in the
> > > overall Solr project would be helpful to decide whether we could proceed
> > > with this framework or not.
> >
> > Happy to chime in there!  Speaking for myself at least, I didn't
> > realize there was "POC" code ready to look at.  It might be a little
> > easier for folks to review and ask questions about the code if you use
> > it to create a "Draft" PR from your fork/branch - is that something
> > you'd be willing to do?
> >
> > Jason
> >
> > On Sun, Jul 28, 2024 at 1:24 PM Christos Malliaridis
> > <c....@gmail.com> wrote:
> > >
> > > With the input and feedback from the virtual meetup I'd like to wrap up
> > the
> > > current progress with a couple of references:
> > >
> > > *Figma Design*
> > > I have created a Figma design (WIP)
> > > <
> > https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept?node-id=2-100&t=wW7ta6KH9VHTZhgq-1
> > >
> > > that represents the new UI, inspired by the current documentation style
> > and
> > > webapp. I have already received some community feedback via Slack
> > > <https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999>
> > and
> > > will share it the next few days in the users mailing list, as proposed in
> > > the meetup, to get further feedback. The designs are far from final, but
> > > can be used as a starting point for discussions.
> > >
> > > The figma file includes references to Jira issues that are addressed with
> > > the new design ideas. Elements from the current UI are restructured,
> > > replaced or even completely removed. I've done this by following some
> > > thoughts of improvement I had, so some changes may not be practical and
> > may
> > > be updated. Note that the current focus of the new UI is not to add new
> > > features, but rather include features that the current UI has and are
> > > useful, so that it can at some point replace the EOL UI implementation.
> > > Once we have a good foundation and have replaced the old UI, we can plan
> > > new features (IMO).
> > >
> > > *Compose Implementation*
> > > I've already started implementing the UI as a proof-of-concept
> > > <https://github.com/malliaridis/solr/tree/composeui> with Compose
> > > Multiplatform. I started with the environment section
> > > <
> > https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept?node-id=30-6414
> > >
> > > that displays version information, java properties and command line
> > > arguments in one place. The implementation includes the base for the UI
> > > module and one screen.
> > >
> > > The goal of the current proof-of-concept is to keep the changes simple
> > and
> > > focused to a single use case, so that it is possible to decide whether we
> > > want to proceed with this framework or not. Therefore, many elements are
> > > not implemented yet or not working correctly (even the styling is not
> > > finished). If you think further elements are necessary to make a
> > decision,
> > > let me know so that I can have a look into it.
> > >
> > > The new UI works with localhost:8983 (without auth) and is automatically
> > > built and distributed together with the current webapp via `gradlew dev`
> > and
> > > after launching a solr instance (build times may be optimized and may
> > take
> > > longer during the first build of the new UI). A button has been added in
> > > the java properties tab of the current UI (see top right corner) to
> > > demonstrate how the linking would work during the migration phase. The
> > new
> > > UI can also be launched as a desktop app via `gradlew
> > :solr:compose-ui:run`.
> > >
> > > I've also added a couple of resources for getting started in dev-docs/ui
> > > <https://github.com/malliaridis/solr/tree/composeui/dev-docs/ui>, but I
> > am
> > > not a good writer so it is kept simple and some parts are written with
> > > ChatGPT's support.
> > >
> > >
> > > *Next Actions**For the designs* I'd like to gather more input from
> > > experienced Solr users and developers, because I haven't used Solr in
> > > production yet and have no clue if the designs would still be good and
> > work
> > > out for larger clusters and real-world scenarios. You can include
> > > references to specific sections for your feedback by providing the page +
> > > screen title or by selecting the element in the left menu and copying a
> > > link via "Copy as -> Copy link to selection". Sadly, feedback via Figma
> > > comments is not available in the free plan and also not available if the
> > > designs are published to the Figma Community.
> > >
> > > If you have a better way for gathering feedback for the designs, please
> > let
> > > me know.
> > >
> > > *For the implementation* I'd like to know from the committers how
> > > comfortable they feel with the code base for the new UI. Input about code
> > > complexity, code readability and suitability of the framework in the
> > > overall Solr project would be helpful to decide whether we could proceed
> > > with this framework or not.
> > >
> > > *P.S. Excuse me for the overwhelmingly long message again.*
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > For additional commands, e-mail: dev-help@solr.apache.org
> >
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org


Re: SIP-7 New Admin UI

Posted by Christos Malliaridis <c....@gmail.com>.
Nothing easier than that, and probably a better idea than referencing a
branch that may be deleted at some point.

Here are the updated links:
- Github pull-request
<https://github.com/apache/solr/pull/2605#issue-2438171887>
- Dev Docs for getting started
<https://github.com/apache/solr/blob/15402bd66b4108340f05549c923ced9e66a581d6/dev-docs/ui/introduction.adoc>

I have linked the PR to the initial Jira ticket, but I would like to
introduce an epic for breaking down the scope of the UI into smaller
pieces, once the migration officially begins. We would also have to update
the SIP-7 with newer information, which I am working on. :)

On Tue, Jul 30, 2024 at 6:07 PM Jason Gerlowski <ge...@gmail.com>
wrote:

> > *For the implementation* I'd like to know from the committers how
> > comfortable they feel with the code base for the new UI. Input about code
> > complexity, code readability and suitability of the framework in the
> > overall Solr project would be helpful to decide whether we could proceed
> > with this framework or not.
>
> Happy to chime in there!  Speaking for myself at least, I didn't
> realize there was "POC" code ready to look at.  It might be a little
> easier for folks to review and ask questions about the code if you use
> it to create a "Draft" PR from your fork/branch - is that something
> you'd be willing to do?
>
> Jason
>
> On Sun, Jul 28, 2024 at 1:24 PM Christos Malliaridis
> <c....@gmail.com> wrote:
> >
> > With the input and feedback from the virtual meetup I'd like to wrap up
> the
> > current progress with a couple of references:
> >
> > *Figma Design*
> > I have created a Figma design (WIP)
> > <
> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept?node-id=2-100&t=wW7ta6KH9VHTZhgq-1
> >
> > that represents the new UI, inspired by the current documentation style
> and
> > webapp. I have already received some community feedback via Slack
> > <https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999>
> and
> > will share it the next few days in the users mailing list, as proposed in
> > the meetup, to get further feedback. The designs are far from final, but
> > can be used as a starting point for discussions.
> >
> > The figma file includes references to Jira issues that are addressed with
> > the new design ideas. Elements from the current UI are restructured,
> > replaced or even completely removed. I've done this by following some
> > thoughts of improvement I had, so some changes may not be practical and
> may
> > be updated. Note that the current focus of the new UI is not to add new
> > features, but rather include features that the current UI has and are
> > useful, so that it can at some point replace the EOL UI implementation.
> > Once we have a good foundation and have replaced the old UI, we can plan
> > new features (IMO).
> >
> > *Compose Implementation*
> > I've already started implementing the UI as a proof-of-concept
> > <https://github.com/malliaridis/solr/tree/composeui> with Compose
> > Multiplatform. I started with the environment section
> > <
> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept?node-id=30-6414
> >
> > that displays version information, java properties and command line
> > arguments in one place. The implementation includes the base for the UI
> > module and one screen.
> >
> > The goal of the current proof-of-concept is to keep the changes simple
> and
> > focused to a single use case, so that it is possible to decide whether we
> > want to proceed with this framework or not. Therefore, many elements are
> > not implemented yet or not working correctly (even the styling is not
> > finished). If you think further elements are necessary to make a
> decision,
> > let me know so that I can have a look into it.
> >
> > The new UI works with localhost:8983 (without auth) and is automatically
> > built and distributed together with the current webapp via `gradlew dev`
> and
> > after launching a solr instance (build times may be optimized and may
> take
> > longer during the first build of the new UI). A button has been added in
> > the java properties tab of the current UI (see top right corner) to
> > demonstrate how the linking would work during the migration phase. The
> new
> > UI can also be launched as a desktop app via `gradlew
> :solr:compose-ui:run`.
> >
> > I've also added a couple of resources for getting started in dev-docs/ui
> > <https://github.com/malliaridis/solr/tree/composeui/dev-docs/ui>, but I
> am
> > not a good writer so it is kept simple and some parts are written with
> > ChatGPT's support.
> >
> >
> > *Next Actions**For the designs* I'd like to gather more input from
> > experienced Solr users and developers, because I haven't used Solr in
> > production yet and have no clue if the designs would still be good and
> work
> > out for larger clusters and real-world scenarios. You can include
> > references to specific sections for your feedback by providing the page +
> > screen title or by selecting the element in the left menu and copying a
> > link via "Copy as -> Copy link to selection". Sadly, feedback via Figma
> > comments is not available in the free plan and also not available if the
> > designs are published to the Figma Community.
> >
> > If you have a better way for gathering feedback for the designs, please
> let
> > me know.
> >
> > *For the implementation* I'd like to know from the committers how
> > comfortable they feel with the code base for the new UI. Input about code
> > complexity, code readability and suitability of the framework in the
> > overall Solr project would be helpful to decide whether we could proceed
> > with this framework or not.
> >
> > *P.S. Excuse me for the overwhelmingly long message again.*
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> For additional commands, e-mail: dev-help@solr.apache.org
>
>

Re: SIP-7 New Admin UI

Posted by Jason Gerlowski <ge...@gmail.com>.
> *For the implementation* I'd like to know from the committers how
> comfortable they feel with the code base for the new UI. Input about code
> complexity, code readability and suitability of the framework in the
> overall Solr project would be helpful to decide whether we could proceed
> with this framework or not.

Happy to chime in there!  Speaking for myself at least, I didn't
realize there was "POC" code ready to look at.  It might be a little
easier for folks to review and ask questions about the code if you use
it to create a "Draft" PR from your fork/branch - is that something
you'd be willing to do?

Jason

On Sun, Jul 28, 2024 at 1:24 PM Christos Malliaridis
<c....@gmail.com> wrote:
>
> With the input and feedback from the virtual meetup I'd like to wrap up the
> current progress with a couple of references:
>
> *Figma Design*
> I have created a Figma design (WIP)
> <https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept?node-id=2-100&t=wW7ta6KH9VHTZhgq-1>
> that represents the new UI, inspired by the current documentation style and
> webapp. I have already received some community feedback via Slack
> <https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999> and
> will share it the next few days in the users mailing list, as proposed in
> the meetup, to get further feedback. The designs are far from final, but
> can be used as a starting point for discussions.
>
> The figma file includes references to Jira issues that are addressed with
> the new design ideas. Elements from the current UI are restructured,
> replaced or even completely removed. I've done this by following some
> thoughts of improvement I had, so some changes may not be practical and may
> be updated. Note that the current focus of the new UI is not to add new
> features, but rather include features that the current UI has and are
> useful, so that it can at some point replace the EOL UI implementation.
> Once we have a good foundation and have replaced the old UI, we can plan
> new features (IMO).
>
> *Compose Implementation*
> I've already started implementing the UI as a proof-of-concept
> <https://github.com/malliaridis/solr/tree/composeui> with Compose
> Multiplatform. I started with the environment section
> <https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept?node-id=30-6414>
> that displays version information, java properties and command line
> arguments in one place. The implementation includes the base for the UI
> module and one screen.
>
> The goal of the current proof-of-concept is to keep the changes simple and
> focused to a single use case, so that it is possible to decide whether we
> want to proceed with this framework or not. Therefore, many elements are
> not implemented yet or not working correctly (even the styling is not
> finished). If you think further elements are necessary to make a decision,
> let me know so that I can have a look into it.
>
> The new UI works with localhost:8983 (without auth) and is automatically
> built and distributed together with the current webapp via `gradlew dev` and
> after launching a solr instance (build times may be optimized and may take
> longer during the first build of the new UI). A button has been added in
> the java properties tab of the current UI (see top right corner) to
> demonstrate how the linking would work during the migration phase. The new
> UI can also be launched as a desktop app via `gradlew :solr:compose-ui:run`.
>
> I've also added a couple of resources for getting started in dev-docs/ui
> <https://github.com/malliaridis/solr/tree/composeui/dev-docs/ui>, but I am
> not a good writer so it is kept simple and some parts are written with
> ChatGPT's support.
>
>
> *Next Actions**For the designs* I'd like to gather more input from
> experienced Solr users and developers, because I haven't used Solr in
> production yet and have no clue if the designs would still be good and work
> out for larger clusters and real-world scenarios. You can include
> references to specific sections for your feedback by providing the page +
> screen title or by selecting the element in the left menu and copying a
> link via "Copy as -> Copy link to selection". Sadly, feedback via Figma
> comments is not available in the free plan and also not available if the
> designs are published to the Figma Community.
>
> If you have a better way for gathering feedback for the designs, please let
> me know.
>
> *For the implementation* I'd like to know from the committers how
> comfortable they feel with the code base for the new UI. Input about code
> complexity, code readability and suitability of the framework in the
> overall Solr project would be helpful to decide whether we could proceed
> with this framework or not.
>
> *P.S. Excuse me for the overwhelmingly long message again.*

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org


Re: SIP-7 New Admin UI

Posted by Christos Malliaridis <c....@gmail.com>.
With the input and feedback from the virtual meetup I'd like to wrap up the
current progress with a couple of references:

*Figma Design*
I have created a Figma design (WIP)
<https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept?node-id=2-100&t=wW7ta6KH9VHTZhgq-1>
that represents the new UI, inspired by the current documentation style and
webapp. I have already received some community feedback via Slack
<https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999> and
will share it the next few days in the users mailing list, as proposed in
the meetup, to get further feedback. The designs are far from final, but
can be used as a starting point for discussions.

The figma file includes references to Jira issues that are addressed with
the new design ideas. Elements from the current UI are restructured,
replaced or even completely removed. I've done this by following some
thoughts of improvement I had, so some changes may not be practical and may
be updated. Note that the current focus of the new UI is not to add new
features, but rather include features that the current UI has and are
useful, so that it can at some point replace the EOL UI implementation.
Once we have a good foundation and have replaced the old UI, we can plan
new features (IMO).

*Compose Implementation*
I've already started implementing the UI as a proof-of-concept
<https://github.com/malliaridis/solr/tree/composeui> with Compose
Multiplatform. I started with the environment section
<https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept?node-id=30-6414>
that displays version information, java properties and command line
arguments in one place. The implementation includes the base for the UI
module and one screen.

The goal of the current proof-of-concept is to keep the changes simple and
focused to a single use case, so that it is possible to decide whether we
want to proceed with this framework or not. Therefore, many elements are
not implemented yet or not working correctly (even the styling is not
finished). If you think further elements are necessary to make a decision,
let me know so that I can have a look into it.

The new UI works with localhost:8983 (without auth) and is automatically
built and distributed together with the current webapp via `gradlew dev` and
after launching a solr instance (build times may be optimized and may take
longer during the first build of the new UI). A button has been added in
the java properties tab of the current UI (see top right corner) to
demonstrate how the linking would work during the migration phase. The new
UI can also be launched as a desktop app via `gradlew :solr:compose-ui:run`.

I've also added a couple of resources for getting started in dev-docs/ui
<https://github.com/malliaridis/solr/tree/composeui/dev-docs/ui>, but I am
not a good writer so it is kept simple and some parts are written with
ChatGPT's support.


*Next Actions**For the designs* I'd like to gather more input from
experienced Solr users and developers, because I haven't used Solr in
production yet and have no clue if the designs would still be good and work
out for larger clusters and real-world scenarios. You can include
references to specific sections for your feedback by providing the page +
screen title or by selecting the element in the left menu and copying a
link via "Copy as -> Copy link to selection". Sadly, feedback via Figma
comments is not available in the free plan and also not available if the
designs are published to the Figma Community.

If you have a better way for gathering feedback for the designs, please let
me know.

*For the implementation* I'd like to know from the committers how
comfortable they feel with the code base for the new UI. Input about code
complexity, code readability and suitability of the framework in the
overall Solr project would be helpful to decide whether we could proceed
with this framework or not.

*P.S. Excuse me for the overwhelmingly long message again.*

Re: SIP-7 New Admin UI

Posted by David Smiley <ds...@apache.org>.
+1 for Kotlin; I've used it in the past and was fond of the
experience.  I'm sad we don't use it in our Gradle files.
But take this with a grain of salt:  I don't *intend* to work on the
UI to be honest so my opinion of the tech there doesn't matter much.
I suppose I might end up touching it if I work on something that the
UI exposes.

On Wed, Jul 17, 2024 at 3:37 AM Eric Pugh
<ep...@opensourceconnections.com> wrote:
>
> I appreciate the vote for Kotlin Jan!
>
> I hadn’t really thought about the argument that if our base is primarily Java centric devs, that Kotlin versus React might be an easier route….
>
>
> > On Jul 16, 2024, at 11:56 PM, Christos Malliaridis <c....@gmail.com> wrote:
> >
> > Thanks for your reply too, Jan. You mention important points.
> >
> >> If frontend devs are to maintain it and we want to attract frontend
> > professionals, then stick to industry standard React or similar.
> >
> > This is something that troubled me a lot. Following the industry-standards
> > would probably be the safest path. But getting new frontend developers may
> > also be challenging and would probably limit their contribution to only the
> > frontend, which is why I think focusing on the current maintainers
> > would be safe
> > alternative too.
> >
> >> I did Swing programming, which is hopefully far from what Compose offers
> >
> > I also developed a UI with Swing a couple years ago, and I am glad Compose
> > does things different.
> >
> >> I like the simplificy of the current UI
> >
> > I was surprised when I saw it. I think it will be difficult to achieve
> > similar results in simplicity with modern frameworks.
> >
> >> I'd like for the UI to be served by a separate servlet/backend that acts
> > as a proxy, so that the Admin UI could be installed separately in a DMZ
> > network
> >
> > This is something I had to give some thought first. I believe that the UI
> > should be implemented against the API, regardless of the deployment method.
> > It should probably not be the responsibility of the UI how or where it is
> > deployed, but it should be flexible enough so that it can work no matter
> > the environment. I agree that there are probably better ways
> > (security-wise) to host it, but this is a matter of abstraction and should
> > be addressed separately (e.g. different environments may use different
> > proxies).
> >
> >> If we managed to separate the new UI as an independent servlet, perhaps
> > with its own /login logic, it would be so much easier to later move the
> > entire UI to a separate repo, should the need arise.
> >
> > I think it's already quite easy to deploy the UI outside or move the source
> > code to a separate project thanks to Gradle modules and the API
> > abstraction. My thoughts from above apply here too and this proxy could be
> > addressed while the new UI is under development (e.g. in combination with a
> > desktop client for example).
> >
> >> just skip the "new" keywork and semicolons, hehe
> >
> > That's a great way to describe Kotlin to Java devs. :D
> > On Mon, 15 Jul 2024, 22:39 Jan Høydahl, <ja...@cominvent.com> wrote:
> >
> >>> - What technology stack would you consider and why?
> >>> - Would you consider a web-based / javascript-based framework easier to
> >> get
> >>> started with, or a JVM-based / kotlin-based UI framework?
> >>
> >> I consider these related. And it boils down to who will maintain the Admin
> >> UI app.
> >> If frontend devs are to maintain it and we want to attract frontend
> >> professionals, then stick to industry standard React or similar.
> >> However, for the lifetime of the project it's been Java devs who have
> >> maintained the UI with a few huge re-writes being the exceptions, but those
> >> were mostly one-offs or at least one-person.
> >>
> >> So I see why you propse the Kotlin based Compose. In a previous life in
> >> the 90's with Java 1, I did Swing programming, which is hopefully far from
> >> what Compose offers, which I know nothing about.
> >>
> >>> - What was your experience so far with Solr's UI code? What would you
> >> avoid
> >>> doing again, what did you like before?
> >>
> >> I helped patch both the jQuery and the Angular UI. Notable contributions
> >> include the OIDC auth impl, the Nodes screen and the ZK Status page.
> >> On one side I like the simplificy of the current UI, just some JS/HTML/CSS
> >> files, not build, compiling etc.
> >> On the other hand, it makes it hard to add 3rd party modules, upgrade libs
> >> etc.
> >> I dislike the fact that the UI is hosted by the main Solr process and
> >> talks directly to Solr backend APIs. I'd like for the UI to be served by a
> >> separate servlet/backend that acts as a proxy, so that the Admin UI could
> >> be installed separately in a DMZ network and poke a hole in firewalls
> >> between the AdminUI's own backend and the Solr cluster (which would be on a
> >> secure inner network).
> >>
> >> If we managed to separate the new UI as an independent servlet, perhaps
> >> with its own /login logic, it would be so much easier to later move the
> >> entire UI to a separate repo, should the need arise.
> >>
> >>> - Would you be interested in contributing to the UI implementation?
> >>
> >> I could probably lend a helping hand here and there, do some reviews, and
> >> if we manage to partition the elephant, pick a few tasks further down the
> >> road.
> >>
> >> I do Kotlin in day job, and it is an absolute joy to work with. Not hard
> >> at all, so to committers fearing a "new" language, it is actually not that
> >> different, just skip the "new" keywork and semicolons, hehe.
> >>
> >> Jan Høydahl
> >>
> >>> 15. juli 2024 kl. 15:49 skrev Christos Malliaridis <
> >> c.malliaridis@gmail.com>:
> >>>
> >>> Thanks for the references David, those are very insightful to me. I am
> >>> definitely not the first one coming up with these ideas, that's for sure.
> >>>
> >>> I think the fact that there are multiple third-party frontends for Solr
> >>> shows how important the UI is to the users and it should push us even
> >> more
> >>> to do something about the current state.
> >>>
> >>> *If there is no objection about the proposed approach I would like to
> >>> proceed and discuss the technology stack that could be used and fulfill
> >> our
> >>> current requirements.*
> >>>
> >>> As I already mentioned before, I've been working on a proof-of-concept
> >> with
> >>> Compose Multiplatform (Kotlin) that demonstrates what an integration
> >> would
> >>> look like.
> >>> Since there are many pros and cons for all the available UI frameworks
> >> out
> >>> there, I broke down my point of view and reasons for Compose in a writeup
> >>> <
> >> https://docs.google.com/document/d/17B6TuUbbpvg823ixrsnVPT6hJ4vuVv9UHzIz4jITvHI/edit?usp=sharing
> >>>
> >>> again.
> >>>
> >>> But because this is a very opinionated topic, *your input is needed*. To
> >> be
> >>> more precise, here are a few questions:
> >>> - What technology stack would you consider and why?
> >>> - What was your experience so far with Solr's UI code? What would you
> >> avoid
> >>> doing again, what did you like before?
> >>> - Would you be interested in contributing to the UI implementation?
> >>> - Would you consider a web-based / javascript-based framework easier to
> >> get
> >>> started with, or a JVM-based / kotlin-based UI framework?
> >>>
> >>> Best,
> >>> Christos
> >>>
> >>> On Fri, Jul 12, 2024 at 11:39 PM David Smiley <ds...@apache.org>
> >> wrote:
> >>>
> >>>> An admin UI can definitely be plugged in.  Here is one:
> >>>> https://github.com/yasa-org/yasa
> >>>> And you would not be the first to consider a desktop client.  There is
> >>>> one of those too: https://solr.search-navigator.org/
> >>>>
> >>>> On Tue, Jul 9, 2024 at 9:37 PM Christos Malliaridis
> >>>> <c....@gmail.com> wrote:
> >>>>>
> >>>>> Thanks for your input, votes and feedback so far, I appreciate it.
> >>>>>
> >>>>> The security concerns are justified and are something I am currently
> >>>>> looking into. With a rewrite it will be easier to take that into
> >> account
> >>>>> and consider alternative options that could also enhance security, too.
> >>>> For
> >>>>> example, I am experimenting with a JVM-based and standalone desktop
> >>>> client
> >>>>> (that is probably a safer option and provides extended authentication
> >>>>> support) that can also be run alongside the current Admin UI as a
> >>>>> WebAssembly app if needed (see changes in
> >>>>> https://github.com/malliaridis/solr/tree/composeui). Another option I
> >>>> was
> >>>>> considering was to write and provide the UI as a Solr plugin, but I am
> >>>> not
> >>>>> sure if this could work with the current way plugins are loaded.
> >>>>>
> >>>>> So in my opinion and alongside the current concerns like maintenance of
> >>>> UI
> >>>>> code, this might be solvable with the right technology selection and
> >> API
> >>>>> implementation (which would be follow-up topics).
> >>>>>
> >>>>> On Tue, Jul 9, 2024 at 10:57 PM Gus Heck <gu...@gmail.com> wrote:
> >>>>>
> >>>>>> Disabling certainly is helpful, but... there's the risk it gets
> >>>> enabled,
> >>>>>> it will still contribute to the footprint that vulnerability scanners
> >>>> have
> >>>>>> to cover.
> >>>>>>
> >>>>>> If it's something that can be enabled/disabled or removed from the
> >> full
> >>>>>> distro, and added to the slim distro if desired, that would be even
> >>>> better.
> >>>>>> The easier all of those things are, the better of course.
> >>>>>>
> >>>>>> Food for thought: https://github.com/jetty/jetty.project/issues/5007
> >>>>>>
> >>>>>> If the UI is a self contained web-app containing only JS/HTML that can
> >>>> be
> >>>>>> undeployed that's pretty much a standards based solution to the
> >>>> problem.
> >>>>>> This sort of wheel was invented long long ago, and we have the basic
> >>>> tools
> >>>>>> at our disposal already (jetty)... There is no need for the UI to have
> >>>> any
> >>>>>> java code at all I suspect...
> >>>>>>
> >>>>>> -Gus
> >>>>>>
> >>>>>> On Tue, Jul 9, 2024 at 3:20 PM David Smiley <ds...@apache.org>
> >>>> wrote:
> >>>>>>
> >>>>>>> RE security; disabling it would suffice and if I recall is already
> >>>>>>> supported.
> >>>>>>>
> >>>>>>> On Tue, Jul 9, 2024 at 3:09 PM Gus Heck <gu...@gmail.com> wrote:
> >>>>>>>>
> >>>>>>>> Also +1 ... "in the same repo and alongside" is how the last
> >>>> migration
> >>>>>>> was
> >>>>>>>> done IIRC. The big plus of this is as it's developed to a point of
> >>>>>>> partial
> >>>>>>>> utility you can put a link in the old UI to try out the new UI and
> >>>> get
> >>>>>>>> feedback and make testing much easier.
> >>>>>>>>
> >>>>>>>> One thing that might be nice if we can do it, is to make the UI
> >>>> more
> >>>>>>>> pluggable, and allow those who have no desire to test it to start
> >>>> solr
> >>>>>>> with
> >>>>>>>> it fully uninstalled. (i.e because they don't want to account for
> >>>> its
> >>>>>>>> security in production)
> >>>>>>>>
> >>>>>>>> Also it would be very good if we carefully understood how we want
> >>>> to
> >>>>>>>> achieve security (including information exposure, and role based
> >>>>>>>> access/display) before we put it in a release.
> >>>>>>>>
> >>>>>>>> On Tue, Jul 9, 2024 at 10:40 AM Houston Putman <houston@apache.org
> >>>>>
> >>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>> I agree with Jason on everything.
> >>>>>>>>>
> >>>>>>>>> Thank you so much for putting this much work into something with
> >>>> so
> >>>>>>> much
> >>>>>>>>> baggage in the community!
> >>>>>>>>>
> >>>>>>>>> I'm a huge +1 here, and love the things I saw in your
> >>>> screenshots on
> >>>>>>> Slack.
> >>>>>>>>>
> >>>>>>>>> - Houston
> >>>>>>>>>
> >>>>>>>>> On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <
> >>>>>> gerlowskija@gmail.com>
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>> Hey Christos,
> >>>>>>>>>>
> >>>>>>>>>> Sorry for the delay responding here - lots of context to read
> >>>> up
> >>>>>> on!
> >>>>>>>>>>
> >>>>>>>>>> Firstly, thanks for the huge effort you've put into writing
> >>>> this
> >>>>>> all
> >>>>>>>>>> up!  Quite the thorough job, and it's really helpful to enable
> >>>> us
> >>>>>>>>>> non-UI folks to follow along haha.
> >>>>>>>>>>
> >>>>>>>>>> If I understand things correctly, there's a few distinct
> >>>> aspects to
> >>>>>>>>>> your proposal:
> >>>>>>>>>>
> >>>>>>>>>> 1. New UI would live alongside the existing one (for a time)
> >>>>>>>>>> 2. The code for the new UI would live in the main repository.
> >>>>>>>>>> 3. Development would be piece-meal (i.e. not one big code-dump)
> >>>>>>>>>>
> >>>>>>>>>> Overall, this sounds like a reasonable approach to me.
> >>>>>>>>>>
> >>>>>>>>>> I think a big concern with putting code in the main repo is
> >>>> that
> >>>>>> it's
> >>>>>>>>>> pretty far from the (current) PMC's/community's wheelhouse to
> >>>>>>>>>> maintain.  I definitely share that concern.  But IMO we're
> >>>> already
> >>>>>>>>>> sortof at a "worst case" in that regard with our existing
> >>>> Admin UI
> >>>>>>>>>> code.  Doing the "refresh" in the main repo gives us a forcing
> >>>>>>>>>> function (i.e. the review process itself) to ensure that at
> >>>> least a
> >>>>>>>>>> few community members will understand the code to at least some
> >>>>>>>>>> extent.  That'll be a huge improvement over where we are today.
> >>>>>>>>>>
> >>>>>>>>>> Anyway, I'm a cautious '+1' based on these details at least.
> >>>> To
> >>>>>>> quote
> >>>>>>>>>> a message from Jan in Slack: "I'd rather see some imperfect
> >>>>>> movement
> >>>>>>>>>> than a perfect plan never realized."
> >>>>>>>>>>
> >>>>>>>>>> (Here's hoping my reply will bump this to the top of folks'
> >>>>>> Inboxes,
> >>>>>>>>>> and get you some more feedback.)
> >>>>>>>>>>
> >>>>>>>>>> Best,
> >>>>>>>>>>
> >>>>>>>>>> Jason
> >>>>>>>>>>
> >>>>>>>>>> On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
> >>>>>>>>>> <c....@gmail.com> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>> Hello everyone,
> >>>>>>>>>>>
> >>>>>>>>>>> In regards to SIP-7
> >>>>>>>>>>> <
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>
> >> https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
> >>>>>>>>>>>
> >>>>>>>>>>> and SIP-10
> >>>>>>>>>>> <
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>
> >> https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
> >>>>>>>>>>>
> >>>>>>>>>>> I would like to add my perspective and address the current
> >>>>>> concerns
> >>>>>>>>> about
> >>>>>>>>>>> implementing a new UI, so that we can take some actions and
> >>>>>>> improve the
> >>>>>>>>>>> overall quality and experience of Solr Admin UI.
> >>>>>>>>>>>
> >>>>>>>>>>> There are many discussions and opinions about the UI and how
> >>>> to
> >>>>>>> resolve
> >>>>>>>>>> the
> >>>>>>>>>>> current issues, but they all led to the topic becoming
> >>>> stale. In
> >>>>>> my
> >>>>>>>>>>> opinion, developing and introducing a new UI into the main
> >>>>>>> repository
> >>>>>>>>>> piece
> >>>>>>>>>>> by piece without replacing the current UI until
> >>>> feature-complete
> >>>>>>> could
> >>>>>>>>>>>
> >>>>>>>>>>> - address all the issues currently reported (and not),
> >>>>>>>>>>> - add new features,
> >>>>>>>>>>> - replace the EOL framework and
> >>>>>>>>>>> - improve the overall user experience.
> >>>>>>>>>>>
> >>>>>>>>>>> And the maintenance, which is one of the most important
> >>>> parts,
> >>>>>>> could be
> >>>>>>>>>>> addressed with the right choice of framework.
> >>>>>>>>>>>
> >>>>>>>>>>> I created a detailed writeup
> >>>>>>>>>>> <
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>
> >> https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
> >>>>>>>>>>>
> >>>>>>>>>>> for those who are interested, where I also write about the
> >>>>>>> alternative
> >>>>>>>>>>> approaches proposed in the past and listing the pros and
> >>>> cons of
> >>>>>>> each
> >>>>>>>>> one
> >>>>>>>>>>> individually.
> >>>>>>>>>>>
> >>>>>>>>>>> I also started to improve this part by simply designing a
> >>>> new UI
> >>>>>>>>>>> <
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>
> >> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
> >>>>>>>>>>>
> >>>>>>>>>>> and addressing multiple issues at once. I have already
> >>>> received
> >>>>>>> some
> >>>>>>>>>> community
> >>>>>>>>>>> feedback
> >>>>>>>>>>> <
> >>>>>>> https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999
> >>>>> ,
> >>>>>>>>>> but
> >>>>>>>>>>> it is far from production-ready and needs more input. I think
> >>>>>> this
> >>>>>>>>> could
> >>>>>>>>>> be
> >>>>>>>>>>> further refined and moved to development if there is
> >>>> consensus on
> >>>>>>> that
> >>>>>>>>> as
> >>>>>>>>>>> the initial approach.
> >>>>>>>>>>>
> >>>>>>>>>>> What's your opinion about this approach and do you have any
> >>>>>>> concerns
> >>>>>>>>> that
> >>>>>>>>>>> have not been addressed?
> >>>>>>>>>>>
> >>>>>>>>>>> Best regards,
> >>>>>>>>>>> Christos
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>> ---------------------------------------------------------------------
> >>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> >>>>>>>>>> For additional commands, e-mail: dev-help@solr.apache.org
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> http://www.needhamsoftware.com (work)
> >>>>>>>> https://a.co/d/b2sZLD9 (my fantasy fiction book)
> >>>>>>>
> >>>>>>> ---------------------------------------------------------------------
> >>>>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> >>>>>>> For additional commands, e-mail: dev-help@solr.apache.org
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> http://www.needhamsoftware.com (work)
> >>>>>> https://a.co/d/b2sZLD9 (my fantasy fiction book)
> >>>>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> >>>> For additional commands, e-mail: dev-help@solr.apache.org
> >>>>
> >>>>
> >>
>
> _______________________
> Eric Pugh | Founder | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal>
> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
> This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org


Re: SIP-7 New Admin UI

Posted by Eric Pugh <ep...@opensourceconnections.com>.
I appreciate the vote for Kotlin Jan!

I hadn’t really thought about the argument that if our base is primarily Java centric devs, that Kotlin versus React might be an easier route….


> On Jul 16, 2024, at 11:56 PM, Christos Malliaridis <c....@gmail.com> wrote:
> 
> Thanks for your reply too, Jan. You mention important points.
> 
>> If frontend devs are to maintain it and we want to attract frontend
> professionals, then stick to industry standard React or similar.
> 
> This is something that troubled me a lot. Following the industry-standards
> would probably be the safest path. But getting new frontend developers may
> also be challenging and would probably limit their contribution to only the
> frontend, which is why I think focusing on the current maintainers
> would be safe
> alternative too.
> 
>> I did Swing programming, which is hopefully far from what Compose offers
> 
> I also developed a UI with Swing a couple years ago, and I am glad Compose
> does things different.
> 
>> I like the simplificy of the current UI
> 
> I was surprised when I saw it. I think it will be difficult to achieve
> similar results in simplicity with modern frameworks.
> 
>> I'd like for the UI to be served by a separate servlet/backend that acts
> as a proxy, so that the Admin UI could be installed separately in a DMZ
> network
> 
> This is something I had to give some thought first. I believe that the UI
> should be implemented against the API, regardless of the deployment method.
> It should probably not be the responsibility of the UI how or where it is
> deployed, but it should be flexible enough so that it can work no matter
> the environment. I agree that there are probably better ways
> (security-wise) to host it, but this is a matter of abstraction and should
> be addressed separately (e.g. different environments may use different
> proxies).
> 
>> If we managed to separate the new UI as an independent servlet, perhaps
> with its own /login logic, it would be so much easier to later move the
> entire UI to a separate repo, should the need arise.
> 
> I think it's already quite easy to deploy the UI outside or move the source
> code to a separate project thanks to Gradle modules and the API
> abstraction. My thoughts from above apply here too and this proxy could be
> addressed while the new UI is under development (e.g. in combination with a
> desktop client for example).
> 
>> just skip the "new" keywork and semicolons, hehe
> 
> That's a great way to describe Kotlin to Java devs. :D
> On Mon, 15 Jul 2024, 22:39 Jan Høydahl, <ja...@cominvent.com> wrote:
> 
>>> - What technology stack would you consider and why?
>>> - Would you consider a web-based / javascript-based framework easier to
>> get
>>> started with, or a JVM-based / kotlin-based UI framework?
>> 
>> I consider these related. And it boils down to who will maintain the Admin
>> UI app.
>> If frontend devs are to maintain it and we want to attract frontend
>> professionals, then stick to industry standard React or similar.
>> However, for the lifetime of the project it's been Java devs who have
>> maintained the UI with a few huge re-writes being the exceptions, but those
>> were mostly one-offs or at least one-person.
>> 
>> So I see why you propse the Kotlin based Compose. In a previous life in
>> the 90's with Java 1, I did Swing programming, which is hopefully far from
>> what Compose offers, which I know nothing about.
>> 
>>> - What was your experience so far with Solr's UI code? What would you
>> avoid
>>> doing again, what did you like before?
>> 
>> I helped patch both the jQuery and the Angular UI. Notable contributions
>> include the OIDC auth impl, the Nodes screen and the ZK Status page.
>> On one side I like the simplificy of the current UI, just some JS/HTML/CSS
>> files, not build, compiling etc.
>> On the other hand, it makes it hard to add 3rd party modules, upgrade libs
>> etc.
>> I dislike the fact that the UI is hosted by the main Solr process and
>> talks directly to Solr backend APIs. I'd like for the UI to be served by a
>> separate servlet/backend that acts as a proxy, so that the Admin UI could
>> be installed separately in a DMZ network and poke a hole in firewalls
>> between the AdminUI's own backend and the Solr cluster (which would be on a
>> secure inner network).
>> 
>> If we managed to separate the new UI as an independent servlet, perhaps
>> with its own /login logic, it would be so much easier to later move the
>> entire UI to a separate repo, should the need arise.
>> 
>>> - Would you be interested in contributing to the UI implementation?
>> 
>> I could probably lend a helping hand here and there, do some reviews, and
>> if we manage to partition the elephant, pick a few tasks further down the
>> road.
>> 
>> I do Kotlin in day job, and it is an absolute joy to work with. Not hard
>> at all, so to committers fearing a "new" language, it is actually not that
>> different, just skip the "new" keywork and semicolons, hehe.
>> 
>> Jan Høydahl
>> 
>>> 15. juli 2024 kl. 15:49 skrev Christos Malliaridis <
>> c.malliaridis@gmail.com>:
>>> 
>>> Thanks for the references David, those are very insightful to me. I am
>>> definitely not the first one coming up with these ideas, that's for sure.
>>> 
>>> I think the fact that there are multiple third-party frontends for Solr
>>> shows how important the UI is to the users and it should push us even
>> more
>>> to do something about the current state.
>>> 
>>> *If there is no objection about the proposed approach I would like to
>>> proceed and discuss the technology stack that could be used and fulfill
>> our
>>> current requirements.*
>>> 
>>> As I already mentioned before, I've been working on a proof-of-concept
>> with
>>> Compose Multiplatform (Kotlin) that demonstrates what an integration
>> would
>>> look like.
>>> Since there are many pros and cons for all the available UI frameworks
>> out
>>> there, I broke down my point of view and reasons for Compose in a writeup
>>> <
>> https://docs.google.com/document/d/17B6TuUbbpvg823ixrsnVPT6hJ4vuVv9UHzIz4jITvHI/edit?usp=sharing
>>> 
>>> again.
>>> 
>>> But because this is a very opinionated topic, *your input is needed*. To
>> be
>>> more precise, here are a few questions:
>>> - What technology stack would you consider and why?
>>> - What was your experience so far with Solr's UI code? What would you
>> avoid
>>> doing again, what did you like before?
>>> - Would you be interested in contributing to the UI implementation?
>>> - Would you consider a web-based / javascript-based framework easier to
>> get
>>> started with, or a JVM-based / kotlin-based UI framework?
>>> 
>>> Best,
>>> Christos
>>> 
>>> On Fri, Jul 12, 2024 at 11:39 PM David Smiley <ds...@apache.org>
>> wrote:
>>> 
>>>> An admin UI can definitely be plugged in.  Here is one:
>>>> https://github.com/yasa-org/yasa
>>>> And you would not be the first to consider a desktop client.  There is
>>>> one of those too: https://solr.search-navigator.org/
>>>> 
>>>> On Tue, Jul 9, 2024 at 9:37 PM Christos Malliaridis
>>>> <c....@gmail.com> wrote:
>>>>> 
>>>>> Thanks for your input, votes and feedback so far, I appreciate it.
>>>>> 
>>>>> The security concerns are justified and are something I am currently
>>>>> looking into. With a rewrite it will be easier to take that into
>> account
>>>>> and consider alternative options that could also enhance security, too.
>>>> For
>>>>> example, I am experimenting with a JVM-based and standalone desktop
>>>> client
>>>>> (that is probably a safer option and provides extended authentication
>>>>> support) that can also be run alongside the current Admin UI as a
>>>>> WebAssembly app if needed (see changes in
>>>>> https://github.com/malliaridis/solr/tree/composeui). Another option I
>>>> was
>>>>> considering was to write and provide the UI as a Solr plugin, but I am
>>>> not
>>>>> sure if this could work with the current way plugins are loaded.
>>>>> 
>>>>> So in my opinion and alongside the current concerns like maintenance of
>>>> UI
>>>>> code, this might be solvable with the right technology selection and
>> API
>>>>> implementation (which would be follow-up topics).
>>>>> 
>>>>> On Tue, Jul 9, 2024 at 10:57 PM Gus Heck <gu...@gmail.com> wrote:
>>>>> 
>>>>>> Disabling certainly is helpful, but... there's the risk it gets
>>>> enabled,
>>>>>> it will still contribute to the footprint that vulnerability scanners
>>>> have
>>>>>> to cover.
>>>>>> 
>>>>>> If it's something that can be enabled/disabled or removed from the
>> full
>>>>>> distro, and added to the slim distro if desired, that would be even
>>>> better.
>>>>>> The easier all of those things are, the better of course.
>>>>>> 
>>>>>> Food for thought: https://github.com/jetty/jetty.project/issues/5007
>>>>>> 
>>>>>> If the UI is a self contained web-app containing only JS/HTML that can
>>>> be
>>>>>> undeployed that's pretty much a standards based solution to the
>>>> problem.
>>>>>> This sort of wheel was invented long long ago, and we have the basic
>>>> tools
>>>>>> at our disposal already (jetty)... There is no need for the UI to have
>>>> any
>>>>>> java code at all I suspect...
>>>>>> 
>>>>>> -Gus
>>>>>> 
>>>>>> On Tue, Jul 9, 2024 at 3:20 PM David Smiley <ds...@apache.org>
>>>> wrote:
>>>>>> 
>>>>>>> RE security; disabling it would suffice and if I recall is already
>>>>>>> supported.
>>>>>>> 
>>>>>>> On Tue, Jul 9, 2024 at 3:09 PM Gus Heck <gu...@gmail.com> wrote:
>>>>>>>> 
>>>>>>>> Also +1 ... "in the same repo and alongside" is how the last
>>>> migration
>>>>>>> was
>>>>>>>> done IIRC. The big plus of this is as it's developed to a point of
>>>>>>> partial
>>>>>>>> utility you can put a link in the old UI to try out the new UI and
>>>> get
>>>>>>>> feedback and make testing much easier.
>>>>>>>> 
>>>>>>>> One thing that might be nice if we can do it, is to make the UI
>>>> more
>>>>>>>> pluggable, and allow those who have no desire to test it to start
>>>> solr
>>>>>>> with
>>>>>>>> it fully uninstalled. (i.e because they don't want to account for
>>>> its
>>>>>>>> security in production)
>>>>>>>> 
>>>>>>>> Also it would be very good if we carefully understood how we want
>>>> to
>>>>>>>> achieve security (including information exposure, and role based
>>>>>>>> access/display) before we put it in a release.
>>>>>>>> 
>>>>>>>> On Tue, Jul 9, 2024 at 10:40 AM Houston Putman <houston@apache.org
>>>>> 
>>>>>>> wrote:
>>>>>>>> 
>>>>>>>>> I agree with Jason on everything.
>>>>>>>>> 
>>>>>>>>> Thank you so much for putting this much work into something with
>>>> so
>>>>>>> much
>>>>>>>>> baggage in the community!
>>>>>>>>> 
>>>>>>>>> I'm a huge +1 here, and love the things I saw in your
>>>> screenshots on
>>>>>>> Slack.
>>>>>>>>> 
>>>>>>>>> - Houston
>>>>>>>>> 
>>>>>>>>> On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <
>>>>>> gerlowskija@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>> 
>>>>>>>>>> Hey Christos,
>>>>>>>>>> 
>>>>>>>>>> Sorry for the delay responding here - lots of context to read
>>>> up
>>>>>> on!
>>>>>>>>>> 
>>>>>>>>>> Firstly, thanks for the huge effort you've put into writing
>>>> this
>>>>>> all
>>>>>>>>>> up!  Quite the thorough job, and it's really helpful to enable
>>>> us
>>>>>>>>>> non-UI folks to follow along haha.
>>>>>>>>>> 
>>>>>>>>>> If I understand things correctly, there's a few distinct
>>>> aspects to
>>>>>>>>>> your proposal:
>>>>>>>>>> 
>>>>>>>>>> 1. New UI would live alongside the existing one (for a time)
>>>>>>>>>> 2. The code for the new UI would live in the main repository.
>>>>>>>>>> 3. Development would be piece-meal (i.e. not one big code-dump)
>>>>>>>>>> 
>>>>>>>>>> Overall, this sounds like a reasonable approach to me.
>>>>>>>>>> 
>>>>>>>>>> I think a big concern with putting code in the main repo is
>>>> that
>>>>>> it's
>>>>>>>>>> pretty far from the (current) PMC's/community's wheelhouse to
>>>>>>>>>> maintain.  I definitely share that concern.  But IMO we're
>>>> already
>>>>>>>>>> sortof at a "worst case" in that regard with our existing
>>>> Admin UI
>>>>>>>>>> code.  Doing the "refresh" in the main repo gives us a forcing
>>>>>>>>>> function (i.e. the review process itself) to ensure that at
>>>> least a
>>>>>>>>>> few community members will understand the code to at least some
>>>>>>>>>> extent.  That'll be a huge improvement over where we are today.
>>>>>>>>>> 
>>>>>>>>>> Anyway, I'm a cautious '+1' based on these details at least.
>>>> To
>>>>>>> quote
>>>>>>>>>> a message from Jan in Slack: "I'd rather see some imperfect
>>>>>> movement
>>>>>>>>>> than a perfect plan never realized."
>>>>>>>>>> 
>>>>>>>>>> (Here's hoping my reply will bump this to the top of folks'
>>>>>> Inboxes,
>>>>>>>>>> and get you some more feedback.)
>>>>>>>>>> 
>>>>>>>>>> Best,
>>>>>>>>>> 
>>>>>>>>>> Jason
>>>>>>>>>> 
>>>>>>>>>> On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
>>>>>>>>>> <c....@gmail.com> wrote:
>>>>>>>>>>> 
>>>>>>>>>>> Hello everyone,
>>>>>>>>>>> 
>>>>>>>>>>> In regards to SIP-7
>>>>>>>>>>> <
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>> 
>> https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
>>>>>>>>>>> 
>>>>>>>>>>> and SIP-10
>>>>>>>>>>> <
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>> 
>> https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
>>>>>>>>>>> 
>>>>>>>>>>> I would like to add my perspective and address the current
>>>>>> concerns
>>>>>>>>> about
>>>>>>>>>>> implementing a new UI, so that we can take some actions and
>>>>>>> improve the
>>>>>>>>>>> overall quality and experience of Solr Admin UI.
>>>>>>>>>>> 
>>>>>>>>>>> There are many discussions and opinions about the UI and how
>>>> to
>>>>>>> resolve
>>>>>>>>>> the
>>>>>>>>>>> current issues, but they all led to the topic becoming
>>>> stale. In
>>>>>> my
>>>>>>>>>>> opinion, developing and introducing a new UI into the main
>>>>>>> repository
>>>>>>>>>> piece
>>>>>>>>>>> by piece without replacing the current UI until
>>>> feature-complete
>>>>>>> could
>>>>>>>>>>> 
>>>>>>>>>>> - address all the issues currently reported (and not),
>>>>>>>>>>> - add new features,
>>>>>>>>>>> - replace the EOL framework and
>>>>>>>>>>> - improve the overall user experience.
>>>>>>>>>>> 
>>>>>>>>>>> And the maintenance, which is one of the most important
>>>> parts,
>>>>>>> could be
>>>>>>>>>>> addressed with the right choice of framework.
>>>>>>>>>>> 
>>>>>>>>>>> I created a detailed writeup
>>>>>>>>>>> <
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>> 
>> https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
>>>>>>>>>>> 
>>>>>>>>>>> for those who are interested, where I also write about the
>>>>>>> alternative
>>>>>>>>>>> approaches proposed in the past and listing the pros and
>>>> cons of
>>>>>>> each
>>>>>>>>> one
>>>>>>>>>>> individually.
>>>>>>>>>>> 
>>>>>>>>>>> I also started to improve this part by simply designing a
>>>> new UI
>>>>>>>>>>> <
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>> 
>> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
>>>>>>>>>>> 
>>>>>>>>>>> and addressing multiple issues at once. I have already
>>>> received
>>>>>>> some
>>>>>>>>>> community
>>>>>>>>>>> feedback
>>>>>>>>>>> <
>>>>>>> https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999
>>>>> ,
>>>>>>>>>> but
>>>>>>>>>>> it is far from production-ready and needs more input. I think
>>>>>> this
>>>>>>>>> could
>>>>>>>>>> be
>>>>>>>>>>> further refined and moved to development if there is
>>>> consensus on
>>>>>>> that
>>>>>>>>> as
>>>>>>>>>>> the initial approach.
>>>>>>>>>>> 
>>>>>>>>>>> What's your opinion about this approach and do you have any
>>>>>>> concerns
>>>>>>>>> that
>>>>>>>>>>> have not been addressed?
>>>>>>>>>>> 
>>>>>>>>>>> Best regards,
>>>>>>>>>>> Christos
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>> ---------------------------------------------------------------------
>>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
>>>>>>>>>> For additional commands, e-mail: dev-help@solr.apache.org
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> --
>>>>>>>> http://www.needhamsoftware.com (work)
>>>>>>>> https://a.co/d/b2sZLD9 (my fantasy fiction book)
>>>>>>> 
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
>>>>>>> For additional commands, e-mail: dev-help@solr.apache.org
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> http://www.needhamsoftware.com (work)
>>>>>> https://a.co/d/b2sZLD9 (my fantasy fiction book)
>>>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
>>>> For additional commands, e-mail: dev-help@solr.apache.org
>>>> 
>>>> 
>> 

_______________________
Eric Pugh | Founder | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal>  
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>	
This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.


Re: SIP-7 New Admin UI

Posted by Christos Malliaridis <c....@gmail.com>.
Thanks for your reply too, Jan. You mention important points.

> If frontend devs are to maintain it and we want to attract frontend
professionals, then stick to industry standard React or similar.

This is something that troubled me a lot. Following the industry-standards
would probably be the safest path. But getting new frontend developers may
also be challenging and would probably limit their contribution to only the
frontend, which is why I think focusing on the current maintainers
would be safe
alternative too.

> I did Swing programming, which is hopefully far from what Compose offers

I also developed a UI with Swing a couple years ago, and I am glad Compose
does things different.

> I like the simplificy of the current UI

I was surprised when I saw it. I think it will be difficult to achieve
similar results in simplicity with modern frameworks.

> I'd like for the UI to be served by a separate servlet/backend that acts
as a proxy, so that the Admin UI could be installed separately in a DMZ
network

This is something I had to give some thought first. I believe that the UI
should be implemented against the API, regardless of the deployment method.
It should probably not be the responsibility of the UI how or where it is
deployed, but it should be flexible enough so that it can work no matter
the environment. I agree that there are probably better ways
(security-wise) to host it, but this is a matter of abstraction and should
be addressed separately (e.g. different environments may use different
proxies).

> If we managed to separate the new UI as an independent servlet, perhaps
with its own /login logic, it would be so much easier to later move the
entire UI to a separate repo, should the need arise.

I think it's already quite easy to deploy the UI outside or move the source
code to a separate project thanks to Gradle modules and the API
abstraction. My thoughts from above apply here too and this proxy could be
addressed while the new UI is under development (e.g. in combination with a
desktop client for example).

> just skip the "new" keywork and semicolons, hehe

That's a great way to describe Kotlin to Java devs. :D
On Mon, 15 Jul 2024, 22:39 Jan Høydahl, <ja...@cominvent.com> wrote:

> > - What technology stack would you consider and why?
> > - Would you consider a web-based / javascript-based framework easier to
> get
> > started with, or a JVM-based / kotlin-based UI framework?
>
> I consider these related. And it boils down to who will maintain the Admin
> UI app.
> If frontend devs are to maintain it and we want to attract frontend
> professionals, then stick to industry standard React or similar.
> However, for the lifetime of the project it's been Java devs who have
> maintained the UI with a few huge re-writes being the exceptions, but those
> were mostly one-offs or at least one-person.
>
> So I see why you propse the Kotlin based Compose. In a previous life in
> the 90's with Java 1, I did Swing programming, which is hopefully far from
> what Compose offers, which I know nothing about.
>
> > - What was your experience so far with Solr's UI code? What would you
> avoid
> > doing again, what did you like before?
>
> I helped patch both the jQuery and the Angular UI. Notable contributions
> include the OIDC auth impl, the Nodes screen and the ZK Status page.
> On one side I like the simplificy of the current UI, just some JS/HTML/CSS
> files, not build, compiling etc.
> On the other hand, it makes it hard to add 3rd party modules, upgrade libs
> etc.
> I dislike the fact that the UI is hosted by the main Solr process and
> talks directly to Solr backend APIs. I'd like for the UI to be served by a
> separate servlet/backend that acts as a proxy, so that the Admin UI could
> be installed separately in a DMZ network and poke a hole in firewalls
> between the AdminUI's own backend and the Solr cluster (which would be on a
> secure inner network).
>
> If we managed to separate the new UI as an independent servlet, perhaps
> with its own /login logic, it would be so much easier to later move the
> entire UI to a separate repo, should the need arise.
>
> > - Would you be interested in contributing to the UI implementation?
>
> I could probably lend a helping hand here and there, do some reviews, and
> if we manage to partition the elephant, pick a few tasks further down the
> road.
>
> I do Kotlin in day job, and it is an absolute joy to work with. Not hard
> at all, so to committers fearing a "new" language, it is actually not that
> different, just skip the "new" keywork and semicolons, hehe.
>
> Jan Høydahl
>
> > 15. juli 2024 kl. 15:49 skrev Christos Malliaridis <
> c.malliaridis@gmail.com>:
> >
> > Thanks for the references David, those are very insightful to me. I am
> > definitely not the first one coming up with these ideas, that's for sure.
> >
> > I think the fact that there are multiple third-party frontends for Solr
> > shows how important the UI is to the users and it should push us even
> more
> > to do something about the current state.
> >
> > *If there is no objection about the proposed approach I would like to
> > proceed and discuss the technology stack that could be used and fulfill
> our
> > current requirements.*
> >
> > As I already mentioned before, I've been working on a proof-of-concept
> with
> > Compose Multiplatform (Kotlin) that demonstrates what an integration
> would
> > look like.
> > Since there are many pros and cons for all the available UI frameworks
> out
> > there, I broke down my point of view and reasons for Compose in a writeup
> > <
> https://docs.google.com/document/d/17B6TuUbbpvg823ixrsnVPT6hJ4vuVv9UHzIz4jITvHI/edit?usp=sharing
> >
> > again.
> >
> > But because this is a very opinionated topic, *your input is needed*. To
> be
> > more precise, here are a few questions:
> > - What technology stack would you consider and why?
> > - What was your experience so far with Solr's UI code? What would you
> avoid
> > doing again, what did you like before?
> > - Would you be interested in contributing to the UI implementation?
> > - Would you consider a web-based / javascript-based framework easier to
> get
> > started with, or a JVM-based / kotlin-based UI framework?
> >
> > Best,
> > Christos
> >
> > On Fri, Jul 12, 2024 at 11:39 PM David Smiley <ds...@apache.org>
> wrote:
> >
> >> An admin UI can definitely be plugged in.  Here is one:
> >> https://github.com/yasa-org/yasa
> >> And you would not be the first to consider a desktop client.  There is
> >> one of those too: https://solr.search-navigator.org/
> >>
> >> On Tue, Jul 9, 2024 at 9:37 PM Christos Malliaridis
> >> <c....@gmail.com> wrote:
> >>>
> >>> Thanks for your input, votes and feedback so far, I appreciate it.
> >>>
> >>> The security concerns are justified and are something I am currently
> >>> looking into. With a rewrite it will be easier to take that into
> account
> >>> and consider alternative options that could also enhance security, too.
> >> For
> >>> example, I am experimenting with a JVM-based and standalone desktop
> >> client
> >>> (that is probably a safer option and provides extended authentication
> >>> support) that can also be run alongside the current Admin UI as a
> >>> WebAssembly app if needed (see changes in
> >>> https://github.com/malliaridis/solr/tree/composeui). Another option I
> >> was
> >>> considering was to write and provide the UI as a Solr plugin, but I am
> >> not
> >>> sure if this could work with the current way plugins are loaded.
> >>>
> >>> So in my opinion and alongside the current concerns like maintenance of
> >> UI
> >>> code, this might be solvable with the right technology selection and
> API
> >>> implementation (which would be follow-up topics).
> >>>
> >>> On Tue, Jul 9, 2024 at 10:57 PM Gus Heck <gu...@gmail.com> wrote:
> >>>
> >>>> Disabling certainly is helpful, but... there's the risk it gets
> >> enabled,
> >>>> it will still contribute to the footprint that vulnerability scanners
> >> have
> >>>> to cover.
> >>>>
> >>>> If it's something that can be enabled/disabled or removed from the
> full
> >>>> distro, and added to the slim distro if desired, that would be even
> >> better.
> >>>> The easier all of those things are, the better of course.
> >>>>
> >>>> Food for thought: https://github.com/jetty/jetty.project/issues/5007
> >>>>
> >>>> If the UI is a self contained web-app containing only JS/HTML that can
> >> be
> >>>> undeployed that's pretty much a standards based solution to the
> >> problem.
> >>>> This sort of wheel was invented long long ago, and we have the basic
> >> tools
> >>>> at our disposal already (jetty)... There is no need for the UI to have
> >> any
> >>>> java code at all I suspect...
> >>>>
> >>>> -Gus
> >>>>
> >>>> On Tue, Jul 9, 2024 at 3:20 PM David Smiley <ds...@apache.org>
> >> wrote:
> >>>>
> >>>>> RE security; disabling it would suffice and if I recall is already
> >>>>> supported.
> >>>>>
> >>>>> On Tue, Jul 9, 2024 at 3:09 PM Gus Heck <gu...@gmail.com> wrote:
> >>>>>>
> >>>>>> Also +1 ... "in the same repo and alongside" is how the last
> >> migration
> >>>>> was
> >>>>>> done IIRC. The big plus of this is as it's developed to a point of
> >>>>> partial
> >>>>>> utility you can put a link in the old UI to try out the new UI and
> >> get
> >>>>>> feedback and make testing much easier.
> >>>>>>
> >>>>>> One thing that might be nice if we can do it, is to make the UI
> >> more
> >>>>>> pluggable, and allow those who have no desire to test it to start
> >> solr
> >>>>> with
> >>>>>> it fully uninstalled. (i.e because they don't want to account for
> >> its
> >>>>>> security in production)
> >>>>>>
> >>>>>> Also it would be very good if we carefully understood how we want
> >> to
> >>>>>> achieve security (including information exposure, and role based
> >>>>>> access/display) before we put it in a release.
> >>>>>>
> >>>>>> On Tue, Jul 9, 2024 at 10:40 AM Houston Putman <houston@apache.org
> >>>
> >>>>> wrote:
> >>>>>>
> >>>>>>> I agree with Jason on everything.
> >>>>>>>
> >>>>>>> Thank you so much for putting this much work into something with
> >> so
> >>>>> much
> >>>>>>> baggage in the community!
> >>>>>>>
> >>>>>>> I'm a huge +1 here, and love the things I saw in your
> >> screenshots on
> >>>>> Slack.
> >>>>>>>
> >>>>>>> - Houston
> >>>>>>>
> >>>>>>> On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <
> >>>> gerlowskija@gmail.com>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> Hey Christos,
> >>>>>>>>
> >>>>>>>> Sorry for the delay responding here - lots of context to read
> >> up
> >>>> on!
> >>>>>>>>
> >>>>>>>> Firstly, thanks for the huge effort you've put into writing
> >> this
> >>>> all
> >>>>>>>> up!  Quite the thorough job, and it's really helpful to enable
> >> us
> >>>>>>>> non-UI folks to follow along haha.
> >>>>>>>>
> >>>>>>>> If I understand things correctly, there's a few distinct
> >> aspects to
> >>>>>>>> your proposal:
> >>>>>>>>
> >>>>>>>> 1. New UI would live alongside the existing one (for a time)
> >>>>>>>> 2. The code for the new UI would live in the main repository.
> >>>>>>>> 3. Development would be piece-meal (i.e. not one big code-dump)
> >>>>>>>>
> >>>>>>>> Overall, this sounds like a reasonable approach to me.
> >>>>>>>>
> >>>>>>>> I think a big concern with putting code in the main repo is
> >> that
> >>>> it's
> >>>>>>>> pretty far from the (current) PMC's/community's wheelhouse to
> >>>>>>>> maintain.  I definitely share that concern.  But IMO we're
> >> already
> >>>>>>>> sortof at a "worst case" in that regard with our existing
> >> Admin UI
> >>>>>>>> code.  Doing the "refresh" in the main repo gives us a forcing
> >>>>>>>> function (i.e. the review process itself) to ensure that at
> >> least a
> >>>>>>>> few community members will understand the code to at least some
> >>>>>>>> extent.  That'll be a huge improvement over where we are today.
> >>>>>>>>
> >>>>>>>> Anyway, I'm a cautious '+1' based on these details at least.
> >> To
> >>>>> quote
> >>>>>>>> a message from Jan in Slack: "I'd rather see some imperfect
> >>>> movement
> >>>>>>>> than a perfect plan never realized."
> >>>>>>>>
> >>>>>>>> (Here's hoping my reply will bump this to the top of folks'
> >>>> Inboxes,
> >>>>>>>> and get you some more feedback.)
> >>>>>>>>
> >>>>>>>> Best,
> >>>>>>>>
> >>>>>>>> Jason
> >>>>>>>>
> >>>>>>>> On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
> >>>>>>>> <c....@gmail.com> wrote:
> >>>>>>>>>
> >>>>>>>>> Hello everyone,
> >>>>>>>>>
> >>>>>>>>> In regards to SIP-7
> >>>>>>>>> <
> >>>>>>>>
> >>>>>>>
> >>>>>
> >>>>
> >>
> https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
> >>>>>>>>>
> >>>>>>>>> and SIP-10
> >>>>>>>>> <
> >>>>>>>>
> >>>>>>>
> >>>>>
> >>>>
> >>
> https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
> >>>>>>>>>
> >>>>>>>>> I would like to add my perspective and address the current
> >>>> concerns
> >>>>>>> about
> >>>>>>>>> implementing a new UI, so that we can take some actions and
> >>>>> improve the
> >>>>>>>>> overall quality and experience of Solr Admin UI.
> >>>>>>>>>
> >>>>>>>>> There are many discussions and opinions about the UI and how
> >> to
> >>>>> resolve
> >>>>>>>> the
> >>>>>>>>> current issues, but they all led to the topic becoming
> >> stale. In
> >>>> my
> >>>>>>>>> opinion, developing and introducing a new UI into the main
> >>>>> repository
> >>>>>>>> piece
> >>>>>>>>> by piece without replacing the current UI until
> >> feature-complete
> >>>>> could
> >>>>>>>>>
> >>>>>>>>> - address all the issues currently reported (and not),
> >>>>>>>>> - add new features,
> >>>>>>>>> - replace the EOL framework and
> >>>>>>>>> - improve the overall user experience.
> >>>>>>>>>
> >>>>>>>>> And the maintenance, which is one of the most important
> >> parts,
> >>>>> could be
> >>>>>>>>> addressed with the right choice of framework.
> >>>>>>>>>
> >>>>>>>>> I created a detailed writeup
> >>>>>>>>> <
> >>>>>>>>
> >>>>>>>
> >>>>>
> >>>>
> >>
> https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
> >>>>>>>>>
> >>>>>>>>> for those who are interested, where I also write about the
> >>>>> alternative
> >>>>>>>>> approaches proposed in the past and listing the pros and
> >> cons of
> >>>>> each
> >>>>>>> one
> >>>>>>>>> individually.
> >>>>>>>>>
> >>>>>>>>> I also started to improve this part by simply designing a
> >> new UI
> >>>>>>>>> <
> >>>>>>>>
> >>>>>>>
> >>>>>
> >>>>
> >>
> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
> >>>>>>>>>
> >>>>>>>>> and addressing multiple issues at once. I have already
> >> received
> >>>>> some
> >>>>>>>> community
> >>>>>>>>> feedback
> >>>>>>>>> <
> >>>>> https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999
> >>> ,
> >>>>>>>> but
> >>>>>>>>> it is far from production-ready and needs more input. I think
> >>>> this
> >>>>>>> could
> >>>>>>>> be
> >>>>>>>>> further refined and moved to development if there is
> >> consensus on
> >>>>> that
> >>>>>>> as
> >>>>>>>>> the initial approach.
> >>>>>>>>>
> >>>>>>>>> What's your opinion about this approach and do you have any
> >>>>> concerns
> >>>>>>> that
> >>>>>>>>> have not been addressed?
> >>>>>>>>>
> >>>>>>>>> Best regards,
> >>>>>>>>> Christos
> >>>>>>>>
> >>>>>>>>
> >>>> ---------------------------------------------------------------------
> >>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> >>>>>>>> For additional commands, e-mail: dev-help@solr.apache.org
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> http://www.needhamsoftware.com (work)
> >>>>>> https://a.co/d/b2sZLD9 (my fantasy fiction book)
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> >>>>> For additional commands, e-mail: dev-help@solr.apache.org
> >>>>>
> >>>>>
> >>>>
> >>>> --
> >>>> http://www.needhamsoftware.com (work)
> >>>> https://a.co/d/b2sZLD9 (my fantasy fiction book)
> >>>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> >> For additional commands, e-mail: dev-help@solr.apache.org
> >>
> >>
>

Re: SIP-7 New Admin UI

Posted by Jan Høydahl <ja...@cominvent.com>.
> - What technology stack would you consider and why?
> - Would you consider a web-based / javascript-based framework easier to get
> started with, or a JVM-based / kotlin-based UI framework?

I consider these related. And it boils down to who will maintain the Admin UI app.
If frontend devs are to maintain it and we want to attract frontend professionals, then stick to industry standard React or similar.
However, for the lifetime of the project it's been Java devs who have maintained the UI with a few huge re-writes being the exceptions, but those were mostly one-offs or at least one-person.

So I see why you propse the Kotlin based Compose. In a previous life in the 90's with Java 1, I did Swing programming, which is hopefully far from what Compose offers, which I know nothing about.

> - What was your experience so far with Solr's UI code? What would you avoid
> doing again, what did you like before?

I helped patch both the jQuery and the Angular UI. Notable contributions include the OIDC auth impl, the Nodes screen and the ZK Status page.
On one side I like the simplificy of the current UI, just some JS/HTML/CSS files, not build, compiling etc.
On the other hand, it makes it hard to add 3rd party modules, upgrade libs etc.
I dislike the fact that the UI is hosted by the main Solr process and talks directly to Solr backend APIs. I'd like for the UI to be served by a separate servlet/backend that acts as a proxy, so that the Admin UI could be installed separately in a DMZ network and poke a hole in firewalls between the AdminUI's own backend and the Solr cluster (which would be on a secure inner network).

If we managed to separate the new UI as an independent servlet, perhaps with its own /login logic, it would be so much easier to later move the entire UI to a separate repo, should the need arise.

> - Would you be interested in contributing to the UI implementation?

I could probably lend a helping hand here and there, do some reviews, and if we manage to partition the elephant, pick a few tasks further down the road.

I do Kotlin in day job, and it is an absolute joy to work with. Not hard at all, so to committers fearing a "new" language, it is actually not that different, just skip the "new" keywork and semicolons, hehe.

Jan Høydahl

> 15. juli 2024 kl. 15:49 skrev Christos Malliaridis <c....@gmail.com>:
> 
> Thanks for the references David, those are very insightful to me. I am
> definitely not the first one coming up with these ideas, that's for sure.
> 
> I think the fact that there are multiple third-party frontends for Solr
> shows how important the UI is to the users and it should push us even more
> to do something about the current state.
> 
> *If there is no objection about the proposed approach I would like to
> proceed and discuss the technology stack that could be used and fulfill our
> current requirements.*
> 
> As I already mentioned before, I've been working on a proof-of-concept with
> Compose Multiplatform (Kotlin) that demonstrates what an integration would
> look like.
> Since there are many pros and cons for all the available UI frameworks out
> there, I broke down my point of view and reasons for Compose in a writeup
> <https://docs.google.com/document/d/17B6TuUbbpvg823ixrsnVPT6hJ4vuVv9UHzIz4jITvHI/edit?usp=sharing>
> again.
> 
> But because this is a very opinionated topic, *your input is needed*. To be
> more precise, here are a few questions:
> - What technology stack would you consider and why?
> - What was your experience so far with Solr's UI code? What would you avoid
> doing again, what did you like before?
> - Would you be interested in contributing to the UI implementation?
> - Would you consider a web-based / javascript-based framework easier to get
> started with, or a JVM-based / kotlin-based UI framework?
> 
> Best,
> Christos
> 
> On Fri, Jul 12, 2024 at 11:39 PM David Smiley <ds...@apache.org> wrote:
> 
>> An admin UI can definitely be plugged in.  Here is one:
>> https://github.com/yasa-org/yasa
>> And you would not be the first to consider a desktop client.  There is
>> one of those too: https://solr.search-navigator.org/
>> 
>> On Tue, Jul 9, 2024 at 9:37 PM Christos Malliaridis
>> <c....@gmail.com> wrote:
>>> 
>>> Thanks for your input, votes and feedback so far, I appreciate it.
>>> 
>>> The security concerns are justified and are something I am currently
>>> looking into. With a rewrite it will be easier to take that into account
>>> and consider alternative options that could also enhance security, too.
>> For
>>> example, I am experimenting with a JVM-based and standalone desktop
>> client
>>> (that is probably a safer option and provides extended authentication
>>> support) that can also be run alongside the current Admin UI as a
>>> WebAssembly app if needed (see changes in
>>> https://github.com/malliaridis/solr/tree/composeui). Another option I
>> was
>>> considering was to write and provide the UI as a Solr plugin, but I am
>> not
>>> sure if this could work with the current way plugins are loaded.
>>> 
>>> So in my opinion and alongside the current concerns like maintenance of
>> UI
>>> code, this might be solvable with the right technology selection and API
>>> implementation (which would be follow-up topics).
>>> 
>>> On Tue, Jul 9, 2024 at 10:57 PM Gus Heck <gu...@gmail.com> wrote:
>>> 
>>>> Disabling certainly is helpful, but... there's the risk it gets
>> enabled,
>>>> it will still contribute to the footprint that vulnerability scanners
>> have
>>>> to cover.
>>>> 
>>>> If it's something that can be enabled/disabled or removed from the full
>>>> distro, and added to the slim distro if desired, that would be even
>> better.
>>>> The easier all of those things are, the better of course.
>>>> 
>>>> Food for thought: https://github.com/jetty/jetty.project/issues/5007
>>>> 
>>>> If the UI is a self contained web-app containing only JS/HTML that can
>> be
>>>> undeployed that's pretty much a standards based solution to the
>> problem.
>>>> This sort of wheel was invented long long ago, and we have the basic
>> tools
>>>> at our disposal already (jetty)... There is no need for the UI to have
>> any
>>>> java code at all I suspect...
>>>> 
>>>> -Gus
>>>> 
>>>> On Tue, Jul 9, 2024 at 3:20 PM David Smiley <ds...@apache.org>
>> wrote:
>>>> 
>>>>> RE security; disabling it would suffice and if I recall is already
>>>>> supported.
>>>>> 
>>>>> On Tue, Jul 9, 2024 at 3:09 PM Gus Heck <gu...@gmail.com> wrote:
>>>>>> 
>>>>>> Also +1 ... "in the same repo and alongside" is how the last
>> migration
>>>>> was
>>>>>> done IIRC. The big plus of this is as it's developed to a point of
>>>>> partial
>>>>>> utility you can put a link in the old UI to try out the new UI and
>> get
>>>>>> feedback and make testing much easier.
>>>>>> 
>>>>>> One thing that might be nice if we can do it, is to make the UI
>> more
>>>>>> pluggable, and allow those who have no desire to test it to start
>> solr
>>>>> with
>>>>>> it fully uninstalled. (i.e because they don't want to account for
>> its
>>>>>> security in production)
>>>>>> 
>>>>>> Also it would be very good if we carefully understood how we want
>> to
>>>>>> achieve security (including information exposure, and role based
>>>>>> access/display) before we put it in a release.
>>>>>> 
>>>>>> On Tue, Jul 9, 2024 at 10:40 AM Houston Putman <houston@apache.org
>>> 
>>>>> wrote:
>>>>>> 
>>>>>>> I agree with Jason on everything.
>>>>>>> 
>>>>>>> Thank you so much for putting this much work into something with
>> so
>>>>> much
>>>>>>> baggage in the community!
>>>>>>> 
>>>>>>> I'm a huge +1 here, and love the things I saw in your
>> screenshots on
>>>>> Slack.
>>>>>>> 
>>>>>>> - Houston
>>>>>>> 
>>>>>>> On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <
>>>> gerlowskija@gmail.com>
>>>>>>> wrote:
>>>>>>> 
>>>>>>>> Hey Christos,
>>>>>>>> 
>>>>>>>> Sorry for the delay responding here - lots of context to read
>> up
>>>> on!
>>>>>>>> 
>>>>>>>> Firstly, thanks for the huge effort you've put into writing
>> this
>>>> all
>>>>>>>> up!  Quite the thorough job, and it's really helpful to enable
>> us
>>>>>>>> non-UI folks to follow along haha.
>>>>>>>> 
>>>>>>>> If I understand things correctly, there's a few distinct
>> aspects to
>>>>>>>> your proposal:
>>>>>>>> 
>>>>>>>> 1. New UI would live alongside the existing one (for a time)
>>>>>>>> 2. The code for the new UI would live in the main repository.
>>>>>>>> 3. Development would be piece-meal (i.e. not one big code-dump)
>>>>>>>> 
>>>>>>>> Overall, this sounds like a reasonable approach to me.
>>>>>>>> 
>>>>>>>> I think a big concern with putting code in the main repo is
>> that
>>>> it's
>>>>>>>> pretty far from the (current) PMC's/community's wheelhouse to
>>>>>>>> maintain.  I definitely share that concern.  But IMO we're
>> already
>>>>>>>> sortof at a "worst case" in that regard with our existing
>> Admin UI
>>>>>>>> code.  Doing the "refresh" in the main repo gives us a forcing
>>>>>>>> function (i.e. the review process itself) to ensure that at
>> least a
>>>>>>>> few community members will understand the code to at least some
>>>>>>>> extent.  That'll be a huge improvement over where we are today.
>>>>>>>> 
>>>>>>>> Anyway, I'm a cautious '+1' based on these details at least.
>> To
>>>>> quote
>>>>>>>> a message from Jan in Slack: "I'd rather see some imperfect
>>>> movement
>>>>>>>> than a perfect plan never realized."
>>>>>>>> 
>>>>>>>> (Here's hoping my reply will bump this to the top of folks'
>>>> Inboxes,
>>>>>>>> and get you some more feedback.)
>>>>>>>> 
>>>>>>>> Best,
>>>>>>>> 
>>>>>>>> Jason
>>>>>>>> 
>>>>>>>> On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
>>>>>>>> <c....@gmail.com> wrote:
>>>>>>>>> 
>>>>>>>>> Hello everyone,
>>>>>>>>> 
>>>>>>>>> In regards to SIP-7
>>>>>>>>> <
>>>>>>>> 
>>>>>>> 
>>>>> 
>>>> 
>> https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
>>>>>>>>> 
>>>>>>>>> and SIP-10
>>>>>>>>> <
>>>>>>>> 
>>>>>>> 
>>>>> 
>>>> 
>> https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
>>>>>>>>> 
>>>>>>>>> I would like to add my perspective and address the current
>>>> concerns
>>>>>>> about
>>>>>>>>> implementing a new UI, so that we can take some actions and
>>>>> improve the
>>>>>>>>> overall quality and experience of Solr Admin UI.
>>>>>>>>> 
>>>>>>>>> There are many discussions and opinions about the UI and how
>> to
>>>>> resolve
>>>>>>>> the
>>>>>>>>> current issues, but they all led to the topic becoming
>> stale. In
>>>> my
>>>>>>>>> opinion, developing and introducing a new UI into the main
>>>>> repository
>>>>>>>> piece
>>>>>>>>> by piece without replacing the current UI until
>> feature-complete
>>>>> could
>>>>>>>>> 
>>>>>>>>> - address all the issues currently reported (and not),
>>>>>>>>> - add new features,
>>>>>>>>> - replace the EOL framework and
>>>>>>>>> - improve the overall user experience.
>>>>>>>>> 
>>>>>>>>> And the maintenance, which is one of the most important
>> parts,
>>>>> could be
>>>>>>>>> addressed with the right choice of framework.
>>>>>>>>> 
>>>>>>>>> I created a detailed writeup
>>>>>>>>> <
>>>>>>>> 
>>>>>>> 
>>>>> 
>>>> 
>> https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
>>>>>>>>> 
>>>>>>>>> for those who are interested, where I also write about the
>>>>> alternative
>>>>>>>>> approaches proposed in the past and listing the pros and
>> cons of
>>>>> each
>>>>>>> one
>>>>>>>>> individually.
>>>>>>>>> 
>>>>>>>>> I also started to improve this part by simply designing a
>> new UI
>>>>>>>>> <
>>>>>>>> 
>>>>>>> 
>>>>> 
>>>> 
>> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
>>>>>>>>> 
>>>>>>>>> and addressing multiple issues at once. I have already
>> received
>>>>> some
>>>>>>>> community
>>>>>>>>> feedback
>>>>>>>>> <
>>>>> https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999
>>> ,
>>>>>>>> but
>>>>>>>>> it is far from production-ready and needs more input. I think
>>>> this
>>>>>>> could
>>>>>>>> be
>>>>>>>>> further refined and moved to development if there is
>> consensus on
>>>>> that
>>>>>>> as
>>>>>>>>> the initial approach.
>>>>>>>>> 
>>>>>>>>> What's your opinion about this approach and do you have any
>>>>> concerns
>>>>>>> that
>>>>>>>>> have not been addressed?
>>>>>>>>> 
>>>>>>>>> Best regards,
>>>>>>>>> Christos
>>>>>>>> 
>>>>>>>> 
>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
>>>>>>>> For additional commands, e-mail: dev-help@solr.apache.org
>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> http://www.needhamsoftware.com (work)
>>>>>> https://a.co/d/b2sZLD9 (my fantasy fiction book)
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
>>>>> For additional commands, e-mail: dev-help@solr.apache.org
>>>>> 
>>>>> 
>>>> 
>>>> --
>>>> http://www.needhamsoftware.com (work)
>>>> https://a.co/d/b2sZLD9 (my fantasy fiction book)
>>>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
>> For additional commands, e-mail: dev-help@solr.apache.org
>> 
>> 

Re: SIP-7 New Admin UI

Posted by Christos Malliaridis <c....@gmail.com>.
Thanks for the quick reply Eric. :)

The first question is indeed focused on personal preferences. I included it
to get a rough idea with what people might compare the current state and
answer the other questions, so that it gets clearer from where each one is
coming from and what their expectations are.

Although I agree with your points and I understand your interest in the new
features, I feel that it would defeat the purpose of replacing the old UI
with the new one piece by piece. It would very likely add more code to
maintain and delay / fail to replace the current UI, which is one of the
main goals in my understanding.

Authentication would however be one of the features that would be addressed
early, so that a user could start with the new UI without needing the old
one to interfere. And about the query handling in the new UI, I am still
trying to figure out how this could better support a new, but also an
experienced user. I am open for ideas and feedback about the new designs on
that part.

Additionally, I believe that using the generated code for "dynamic masks"
in the UI may require at the moment a few more interventions in existing
source code and therefore might be more complex to address it early on. But
with a modular implementation, introducing it in a later moment should be
no problem.

And last but not least, I am eager to implement all these features, but we
should avoid adding too much functionality to the technology chosen before
merging the first integrations just to prove it's suitability. Otherwise,
we would end up with one big PR that is difficult to review. The goal is to
keep the additions / changes small, so that continuous integration stays
active over time and feedback, reviews and questions are addressed early
on. At least that's how I would proceed for now.


On Mon, Jul 15, 2024 at 7:10 PM Eric Pugh <ep...@opensourceconnections.com>
wrote:

> I’m going to pull out your questions and inline my answers:
>
> - What technology stack would you consider and why?
>         - I think this is an almost impossible thing to answer as it tends
> to be based on people’s individual preferences.  For example, if I was to
> build an Admin tool from scratch that wasn’t JS for Solr, I’d do it in Ruby
> on Rails, because Rails is the most awesome productive environment for
> building web apps!   However, that is totally my personal preference.
> - What was your experience so far with Solr's UI code? What would you avoid
> doing again, what did you like before?
>         - I hate that we have no tests.
>         - I hate that doing user authentication has been so difficult and
> homegrown.
>         - I want to leverage our code generated V2 apis.  So that as
> methods/properties get added we also have them in the admin tool side
> (whatever that means).
> - Would you be interested in contributing to the UI implementation?
>         - I don’t think I have the energy for the “big rewrite”, but if we
> get some traction, I’d like to expose more features of Solr in the Admin
> tool.
> - Would you consider a web-based / javascript-based framework easier to get
> started with, or a JVM-based / kotlin-based UI framework?
>         - I think they all of their challenges ;-).
>
> I’d love to see some working code that demonstrates how to log into the
> new Solr Admin tool, how the code works with our V2 apis, how it would live
> alongside the existing Admin UI, what the testing infrastructure looks
> like, and of course the build integration.
>
> One thought that I have is do we need to have a “singular Solr Admin”….
> Maybe the path forward is that we accept that the existing admin tool is
> going to be around a LONG time, but that it’s easy to have a new Admin that
> can slowly incrementally grow?   Maybe the new Admin tool that you are
> proposing should focus on implementing something missing in Solr, like a
> really great handling for the V2 Query syntax?    Still address the
> authentication questions, build questions, etc, but not try to compete
> directly with the already existing Admin tool, but instead aim to fill in
> new gaps.   Then, if you get traction there, as we migrate to V2 apis for
> example, maybe that code gets moved into the new tool?
>
>
>
> > On Jul 15, 2024, at 3:49 PM, Christos Malliaridis <
> c.malliaridis@gmail.com> wrote:
> >
> > Thanks for the references David, those are very insightful to me. I am
> > definitely not the first one coming up with these ideas, that's for sure.
> >
> > I think the fact that there are multiple third-party frontends for Solr
> > shows how important the UI is to the users and it should push us even
> more
> > to do something about the current state.
> >
> > *If there is no objection about the proposed approach I would like to
> > proceed and discuss the technology stack that could be used and fulfill
> our
> > current requirements.*
> >
> > As I already mentioned before, I've been working on a proof-of-concept
> with
> > Compose Multiplatform (Kotlin) that demonstrates what an integration
> would
> > look like.
> > Since there are many pros and cons for all the available UI frameworks
> out
> > there, I broke down my point of view and reasons for Compose in a writeup
> > <
> https://docs.google.com/document/d/17B6TuUbbpvg823ixrsnVPT6hJ4vuVv9UHzIz4jITvHI/edit?usp=sharing
> >
> > again.
> >
> > But because this is a very opinionated topic, *your input is needed*. To
> be
> > more precise, here are a few questions:
> > - What technology stack would you consider and why?
> > - What was your experience so far with Solr's UI code? What would you
> avoid
> > doing again, what did you like before?
> > - Would you be interested in contributing to the UI implementation?
> > - Would you consider a web-based / javascript-based framework easier to
> get
> > started with, or a JVM-based / kotlin-based UI framework?
> >
> > Best,
> > Christos
> >
> > On Fri, Jul 12, 2024 at 11:39 PM David Smiley <ds...@apache.org>
> wrote:
> >
> >> An admin UI can definitely be plugged in.  Here is one:
> >> https://github.com/yasa-org/yasa
> >> And you would not be the first to consider a desktop client.  There is
> >> one of those too: https://solr.search-navigator.org/
> >>
> >> On Tue, Jul 9, 2024 at 9:37 PM Christos Malliaridis
> >> <c....@gmail.com> wrote:
> >>>
> >>> Thanks for your input, votes and feedback so far, I appreciate it.
> >>>
> >>> The security concerns are justified and are something I am currently
> >>> looking into. With a rewrite it will be easier to take that into
> account
> >>> and consider alternative options that could also enhance security, too.
> >> For
> >>> example, I am experimenting with a JVM-based and standalone desktop
> >> client
> >>> (that is probably a safer option and provides extended authentication
> >>> support) that can also be run alongside the current Admin UI as a
> >>> WebAssembly app if needed (see changes in
> >>> https://github.com/malliaridis/solr/tree/composeui). Another option I
> >> was
> >>> considering was to write and provide the UI as a Solr plugin, but I am
> >> not
> >>> sure if this could work with the current way plugins are loaded.
> >>>
> >>> So in my opinion and alongside the current concerns like maintenance of
> >> UI
> >>> code, this might be solvable with the right technology selection and
> API
> >>> implementation (which would be follow-up topics).
> >>>
> >>> On Tue, Jul 9, 2024 at 10:57 PM Gus Heck <gu...@gmail.com> wrote:
> >>>
> >>>> Disabling certainly is helpful, but... there's the risk it gets
> >> enabled,
> >>>> it will still contribute to the footprint that vulnerability scanners
> >> have
> >>>> to cover.
> >>>>
> >>>> If it's something that can be enabled/disabled or removed from the
> full
> >>>> distro, and added to the slim distro if desired, that would be even
> >> better.
> >>>> The easier all of those things are, the better of course.
> >>>>
> >>>> Food for thought: https://github.com/jetty/jetty.project/issues/5007
> >>>>
> >>>> If the UI is a self contained web-app containing only JS/HTML that can
> >> be
> >>>> undeployed that's pretty much a standards based solution to the
> >> problem.
> >>>> This sort of wheel was invented long long ago, and we have the basic
> >> tools
> >>>> at our disposal already (jetty)... There is no need for the UI to have
> >> any
> >>>> java code at all I suspect...
> >>>>
> >>>> -Gus
> >>>>
> >>>> On Tue, Jul 9, 2024 at 3:20 PM David Smiley <ds...@apache.org>
> >> wrote:
> >>>>
> >>>>> RE security; disabling it would suffice and if I recall is already
> >>>>> supported.
> >>>>>
> >>>>> On Tue, Jul 9, 2024 at 3:09 PM Gus Heck <gu...@gmail.com> wrote:
> >>>>>>
> >>>>>> Also +1 ... "in the same repo and alongside" is how the last
> >> migration
> >>>>> was
> >>>>>> done IIRC. The big plus of this is as it's developed to a point of
> >>>>> partial
> >>>>>> utility you can put a link in the old UI to try out the new UI and
> >> get
> >>>>>> feedback and make testing much easier.
> >>>>>>
> >>>>>> One thing that might be nice if we can do it, is to make the UI
> >> more
> >>>>>> pluggable, and allow those who have no desire to test it to start
> >> solr
> >>>>> with
> >>>>>> it fully uninstalled. (i.e because they don't want to account for
> >> its
> >>>>>> security in production)
> >>>>>>
> >>>>>> Also it would be very good if we carefully understood how we want
> >> to
> >>>>>> achieve security (including information exposure, and role based
> >>>>>> access/display) before we put it in a release.
> >>>>>>
> >>>>>> On Tue, Jul 9, 2024 at 10:40 AM Houston Putman <houston@apache.org
> >>>
> >>>>> wrote:
> >>>>>>
> >>>>>>> I agree with Jason on everything.
> >>>>>>>
> >>>>>>> Thank you so much for putting this much work into something with
> >> so
> >>>>> much
> >>>>>>> baggage in the community!
> >>>>>>>
> >>>>>>> I'm a huge +1 here, and love the things I saw in your
> >> screenshots on
> >>>>> Slack.
> >>>>>>>
> >>>>>>> - Houston
> >>>>>>>
> >>>>>>> On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <
> >>>> gerlowskija@gmail.com>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> Hey Christos,
> >>>>>>>>
> >>>>>>>> Sorry for the delay responding here - lots of context to read
> >> up
> >>>> on!
> >>>>>>>>
> >>>>>>>> Firstly, thanks for the huge effort you've put into writing
> >> this
> >>>> all
> >>>>>>>> up!  Quite the thorough job, and it's really helpful to enable
> >> us
> >>>>>>>> non-UI folks to follow along haha.
> >>>>>>>>
> >>>>>>>> If I understand things correctly, there's a few distinct
> >> aspects to
> >>>>>>>> your proposal:
> >>>>>>>>
> >>>>>>>> 1. New UI would live alongside the existing one (for a time)
> >>>>>>>> 2. The code for the new UI would live in the main repository.
> >>>>>>>> 3. Development would be piece-meal (i.e. not one big code-dump)
> >>>>>>>>
> >>>>>>>> Overall, this sounds like a reasonable approach to me.
> >>>>>>>>
> >>>>>>>> I think a big concern with putting code in the main repo is
> >> that
> >>>> it's
> >>>>>>>> pretty far from the (current) PMC's/community's wheelhouse to
> >>>>>>>> maintain.  I definitely share that concern.  But IMO we're
> >> already
> >>>>>>>> sortof at a "worst case" in that regard with our existing
> >> Admin UI
> >>>>>>>> code.  Doing the "refresh" in the main repo gives us a forcing
> >>>>>>>> function (i.e. the review process itself) to ensure that at
> >> least a
> >>>>>>>> few community members will understand the code to at least some
> >>>>>>>> extent.  That'll be a huge improvement over where we are today.
> >>>>>>>>
> >>>>>>>> Anyway, I'm a cautious '+1' based on these details at least.
> >> To
> >>>>> quote
> >>>>>>>> a message from Jan in Slack: "I'd rather see some imperfect
> >>>> movement
> >>>>>>>> than a perfect plan never realized."
> >>>>>>>>
> >>>>>>>> (Here's hoping my reply will bump this to the top of folks'
> >>>> Inboxes,
> >>>>>>>> and get you some more feedback.)
> >>>>>>>>
> >>>>>>>> Best,
> >>>>>>>>
> >>>>>>>> Jason
> >>>>>>>>
> >>>>>>>> On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
> >>>>>>>> <c....@gmail.com> wrote:
> >>>>>>>>>
> >>>>>>>>> Hello everyone,
> >>>>>>>>>
> >>>>>>>>> In regards to SIP-7
> >>>>>>>>> <
> >>>>>>>>
> >>>>>>>
> >>>>>
> >>>>
> >>
> https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
> >>>>>>>>>
> >>>>>>>>> and SIP-10
> >>>>>>>>> <
> >>>>>>>>
> >>>>>>>
> >>>>>
> >>>>
> >>
> https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
> >>>>>>>>>
> >>>>>>>>> I would like to add my perspective and address the current
> >>>> concerns
> >>>>>>> about
> >>>>>>>>> implementing a new UI, so that we can take some actions and
> >>>>> improve the
> >>>>>>>>> overall quality and experience of Solr Admin UI.
> >>>>>>>>>
> >>>>>>>>> There are many discussions and opinions about the UI and how
> >> to
> >>>>> resolve
> >>>>>>>> the
> >>>>>>>>> current issues, but they all led to the topic becoming
> >> stale. In
> >>>> my
> >>>>>>>>> opinion, developing and introducing a new UI into the main
> >>>>> repository
> >>>>>>>> piece
> >>>>>>>>> by piece without replacing the current UI until
> >> feature-complete
> >>>>> could
> >>>>>>>>>
> >>>>>>>>> - address all the issues currently reported (and not),
> >>>>>>>>> - add new features,
> >>>>>>>>> - replace the EOL framework and
> >>>>>>>>> - improve the overall user experience.
> >>>>>>>>>
> >>>>>>>>> And the maintenance, which is one of the most important
> >> parts,
> >>>>> could be
> >>>>>>>>> addressed with the right choice of framework.
> >>>>>>>>>
> >>>>>>>>> I created a detailed writeup
> >>>>>>>>> <
> >>>>>>>>
> >>>>>>>
> >>>>>
> >>>>
> >>
> https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
> >>>>>>>>>
> >>>>>>>>> for those who are interested, where I also write about the
> >>>>> alternative
> >>>>>>>>> approaches proposed in the past and listing the pros and
> >> cons of
> >>>>> each
> >>>>>>> one
> >>>>>>>>> individually.
> >>>>>>>>>
> >>>>>>>>> I also started to improve this part by simply designing a
> >> new UI
> >>>>>>>>> <
> >>>>>>>>
> >>>>>>>
> >>>>>
> >>>>
> >>
> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
> >>>>>>>>>
> >>>>>>>>> and addressing multiple issues at once. I have already
> >> received
> >>>>> some
> >>>>>>>> community
> >>>>>>>>> feedback
> >>>>>>>>> <
> >>>>> https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999
> >>> ,
> >>>>>>>> but
> >>>>>>>>> it is far from production-ready and needs more input. I think
> >>>> this
> >>>>>>> could
> >>>>>>>> be
> >>>>>>>>> further refined and moved to development if there is
> >> consensus on
> >>>>> that
> >>>>>>> as
> >>>>>>>>> the initial approach.
> >>>>>>>>>
> >>>>>>>>> What's your opinion about this approach and do you have any
> >>>>> concerns
> >>>>>>> that
> >>>>>>>>> have not been addressed?
> >>>>>>>>>
> >>>>>>>>> Best regards,
> >>>>>>>>> Christos
> >>>>>>>>
> >>>>>>>>
> >>>> ---------------------------------------------------------------------
> >>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> >>>>>>>> For additional commands, e-mail: dev-help@solr.apache.org
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> http://www.needhamsoftware.com (work)
> >>>>>> https://a.co/d/b2sZLD9 (my fantasy fiction book)
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> >>>>> For additional commands, e-mail: dev-help@solr.apache.org
> >>>>>
> >>>>>
> >>>>
> >>>> --
> >>>> http://www.needhamsoftware.com (work)
> >>>> https://a.co/d/b2sZLD9 (my fantasy fiction book)
> >>>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> >> For additional commands, e-mail: dev-help@solr.apache.org
> >>
> >>
>
> _______________________
> Eric Pugh | Founder | OpenSource Connections, LLC | 434.466.1467 |
> http://www.opensourceconnections.com <
> http://www.opensourceconnections.com/> | My Free/Busy <
> http://tinyurl.com/eric-cal>
> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <
> https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
>
> This e-mail and all contents, including attachments, is considered to be
> Company Confidential unless explicitly stated otherwise, regardless of
> whether attachments are marked as such.
>
>

Re: SIP-7 New Admin UI

Posted by Eric Pugh <ep...@opensourceconnections.com>.
I’m going to pull out your questions and inline my answers:

- What technology stack would you consider and why?
	- I think this is an almost impossible thing to answer as it tends to be based on people’s individual preferences.  For example, if I was to build an Admin tool from scratch that wasn’t JS for Solr, I’d do it in Ruby on Rails, because Rails is the most awesome productive environment for building web apps!   However, that is totally my personal preference.   
- What was your experience so far with Solr's UI code? What would you avoid
doing again, what did you like before?
	- I hate that we have no tests.
	- I hate that doing user authentication has been so difficult and homegrown.
	- I want to leverage our code generated V2 apis.  So that as methods/properties get added we also have them in the admin tool side (whatever that means).
- Would you be interested in contributing to the UI implementation?
	- I don’t think I have the energy for the “big rewrite”, but if we get some traction, I’d like to expose more features of Solr in the Admin tool.
- Would you consider a web-based / javascript-based framework easier to get
started with, or a JVM-based / kotlin-based UI framework?
	- I think they all of their challenges ;-).   

I’d love to see some working code that demonstrates how to log into the new Solr Admin tool, how the code works with our V2 apis, how it would live alongside the existing Admin UI, what the testing infrastructure looks like, and of course the build integration.   

One thought that I have is do we need to have a “singular Solr Admin”….    Maybe the path forward is that we accept that the existing admin tool is going to be around a LONG time, but that it’s easy to have a new Admin that can slowly incrementally grow?   Maybe the new Admin tool that you are proposing should focus on implementing something missing in Solr, like a really great handling for the V2 Query syntax?    Still address the authentication questions, build questions, etc, but not try to compete directly with the already existing Admin tool, but instead aim to fill in new gaps.   Then, if you get traction there, as we migrate to V2 apis for example, maybe that code gets moved into the new tool?



> On Jul 15, 2024, at 3:49 PM, Christos Malliaridis <c....@gmail.com> wrote:
> 
> Thanks for the references David, those are very insightful to me. I am
> definitely not the first one coming up with these ideas, that's for sure.
> 
> I think the fact that there are multiple third-party frontends for Solr
> shows how important the UI is to the users and it should push us even more
> to do something about the current state.
> 
> *If there is no objection about the proposed approach I would like to
> proceed and discuss the technology stack that could be used and fulfill our
> current requirements.*
> 
> As I already mentioned before, I've been working on a proof-of-concept with
> Compose Multiplatform (Kotlin) that demonstrates what an integration would
> look like.
> Since there are many pros and cons for all the available UI frameworks out
> there, I broke down my point of view and reasons for Compose in a writeup
> <https://docs.google.com/document/d/17B6TuUbbpvg823ixrsnVPT6hJ4vuVv9UHzIz4jITvHI/edit?usp=sharing>
> again.
> 
> But because this is a very opinionated topic, *your input is needed*. To be
> more precise, here are a few questions:
> - What technology stack would you consider and why?
> - What was your experience so far with Solr's UI code? What would you avoid
> doing again, what did you like before?
> - Would you be interested in contributing to the UI implementation?
> - Would you consider a web-based / javascript-based framework easier to get
> started with, or a JVM-based / kotlin-based UI framework?
> 
> Best,
> Christos
> 
> On Fri, Jul 12, 2024 at 11:39 PM David Smiley <ds...@apache.org> wrote:
> 
>> An admin UI can definitely be plugged in.  Here is one:
>> https://github.com/yasa-org/yasa
>> And you would not be the first to consider a desktop client.  There is
>> one of those too: https://solr.search-navigator.org/
>> 
>> On Tue, Jul 9, 2024 at 9:37 PM Christos Malliaridis
>> <c....@gmail.com> wrote:
>>> 
>>> Thanks for your input, votes and feedback so far, I appreciate it.
>>> 
>>> The security concerns are justified and are something I am currently
>>> looking into. With a rewrite it will be easier to take that into account
>>> and consider alternative options that could also enhance security, too.
>> For
>>> example, I am experimenting with a JVM-based and standalone desktop
>> client
>>> (that is probably a safer option and provides extended authentication
>>> support) that can also be run alongside the current Admin UI as a
>>> WebAssembly app if needed (see changes in
>>> https://github.com/malliaridis/solr/tree/composeui). Another option I
>> was
>>> considering was to write and provide the UI as a Solr plugin, but I am
>> not
>>> sure if this could work with the current way plugins are loaded.
>>> 
>>> So in my opinion and alongside the current concerns like maintenance of
>> UI
>>> code, this might be solvable with the right technology selection and API
>>> implementation (which would be follow-up topics).
>>> 
>>> On Tue, Jul 9, 2024 at 10:57 PM Gus Heck <gu...@gmail.com> wrote:
>>> 
>>>> Disabling certainly is helpful, but... there's the risk it gets
>> enabled,
>>>> it will still contribute to the footprint that vulnerability scanners
>> have
>>>> to cover.
>>>> 
>>>> If it's something that can be enabled/disabled or removed from the full
>>>> distro, and added to the slim distro if desired, that would be even
>> better.
>>>> The easier all of those things are, the better of course.
>>>> 
>>>> Food for thought: https://github.com/jetty/jetty.project/issues/5007
>>>> 
>>>> If the UI is a self contained web-app containing only JS/HTML that can
>> be
>>>> undeployed that's pretty much a standards based solution to the
>> problem.
>>>> This sort of wheel was invented long long ago, and we have the basic
>> tools
>>>> at our disposal already (jetty)... There is no need for the UI to have
>> any
>>>> java code at all I suspect...
>>>> 
>>>> -Gus
>>>> 
>>>> On Tue, Jul 9, 2024 at 3:20 PM David Smiley <ds...@apache.org>
>> wrote:
>>>> 
>>>>> RE security; disabling it would suffice and if I recall is already
>>>>> supported.
>>>>> 
>>>>> On Tue, Jul 9, 2024 at 3:09 PM Gus Heck <gu...@gmail.com> wrote:
>>>>>> 
>>>>>> Also +1 ... "in the same repo and alongside" is how the last
>> migration
>>>>> was
>>>>>> done IIRC. The big plus of this is as it's developed to a point of
>>>>> partial
>>>>>> utility you can put a link in the old UI to try out the new UI and
>> get
>>>>>> feedback and make testing much easier.
>>>>>> 
>>>>>> One thing that might be nice if we can do it, is to make the UI
>> more
>>>>>> pluggable, and allow those who have no desire to test it to start
>> solr
>>>>> with
>>>>>> it fully uninstalled. (i.e because they don't want to account for
>> its
>>>>>> security in production)
>>>>>> 
>>>>>> Also it would be very good if we carefully understood how we want
>> to
>>>>>> achieve security (including information exposure, and role based
>>>>>> access/display) before we put it in a release.
>>>>>> 
>>>>>> On Tue, Jul 9, 2024 at 10:40 AM Houston Putman <houston@apache.org
>>> 
>>>>> wrote:
>>>>>> 
>>>>>>> I agree with Jason on everything.
>>>>>>> 
>>>>>>> Thank you so much for putting this much work into something with
>> so
>>>>> much
>>>>>>> baggage in the community!
>>>>>>> 
>>>>>>> I'm a huge +1 here, and love the things I saw in your
>> screenshots on
>>>>> Slack.
>>>>>>> 
>>>>>>> - Houston
>>>>>>> 
>>>>>>> On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <
>>>> gerlowskija@gmail.com>
>>>>>>> wrote:
>>>>>>> 
>>>>>>>> Hey Christos,
>>>>>>>> 
>>>>>>>> Sorry for the delay responding here - lots of context to read
>> up
>>>> on!
>>>>>>>> 
>>>>>>>> Firstly, thanks for the huge effort you've put into writing
>> this
>>>> all
>>>>>>>> up!  Quite the thorough job, and it's really helpful to enable
>> us
>>>>>>>> non-UI folks to follow along haha.
>>>>>>>> 
>>>>>>>> If I understand things correctly, there's a few distinct
>> aspects to
>>>>>>>> your proposal:
>>>>>>>> 
>>>>>>>> 1. New UI would live alongside the existing one (for a time)
>>>>>>>> 2. The code for the new UI would live in the main repository.
>>>>>>>> 3. Development would be piece-meal (i.e. not one big code-dump)
>>>>>>>> 
>>>>>>>> Overall, this sounds like a reasonable approach to me.
>>>>>>>> 
>>>>>>>> I think a big concern with putting code in the main repo is
>> that
>>>> it's
>>>>>>>> pretty far from the (current) PMC's/community's wheelhouse to
>>>>>>>> maintain.  I definitely share that concern.  But IMO we're
>> already
>>>>>>>> sortof at a "worst case" in that regard with our existing
>> Admin UI
>>>>>>>> code.  Doing the "refresh" in the main repo gives us a forcing
>>>>>>>> function (i.e. the review process itself) to ensure that at
>> least a
>>>>>>>> few community members will understand the code to at least some
>>>>>>>> extent.  That'll be a huge improvement over where we are today.
>>>>>>>> 
>>>>>>>> Anyway, I'm a cautious '+1' based on these details at least.
>> To
>>>>> quote
>>>>>>>> a message from Jan in Slack: "I'd rather see some imperfect
>>>> movement
>>>>>>>> than a perfect plan never realized."
>>>>>>>> 
>>>>>>>> (Here's hoping my reply will bump this to the top of folks'
>>>> Inboxes,
>>>>>>>> and get you some more feedback.)
>>>>>>>> 
>>>>>>>> Best,
>>>>>>>> 
>>>>>>>> Jason
>>>>>>>> 
>>>>>>>> On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
>>>>>>>> <c....@gmail.com> wrote:
>>>>>>>>> 
>>>>>>>>> Hello everyone,
>>>>>>>>> 
>>>>>>>>> In regards to SIP-7
>>>>>>>>> <
>>>>>>>> 
>>>>>>> 
>>>>> 
>>>> 
>> https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
>>>>>>>>> 
>>>>>>>>> and SIP-10
>>>>>>>>> <
>>>>>>>> 
>>>>>>> 
>>>>> 
>>>> 
>> https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
>>>>>>>>> 
>>>>>>>>> I would like to add my perspective and address the current
>>>> concerns
>>>>>>> about
>>>>>>>>> implementing a new UI, so that we can take some actions and
>>>>> improve the
>>>>>>>>> overall quality and experience of Solr Admin UI.
>>>>>>>>> 
>>>>>>>>> There are many discussions and opinions about the UI and how
>> to
>>>>> resolve
>>>>>>>> the
>>>>>>>>> current issues, but they all led to the topic becoming
>> stale. In
>>>> my
>>>>>>>>> opinion, developing and introducing a new UI into the main
>>>>> repository
>>>>>>>> piece
>>>>>>>>> by piece without replacing the current UI until
>> feature-complete
>>>>> could
>>>>>>>>> 
>>>>>>>>> - address all the issues currently reported (and not),
>>>>>>>>> - add new features,
>>>>>>>>> - replace the EOL framework and
>>>>>>>>> - improve the overall user experience.
>>>>>>>>> 
>>>>>>>>> And the maintenance, which is one of the most important
>> parts,
>>>>> could be
>>>>>>>>> addressed with the right choice of framework.
>>>>>>>>> 
>>>>>>>>> I created a detailed writeup
>>>>>>>>> <
>>>>>>>> 
>>>>>>> 
>>>>> 
>>>> 
>> https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
>>>>>>>>> 
>>>>>>>>> for those who are interested, where I also write about the
>>>>> alternative
>>>>>>>>> approaches proposed in the past and listing the pros and
>> cons of
>>>>> each
>>>>>>> one
>>>>>>>>> individually.
>>>>>>>>> 
>>>>>>>>> I also started to improve this part by simply designing a
>> new UI
>>>>>>>>> <
>>>>>>>> 
>>>>>>> 
>>>>> 
>>>> 
>> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
>>>>>>>>> 
>>>>>>>>> and addressing multiple issues at once. I have already
>> received
>>>>> some
>>>>>>>> community
>>>>>>>>> feedback
>>>>>>>>> <
>>>>> https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999
>>> ,
>>>>>>>> but
>>>>>>>>> it is far from production-ready and needs more input. I think
>>>> this
>>>>>>> could
>>>>>>>> be
>>>>>>>>> further refined and moved to development if there is
>> consensus on
>>>>> that
>>>>>>> as
>>>>>>>>> the initial approach.
>>>>>>>>> 
>>>>>>>>> What's your opinion about this approach and do you have any
>>>>> concerns
>>>>>>> that
>>>>>>>>> have not been addressed?
>>>>>>>>> 
>>>>>>>>> Best regards,
>>>>>>>>> Christos
>>>>>>>> 
>>>>>>>> 
>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
>>>>>>>> For additional commands, e-mail: dev-help@solr.apache.org
>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> http://www.needhamsoftware.com (work)
>>>>>> https://a.co/d/b2sZLD9 (my fantasy fiction book)
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
>>>>> For additional commands, e-mail: dev-help@solr.apache.org
>>>>> 
>>>>> 
>>>> 
>>>> --
>>>> http://www.needhamsoftware.com (work)
>>>> https://a.co/d/b2sZLD9 (my fantasy fiction book)
>>>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
>> For additional commands, e-mail: dev-help@solr.apache.org
>> 
>> 

_______________________
Eric Pugh | Founder | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal>  
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>	
This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.


Re: SIP-7 New Admin UI

Posted by Christos Malliaridis <c....@gmail.com>.
Thanks for the references David, those are very insightful to me. I am
definitely not the first one coming up with these ideas, that's for sure.

I think the fact that there are multiple third-party frontends for Solr
shows how important the UI is to the users and it should push us even more
to do something about the current state.

*If there is no objection about the proposed approach I would like to
proceed and discuss the technology stack that could be used and fulfill our
current requirements.*

As I already mentioned before, I've been working on a proof-of-concept with
Compose Multiplatform (Kotlin) that demonstrates what an integration would
look like.
Since there are many pros and cons for all the available UI frameworks out
there, I broke down my point of view and reasons for Compose in a writeup
<https://docs.google.com/document/d/17B6TuUbbpvg823ixrsnVPT6hJ4vuVv9UHzIz4jITvHI/edit?usp=sharing>
again.

But because this is a very opinionated topic, *your input is needed*. To be
more precise, here are a few questions:
- What technology stack would you consider and why?
- What was your experience so far with Solr's UI code? What would you avoid
doing again, what did you like before?
- Would you be interested in contributing to the UI implementation?
- Would you consider a web-based / javascript-based framework easier to get
started with, or a JVM-based / kotlin-based UI framework?

Best,
Christos

On Fri, Jul 12, 2024 at 11:39 PM David Smiley <ds...@apache.org> wrote:

> An admin UI can definitely be plugged in.  Here is one:
> https://github.com/yasa-org/yasa
> And you would not be the first to consider a desktop client.  There is
> one of those too: https://solr.search-navigator.org/
>
> On Tue, Jul 9, 2024 at 9:37 PM Christos Malliaridis
> <c....@gmail.com> wrote:
> >
> > Thanks for your input, votes and feedback so far, I appreciate it.
> >
> > The security concerns are justified and are something I am currently
> > looking into. With a rewrite it will be easier to take that into account
> > and consider alternative options that could also enhance security, too.
> For
> > example, I am experimenting with a JVM-based and standalone desktop
> client
> > (that is probably a safer option and provides extended authentication
> > support) that can also be run alongside the current Admin UI as a
> > WebAssembly app if needed (see changes in
> > https://github.com/malliaridis/solr/tree/composeui). Another option I
> was
> > considering was to write and provide the UI as a Solr plugin, but I am
> not
> > sure if this could work with the current way plugins are loaded.
> >
> > So in my opinion and alongside the current concerns like maintenance of
> UI
> > code, this might be solvable with the right technology selection and API
> > implementation (which would be follow-up topics).
> >
> > On Tue, Jul 9, 2024 at 10:57 PM Gus Heck <gu...@gmail.com> wrote:
> >
> > > Disabling certainly is helpful, but... there's the risk it gets
> enabled,
> > > it will still contribute to the footprint that vulnerability scanners
> have
> > > to cover.
> > >
> > > If it's something that can be enabled/disabled or removed from the full
> > > distro, and added to the slim distro if desired, that would be even
> better.
> > > The easier all of those things are, the better of course.
> > >
> > > Food for thought: https://github.com/jetty/jetty.project/issues/5007
> > >
> > > If the UI is a self contained web-app containing only JS/HTML that can
> be
> > > undeployed that's pretty much a standards based solution to the
> problem.
> > > This sort of wheel was invented long long ago, and we have the basic
> tools
> > > at our disposal already (jetty)... There is no need for the UI to have
> any
> > > java code at all I suspect...
> > >
> > > -Gus
> > >
> > > On Tue, Jul 9, 2024 at 3:20 PM David Smiley <ds...@apache.org>
> wrote:
> > >
> > > > RE security; disabling it would suffice and if I recall is already
> > > > supported.
> > > >
> > > > On Tue, Jul 9, 2024 at 3:09 PM Gus Heck <gu...@gmail.com> wrote:
> > > > >
> > > > > Also +1 ... "in the same repo and alongside" is how the last
> migration
> > > > was
> > > > > done IIRC. The big plus of this is as it's developed to a point of
> > > > partial
> > > > > utility you can put a link in the old UI to try out the new UI and
> get
> > > > > feedback and make testing much easier.
> > > > >
> > > > > One thing that might be nice if we can do it, is to make the UI
> more
> > > > > pluggable, and allow those who have no desire to test it to start
> solr
> > > > with
> > > > > it fully uninstalled. (i.e because they don't want to account for
> its
> > > > > security in production)
> > > > >
> > > > > Also it would be very good if we carefully understood how we want
> to
> > > > > achieve security (including information exposure, and role based
> > > > > access/display) before we put it in a release.
> > > > >
> > > > > On Tue, Jul 9, 2024 at 10:40 AM Houston Putman <houston@apache.org
> >
> > > > wrote:
> > > > >
> > > > > > I agree with Jason on everything.
> > > > > >
> > > > > > Thank you so much for putting this much work into something with
> so
> > > > much
> > > > > > baggage in the community!
> > > > > >
> > > > > > I'm a huge +1 here, and love the things I saw in your
> screenshots on
> > > > Slack.
> > > > > >
> > > > > > - Houston
> > > > > >
> > > > > > On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <
> > > gerlowskija@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Hey Christos,
> > > > > > >
> > > > > > > Sorry for the delay responding here - lots of context to read
> up
> > > on!
> > > > > > >
> > > > > > > Firstly, thanks for the huge effort you've put into writing
> this
> > > all
> > > > > > > up!  Quite the thorough job, and it's really helpful to enable
> us
> > > > > > > non-UI folks to follow along haha.
> > > > > > >
> > > > > > > If I understand things correctly, there's a few distinct
> aspects to
> > > > > > > your proposal:
> > > > > > >
> > > > > > > 1. New UI would live alongside the existing one (for a time)
> > > > > > > 2. The code for the new UI would live in the main repository.
> > > > > > > 3. Development would be piece-meal (i.e. not one big code-dump)
> > > > > > >
> > > > > > > Overall, this sounds like a reasonable approach to me.
> > > > > > >
> > > > > > > I think a big concern with putting code in the main repo is
> that
> > > it's
> > > > > > > pretty far from the (current) PMC's/community's wheelhouse to
> > > > > > > maintain.  I definitely share that concern.  But IMO we're
> already
> > > > > > > sortof at a "worst case" in that regard with our existing
> Admin UI
> > > > > > > code.  Doing the "refresh" in the main repo gives us a forcing
> > > > > > > function (i.e. the review process itself) to ensure that at
> least a
> > > > > > > few community members will understand the code to at least some
> > > > > > > extent.  That'll be a huge improvement over where we are today.
> > > > > > >
> > > > > > > Anyway, I'm a cautious '+1' based on these details at least.
> To
> > > > quote
> > > > > > > a message from Jan in Slack: "I'd rather see some imperfect
> > > movement
> > > > > > > than a perfect plan never realized."
> > > > > > >
> > > > > > > (Here's hoping my reply will bump this to the top of folks'
> > > Inboxes,
> > > > > > > and get you some more feedback.)
> > > > > > >
> > > > > > > Best,
> > > > > > >
> > > > > > > Jason
> > > > > > >
> > > > > > > On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
> > > > > > > <c....@gmail.com> wrote:
> > > > > > > >
> > > > > > > > Hello everyone,
> > > > > > > >
> > > > > > > > In regards to SIP-7
> > > > > > > > <
> > > > > > >
> > > > > >
> > > >
> > >
> https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
> > > > > > > >
> > > > > > > > and SIP-10
> > > > > > > > <
> > > > > > >
> > > > > >
> > > >
> > >
> https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
> > > > > > > >
> > > > > > > > I would like to add my perspective and address the current
> > > concerns
> > > > > > about
> > > > > > > > implementing a new UI, so that we can take some actions and
> > > > improve the
> > > > > > > > overall quality and experience of Solr Admin UI.
> > > > > > > >
> > > > > > > > There are many discussions and opinions about the UI and how
> to
> > > > resolve
> > > > > > > the
> > > > > > > > current issues, but they all led to the topic becoming
> stale. In
> > > my
> > > > > > > > opinion, developing and introducing a new UI into the main
> > > > repository
> > > > > > > piece
> > > > > > > > by piece without replacing the current UI until
> feature-complete
> > > > could
> > > > > > > >
> > > > > > > > - address all the issues currently reported (and not),
> > > > > > > > - add new features,
> > > > > > > > - replace the EOL framework and
> > > > > > > > - improve the overall user experience.
> > > > > > > >
> > > > > > > > And the maintenance, which is one of the most important
> parts,
> > > > could be
> > > > > > > > addressed with the right choice of framework.
> > > > > > > >
> > > > > > > > I created a detailed writeup
> > > > > > > > <
> > > > > > >
> > > > > >
> > > >
> > >
> https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
> > > > > > > >
> > > > > > > > for those who are interested, where I also write about the
> > > > alternative
> > > > > > > > approaches proposed in the past and listing the pros and
> cons of
> > > > each
> > > > > > one
> > > > > > > > individually.
> > > > > > > >
> > > > > > > > I also started to improve this part by simply designing a
> new UI
> > > > > > > > <
> > > > > > >
> > > > > >
> > > >
> > >
> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
> > > > > > > >
> > > > > > > > and addressing multiple issues at once. I have already
> received
> > > > some
> > > > > > > community
> > > > > > > > feedback
> > > > > > > > <
> > > > https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999
> >,
> > > > > > > but
> > > > > > > > it is far from production-ready and needs more input. I think
> > > this
> > > > > > could
> > > > > > > be
> > > > > > > > further refined and moved to development if there is
> consensus on
> > > > that
> > > > > > as
> > > > > > > > the initial approach.
> > > > > > > >
> > > > > > > > What's your opinion about this approach and do you have any
> > > > concerns
> > > > > > that
> > > > > > > > have not been addressed?
> > > > > > > >
> > > > > > > > Best regards,
> > > > > > > > Christos
> > > > > > >
> > > > > > >
> > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > > > > > > For additional commands, e-mail: dev-help@solr.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > http://www.needhamsoftware.com (work)
> > > > > https://a.co/d/b2sZLD9 (my fantasy fiction book)
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > > > For additional commands, e-mail: dev-help@solr.apache.org
> > > >
> > > >
> > >
> > > --
> > > http://www.needhamsoftware.com (work)
> > > https://a.co/d/b2sZLD9 (my fantasy fiction book)
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> For additional commands, e-mail: dev-help@solr.apache.org
>
>

Re: SIP-7 New Admin UI

Posted by David Smiley <ds...@apache.org>.
An admin UI can definitely be plugged in.  Here is one:
https://github.com/yasa-org/yasa
And you would not be the first to consider a desktop client.  There is
one of those too: https://solr.search-navigator.org/

On Tue, Jul 9, 2024 at 9:37 PM Christos Malliaridis
<c....@gmail.com> wrote:
>
> Thanks for your input, votes and feedback so far, I appreciate it.
>
> The security concerns are justified and are something I am currently
> looking into. With a rewrite it will be easier to take that into account
> and consider alternative options that could also enhance security, too. For
> example, I am experimenting with a JVM-based and standalone desktop client
> (that is probably a safer option and provides extended authentication
> support) that can also be run alongside the current Admin UI as a
> WebAssembly app if needed (see changes in
> https://github.com/malliaridis/solr/tree/composeui). Another option I was
> considering was to write and provide the UI as a Solr plugin, but I am not
> sure if this could work with the current way plugins are loaded.
>
> So in my opinion and alongside the current concerns like maintenance of UI
> code, this might be solvable with the right technology selection and API
> implementation (which would be follow-up topics).
>
> On Tue, Jul 9, 2024 at 10:57 PM Gus Heck <gu...@gmail.com> wrote:
>
> > Disabling certainly is helpful, but... there's the risk it gets enabled,
> > it will still contribute to the footprint that vulnerability scanners have
> > to cover.
> >
> > If it's something that can be enabled/disabled or removed from the full
> > distro, and added to the slim distro if desired, that would be even better.
> > The easier all of those things are, the better of course.
> >
> > Food for thought: https://github.com/jetty/jetty.project/issues/5007
> >
> > If the UI is a self contained web-app containing only JS/HTML that can be
> > undeployed that's pretty much a standards based solution to the problem.
> > This sort of wheel was invented long long ago, and we have the basic tools
> > at our disposal already (jetty)... There is no need for the UI to have any
> > java code at all I suspect...
> >
> > -Gus
> >
> > On Tue, Jul 9, 2024 at 3:20 PM David Smiley <ds...@apache.org> wrote:
> >
> > > RE security; disabling it would suffice and if I recall is already
> > > supported.
> > >
> > > On Tue, Jul 9, 2024 at 3:09 PM Gus Heck <gu...@gmail.com> wrote:
> > > >
> > > > Also +1 ... "in the same repo and alongside" is how the last migration
> > > was
> > > > done IIRC. The big plus of this is as it's developed to a point of
> > > partial
> > > > utility you can put a link in the old UI to try out the new UI and get
> > > > feedback and make testing much easier.
> > > >
> > > > One thing that might be nice if we can do it, is to make the UI more
> > > > pluggable, and allow those who have no desire to test it to start solr
> > > with
> > > > it fully uninstalled. (i.e because they don't want to account for its
> > > > security in production)
> > > >
> > > > Also it would be very good if we carefully understood how we want to
> > > > achieve security (including information exposure, and role based
> > > > access/display) before we put it in a release.
> > > >
> > > > On Tue, Jul 9, 2024 at 10:40 AM Houston Putman <ho...@apache.org>
> > > wrote:
> > > >
> > > > > I agree with Jason on everything.
> > > > >
> > > > > Thank you so much for putting this much work into something with so
> > > much
> > > > > baggage in the community!
> > > > >
> > > > > I'm a huge +1 here, and love the things I saw in your screenshots on
> > > Slack.
> > > > >
> > > > > - Houston
> > > > >
> > > > > On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <
> > gerlowskija@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Hey Christos,
> > > > > >
> > > > > > Sorry for the delay responding here - lots of context to read up
> > on!
> > > > > >
> > > > > > Firstly, thanks for the huge effort you've put into writing this
> > all
> > > > > > up!  Quite the thorough job, and it's really helpful to enable us
> > > > > > non-UI folks to follow along haha.
> > > > > >
> > > > > > If I understand things correctly, there's a few distinct aspects to
> > > > > > your proposal:
> > > > > >
> > > > > > 1. New UI would live alongside the existing one (for a time)
> > > > > > 2. The code for the new UI would live in the main repository.
> > > > > > 3. Development would be piece-meal (i.e. not one big code-dump)
> > > > > >
> > > > > > Overall, this sounds like a reasonable approach to me.
> > > > > >
> > > > > > I think a big concern with putting code in the main repo is that
> > it's
> > > > > > pretty far from the (current) PMC's/community's wheelhouse to
> > > > > > maintain.  I definitely share that concern.  But IMO we're already
> > > > > > sortof at a "worst case" in that regard with our existing Admin UI
> > > > > > code.  Doing the "refresh" in the main repo gives us a forcing
> > > > > > function (i.e. the review process itself) to ensure that at least a
> > > > > > few community members will understand the code to at least some
> > > > > > extent.  That'll be a huge improvement over where we are today.
> > > > > >
> > > > > > Anyway, I'm a cautious '+1' based on these details at least.  To
> > > quote
> > > > > > a message from Jan in Slack: "I'd rather see some imperfect
> > movement
> > > > > > than a perfect plan never realized."
> > > > > >
> > > > > > (Here's hoping my reply will bump this to the top of folks'
> > Inboxes,
> > > > > > and get you some more feedback.)
> > > > > >
> > > > > > Best,
> > > > > >
> > > > > > Jason
> > > > > >
> > > > > > On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
> > > > > > <c....@gmail.com> wrote:
> > > > > > >
> > > > > > > Hello everyone,
> > > > > > >
> > > > > > > In regards to SIP-7
> > > > > > > <
> > > > > >
> > > > >
> > >
> > https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
> > > > > > >
> > > > > > > and SIP-10
> > > > > > > <
> > > > > >
> > > > >
> > >
> > https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
> > > > > > >
> > > > > > > I would like to add my perspective and address the current
> > concerns
> > > > > about
> > > > > > > implementing a new UI, so that we can take some actions and
> > > improve the
> > > > > > > overall quality and experience of Solr Admin UI.
> > > > > > >
> > > > > > > There are many discussions and opinions about the UI and how to
> > > resolve
> > > > > > the
> > > > > > > current issues, but they all led to the topic becoming stale. In
> > my
> > > > > > > opinion, developing and introducing a new UI into the main
> > > repository
> > > > > > piece
> > > > > > > by piece without replacing the current UI until feature-complete
> > > could
> > > > > > >
> > > > > > > - address all the issues currently reported (and not),
> > > > > > > - add new features,
> > > > > > > - replace the EOL framework and
> > > > > > > - improve the overall user experience.
> > > > > > >
> > > > > > > And the maintenance, which is one of the most important parts,
> > > could be
> > > > > > > addressed with the right choice of framework.
> > > > > > >
> > > > > > > I created a detailed writeup
> > > > > > > <
> > > > > >
> > > > >
> > >
> > https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
> > > > > > >
> > > > > > > for those who are interested, where I also write about the
> > > alternative
> > > > > > > approaches proposed in the past and listing the pros and cons of
> > > each
> > > > > one
> > > > > > > individually.
> > > > > > >
> > > > > > > I also started to improve this part by simply designing a new UI
> > > > > > > <
> > > > > >
> > > > >
> > >
> > https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
> > > > > > >
> > > > > > > and addressing multiple issues at once. I have already received
> > > some
> > > > > > community
> > > > > > > feedback
> > > > > > > <
> > > https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999>,
> > > > > > but
> > > > > > > it is far from production-ready and needs more input. I think
> > this
> > > > > could
> > > > > > be
> > > > > > > further refined and moved to development if there is consensus on
> > > that
> > > > > as
> > > > > > > the initial approach.
> > > > > > >
> > > > > > > What's your opinion about this approach and do you have any
> > > concerns
> > > > > that
> > > > > > > have not been addressed?
> > > > > > >
> > > > > > > Best regards,
> > > > > > > Christos
> > > > > >
> > > > > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > > > > > For additional commands, e-mail: dev-help@solr.apache.org
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > http://www.needhamsoftware.com (work)
> > > > https://a.co/d/b2sZLD9 (my fantasy fiction book)
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > > For additional commands, e-mail: dev-help@solr.apache.org
> > >
> > >
> >
> > --
> > http://www.needhamsoftware.com (work)
> > https://a.co/d/b2sZLD9 (my fantasy fiction book)
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org


Re: SIP-7 New Admin UI

Posted by Christos Malliaridis <c....@gmail.com>.
Thanks for your input, votes and feedback so far, I appreciate it.

The security concerns are justified and are something I am currently
looking into. With a rewrite it will be easier to take that into account
and consider alternative options that could also enhance security, too. For
example, I am experimenting with a JVM-based and standalone desktop client
(that is probably a safer option and provides extended authentication
support) that can also be run alongside the current Admin UI as a
WebAssembly app if needed (see changes in
https://github.com/malliaridis/solr/tree/composeui). Another option I was
considering was to write and provide the UI as a Solr plugin, but I am not
sure if this could work with the current way plugins are loaded.

So in my opinion and alongside the current concerns like maintenance of UI
code, this might be solvable with the right technology selection and API
implementation (which would be follow-up topics).

On Tue, Jul 9, 2024 at 10:57 PM Gus Heck <gu...@gmail.com> wrote:

> Disabling certainly is helpful, but... there's the risk it gets enabled,
> it will still contribute to the footprint that vulnerability scanners have
> to cover.
>
> If it's something that can be enabled/disabled or removed from the full
> distro, and added to the slim distro if desired, that would be even better.
> The easier all of those things are, the better of course.
>
> Food for thought: https://github.com/jetty/jetty.project/issues/5007
>
> If the UI is a self contained web-app containing only JS/HTML that can be
> undeployed that's pretty much a standards based solution to the problem.
> This sort of wheel was invented long long ago, and we have the basic tools
> at our disposal already (jetty)... There is no need for the UI to have any
> java code at all I suspect...
>
> -Gus
>
> On Tue, Jul 9, 2024 at 3:20 PM David Smiley <ds...@apache.org> wrote:
>
> > RE security; disabling it would suffice and if I recall is already
> > supported.
> >
> > On Tue, Jul 9, 2024 at 3:09 PM Gus Heck <gu...@gmail.com> wrote:
> > >
> > > Also +1 ... "in the same repo and alongside" is how the last migration
> > was
> > > done IIRC. The big plus of this is as it's developed to a point of
> > partial
> > > utility you can put a link in the old UI to try out the new UI and get
> > > feedback and make testing much easier.
> > >
> > > One thing that might be nice if we can do it, is to make the UI more
> > > pluggable, and allow those who have no desire to test it to start solr
> > with
> > > it fully uninstalled. (i.e because they don't want to account for its
> > > security in production)
> > >
> > > Also it would be very good if we carefully understood how we want to
> > > achieve security (including information exposure, and role based
> > > access/display) before we put it in a release.
> > >
> > > On Tue, Jul 9, 2024 at 10:40 AM Houston Putman <ho...@apache.org>
> > wrote:
> > >
> > > > I agree with Jason on everything.
> > > >
> > > > Thank you so much for putting this much work into something with so
> > much
> > > > baggage in the community!
> > > >
> > > > I'm a huge +1 here, and love the things I saw in your screenshots on
> > Slack.
> > > >
> > > > - Houston
> > > >
> > > > On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <
> gerlowskija@gmail.com>
> > > > wrote:
> > > >
> > > > > Hey Christos,
> > > > >
> > > > > Sorry for the delay responding here - lots of context to read up
> on!
> > > > >
> > > > > Firstly, thanks for the huge effort you've put into writing this
> all
> > > > > up!  Quite the thorough job, and it's really helpful to enable us
> > > > > non-UI folks to follow along haha.
> > > > >
> > > > > If I understand things correctly, there's a few distinct aspects to
> > > > > your proposal:
> > > > >
> > > > > 1. New UI would live alongside the existing one (for a time)
> > > > > 2. The code for the new UI would live in the main repository.
> > > > > 3. Development would be piece-meal (i.e. not one big code-dump)
> > > > >
> > > > > Overall, this sounds like a reasonable approach to me.
> > > > >
> > > > > I think a big concern with putting code in the main repo is that
> it's
> > > > > pretty far from the (current) PMC's/community's wheelhouse to
> > > > > maintain.  I definitely share that concern.  But IMO we're already
> > > > > sortof at a "worst case" in that regard with our existing Admin UI
> > > > > code.  Doing the "refresh" in the main repo gives us a forcing
> > > > > function (i.e. the review process itself) to ensure that at least a
> > > > > few community members will understand the code to at least some
> > > > > extent.  That'll be a huge improvement over where we are today.
> > > > >
> > > > > Anyway, I'm a cautious '+1' based on these details at least.  To
> > quote
> > > > > a message from Jan in Slack: "I'd rather see some imperfect
> movement
> > > > > than a perfect plan never realized."
> > > > >
> > > > > (Here's hoping my reply will bump this to the top of folks'
> Inboxes,
> > > > > and get you some more feedback.)
> > > > >
> > > > > Best,
> > > > >
> > > > > Jason
> > > > >
> > > > > On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
> > > > > <c....@gmail.com> wrote:
> > > > > >
> > > > > > Hello everyone,
> > > > > >
> > > > > > In regards to SIP-7
> > > > > > <
> > > > >
> > > >
> >
> https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
> > > > > >
> > > > > > and SIP-10
> > > > > > <
> > > > >
> > > >
> >
> https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
> > > > > >
> > > > > > I would like to add my perspective and address the current
> concerns
> > > > about
> > > > > > implementing a new UI, so that we can take some actions and
> > improve the
> > > > > > overall quality and experience of Solr Admin UI.
> > > > > >
> > > > > > There are many discussions and opinions about the UI and how to
> > resolve
> > > > > the
> > > > > > current issues, but they all led to the topic becoming stale. In
> my
> > > > > > opinion, developing and introducing a new UI into the main
> > repository
> > > > > piece
> > > > > > by piece without replacing the current UI until feature-complete
> > could
> > > > > >
> > > > > > - address all the issues currently reported (and not),
> > > > > > - add new features,
> > > > > > - replace the EOL framework and
> > > > > > - improve the overall user experience.
> > > > > >
> > > > > > And the maintenance, which is one of the most important parts,
> > could be
> > > > > > addressed with the right choice of framework.
> > > > > >
> > > > > > I created a detailed writeup
> > > > > > <
> > > > >
> > > >
> >
> https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
> > > > > >
> > > > > > for those who are interested, where I also write about the
> > alternative
> > > > > > approaches proposed in the past and listing the pros and cons of
> > each
> > > > one
> > > > > > individually.
> > > > > >
> > > > > > I also started to improve this part by simply designing a new UI
> > > > > > <
> > > > >
> > > >
> >
> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
> > > > > >
> > > > > > and addressing multiple issues at once. I have already received
> > some
> > > > > community
> > > > > > feedback
> > > > > > <
> > https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999>,
> > > > > but
> > > > > > it is far from production-ready and needs more input. I think
> this
> > > > could
> > > > > be
> > > > > > further refined and moved to development if there is consensus on
> > that
> > > > as
> > > > > > the initial approach.
> > > > > >
> > > > > > What's your opinion about this approach and do you have any
> > concerns
> > > > that
> > > > > > have not been addressed?
> > > > > >
> > > > > > Best regards,
> > > > > > Christos
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > > > > For additional commands, e-mail: dev-help@solr.apache.org
> > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > http://www.needhamsoftware.com (work)
> > > https://a.co/d/b2sZLD9 (my fantasy fiction book)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > For additional commands, e-mail: dev-help@solr.apache.org
> >
> >
>
> --
> http://www.needhamsoftware.com (work)
> https://a.co/d/b2sZLD9 (my fantasy fiction book)
>

Re: SIP-7 New Admin UI

Posted by Gus Heck <gu...@gmail.com>.
Disabling certainly is helpful, but... there's the risk it gets enabled,
it will still contribute to the footprint that vulnerability scanners have
to cover.

If it's something that can be enabled/disabled or removed from the full
distro, and added to the slim distro if desired, that would be even better.
The easier all of those things are, the better of course.

Food for thought: https://github.com/jetty/jetty.project/issues/5007

If the UI is a self contained web-app containing only JS/HTML that can be
undeployed that's pretty much a standards based solution to the problem.
This sort of wheel was invented long long ago, and we have the basic tools
at our disposal already (jetty)... There is no need for the UI to have any
java code at all I suspect...

-Gus

On Tue, Jul 9, 2024 at 3:20 PM David Smiley <ds...@apache.org> wrote:

> RE security; disabling it would suffice and if I recall is already
> supported.
>
> On Tue, Jul 9, 2024 at 3:09 PM Gus Heck <gu...@gmail.com> wrote:
> >
> > Also +1 ... "in the same repo and alongside" is how the last migration
> was
> > done IIRC. The big plus of this is as it's developed to a point of
> partial
> > utility you can put a link in the old UI to try out the new UI and get
> > feedback and make testing much easier.
> >
> > One thing that might be nice if we can do it, is to make the UI more
> > pluggable, and allow those who have no desire to test it to start solr
> with
> > it fully uninstalled. (i.e because they don't want to account for its
> > security in production)
> >
> > Also it would be very good if we carefully understood how we want to
> > achieve security (including information exposure, and role based
> > access/display) before we put it in a release.
> >
> > On Tue, Jul 9, 2024 at 10:40 AM Houston Putman <ho...@apache.org>
> wrote:
> >
> > > I agree with Jason on everything.
> > >
> > > Thank you so much for putting this much work into something with so
> much
> > > baggage in the community!
> > >
> > > I'm a huge +1 here, and love the things I saw in your screenshots on
> Slack.
> > >
> > > - Houston
> > >
> > > On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <ge...@gmail.com>
> > > wrote:
> > >
> > > > Hey Christos,
> > > >
> > > > Sorry for the delay responding here - lots of context to read up on!
> > > >
> > > > Firstly, thanks for the huge effort you've put into writing this all
> > > > up!  Quite the thorough job, and it's really helpful to enable us
> > > > non-UI folks to follow along haha.
> > > >
> > > > If I understand things correctly, there's a few distinct aspects to
> > > > your proposal:
> > > >
> > > > 1. New UI would live alongside the existing one (for a time)
> > > > 2. The code for the new UI would live in the main repository.
> > > > 3. Development would be piece-meal (i.e. not one big code-dump)
> > > >
> > > > Overall, this sounds like a reasonable approach to me.
> > > >
> > > > I think a big concern with putting code in the main repo is that it's
> > > > pretty far from the (current) PMC's/community's wheelhouse to
> > > > maintain.  I definitely share that concern.  But IMO we're already
> > > > sortof at a "worst case" in that regard with our existing Admin UI
> > > > code.  Doing the "refresh" in the main repo gives us a forcing
> > > > function (i.e. the review process itself) to ensure that at least a
> > > > few community members will understand the code to at least some
> > > > extent.  That'll be a huge improvement over where we are today.
> > > >
> > > > Anyway, I'm a cautious '+1' based on these details at least.  To
> quote
> > > > a message from Jan in Slack: "I'd rather see some imperfect movement
> > > > than a perfect plan never realized."
> > > >
> > > > (Here's hoping my reply will bump this to the top of folks' Inboxes,
> > > > and get you some more feedback.)
> > > >
> > > > Best,
> > > >
> > > > Jason
> > > >
> > > > On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
> > > > <c....@gmail.com> wrote:
> > > > >
> > > > > Hello everyone,
> > > > >
> > > > > In regards to SIP-7
> > > > > <
> > > >
> > >
> https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
> > > > >
> > > > > and SIP-10
> > > > > <
> > > >
> > >
> https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
> > > > >
> > > > > I would like to add my perspective and address the current concerns
> > > about
> > > > > implementing a new UI, so that we can take some actions and
> improve the
> > > > > overall quality and experience of Solr Admin UI.
> > > > >
> > > > > There are many discussions and opinions about the UI and how to
> resolve
> > > > the
> > > > > current issues, but they all led to the topic becoming stale. In my
> > > > > opinion, developing and introducing a new UI into the main
> repository
> > > > piece
> > > > > by piece without replacing the current UI until feature-complete
> could
> > > > >
> > > > > - address all the issues currently reported (and not),
> > > > > - add new features,
> > > > > - replace the EOL framework and
> > > > > - improve the overall user experience.
> > > > >
> > > > > And the maintenance, which is one of the most important parts,
> could be
> > > > > addressed with the right choice of framework.
> > > > >
> > > > > I created a detailed writeup
> > > > > <
> > > >
> > >
> https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
> > > > >
> > > > > for those who are interested, where I also write about the
> alternative
> > > > > approaches proposed in the past and listing the pros and cons of
> each
> > > one
> > > > > individually.
> > > > >
> > > > > I also started to improve this part by simply designing a new UI
> > > > > <
> > > >
> > >
> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
> > > > >
> > > > > and addressing multiple issues at once. I have already received
> some
> > > > community
> > > > > feedback
> > > > > <
> https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999>,
> > > > but
> > > > > it is far from production-ready and needs more input. I think this
> > > could
> > > > be
> > > > > further refined and moved to development if there is consensus on
> that
> > > as
> > > > > the initial approach.
> > > > >
> > > > > What's your opinion about this approach and do you have any
> concerns
> > > that
> > > > > have not been addressed?
> > > > >
> > > > > Best regards,
> > > > > Christos
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > > > For additional commands, e-mail: dev-help@solr.apache.org
> > > >
> > > >
> > >
> >
> >
> > --
> > http://www.needhamsoftware.com (work)
> > https://a.co/d/b2sZLD9 (my fantasy fiction book)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> For additional commands, e-mail: dev-help@solr.apache.org
>
>

-- 
http://www.needhamsoftware.com (work)
https://a.co/d/b2sZLD9 (my fantasy fiction book)

Re: SIP-7 New Admin UI

Posted by David Smiley <ds...@apache.org>.
RE security; disabling it would suffice and if I recall is already supported.

On Tue, Jul 9, 2024 at 3:09 PM Gus Heck <gu...@gmail.com> wrote:
>
> Also +1 ... "in the same repo and alongside" is how the last migration was
> done IIRC. The big plus of this is as it's developed to a point of partial
> utility you can put a link in the old UI to try out the new UI and get
> feedback and make testing much easier.
>
> One thing that might be nice if we can do it, is to make the UI more
> pluggable, and allow those who have no desire to test it to start solr with
> it fully uninstalled. (i.e because they don't want to account for its
> security in production)
>
> Also it would be very good if we carefully understood how we want to
> achieve security (including information exposure, and role based
> access/display) before we put it in a release.
>
> On Tue, Jul 9, 2024 at 10:40 AM Houston Putman <ho...@apache.org> wrote:
>
> > I agree with Jason on everything.
> >
> > Thank you so much for putting this much work into something with so much
> > baggage in the community!
> >
> > I'm a huge +1 here, and love the things I saw in your screenshots on Slack.
> >
> > - Houston
> >
> > On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <ge...@gmail.com>
> > wrote:
> >
> > > Hey Christos,
> > >
> > > Sorry for the delay responding here - lots of context to read up on!
> > >
> > > Firstly, thanks for the huge effort you've put into writing this all
> > > up!  Quite the thorough job, and it's really helpful to enable us
> > > non-UI folks to follow along haha.
> > >
> > > If I understand things correctly, there's a few distinct aspects to
> > > your proposal:
> > >
> > > 1. New UI would live alongside the existing one (for a time)
> > > 2. The code for the new UI would live in the main repository.
> > > 3. Development would be piece-meal (i.e. not one big code-dump)
> > >
> > > Overall, this sounds like a reasonable approach to me.
> > >
> > > I think a big concern with putting code in the main repo is that it's
> > > pretty far from the (current) PMC's/community's wheelhouse to
> > > maintain.  I definitely share that concern.  But IMO we're already
> > > sortof at a "worst case" in that regard with our existing Admin UI
> > > code.  Doing the "refresh" in the main repo gives us a forcing
> > > function (i.e. the review process itself) to ensure that at least a
> > > few community members will understand the code to at least some
> > > extent.  That'll be a huge improvement over where we are today.
> > >
> > > Anyway, I'm a cautious '+1' based on these details at least.  To quote
> > > a message from Jan in Slack: "I'd rather see some imperfect movement
> > > than a perfect plan never realized."
> > >
> > > (Here's hoping my reply will bump this to the top of folks' Inboxes,
> > > and get you some more feedback.)
> > >
> > > Best,
> > >
> > > Jason
> > >
> > > On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
> > > <c....@gmail.com> wrote:
> > > >
> > > > Hello everyone,
> > > >
> > > > In regards to SIP-7
> > > > <
> > >
> > https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
> > > >
> > > > and SIP-10
> > > > <
> > >
> > https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
> > > >
> > > > I would like to add my perspective and address the current concerns
> > about
> > > > implementing a new UI, so that we can take some actions and improve the
> > > > overall quality and experience of Solr Admin UI.
> > > >
> > > > There are many discussions and opinions about the UI and how to resolve
> > > the
> > > > current issues, but they all led to the topic becoming stale. In my
> > > > opinion, developing and introducing a new UI into the main repository
> > > piece
> > > > by piece without replacing the current UI until feature-complete could
> > > >
> > > > - address all the issues currently reported (and not),
> > > > - add new features,
> > > > - replace the EOL framework and
> > > > - improve the overall user experience.
> > > >
> > > > And the maintenance, which is one of the most important parts, could be
> > > > addressed with the right choice of framework.
> > > >
> > > > I created a detailed writeup
> > > > <
> > >
> > https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
> > > >
> > > > for those who are interested, where I also write about the alternative
> > > > approaches proposed in the past and listing the pros and cons of each
> > one
> > > > individually.
> > > >
> > > > I also started to improve this part by simply designing a new UI
> > > > <
> > >
> > https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
> > > >
> > > > and addressing multiple issues at once. I have already received some
> > > community
> > > > feedback
> > > > <https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999>,
> > > but
> > > > it is far from production-ready and needs more input. I think this
> > could
> > > be
> > > > further refined and moved to development if there is consensus on that
> > as
> > > > the initial approach.
> > > >
> > > > What's your opinion about this approach and do you have any concerns
> > that
> > > > have not been addressed?
> > > >
> > > > Best regards,
> > > > Christos
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > > For additional commands, e-mail: dev-help@solr.apache.org
> > >
> > >
> >
>
>
> --
> http://www.needhamsoftware.com (work)
> https://a.co/d/b2sZLD9 (my fantasy fiction book)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org


Re: SIP-7 New Admin UI

Posted by Gus Heck <gu...@gmail.com>.
Also +1 ... "in the same repo and alongside" is how the last migration was
done IIRC. The big plus of this is as it's developed to a point of partial
utility you can put a link in the old UI to try out the new UI and get
feedback and make testing much easier.

One thing that might be nice if we can do it, is to make the UI more
pluggable, and allow those who have no desire to test it to start solr with
it fully uninstalled. (i.e because they don't want to account for its
security in production)

Also it would be very good if we carefully understood how we want to
achieve security (including information exposure, and role based
access/display) before we put it in a release.

On Tue, Jul 9, 2024 at 10:40 AM Houston Putman <ho...@apache.org> wrote:

> I agree with Jason on everything.
>
> Thank you so much for putting this much work into something with so much
> baggage in the community!
>
> I'm a huge +1 here, and love the things I saw in your screenshots on Slack.
>
> - Houston
>
> On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <ge...@gmail.com>
> wrote:
>
> > Hey Christos,
> >
> > Sorry for the delay responding here - lots of context to read up on!
> >
> > Firstly, thanks for the huge effort you've put into writing this all
> > up!  Quite the thorough job, and it's really helpful to enable us
> > non-UI folks to follow along haha.
> >
> > If I understand things correctly, there's a few distinct aspects to
> > your proposal:
> >
> > 1. New UI would live alongside the existing one (for a time)
> > 2. The code for the new UI would live in the main repository.
> > 3. Development would be piece-meal (i.e. not one big code-dump)
> >
> > Overall, this sounds like a reasonable approach to me.
> >
> > I think a big concern with putting code in the main repo is that it's
> > pretty far from the (current) PMC's/community's wheelhouse to
> > maintain.  I definitely share that concern.  But IMO we're already
> > sortof at a "worst case" in that regard with our existing Admin UI
> > code.  Doing the "refresh" in the main repo gives us a forcing
> > function (i.e. the review process itself) to ensure that at least a
> > few community members will understand the code to at least some
> > extent.  That'll be a huge improvement over where we are today.
> >
> > Anyway, I'm a cautious '+1' based on these details at least.  To quote
> > a message from Jan in Slack: "I'd rather see some imperfect movement
> > than a perfect plan never realized."
> >
> > (Here's hoping my reply will bump this to the top of folks' Inboxes,
> > and get you some more feedback.)
> >
> > Best,
> >
> > Jason
> >
> > On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
> > <c....@gmail.com> wrote:
> > >
> > > Hello everyone,
> > >
> > > In regards to SIP-7
> > > <
> >
> https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
> > >
> > > and SIP-10
> > > <
> >
> https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
> > >
> > > I would like to add my perspective and address the current concerns
> about
> > > implementing a new UI, so that we can take some actions and improve the
> > > overall quality and experience of Solr Admin UI.
> > >
> > > There are many discussions and opinions about the UI and how to resolve
> > the
> > > current issues, but they all led to the topic becoming stale. In my
> > > opinion, developing and introducing a new UI into the main repository
> > piece
> > > by piece without replacing the current UI until feature-complete could
> > >
> > > - address all the issues currently reported (and not),
> > > - add new features,
> > > - replace the EOL framework and
> > > - improve the overall user experience.
> > >
> > > And the maintenance, which is one of the most important parts, could be
> > > addressed with the right choice of framework.
> > >
> > > I created a detailed writeup
> > > <
> >
> https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
> > >
> > > for those who are interested, where I also write about the alternative
> > > approaches proposed in the past and listing the pros and cons of each
> one
> > > individually.
> > >
> > > I also started to improve this part by simply designing a new UI
> > > <
> >
> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
> > >
> > > and addressing multiple issues at once. I have already received some
> > community
> > > feedback
> > > <https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999>,
> > but
> > > it is far from production-ready and needs more input. I think this
> could
> > be
> > > further refined and moved to development if there is consensus on that
> as
> > > the initial approach.
> > >
> > > What's your opinion about this approach and do you have any concerns
> that
> > > have not been addressed?
> > >
> > > Best regards,
> > > Christos
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> > For additional commands, e-mail: dev-help@solr.apache.org
> >
> >
>


-- 
http://www.needhamsoftware.com (work)
https://a.co/d/b2sZLD9 (my fantasy fiction book)

Re: SIP-7 New Admin UI

Posted by Houston Putman <ho...@apache.org>.
I agree with Jason on everything.

Thank you so much for putting this much work into something with so much
baggage in the community!

I'm a huge +1 here, and love the things I saw in your screenshots on Slack.

- Houston

On Mon, Jul 8, 2024 at 2:23 PM Jason Gerlowski <ge...@gmail.com>
wrote:

> Hey Christos,
>
> Sorry for the delay responding here - lots of context to read up on!
>
> Firstly, thanks for the huge effort you've put into writing this all
> up!  Quite the thorough job, and it's really helpful to enable us
> non-UI folks to follow along haha.
>
> If I understand things correctly, there's a few distinct aspects to
> your proposal:
>
> 1. New UI would live alongside the existing one (for a time)
> 2. The code for the new UI would live in the main repository.
> 3. Development would be piece-meal (i.e. not one big code-dump)
>
> Overall, this sounds like a reasonable approach to me.
>
> I think a big concern with putting code in the main repo is that it's
> pretty far from the (current) PMC's/community's wheelhouse to
> maintain.  I definitely share that concern.  But IMO we're already
> sortof at a "worst case" in that regard with our existing Admin UI
> code.  Doing the "refresh" in the main repo gives us a forcing
> function (i.e. the review process itself) to ensure that at least a
> few community members will understand the code to at least some
> extent.  That'll be a huge improvement over where we are today.
>
> Anyway, I'm a cautious '+1' based on these details at least.  To quote
> a message from Jan in Slack: "I'd rather see some imperfect movement
> than a perfect plan never realized."
>
> (Here's hoping my reply will bump this to the top of folks' Inboxes,
> and get you some more feedback.)
>
> Best,
>
> Jason
>
> On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
> <c....@gmail.com> wrote:
> >
> > Hello everyone,
> >
> > In regards to SIP-7
> > <
> https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI
> >
> > and SIP-10
> > <
> https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience
> >
> > I would like to add my perspective and address the current concerns about
> > implementing a new UI, so that we can take some actions and improve the
> > overall quality and experience of Solr Admin UI.
> >
> > There are many discussions and opinions about the UI and how to resolve
> the
> > current issues, but they all led to the topic becoming stale. In my
> > opinion, developing and introducing a new UI into the main repository
> piece
> > by piece without replacing the current UI until feature-complete could
> >
> > - address all the issues currently reported (and not),
> > - add new features,
> > - replace the EOL framework and
> > - improve the overall user experience.
> >
> > And the maintenance, which is one of the most important parts, could be
> > addressed with the right choice of framework.
> >
> > I created a detailed writeup
> > <
> https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing
> >
> > for those who are interested, where I also write about the alternative
> > approaches proposed in the past and listing the pros and cons of each one
> > individually.
> >
> > I also started to improve this part by simply designing a new UI
> > <
> https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept
> >
> > and addressing multiple issues at once. I have already received some
> community
> > feedback
> > <https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999>,
> but
> > it is far from production-ready and needs more input. I think this could
> be
> > further refined and moved to development if there is consensus on that as
> > the initial approach.
> >
> > What's your opinion about this approach and do you have any concerns that
> > have not been addressed?
> >
> > Best regards,
> > Christos
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> For additional commands, e-mail: dev-help@solr.apache.org
>
>

Re: SIP-7 New Admin UI

Posted by Jason Gerlowski <ge...@gmail.com>.
Hey Christos,

Sorry for the delay responding here - lots of context to read up on!

Firstly, thanks for the huge effort you've put into writing this all
up!  Quite the thorough job, and it's really helpful to enable us
non-UI folks to follow along haha.

If I understand things correctly, there's a few distinct aspects to
your proposal:

1. New UI would live alongside the existing one (for a time)
2. The code for the new UI would live in the main repository.
3. Development would be piece-meal (i.e. not one big code-dump)

Overall, this sounds like a reasonable approach to me.

I think a big concern with putting code in the main repo is that it's
pretty far from the (current) PMC's/community's wheelhouse to
maintain.  I definitely share that concern.  But IMO we're already
sortof at a "worst case" in that regard with our existing Admin UI
code.  Doing the "refresh" in the main repo gives us a forcing
function (i.e. the review process itself) to ensure that at least a
few community members will understand the code to at least some
extent.  That'll be a huge improvement over where we are today.

Anyway, I'm a cautious '+1' based on these details at least.  To quote
a message from Jan in Slack: "I'd rather see some imperfect movement
than a perfect plan never realized."

(Here's hoping my reply will bump this to the top of folks' Inboxes,
and get you some more feedback.)

Best,

Jason

On Mon, Jul 1, 2024 at 12:25 PM Christos Malliaridis
<c....@gmail.com> wrote:
>
> Hello everyone,
>
> In regards to SIP-7
> <https://cwiki.apache.org/confluence/display/SOLR/SIP-7+Updated+Solr+Admin+UI>
> and SIP-10
> <https://cwiki.apache.org/confluence/display/SOLR/SIP-10+Improve+Getting+Started+experience>
> I would like to add my perspective and address the current concerns about
> implementing a new UI, so that we can take some actions and improve the
> overall quality and experience of Solr Admin UI.
>
> There are many discussions and opinions about the UI and how to resolve the
> current issues, but they all led to the topic becoming stale. In my
> opinion, developing and introducing a new UI into the main repository piece
> by piece without replacing the current UI until feature-complete could
>
> - address all the issues currently reported (and not),
> - add new features,
> - replace the EOL framework and
> - improve the overall user experience.
>
> And the maintenance, which is one of the most important parts, could be
> addressed with the right choice of framework.
>
> I created a detailed writeup
> <https://docs.google.com/document/d/14F1QARdkIrmKXQ4zuWUuOXduH4v_XwZ_Zrd0d2jE468/edit?usp=sharing>
> for those who are interested, where I also write about the alternative
> approaches proposed in the past and listing the pros and cons of each one
> individually.
>
> I also started to improve this part by simply designing a new UI
> <https://www.figma.com/design/VdbEfcWQ8mirFNquBzbPk2/Apache-Solr-Admin-UI-v2-Concept>
> and addressing multiple issues at once. I have already received some community
> feedback
> <https://apachesolr.slack.com/archives/C01GVPZSSK0/p1718289047297999>, but
> it is far from production-ready and needs more input. I think this could be
> further refined and moved to development if there is consensus on that as
> the initial approach.
>
> What's your opinion about this approach and do you have any concerns that
> have not been addressed?
>
> Best regards,
> Christos

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org