Page MenuHomePhabricator

Convert `arc feature` to use `PhutilConsoleTable`.
ClosedPublic

Authored by joshuaspence on Jun 17 2014, 5:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 8, 3:32 PM
Unknown Object (File)
Tue, Aug 27, 3:55 AM
Unknown Object (File)
Aug 19 2024, 8:59 AM
Unknown Object (File)
Aug 16 2024, 7:42 AM
Unknown Object (File)
Aug 14 2024, 6:40 PM
Unknown Object (File)
Aug 14 2024, 7:44 AM
Unknown Object (File)
Aug 9 2024, 8:01 AM
Unknown Object (File)
Aug 6 2024, 6:53 PM
Subscribers

Details

Summary

Fixes T5110. PhutilConsoleTable handles Unicode characters and can display a decent-looking table.

Test Plan

`arc_feature`_with_`PhutilConsoleTable` (399×897 px, 129 KB)

Diff Detail

Repository
rARC Arcanist
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Convert `arc feature` to use `PhutilConsoleTable`..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.

Some thoughts as to future directions for PhutilConsoleTable:

  • We could define color rules for a column, although I'm not sure that this is a good idea (i.e. if the value of a cell in this column is "Accepted" then color it green)
  • We could allow sorting rules to be added.
epriestley edited edge metadata.

I'm not sure we'd gain all that much by putting colors or sorting into ConsoleTable, but maybe some use cases will pop out somewhere.

This revision is now accepted and ready to land.Jun 17 2014, 5:28 PM