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

Document frontend sass compilation #35603

Merged
merged 1 commit into from
Dec 7, 2022
Merged

Conversation

ChristophWurst
Copy link
Member

Resolves: n/a

Summary

#32261 changes the compilation of styles but misses documentation for developers.

TODO

  • Document the changes

Checklist

[skipci]

Signed-off-by: Christoph Wurst <[email protected]>
@ChristophWurst ChristophWurst added the 3. to review Waiting for reviews label Dec 5, 2022
@ChristophWurst ChristophWurst added this to the Nextcloud 26 milestone Dec 5, 2022
@ChristophWurst ChristophWurst self-assigned this Dec 5, 2022
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

LGTM but should we also document npm run sass:icons somewhere?

@ChristophWurst
Copy link
Member Author

LGTM but should we also document npm run sass:icons somewhere?

I lack the knowledge to document what it does but makes sense to cover that as well if it's important for contributors.

@szaimen
Copy link
Contributor

szaimen commented Dec 5, 2022

I lack the knowledge to document what it does but makes sense to cover that as well if it's important for contributors.

I think it is important if you change some icons but probably makes sense to ask e.g. @skjnldsv for what it does in detail...

@skjnldsv
Copy link
Member

skjnldsv commented Dec 6, 2022

I think it is important if you change some icons but probably makes sense to ask e.g. @skjnldsv for what it does in detail...

It generate the mandatory legacy icons.css from https://github.com/nextcloud/server/blob/b9bbb25771fc704d0f5a9de7bc2ae0cae73cf81b/core/src/icons.js

@PVince81
Copy link
Member

PVince81 commented Dec 6, 2022

also when buildling for production, one also needs to run npm run sass && npm run sass:icons, otherwise the diff bot will complain

or is that not necessary any more ?

@skjnldsv
Copy link
Member

skjnldsv commented Dec 6, 2022

or is that not necessary any more ?

still is

@skjnldsv
Copy link
Member

skjnldsv commented Dec 6, 2022

#35622

@skjnldsv skjnldsv merged commit 744126a into master Dec 7, 2022
@skjnldsv skjnldsv deleted the doc/compile-frontend-styles branch December 7, 2022 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
Development

Successfully merging this pull request may close these issues.

5 participants