ghubber icon indicating copy to clipboard operation
ghubber copied to clipboard

Merge button for PR

Open ovr opened this issue 8 years ago • 11 comments

Hey!

We needed button for merge inside on PR page :)

THank

ovr avatar Oct 03 '17 20:10 ovr

Hey I would like to take this one, but before that, I have some issues with running your project on iOS simulator, I keep getting errors about wrong import paths, eg. you import something from 'actions', which is one folder up, so if I replace it with '../actions' it works, but I don;t want to do it for every import statement :) so how can I keep it as in your code but without errors? Thanks!

brascene avatar Oct 04 '17 06:10 brascene

@brascene did you start packer manually by npm run start instead of auto?

ovr avatar Oct 04 '17 06:10 ovr

@ovr no, I started it with react-native start

brascene avatar Oct 04 '17 07:10 brascene

@brascene please use npm run start & review https://github.com/ovr/ghubber#way-1

Thank

ovr avatar Oct 04 '17 07:10 ovr

@ovr thank you, I'll check it later today and start with button :) one quicky: what PR screen stands for?

brascene avatar Oct 04 '17 07:10 brascene

@brascene PR = Pull Request, you can open any pull request from the Feed (it's main screen after login)

ovr avatar Oct 04 '17 11:10 ovr

@ovr thanks, I was thinking maybe it's some shortcut for one of your components or screens. I've did what you said about running packager with npm run start, but now I receive another issue, and that is:

  • build has failed with this info: (The following build commands failed: PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images build/Build/Intermediates/ghubber.build/Debug-iphonesimulator/ghubber.build/Script-E8A627B61EE1AFDD00BF818A.sh (1 failure))
  • even though, application starts in the simulator, but with unhandled promise rejection: Invariant Violation: SideMenuDrawer.render(): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object. Any idea?

brascene avatar Oct 04 '17 22:10 brascene

build has failed with this info: (The following build commands failed: PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images build/Build/Intermediates/ghubber.build/Debug-iphonesimulator/ghubber.build/Script-E8A627B61EE1AFDD00BF818A.sh (1 failure))

You can ignore this error, it's not a problem

even though, application starts in the simulator, but with unhandled promise rejection: Invariant Violation: SideMenuDrawer.render(): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object. Any idea?

Looks like this problem comes in latest commits in master, I am going to fix it

ovr avatar Oct 05 '17 20:10 ovr

@brascene Problem was fixed in https://github.com/ovr/ghubber/commit/fd1eba9e968c8f524d33d3c1fcddd449de5de496 😸

ovr avatar Oct 05 '17 20:10 ovr

Great, finally can start adding that button xD So, where should this button be placed? Inside the PR list specific item, or after you open PR in another view? simulator screen shot oct 6 2017 11 11 00 am, simulator screen shot oct 6 2017 11 12 19 am

brascene avatar Oct 06 '17 09:10 brascene

After PR body & before reaction group

image

ovr avatar Oct 06 '17 09:10 ovr