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

Url encode svg and ship it #691

Merged
merged 1 commit into from
Oct 28, 2022
Merged

Url encode svg and ship it #691

merged 1 commit into from
Oct 28, 2022

Conversation

skjnldsv
Copy link
Contributor

Found when checking the server's css.
We do not import or copy the assets, which means we're just importing the css without any changes to the url resolving
https://github.com/nextcloud/server/blob/99191167167dd6c98dc3ae9b0eca947526e7939f/core/css/server.scss#L10

By encoding this, we're making sure every release here will works out of the box

@@ -16,7 +16,7 @@ npm i -S @nextcloud/dialogs

```js
import { showMessage, showInfo, showSuccess, showWarning, showError } from '@nextcloud/dialogs'
import '@nextcloud/dialogs/styles/toast.scss'
import '@nextcloud/dialogs/dist/index.css'
Copy link
Contributor

Choose a reason for hiding this comment

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

🙈

Break all the apps!

Bump major version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, will be a major

@skjnldsv skjnldsv added this to the 4.0.0 milestone Oct 28, 2022
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Copy link
Contributor

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

🐘

@skjnldsv skjnldsv merged commit 10592aa into master Oct 28, 2022
@skjnldsv skjnldsv deleted the fix/styling-icons branch October 28, 2022 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants