Financial-Times / nori

🍙 exploratory command-line tool to make changes across multiple repositories & track their progress
MIT License
11 stars 0 forks source link

rich preview #49

Closed apaleslimghost closed 3 years ago

apaleslimghost commented 5 years ago

the current preview merely outputs the data JSON. that's not very readable or helpful. instead, like with the short-preview header, each data type should have a preview method that outputs nicely rendered preview. for example for the branch type this should be a git diff against the base branch

apaleslimghost commented 5 years ago

this should open another enquirer menu along the lines of:

> clones
- localBranches
- remoteBranches
- prs
- cards

select clones:

> financial-times-sandbox/abandoned-toothbrush
- financial-times-sandbox/western-storm

selecting one of these opens the folder

select localBranches:

> financial-times-sandbox/abandoned-toothbrush#branch
- financial-times-sandbox/western-storm#branch

selecting one of these runs git diff

select remoteBranches:

> financial-times-sandbox/abandoned-toothbrush#branch
- financial-times-sandbox/western-storm#branch

selecting one of these opens the github compare page

select prs:

> financial-times-sandbox/abandoned-toothbrush#137
- financial-times-sandbox/western-storm#137

selecting one of these opens the PR in the browser

und so weiter

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.