Skip to content
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

How to skin the application is not clear #115

Closed
Fryguy opened this issue Sep 6, 2016 · 13 comments
Closed

How to skin the application is not clear #115

Fryguy opened this issue Sep 6, 2016 · 13 comments

Comments

@Fryguy
Copy link
Member

Fryguy commented Sep 6, 2016

Previously, if someone dropped files into the skin directory, those files would be used for images and text. Now, I believe the place is assets (even though I search the code and I still see skin)? I'm a little confused what is the right way to skin the application.

So this is a request for some documentation in the README on how to skin the application, and perhaps a set of tests that validate that if a file is placed in a particular place, then it is actually used (and thus the test serves as an example as well)

@Fryguy
Copy link
Member Author

Fryguy commented Sep 6, 2016

@epwinchell
Copy link
Contributor

cc @himdel

@himdel
Copy link
Contributor

himdel commented Sep 6, 2016

OK, so, the skinning still works :)

Except that the devel-mode server serves images from client/images and not from .tmp/images where the build process puts them :). Still an issue, but doing gulp build and loading localhost:3000/self_service via Rails does give you the right image..

EDIT: aand fixed in #116

(The issue that this is not documented still remains...)

@chriskacerguis
Copy link
Contributor

@himdel Can you please create the docs for this?

@himdel
Copy link
Contributor

himdel commented Sep 27, 2016

BTW @chriskacerguis , when I do the docs, I was thinking, maybe it'd be useful for SUI to actually contain a sample theme directory, and maybe even a test that tries to use the theme and validates it applied (although not sure such a test can be done within the realm of our testing framework (all that linking the theme in..), so not promising anything :) ).

What do you think? Would a sample theme make sense in the repo?

@chriskacerguis
Copy link
Contributor

@himdel I think that is an AWESOME idea. I agree with the testing part, however @chalettu is working on setting up some better testing (https://saucelabs.com) so maybe after you get a sample theme, you could work with him with the testing ideas.

@himdel
Copy link
Contributor

himdel commented Sep 27, 2016

Hehe, thanks 🙇 :) Allright, will do :)

@serenamarie125
Copy link

what do you mean by theme @himdel ?

I'd imagine that any rebranding that occurs for the Operations UI should be applied to the SSUI as well. We should discuss this from a UX perspective and make sure that the experience is correct.

@himdel
Copy link
Contributor

himdel commented Oct 5, 2016

@serenamarie125 Aah, by theme I mean specifically skin - a set of images, additional css files, and js text overrides that can be pulled in to rebrand SSUI..

@serenamarie125
Copy link

👍 @himdel . FYI just sent out another email asking PM about requirements per branding as well. Thanks for the clarification here!

@himdel
Copy link
Contributor

himdel commented Oct 6, 2016

Created a PR with a sample skin documenting how it works, I'll pick the README to ManageIQ/guides too, once merged.

@epwinchell
Copy link
Contributor

@himdel Thanks. I'll have a go at it when I have a chance.

@himdel
Copy link
Contributor

himdel commented Oct 10, 2016

guides pr ManageIQ/guides#160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants