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)
Sat, Jan 18, 4:46 AM
Unknown Object (File)
Fri, Jan 3, 6:55 PM
Unknown Object (File)
Fri, Jan 3, 4:24 AM
Unknown Object (File)
Wed, Jan 1, 9:38 PM
Unknown Object (File)
Tue, Dec 24, 7:16 PM
Unknown Object (File)
Dec 20 2024, 9:16 PM
Unknown Object (File)
Dec 13 2024, 2:23 PM
Unknown Object (File)
Dec 11 2024, 5:36 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