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

[Migration] Create blocks table for storing shared blocks #22418

Merged
merged 5 commits into from May 18, 2018

Conversation

balderdash
Copy link
Contributor

@balderdash balderdash requested a review from Hamms May 15, 2018 16:36
serialized_attrs %{
config
helperCode
}
Copy link
Contributor

Choose a reason for hiding this comment

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

what's the thinking behind making these properties and not columns?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's an excellent question, they're probably better off as columns.

@joshlory
Copy link
Contributor

@balderdash
Copy link
Contributor Author

@balderdash
Copy link
Contributor Author

@Hamms PTAL

Copy link
Contributor

@Hamms Hamms left a comment

Choose a reason for hiding this comment

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

One question, but generally LGTM!

# level_type :string(255)
# category :text(65535)
# config :text(65535)
# helper_code :text(65535)
Copy link
Contributor

Choose a reason for hiding this comment

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

what's helper_code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's extra javascript to be added to the helper library to support this block. E.g. if you add a block for setTint(color), this would be the definition of that function.

@balderdash balderdash merged commit 5511d15 into staging May 18, 2018
@balderdash balderdash deleted the block-pool-model branch May 18, 2018 23:54
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.

None yet

3 participants