Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Refactored block table with structure field #3411

Merged

Conversation

afbora
Copy link
Member

@afbora afbora commented Jun 8, 2021

Describe the PR

I moved the common methods used by the structure field and the table block into mixins (/mixins/forms/structure.js)

Note: Moved changes from #3339 I made the changes according to the develop branch in #3339. I corrected a few minor updates in this PR.

Release notes

Fixes

  • Fixed width prop of columns in table block preview
  • Fixed preview output in table block preview

Refactoring

  • Table block and structure field refactored to display properly in block table

Breaking changes

None

Related issues/ideas

Ready?

  • Unit tests for fixed bug/feature
  • In-code documentation (wherever needed)
  • CI checks pass

When merging

@afbora afbora added this to the 3.5.7 milestone Jun 8, 2021
@afbora afbora requested a review from a team June 8, 2021 12:01
@afbora afbora self-assigned this Jun 8, 2021
@bastianallgeier bastianallgeier merged commit ea5a096 into release/3.5.7 Jun 9, 2021
@bastianallgeier bastianallgeier deleted the fix/3323-refactor-block-table-and-structure branch June 9, 2021 09:32
@lukasbestle lukasbestle mentioned this pull request Jul 2, 2021
4 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Table block: writer field output in preview not correct Table block: width in columns property ignored
2 participants