Gap between the scss/css file's

Hi All, I see a gap between scss and css always in the upstream code. For sure during the development we always re-compile and get the latest style sheets. My suggestion would be whenever there is a change in the scss file's request to upstream, will it be good idea to ask developer who want scss changes to upstream push corresponding css file changes too ie re-compiled code ? This will some times eliminate the gap between the css and scss files, which I suppose mostly taken care by the maintainer at present ? Just a thought, let me know your views on this !!! Thanks and Regards Chandra

Hi Chandra, Yeap! While doing UI development, the developer needs to make sure the CSS file is updated according to changes on SCSS. There is a guide at https://github.com/kimchi-project/wok/wiki/How-to-Contribute#ui-development for more details. Today, I don't see any gap between CSS and SCSS on upstream branches for Kimchi and Wok so we don't need to take any action on that. Regards, Aline Manera On 03/18/2016 08:20 AM, Chandra Shekhar Reddy Potula wrote:
Hi All,
I see a gap between scss and css always in the upstream code. For sure during the development we always re-compile and get the latest style sheets.
My suggestion would be whenever there is a change in the scss file's request to upstream, will it be good idea to ask developer who want scss changes to upstream push corresponding css file changes too ie re-compiled code ?
This will some times eliminate the gap between the css and scss files, which I suppose mostly taken care by the maintainer at present ?
Just a thought, let me know your views on this !!!
Thanks and Regards Chandra
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel

Hi team, Sometimes when we change the SCSS files the CSS output will be exactly the same. I can't recall exactly when, but there were some occasions that I had to reorganize the SCSS files or remove a static color or font variable and then replaced it with a variable in _wok-variables.scss. There's also the possibility that python-libsass is running different versions from distro to distro and generating different selectors, although this won't change anything in the CSS except for readability. For example: #guest-edit-window #form-guest-edit-general #guest-edit-memory-textbox, #guest-edit-window #form-guest-edit-general #guest-show-max-memory, #guest-edit-window #form-guest-edit-general #guest-edit-cores-textbox, #guest-edit-window #form-guest-edit-general #guest-show-max-processor { display: inline-block; } Sometimes is generated like this: #guest-edit-window #form-guest-edit-general #guest-edit-memory-textbox, #guest-edit-window #form-guest-edit-general #guest-show-max-memory, #guest-edit-window #form-guest-edit-general #guest-edit-cores-textbox, #guest-edit-window #form-guest-edit-general #guest-show-max-processor { display: inline-block; } I suggest we look for updates in Libsass (pip install --upgrade libsass) before running any major change in the CSS files to avoid this. Regards, Samuel -----Original Message----- From: kimchi-devel-bounces@ovirt.org [mailto:kimchi-devel-bounces@ovirt.org] On Behalf Of Aline Manera Sent: sexta-feira, 18 de março de 2016 10:59 To: Chandra Shekhar Reddy Potula <chandra@linux.vnet.ibm.com>; ginger-dev-list@googlegroups.com; kimchi-devel@ovirt.org Subject: Re: [Kimchi-devel] Gap between the scss/css file's Hi Chandra, Yeap! While doing UI development, the developer needs to make sure the CSS file is updated according to changes on SCSS. There is a guide at https://github.com/kimchi-project/wok/wiki/How-to-Contribute#ui-development for more details. Today, I don't see any gap between CSS and SCSS on upstream branches for Kimchi and Wok so we don't need to take any action on that. Regards, Aline Manera On 03/18/2016 08:20 AM, Chandra Shekhar Reddy Potula wrote:
Hi All,
I see a gap between scss and css always in the upstream code. For sure during the development we always re-compile and get the latest style sheets.
My suggestion would be whenever there is a change in the scss file's request to upstream, will it be good idea to ask developer who want scss changes to upstream push corresponding css file changes too ie re-compiled code ?
This will some times eliminate the gap between the css and scss files, which I suppose mostly taken care by the maintainer at present ?
Just a thought, let me know your views on this !!!
Thanks and Regards Chandra
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel

Hi, Like I've said before on Kimchi dev-list, specially regarding plugin development: Sometimes when we change the SCSS files the CSS output will be exactly the
same. I can't recall exactly when, but there were some occasions that I had to reorganize the SCSS files or remove a static color or font variable and then replaced it with a variable in _wok-variables.scss. There's also the possibility that python-libsass is running different versions from distro to distro and generating different selectors, although this won't change anything in the CSS except for readability. For example: #guest-edit-window #form-guest-edit-general #guest-edit-memory-textbox, #guest-edit-window #form-guest-edit-general #guest-show-max-memory, #guest-edit-window #form-guest-edit-general #guest-edit-cores-textbox, #guest-edit-window #form-guest-edit-general #guest-show-max-processor { display: inline-block; } Sometimes is generated like this: #guest-edit-window #form-guest-edit-general #guest-edit-memory-textbox, #guest-edit-window #form-guest-edit-general #guest-show-max-memory, #guest-edit-window #form-guest-edit-general #guest-edit-cores-textbox, #guest-edit-window #form-guest-edit-general #guest-show-max-processor { display: inline-block; } I suggest we look for updates in Libsass (pip install --upgrade libsass) before running any major change in the CSS files to avoid this.
Right now the only "gap" I see with Ginger is that the Typeahead CSS section used in Sysmodules is duplicated from wok.css. In these very rare occasions that a new widget is introduced due to a new feature in a plugin and then in the next release another feature in a different plugin has the same use case that requires this new widget, I suggest we send a patch to Wok adding the new SCSS / CSS and JS lines and after and only after these new styles and scripts are applied to Wok we remove them from Ginger (or any other plugin for that matter). Regards, Samuel Em sexta-feira, 18 de março de 2016 08:21:10 UTC-3, Chandra Shekhar Reddy Potula escreveu:
Hi All,
I see a gap between scss and css always in the upstream code. For sure during the development we always re-compile and get the latest style sheets.
My suggestion would be whenever there is a change in the scss file's request to upstream, will it be good idea to ask developer who want scss changes to upstream push corresponding css file changes too ie re-compiled code ?
This will some times eliminate the gap between the css and scss files, which I suppose mostly taken care by the maintainer at present ?
Just a thought, let me know your views on this !!!
Thanks and Regards Chandra
participants (4)
-
Aline Manera
-
Chandra Shekhar Reddy Potula
-
Samuel Henrique De Oliveira Guimaraes
-
sguimaraes943@gmail.com