-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation from private GH back to App Bug #76
Comments
Root cause of issue: Line 53 in a2c4235
|
I'm not super familiar with Electron, but would there be a way to get an environment variable to be used here instead? |
@PseudoCoding Hey man. Thanks for reporting the issue! I'd not thought of this scenario, I've never used a different Github instance and not familiar with the concept. Is it privately hosted? Does it just mean that your repo(s) have an alternative URL? Since you are seeing the repos and PRs in Pullp, they must still be accessible via the standard Github API. Not sure whether there's a way to do something cleverer with how Electron handles the redirect so that we don't need to rely on the I'm currently doing a major re-write of Pullp but could try to add a quick bug fix for this to the current build once I understand more :) |
I've used a self hosted github in a previous job, it's running on your own server and can have any DNS you chose. Maybe add an option to specify the hostname in preferences? |
I am considering adding a parameter to all the repo/pull request URLs which I should be able to identify with Electron, and then open that URL in a separate browser. Something like:
That way there is no config needed! |
Slight aside... TBH its was really easy to get setup on a private instance. Here's what had to be done:
All other steps were exactly as is in the ReadMe just using our private instance instead. |
No rush on getting the fix. I'll be running the application from source anyways due to the config value changes that were needed to connect to Gatekeeper. Since you're doing a rewrite, it might be a good idea to allow the connection settings to be setup through the app similar to GitHub Desktop. |
@PseudoCoding Cool I didn't realise you were running it from source! Glad you found a way to get it up and running without too many issues. I understand better how your API calls are working now. I'm going to re-classify this as an enhancement and pick it up further down the line. |
Navigation for returning from a PR tries to open in app instead of browser when hooked up to different GitHub instance than github.com.
Your Version of Pullp
1.0.5
Your OS
macOS 10.13.6
Expected Behavior
Open the PR in a browser
Current Behavior
When clicking on a PR, PR renders inside of app, but there is no way to navigate back to the dashboard.
Steps to Reproduce (for bugs)
Console Errors
N/A
The text was updated successfully, but these errors were encountered: