Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix table header seperator wrapping#45565

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@alamirault
Copy link
Contributor

@alamiraultalamirault commentedFeb 26, 2022
edited
Loading

QA
Branch?5.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#45520
LicenseMIT
Doc PR

Before PR, a new seperator is added foreach split line in header

$table =newTable();$table            ->setHeaders([                ['Publication','Very long header with a lot of information',                ],            ])            ->setRows([                ['1954','The Lord of the Rings, by J.R.R. Tolkien',                ],            ])            ->setColumnMaxWidth(1,30);

Before PR:

image

After PR
image

(Fabbot cannot be green (break unit tests))

Kocal reacted with eyes emoji
@carsonbotcarsonbot added this to the6.1 milestoneFeb 26, 2022
@alamiraultalamirault changed the titleFix table header seperator wrapping[Console] Fix table header seperator wrappingFeb 26, 2022
@alamiraultalamirault changed the base branch from6.1 to5.4February 26, 2022 13:35
@alamiraultalamiraultforce-pushed thefix-table-header-seperator-wrapping branch from86c31d2 to9ee4440CompareFebruary 26, 2022 13:40
@carsonbot
Copy link

Hey!

I think@a1812 has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@alamirault
Copy link
ContributorAuthor

Any feedback on this PR will be appreciated. Thanks

Copy link
Member

@chalasrchalasr left a comment

Choose a reason for hiding this comment

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

Looks good to me, just some minor comments.
I think the bug exists on 4.4 as well, can you confirm and rebase if it's the case?

@carsonbotcarsonbot changed the title[Console] Fix table header seperator wrappingFix table header seperator wrappingApr 7, 2022
@alamiraultalamiraultforce-pushed thefix-table-header-seperator-wrapping branch from9ee4440 toebf38b1CompareApril 9, 2022 16:27
@alamiraultalamirault changed the base branch from5.4 to4.4April 9, 2022 16:28
@alamiraultalamirault requested a review fromchalasrApril 9, 2022 16:35
@fabpotfabpot modified the milestones:6.1,4.4Apr 9, 2022
@fabpot
Copy link
Member

Thank you@alamirault.

@fabpotfabpot merged commit69f7f6e intosymfony:4.4Apr 9, 2022
This was referencedApr 27, 2022
GromNaN added a commit to GromNaN/symfony that referenced this pull requestMay 9, 2022
nicolas-grekas added a commit that referenced this pull requestMay 10, 2022
This PR was merged into the 4.4 branch.Discussion----------[Console] Fix CS in Table class after#45565| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | no| New feature?  | no| Deprecations? | no| Tickets       | n/a| License       | MIT| Doc PR        | n/aIndentation issue introduced by [#45565](https://github.com/symfony/symfony/pull/45565/files#diff-879e34698fd4acc2bbbb1e2c9ca2f0daf8f499a1123e4c0fc58dc68895724a91R760-R764)Commits-------d3d72ae Fix CS in Console Table after#45565
nicolas-grekas added a commit that referenced this pull requestMay 10, 2022
* 4.4:  [Serializer] Fix AbstractObjectNormalizer not considering pseudo type false  [Serializer] Fix JsonSerializableNormalizer ignores circular reference handler in $context  [Serializer][PropertyInfo] Fix support for "false" built-in type on PHP 8.2  Fix CS in Console Table after#45565  fix italian translation for validators
nicolas-grekas added a commit that referenced this pull requestMay 10, 2022
* 5.4:  [Serializer] Fix AbstractObjectNormalizer not considering pseudo type false  [Serializer] Fix JsonSerializableNormalizer ignores circular reference handler in $context  [Serializer][PropertyInfo] Fix support for "false" built-in type on PHP 8.2  [ErrorHandler] Fix list of tentative return types  Fix CS in Console Table after#45565  Suppress unhandled error in some specific use-cases.  fix italian translation for validators
nicolas-grekas added a commit that referenced this pull requestMay 10, 2022
* 6.0:  [Serializer] Fix AbstractObjectNormalizer not considering pseudo type false  [Serializer] Fix JsonSerializableNormalizer ignores circular reference handler in $context  [Serializer][PropertyInfo] Fix support for "false" built-in type on PHP 8.2  [ErrorHandler] Fix list of tentative return types  Fix CS in Console Table after#45565  Suppress unhandled error in some specific use-cases.  fix italian translation for validators
@alamiraultalamirault deleted the fix-table-header-seperator-wrapping branchAugust 7, 2022 17:21
PhilETaylor pushed a commit to PhilETaylor/symfony that referenced this pull requestSep 6, 2023
* 5.4:  [Serializer] Fix AbstractObjectNormalizer not considering pseudo type false  [Serializer] Fix JsonSerializableNormalizer ignores circular reference handler in $context  [Serializer][PropertyInfo] Fix support for "false" built-in type on PHP 8.2  [ErrorHandler] Fix list of tentative return types  Fix CS in Console Table aftersymfony#45565  Suppress unhandled error in some specific use-cases.  fix italian translation for validators
PhilETaylor pushed a commit to PhilETaylor/symfony that referenced this pull requestSep 6, 2023
* 6.0:  [Serializer] Fix AbstractObjectNormalizer not considering pseudo type false  [Serializer] Fix JsonSerializableNormalizer ignores circular reference handler in $context  [Serializer][PropertyInfo] Fix support for "false" built-in type on PHP 8.2  [ErrorHandler] Fix list of tentative return types  Fix CS in Console Table aftersymfony#45565  Suppress unhandled error in some specific use-cases.  fix italian translation for validators
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

[Console] setColumnMaxWidth does not wrap header cells nicely

4 participants

@alamirault@carsonbot@fabpot@chalasr

[8]ページ先頭

©2009-2025 Movatter.jp