Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Merge button for PR #52

Open
ovr opened this issue Oct 3, 2017 · 11 comments
Open

Merge button for PR #52

ovr opened this issue Oct 3, 2017 · 11 comments

Comments

@ovr
Copy link
Owner

ovr commented Oct 3, 2017

Hey!

We needed button for merge inside on PR page :)

THank

@brascene brascene mentioned this issue Oct 4, 2017
@brascene
Copy link

brascene commented Oct 4, 2017

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!

@ovr
Copy link
Owner Author

ovr commented Oct 4, 2017

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

@brascene
Copy link

brascene commented Oct 4, 2017

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

@ovr
Copy link
Owner Author

ovr commented Oct 4, 2017

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

Thank

@brascene
Copy link

brascene commented Oct 4, 2017

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

@ovr
Copy link
Owner Author

ovr commented Oct 4, 2017

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

@brascene
Copy link

brascene commented Oct 4, 2017

@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?

@ovr
Copy link
Owner Author

ovr commented Oct 5, 2017

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
Copy link
Owner Author

ovr commented Oct 5, 2017

@brascene Problem was fixed in fd1eba9 😸

@brascene
Copy link

brascene commented Oct 6, 2017

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

@ovr
Copy link
Owner Author

ovr commented Oct 6, 2017

After PR body & before reaction group

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants