You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Shawn Heisey (Jira)" <ji...@apache.org> on 2022/10/17 14:11:00 UTC

[jira] [Comment Edited] (SOLR-16466) Admin UI - Make it optional to sort list of commandline args

    [ https://issues.apache.org/jira/browse/SOLR-16466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17618919#comment-17618919 ] 

Shawn Heisey edited comment on SOLR-16466 at 10/17/22 2:10 PM:
---------------------------------------------------------------

What I envision is having a checkbox on one of the existing lines for JVM on the dashboard, probably on the line that says "JVM", reading something like:

X Sort commandline arguments

Where X is a checkbox that is checked by default.  If the state of that checkbox is changed, it could either do an AJAX call to reload the argument list in place, or simply reload the page with something specifying the new sort setting.  The UI in general utilizes info after the # in the URL, so the browser handles it and it is never set to the server.  That is probably the right mechanism to use if it is implemented as a reload.


was (Author: elyograg):
What I envision is having a checkbox on one of the existing lines for JVM on the dashboard, probably on the line that says "JVM", reading something like:

X Sort commandline arguments

Where X is a checkbox that is checked by default.  If the state of that checkbox is changed, it could either do an AJAX call to reload the argument list in place, or simply reload the page with something specifying the new sort setting.  The UI in general utilizes info after the # in the URL, so the browser handles it and it is never set to the server.  That is probably the right mechanism to use.

> Admin UI - Make it optional to sort list of commandline args
> ------------------------------------------------------------
>
>                 Key: SOLR-16466
>                 URL: https://issues.apache.org/jira/browse/SOLR-16466
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Admin UI
>    Affects Versions: 9.0
>            Reporter: Shawn Heisey
>            Priority: Minor
>              Labels: newdev
>
> It is sometimes detrimental to have the list of commandline arguments sorted in the Admin UI dashboard.  One of the things  I do whenever I install or upgrade Solr is to go into the javascript and remove the sort.  I would like to make it optional on the dashboard to sort the arguments.
> I do not know how to go about doing this.  My HTML/CSS/Javascript skills are not adequate to accomplish it.  It's easy enough to remove ".sort()" from the javascript to turn it off, but making it optional (unchecking a checkbox and having that trigger some javascript) is something I would struggle to implement.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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