Page MenuHomePhabricator

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

Authored by joshuaspence on Jun 17 2014, 5:19 PM.
Tags
None
Referenced Files
F14077118: D9602.diff
Thu, Nov 21, 9:35 PM
Unknown Object (File)
Thu, Nov 21, 8:24 AM
Unknown Object (File)
Sun, Nov 17, 4:32 PM
Unknown Object (File)
Thu, Nov 14, 3:37 PM
Unknown Object (File)
Sun, Nov 10, 7:04 AM
Unknown Object (File)
Sun, Nov 10, 6:15 AM
Unknown Object (File)
Sat, Nov 9, 6:52 PM
Unknown Object (File)
Wed, Nov 6, 11:41 AM
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