Conversation
See the working example for Flexbug#2 in GitHub pages here: https://akaustav.github.io/flexbugs/#flexbug-2 Before (from README.md on GitHub):After (from GitHub pages): |
Hey @akaustav, thanks for taking this on, and sorry for the slow reply! A couple of initial comments:
|
Hi @philipwalton,
|
I was not concerned about that, I was concerned that an existing link on the internet (e.g. My other concern is that there'd start to become two URLs for the same bug, e.g.:
I think this is a problem because if then (in the future) we decide to move off of GitHub pages, then the link in the second bullet above would break. My preference is if the README continues to be the only "landing" page for the list of links, but I think it's fine if where the demos are hosted changes from time to time (hopefully not too much). I don't have a strong preference between GitHub pages and Glitch, but if we land on using GitHub pages I think I'd prefer that the index page not be just another version of the README. Do you know if that's possible? If it can just link back to the README or display a table of contents for each of the demos that would be my preference. |
pardon my ignorance, but isn't glitch another remote hosted service, like codepen? If that's the case, we're kind of at their mercy to continue supporting ie on their site right? |
@mreinstein the part of CodePen that no longer supports IE 11 is their interactive viewer/editor. I was thinking we could use Glitch purely to host the demos, but I guess that's not really much different that using CodePen's debug view, e.g. here's Flexbug 1.1.a in debug mode (which works fine in IE 11): I suppose another options would be to just link to both the interactive CodePen view and the debug view (for IE 11). What do people think of that? |
Thanks for clarifying! I'm hopeful as time progresses, the number of active flexbugs across browsers will continue to drop. Ideally at some point all that's left is ie related issues. Assuming that happens, I think the biggest problem to solve is how to make this content viewable for a long time. Being able to view these bugs in pages that still work in old browsers, and not having them hosted on an external resource are 2 things I think help preserve the viewability of this content. For me, the inability to live modify examples while viewing ie is an acceptable tradeoff. |
@philipwalton - CodePen's debug view requires you to create accounts - and cannot be viewed anonymously. In one of the proposed solutions on issue #274, I mentioned to do the debug mode after creating an account/logging into CodePen. I see the following when I visit the above URL anonymously (in Chrome Incognito mode): |
@philipwalton / @mreinstein: |
@philipwalton Now that we have established that codepen and Glitch might not work for rendering these bug examples and workarounds on Internet Explorer (because these websites have limited or no support for Internet Explorer), I have made the following changes in order to proceed with hosting on GitHub pages:
Once you confirm that these changes satisfy your requirements, I can change all instances of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that sounds good to me. I agree that since CodePen debug mode still requires an account, it's not a good solution.
Everything looks good so far, I commented on a few minor things, but I think this direction is the right way to go, so thanks again for working on it!
@philipwalton: I apologize, it took longer than I anticipated, but I have finally converted all 17 example bugs and their workarounds into gh-pages. Do you wish to take a final look before I merge this PR into the To Do
|
@philipwalton, need your help with this. Please advise. |
Hey @akaustav, thanks! I've blocked out some time to take a look at this tomorrow. I'll get back to you after that. |
I went through a few of the demos (randomly) and they all look good. I didn't notice anything that is different from the existing demos, so I think it's fine to move forward. If there's anything small that's incorrect, we can always fix it in the future (I'll keep my CodePen demos up for a while). Also, feel free to add your name to the repo as a maintainer. You deserve credit for all the work you've put into this!
Hmm, not sure if that's a permission I can give you (it doesn't look like there's a higher role than "collaborator" for personal repos), but happy to make the change myself. |
@akaustav thank you so much for all of this hard work! People like you are what make open source awesome to work with! :) |
Thanks for reviewing this PR and the demo.
How do I add myself as a repo maintainer?
I just read thru the GitHub docs around Permission levels for a user account repository. I'll let you decide what the best course of action is. The following rules apply to this repository owned by your user account (rules differ for repos belonging to organizations/teams/enterprise):
I appreciate the kind words, @philipwalton. |
I just meant feel free to list yourself here (if you're comfortable with that):
Hmmm, if there can only be one owner, then I'll probably keep it as is right now. But if it becomes the case that you're constantly needing to ping me for approvals to change settings like this, then I'll certainly consider transferring at that point. |
@philipwalton Also, do you think it is a good idea to keep a backup of the original README.md file with links to codepen.io (perhaps inside a backup folder - like: |
I think it's fine to just keep what's already in the git history. |
@philipwalton Added myself to list of maintainers. If you don't mind quickly checking if the change is fine, then I can go ahead and merge this PR. |
ASIDE @akaustav thanks for tackling this stuff. I've been slammed with other work and unfortunately this has taken a back seat. As always, @philipwalton thanks for keeping the lights on :) |
LGTM, thanks so much! Feel free to merge yourself if you're ready. |
Alright, @philipwalton, I am merging this PR now. |
OK, I turned on GitHub Pages. Everything seems to be working great! Thanks again @akaustav! |
Fixes #274. Code reviews welcomed.