-
Notifications
You must be signed in to change notification settings - Fork 4
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
Install the styleguide module #3
Comments
I believed we're talking about this module. https://github.com/benmanu/silverstripe-styleguide |
Made up some ACs and added an overview |
https://github.com/benmanu/silverstripe-simple-styleguide looks like it's more recent and better supported. |
Done. I've moved to peer review. We'll need to add a menu entry for it, because the guide is on its own controller. Couple extra point we might want to consider:
|
Yeah, nah. |
Moving to content for the menu entry to be added. |
@bergice Looks OK, but since the styling wasn't shown in the actual container of the theme, it looked quite off - no left padding, and some styles only apply within that container. I've spent five minutes to fix this, can you please review? silverstripe/bambusa-installer#25 |
@clarkepaul @Karlstir Probably not super obvious unless you hit the module README - the styleguide is accessible through the I've added an intro to make the intent of this page a bit clearer:
@maxime-rainville @bergice You've both missed that there's a |
Looks good. I'm guessing you want this merged in |
That's added to the PR's. |
No, since the theme doesn't require the style guide, the "app" does ( |
That's a blocker now, unless we run a fork. The module isn't operational in the way we need it to be without this in place, right? |
We could just extend that class and run our own |
I'm moving this to block since we're waiting for the module maintainer to action our pull requests. If we get to the end of the project and they still haven't approved our PRs we can look at ways of bypassing those issues. |
@silverstripeux This is on UAT now: http://bambusad-uat.sites.silverstripe.com/styleguide/. Had a quick check and the styleguide looks OK to me, but you might be able to spot more issues with your eagle design eyes 🦅 |
Installation of the module is fine and I've added some links to it from various places with the content:
There are still styling issues still with spacing and image alignment but they are outside of this issue. |
As we don't have a good view of all the produced styles of the theme, installing this module might be able to help us identify which styles are not working properly.
My alternative to the style guide would be to create a test page with raw bootstrap example code to see how it generates. If the style guide is fairly automatic (?) then that would be my preference.
cc @chillu
Overview
Acceptance Criteria
Notes
Pull requests
Update SimpleStyleguideController to use dynamic asset url resolution benmanu/silverstripe-simple-styleguide#11 (Patch against the original module ... nice to have, but not essential)Addrequires_dev
config benmanu/silverstripe-simple-styleguide#12 add dev toggleDo not require dev mode for styleguide bambusa-installer#26 disable dev requireFIX Don't use actual page instance benmanu/silverstripe-simple-styleguide#13The text was updated successfully, but these errors were encountered: