You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I click on "view file", I expect the file to be opened. Instead I see 404 GitHub page.
The reason is described in Analysis section.
React Native versions
all
Steps to reproduce
See above.
Describe what you expected to happen:
I click on "view file".
I expect the file to be opened.
Analysis
In GitHub url, "Rn" prefix is missing, instead of "RnDiffApp" only "DiffApp" is present. This is due to the fact, that GitHub deliver diffs without prefixed and gitdiff-parser library currently only supports diffs with prefixes.
Bug
When I click on "view file", I expect the file to be opened. Instead I see 404 GitHub page.
The reason is described in Analysis section.
React Native versions
all
Steps to reproduce
See above.
Describe what you expected to happen:
I click on "view file".
I expect the file to be opened.
Analysis
In GitHub url, "Rn" prefix is missing, instead of "RnDiffApp" only "DiffApp" is present. This is due to the fact, that GitHub deliver diffs without prefixed and
gitdiff-parserlibrary currently only supports diffs with prefixes.Solution proposals (cleanest/highest effort -> dirtiest/lowest effort):
a/,b/)gitdiff-parsersupport diffs without prefixes (Add support for diffs created with --no-prefix option ecomfe/gitdiff-parser#21)DownloadFileButtonandViewFileButtoncomponents.