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

Drop preset styles from db #848

Merged
merged 1 commit into from
Jan 25, 2023
Merged

Drop preset styles from db #848

merged 1 commit into from
Jan 25, 2023

Conversation

TrySound
Copy link
Member

After discussing with @kof figured we do not need to store preset styles in db as after sdk upgrade components may still break.

Sdk versioning along with its hardcoded values will solve the problem better.

Code Review

  • hi @kof, I need you to do
    • conceptual review (architecture, feature-correctness)
    • detailed review (read every line)
    • test it on preview

Before requesting a review

  • made a self-review
  • added inline comments where things may be not obvious (the "why", not "what")

Before merging

  • tested locally and on preview environment (preview dev login: 5de6)
  • updated test cases document
  • added tests
  • if any new env variables are added, added them to .env.example and the designer/env-check.js if mandatory

@TrySound TrySound requested a review from kof January 25, 2023 14:34
@vercel
Copy link

vercel bot commented Jan 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
oss-webstudio-designer ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 25, 2023 at 2:41PM (UTC)
webstudio-designer ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 25, 2023 at 2:41PM (UTC)

After discussing with @kof figured we do not need to store
preset styles in db as after sdk upgrade components may still break.

Sdk versioning along with its hardcoded values will solve the problem
better.
@vercel vercel bot temporarily deployed to Preview – webstudio-designer January 25, 2023 14:36 Inactive
@vercel vercel bot temporarily deployed to Preview – webstudio-designer January 25, 2023 14:40 Inactive
@vercel vercel bot temporarily deployed to Preview – oss-webstudio-designer January 25, 2023 14:41 Inactive
@TrySound TrySound merged commit aba909a into main Jan 25, 2023
@TrySound TrySound deleted the drop-preset-styles branch January 25, 2023 15:55
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