mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-05-06 19:58:49 -05:00
[GH-ISSUE #74] Files changed screen in a PR #663
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shreyas1599 on GitHub (Apr 29, 2020).
Original GitHub issue: https://github.com/pd4d10/git-touch/issues/74
Hi @pd4d10,
So I'm trying to add a
Files Changed Screeninstead of redirecting to the web. This is an example response.The modified text is in
patch.\nfollowed by + indicates an addition and similarly\nfollowed by - indicates deletion.My idea is to split it on
\nand every list item that starts with a+I'm thinking of wrapping with Text with green color and similarly red color for-. Is this a right approach or would you suggest an alternative way?Also I'm unable to understand the starting portion of the patch. I know it has something to do with the line number. Take the first item of the example response
@@ -313,3 +313,15.Do you have an idea?
I'll put a list of files with a drop-down for every file which will expand to display the changes.
@pd4d10 commented on GitHub (Apr 30, 2020):
Perhaps
flutter_highlightpackage could do some help: