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

feat: update space skins settings #497

Merged
merged 9 commits into from
Feb 7, 2025
Merged

Conversation

wa0x6e
Copy link
Contributor

@wa0x6e wa0x6e commented Feb 3, 2025

Toward https://github.com/snapshot-labs/workflow/issues/418
Depends on snapshot-labs/snapshot.js#1119

This PR will add support for updating the skins table when colors are passed in the space settings payload, only for whitelabel spaces

  • When skinParams is missing, will not do anything on the skins
  • When passed, will creates or update the existing skin

When some skin properties are skipped, it will fallback to null, and will delete existing value

@wa0x6e wa0x6e force-pushed the feat-update-space-skin-settings branch from 179a761 to 53a1a2d Compare February 4, 2025 16:41
@wa0x6e wa0x6e force-pushed the feat-update-space-skin-settings branch from 53a1a2d to 88342aa Compare February 4, 2025 17:06
@wa0x6e wa0x6e marked this pull request as ready for review February 4, 2025 17:07
@ChaituVR
Copy link
Member

ChaituVR commented Feb 5, 2025

we handle these on #498 right? we can close this maybe?

@wa0x6e
Copy link
Contributor Author

wa0x6e commented Feb 5, 2025

we handle these on #498 right? we can close this maybe?

The other one is for adding a the custom logo only. The list of changed files will update once this one is merged into master

Copy link
Member

@ChaituVR ChaituVR left a comment

Choose a reason for hiding this comment

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

tAck

except not sure about domain field (above comment)

@wa0x6e wa0x6e merged commit 84721fb into master Feb 7, 2025
2 checks passed
@wa0x6e wa0x6e deleted the feat-update-space-skin-settings branch February 7, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants