-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Switch to SCSS #1805
Switch to SCSS #1805
Conversation
@skjnldsv, thanks for your PR! By analyzing the history of the files in this pull request, we identified @nickvergessen, @bartv2 and @owncloud-bot to be potential reviewers. |
@@ -0,0 +1,113 @@ | |||
<?php | |||
/** | |||
* @copyright Copyright (c) 2016, nextCloud, Inc. |
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.
Nope, the copyright belongs to you ;)
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.
Well, if you insist! :3
} | ||
} | ||
|
||
?> |
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.
No need to close this here - just remove this. This also reduces possible issues with whitespace after the closing tag that cause a different output to the browser.
Please use the AppData to store stuff. Don't go writing into folders. |
So store in AppData and use PHP to serve and set proper caching headers? We can't assume that assets is writable at the moment :) |
@LukasReschke exactly |
Sure! No problem! 😃 |
* | ||
* @author John Molakvoæ <skjnldsv@protonmail.com> | ||
* | ||
* @license AGPL-3.0 |
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.
Can you use the header from https://github.com/nextcloud/server/blob/master/contribute/HowToApplyALicense.md#how-to-apply-a-license ?
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.
Of course! 😃
width: 90%; | ||
} | ||
|
||
.ui-autocomplete { |
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.
@jancborchardt why don't we have a global definition for this? Shouldn't the dropdown use select2? :)
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.
Opened a separate issue about that at #1831 ;)
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.
🎩
Btw @skjnldsv while we rewrite the whole file to new syntax and all the author info is lost, we should probably add the copyright headers at this point to each file. :) |
NO! NO COPIRIT FOR U! Yeah, I saw that. I will readd all the copyright after with a unified header so it looks good 😉 |
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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.
@nickvergessen why the extra space here?
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.
I copied the header from https://github.com/nextcloud/server/blob/master/contribute/HowToApplyALicense.md
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.
😆
ed745d2
to
d7902cb
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
…o core Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv what is the progress here? Any chance of breaking it up into smaller PR's As reviewing 1800 lines is kind of a pain. |
No chance at all! 😂 😂 The best way to check this pr i think will be to check the validity of the generated css, and then explore your nextcloud installation looking for mistakes (which I already did and try to check everytime I make a small change) 😕 Concerning the progress, It's going fast I think. I'm almost done converting, and the next big thing will be the appdata integration (see original issue) |
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@rullzer @skjnldsv https://codeascraft.com/2015/02/02/transitioning-to-scss-at-scale/#scss-diff might be interesting to check if the resulting css code has fundamental changes. |
@juliushaertl Indeed! I wonder if I shouldn't listen to @rullzer and create separate commits. |
@skjnldsv Creating separate PRs should not be that hard, just create a new branch and cherry pick the commits you need from this one. |
@skjnldsv Is this still needed? |
@MorrisJobke probably not! |
This is related to #1786
Please only use this pr to discuss issues or comments about its commits.
For arguing and/or ask question, go to the issue.