-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: add support for new skin logo in space settings #498
Conversation
…pshot-labs/snapshot-sequencer into feat-add-logo-to-custom-skin
src/helpers/actions.ts
Outdated
]); | ||
|
||
await addOrUpdateSkin(id, settings.skinParams); |
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.
Not sure if it is good to call addOrUpdateSkin
inside addOrUpdateSpace
, maybe we should just call it after addOrUpdateSpace
everywhere
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.
addOrUpdateSkin
is dependent of the addOrUpdateSpace
, and will never be called without it. Why would making an extra call everywhere better ?
I ran this on prod DB and testnet DB ALTER TABLE skins
ADD COLUMN logo VARCHAR(256) DEFAULT NULL AFTER theme; |
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.
utAck
Is the new column added to the table ? |
Yes ser #498 (comment) |
Toward https://github.com/snapshot-labs/workflow/issues/416
Depends on snapshot-labs/snapshot.js#1120
This PR adds support for saving and updating the logo passed in
skinParams
Create the new required columns with