Code Monkey home page Code Monkey logo

Comments (4)

alexmdodge avatar alexmdodge commented on September 16, 2024

Definitely would be possible. I'd have to get my hands on the trial subscription to see what the DOM structure looks like. If they maintain parity between their UI then it would just be the work required to allow people to authorize their particular domain. When I get some time I'll look into what it would be like to get it working.

from github-diff-explorer.

alexmdodge avatar alexmdodge commented on September 16, 2024

@tomquist A little bit delayed but I've been making some upgrades lately and have had some thoughts around the best way to accomplish this.

There are generally a complications around adding broad permissions, and to support enterprise, they would have to be extremely broad to account for all potential hosting options. Instead I'm wondering if adding a generate approach where you can more easily build the extension locally and provide the custom URL of your enterprise instance would work better.

For instance I could provide something like the following:

npx github-diff-exporer generate --enterprise --host=custom.github.com

Assuming that all internal paths remain the same for any hosted instance, then that could be loaded locally and should work out of the box.

from github-diff-explorer.

tomquist avatar tomquist commented on September 16, 2024

@alexmdodge Would definitely be a solution, however not that convenient. The "Better Pull Requests for GitHub" extension works for GitHub enterprise too. I'm not an expert in chrome extensions but I think you could declare optional_permissions like they do and provide a button to request permission for accessing the page.

from github-diff-explorer.

alexmdodge avatar alexmdodge commented on September 16, 2024

@tomquist Thanks for the links, I'll check those out.

from github-diff-explorer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.