Giter Club home page Giter Club logo

addon-github-pages's People

Contributors

jacegu avatar sbastn avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

addon-github-pages's Issues

Configure www subdomain

Mostly for consistency across connectors (the Heroku add-on does it).

It should simply add a CNAME for the www subdomain pointing to the apex.

Handle existing records on APEX and www subodmain

Right now if a record (that is not there because of the 1 click service) is present on the root domain, the connection will fail. The same thing will happen with the wwwsubdomain once we start adding the CNAME record.

We have to decide what to do about it.

Implement edit/update

Right now create and delete are supported, but updating a connection (for example, changing the domain pointing at a repo) are not.

Add a preview step

Discussing the addon UX with @sbastn we talked about how the experience should be given that we are handling a file on behalf of the customer. There are two scenarios:

  • The customer doesn't have a CNAME file, so we create it.
  • The customer has a CNAME file, so we modify it.

We agreed that we should show the contents of the CNAME file before overwriting it (because we don't want to overwrite a file without warning).

My plan is to add a confirmation step before actually creating the connection when we detect there is a CNAME file in the user's repo. This step will display the current content and the future content as if it were a GitHub diff (@sbastn's words).

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.