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

Remove SCSSCacher and compile scss files with npm-sass #32261

Merged
merged 8 commits into from
May 13, 2022

Conversation

skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented May 4, 2022

Replace #31743

@skjnldsv skjnldsv added this to the Nextcloud 25 milestone May 4, 2022
@skjnldsv skjnldsv self-assigned this May 4, 2022
@CarlSchwan CarlSchwan mentioned this pull request May 4, 2022
2 tasks
@CarlSchwan
Copy link
Member

CarlSchwan commented May 5, 2022

To give a small performance overview in term of db requests

loading dashboard page:

  • before: 19
  • after: 12

loading photo page:

  • before: 34
  • after: 22

loading files page:

  • before: 31
  • after: 23

This is with a hot redis cache. With a cold cache before the numbers were always above 100 and after this patch: the number is almost the same with and without hot cache. So really nice improvement :)

core/css/functions.scss Outdated Show resolved Hide resolved
apps/theming/css/theming.css Show resolved Hide resolved
@PVince81
Copy link
Member

PVince81 commented May 5, 2022

@kesselb
Copy link
Contributor

kesselb commented May 6, 2022

cc @MorrisJobke as we talked about removing the scss cacher a while ago 😎

@skjnldsv skjnldsv mentioned this pull request May 10, 2022
5 tasks
@skjnldsv skjnldsv force-pushed the feat/remove-scss-support branch 2 times, most recently from 702d420 to cbbf192 Compare May 11, 2022 09:04
@skjnldsv skjnldsv added 3. to review Waiting for reviews and removed 2. developing Work in progress labels May 11, 2022
@skjnldsv skjnldsv requested review from nickvergessen, szaimen, come-nc, a team, artonge and vanpertsch and removed request for a team May 11, 2022 09:44
@skjnldsv skjnldsv force-pushed the feat/remove-scss-support branch from 0960be6 to ce39e3f Compare May 11, 2022 09:45
@skjnldsv skjnldsv requested a review from CarlSchwan May 11, 2022 15:11
@PVince81
Copy link
Member

cool!

so as I understand now there will be no more CSS or icon files in the appdata directory ?
if that's correct, do we need a migration routine to clean up those folders also ?

@skjnldsv
Copy link
Member Author

so as I understand now there will be no more CSS or icon files in the appdata directory ? if that's correct, do we need a migration routine to clean up those folders also ?

That is correct.
Good point, will do as a followup :)

@skjnldsv skjnldsv force-pushed the feat/remove-scss-support branch from ce39e3f to f4a6d3b Compare May 12, 2022 07:54
@PVince81

This comment was marked as resolved.

@skjnldsv skjnldsv requested a review from PVince81 May 12, 2022 09:23
@skjnldsv
Copy link
Member Author

Addressed @PVince81 :)
Also found some other fixups from Vanessa 🚀

@skjnldsv skjnldsv force-pushed the feat/remove-scss-support branch from 641e007 to 55534d5 Compare May 12, 2022 11:01
@nickvergessen
Copy link
Member

Conflicting files
core/css/toast.scss
dist/workflowengine-workflowengine.js
dist/workflowengine-workflowengine.js.map

Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 looks fine now

next up: adjust all apps we know of

@CarlSchwan
Copy link
Member

Tested again and works fine here :)

skjnldsv added 8 commits May 13, 2022 16:10
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels May 13, 2022
@skjnldsv skjnldsv force-pushed the feat/remove-scss-support branch from 55534d5 to 264adf0 Compare May 13, 2022 14:13
@skjnldsv
Copy link
Member Author

Rebased, ready to get in

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally looked at the full diff and made sure it works in every corner case like it should

@skjnldsv skjnldsv merged commit aff3740 into master May 13, 2022
@skjnldsv skjnldsv deleted the feat/remove-scss-support branch May 13, 2022 15:28
@szaimen
Copy link
Contributor

szaimen commented May 13, 2022

🎉🎉🎉🎉🎉

@MorrisJobke
Copy link
Member

Nice @skjnldsv! Thanks for moving this one forward 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish feature: theming performance 🚀 technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants