Skip to content

Url encode svg and ship it#691

Merged
skjnldsv merged 1 commit intomasterfrom
fix/styling-icons
Oct 28, 2022
Merged

Url encode svg and ship it#691
skjnldsv merged 1 commit intomasterfrom
fix/styling-icons

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

```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.

3 participants