You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "MonkeyCanCode (via GitHub)" <gi...@apache.org> on 2026/03/31 04:20:09 UTC

[I] Better UI/UX for Polaris CLI [polaris]

MonkeyCanCode opened a new issue, #4090:
URL: https://github.com/apache/polaris/issues/4090

   ### Is your feature request related to a problem? Please describe.
   
   Hello,
   
   Polaris CLI starts with very basic CLI output (primary output in unformatted JSON). This is great and use-able as people can use tool such as `jq` to parse those and get the needed info. As we added couple more ability to Polaris CLI recently where we are no longer only produce JSON output  such as following:
   1. Setup command: https://github.com/apache/polaris/pull/3929
   2. Summarized sub-command: https://github.com/apache/polaris/pull/4003
   3. Tables/Find commands (still under review): https://github.com/apache/polaris/pull/4075
   
   I think we should use some additional library to make Apache Polaris CLI more modern such as python rich library (https://github.com/textualize/rich) and python click library (https://github.com/pallets/click) for more enriched UI and better UX.
   
   Taking setup command as an example. Here is what we are currently provided as of today (credentials below are randomly generated string thus nothing sensitive):
   
   <img width="1062" height="765" alt="Image" src="https://github.com/user-attachments/assets/f4b0853a-6520-4f86-9f03-4a5a5b19085d" />
   
   It is use-able but way too verbose and hard to keep track of things if this is really some massive deployment.
   
   Here is the revised output with same command but implemented with rich library on my local setup (credentials below are randomly generated string thus nothing sensitive):
   
   <img width="908" height="751" alt="Image" src="https://github.com/user-attachments/assets/4e0b8621-cf00-4c27-9375-2c4f124982b3" />
   
   What do you think? Should we proceed with those more modern libraries or stick with what we currently have and use plain text only.
   
   Thanks,
   Yong Zheng
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Better UI/UX for Polaris CLI [polaris]

Posted by "MonkeyCanCode (via GitHub)" <gi...@apache.org>.
MonkeyCanCode commented on issue #4090:
URL: https://github.com/apache/polaris/issues/4090#issuecomment-4862490790

   > Hello @MonkeyCanCode, I see this is still open enhancement. Can I pick this up and work on it?
   
   Hi, go for it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Better UI/UX for Polaris CLI [polaris]

Posted by "snazy (via GitHub)" <gi...@apache.org>.
snazy commented on issue #4090:
URL: https://github.com/apache/polaris/issues/4090#issuecomment-4192608316

   That looks really nice! Cool stuff!
   
   One thing to consider though (I ran into it in the past myself): terminal implementations differ a lot in what they support. Most notably the number of colors. While major terminals for Linux all support "true color" (16M colors for example), the standard macOS terminal only supports (or supported??) 256, which lets colors look really ugly (try to run the `btop` utility on the standard macOS terminal ;) ).
   Bright and dark terminal backgrounds with the "wrong" configured colors can also look "bad."
   That's not a concern, just a practical advise.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Better UI/UX for Polaris CLI [polaris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4090:
URL: https://github.com/apache/polaris/issues/4090#issuecomment-4411082273

   This issue is stale because it has been open 30 days with no activity. Remove stale label or comment if you think it's still relevant.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Better UI/UX for Polaris CLI [polaris]

Posted by "tarunjangid (via GitHub)" <gi...@apache.org>.
tarunjangid commented on issue #4090:
URL: https://github.com/apache/polaris/issues/4090#issuecomment-4862395195

   Hello @MonkeyCanCode, I see this is still open enhancement. Can I pick this up and work on it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Better UI/UX for Polaris CLI [polaris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4090:
URL: https://github.com/apache/polaris/issues/4090#issuecomment-5466044047

   This issue is stale because it has been open 30 days with no activity. Remove stale label or comment if you think it's still relevant.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Better UI/UX for Polaris CLI [polaris]

Posted by "MonkeyCanCode (via GitHub)" <gi...@apache.org>.
MonkeyCanCode commented on issue #4090:
URL: https://github.com/apache/polaris/issues/4090#issuecomment-4203712542

   > That looks really nice! Cool stuff!
   > 
   > One thing to consider though (I ran into it in the past myself): terminal implementations differ a lot in what they support. Most notably the number of colors. While major terminals for Linux all support "true color" (16M colors for example), the standard macOS terminal only supports (or supported??) 256, which lets colors look really ugly (try to run the `btop` utility on the standard macOS terminal ;) ). Bright and dark terminal backgrounds with the "wrong" configured colors can also look "bad." That's not a concern, just a practical advise.
   
   Thanks for the feedback and that is 100% valid. Let me revisit this a bit later.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org