Armen Zambrano G
1155edaeb6
refactor: Join DiffViewer files into a single file
2017-09-15 10:52:04 -04:00
Armen Zambrano G
942c54d2f9
refactor: Use the Presentational and Container pattern for the DiffViewer
...
This separates fetching the data from displaying it.
2017-09-15 10:51:57 -04:00
Armen Zambrano G
463a81b6b1
chore: Add typing to App/index.js
2017-09-14 13:34:37 -04:00
Armen Zambrano G
8318482d68
chore: Add Flow's statistical analysis
...
This change adds documentation on how to get it set up.
2017-09-14 13:34:37 -04:00
Armen Zambrano
8373ecf07f
chore: Issue 22 - Add app.json to support Heroku Review Apps
...
PR's from within the same repo now add a link to a deployment
A line gets added like this:
> armenzg deployed to fx-codecov-staging-pr-23 9 minutes ago <View deployment>
People starting PRs from other forks will not get automatic deployments.
Review apps are useful for showing work in progress before it gets to master without having to ask someone to deploy it for you.
2017-09-14 10:24:52 -04:00
Armen Zambrano G
f505b96545
chore: Refresh yarn.lock
...
rm yarn.lock && yarn install
This creates the latest snapshot of all dependencies.
2017-09-13 15:44:09 -04:00
Armen Zambrano G
7fbfb8c109
chore: Add flow-bin static analyzer
2017-09-13 15:41:03 -04:00
Armen Zambrano G
dee4e99880
chore: Add bable-cli and babel-preset-flow as dev dependencies
2017-09-13 15:40:58 -04:00
Armen Zambrano G
92b00558aa
chore: Pin versions and adjust entries to fix Heroku deployments
...
We're currently seeing build issues on Heroku:
```
Running heroku-prebuild (yarn)
yarn run v0.28.4
$ yarn build
sh: 1: neutrino: not found
```
This fixes the issue.
Adding npm to the engines ensure that we use the major version that Heroku uses.
Setting yarn's 1.0.0 as the minimum version forces Heroku to pick the same version I use locally.
Move neutrino to the devDependencies as it is not a dependency of the application itself.
In order for "heroku-prebuild" to work we need to install neutrino first and then build the static package.
2017-09-13 15:40:27 -04:00
Armen Zambrano G
e64651d4b3
chore: Stop supporting gh-pages
2017-09-13 15:39:51 -04:00
Armen Zambrano G
43b5fcb336
feat: Show coverage status for a diff
2017-09-13 13:38:14 -04:00
Armen Zambrano G
c2d33ff3a2
fix: When code coverage data is not yet available return error message
2017-09-13 13:38:14 -04:00
Armen Zambrano G
6bc0d9d551
fix: Do not show raw diff until code coverage fetch completes
2017-09-13 13:38:14 -04:00
Armen Zambrano G
c359c25e07
feat: line coverage with ? should not be marked as miss
2017-09-13 13:38:14 -04:00
Armen Zambrano G
9e81c7b953
feat: show code coverage information for a changeset
...
We can now fetch data from shipit-uplift:
https://uplift.shipit.staging.mozilla-releng.net/coverage/changeset/a2a1ce612e91893ee3bc4c93d2a63b210a954340
2017-09-13 13:38:14 -04:00
Armen Zambrano G
259aeb43d8
feat: link code coverage diff viewer
2017-09-07 11:51:52 -04:00
Armen Zambrano G
3a03220341
feat: Toggle between collapsed/hidden changesets in push
2017-09-07 11:43:18 -04:00
Armen Zambrano G
1a1e1458ed
chore: Switch to camel casing
2017-09-07 11:43:18 -04:00
Armen Zambrano G
9125a15a39
feat: Show all changesets within a push
2017-09-07 11:43:18 -04:00
Armen Zambrano G
8caddb2e31
feat: Add error message if it fails to fetch pushes
2017-09-07 11:43:18 -04:00
Armen Zambrano G
da37df27de
refactor: Remove info about special changeset
2017-09-07 11:43:18 -04:00
Armen Zambrano G
268e2eadee
fix: Show tip most changeset within a series of changesets in a push
...
When showing the list of changes we were showing the oldest changeset within a push
rather than the most recent.
Do not show pushes commited by 'ffxbld' as it never changes code coverage.
Use JavaScript destructuring to make code cleaner.
2017-09-07 11:43:18 -04:00
Armen Zambrano G
c1b384f715
Re-organize project into various directories
2017-09-05 14:22:44 -04:00
Armen Zambrano G
349ca03f9a
Changes to allow deployments via Heroku
...
Make neutrino a dependency for the project to enable Heroku deployments
2017-09-05 14:22:44 -04:00
Armen Zambrano G
30faa04abd
docs: Instructions to set up project
2017-09-05 11:46:11 -04:00
Armen Zambrano G
0107a1fc3a
Use HashRouter instead of BrowserRouter
...
Typing changeset/<changeset_id> was not working because dynamic routing
can only happen if we have first loaded index.js
Using hashHistory (HashRouter) instead of browserHistory (BrowserRouter)
solves this problem by inserting a # in every URL and using the hash portion of the URL.
Read https://stackoverflow.com/a/36623117 to understand more.
2017-08-24 16:30:18 -04:00
Armen Zambrano G
90849241e7
Display most recent pushes
2017-08-24 16:30:18 -04:00
Armen Zambrano G
c2cbb25b36
parse-diff is not only a development dependency
2017-08-24 16:30:18 -04:00
Armen Zambrano G
6312ccce2d
Form to submit changeset and routing support
2017-08-24 16:30:18 -04:00
Armen Zambrano G
feb7eaef9a
Add form-serialize dependency
2017-08-24 16:30:18 -04:00
Armen Zambrano G
037b7d0921
Create landing page and routing
2017-08-24 16:30:18 -04:00
Armen Zambrano G
bdbd712009
Add React Router
2017-08-24 16:30:18 -04:00
Armen Zambrano G
48c8102763
File summary header + code coverage placeholder
2017-08-24 16:30:18 -04:00
Armen Zambrano G
67b7f7c6ba
Show missing coverage and improved style & line numbers
2017-08-24 16:30:18 -04:00
Armen Zambrano G
c9ed40a8f0
Overlay code coverage data, layout and style changes
2017-08-15 14:42:52 -04:00
Armen Zambrano G
3c9ebfc312
Fetch changeset on the fly
2017-08-02 16:21:29 -04:00
Armen Zambrano G
a659ea1d18
Adjust style for diff viewer
...
span tags within div blocks of the 'chunk' block needs their own CSS.
padding and margin adjustments.
Comment out CSS that does not apply to current implementation.
2017-08-02 16:21:29 -04:00
Armen Zambrano G
fe6a0eae1d
Adding style-gitweb.css
2017-08-02 16:21:29 -04:00
Armen Zambrano G
6e6a2e5344
Initial diff viewer
2017-08-02 16:21:29 -04:00
Armen Zambrano G
355d3f8e65
Bootstrap project with Neutrino
...
I followed the steps in https://www.npmjs.com/package/neutrino-preset-react
to get all the node modules needed to write a react app.
2017-08-02 16:21:29 -04:00
Armen Zambrano
e92b349fe5
Create README.md
2017-07-24 14:51:12 -04:00
Armen Zambrano G
010cf91222
Support for gh-pages.
...
Use `npm run deploy` to commit changes to the gh-pages branch
2017-07-19 17:08:32 -04:00
Armen Zambrano G
f630378363
Hello world React page
2017-07-19 16:40:13 -04:00
Armen Zambrano G
8a7c9f5b86
Track package.json and yarn.lock
2017-07-19 15:07:14 -04:00
Armen Zambrano G
bcdadea9da
Bootstrap project with Neutrino
...
I followed the steps in https://www.npmjs.com/package/neutrino-preset-react
to get all the node modules needed to write a react app.
2017-07-19 15:02:06 -04:00
Armen Zambrano
05cb65df06
Initial commit
2017-07-19 12:44:33 -04:00