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

Merge BS5 into Master #366

Merged
merged 76 commits into from
Apr 4, 2022
Merged

Merge BS5 into Master #366

merged 76 commits into from
Apr 4, 2022

Conversation

ndm2
Copy link
Collaborator

@ndm2 ndm2 commented Apr 3, 2022

No description provided.

ndm2 and others added 30 commits May 28, 2021 23:37
`sr-only` has been renamed to `visually-hidden`.
`data-toggle` has been renamed to `data-bs-toggle`.
`data-dismiss` has been renamed to `data-bs-dismiss`.
`.input-group-append` and `.input-group-prepend` have been removed,
addons now need to be placed on the same level as the inputs.
Labels now require a `form-label` class.
The `form-inline` class has been removed.
The `form-inline` class has been removed.
The `form-group` class has been removed.
It's more readable, and fixes CS line length violation.
Adapts HTML and CSS according to the updated Bootstrap 5.0 examples.
This is going to be in a new major, so we can break with the past.
ndm2 and others added 23 commits August 2, 2021 17:20
Adds `aria-required`, `aria-invalid`, and error element IDs for
compatibility with new ARIA attribute support added for CakePHP 4.3.

Also adds support for having the help element ID as well as the error
element ID set for `aria-describedby`. This helps to avoid losing the
association depending on a control's error state.
Mitigate potential XSS issue.

refs 6fe6ddb
This allows to configure spacing on a helper, form, as well control
basis.
@codecov
Copy link

codecov bot commented Apr 3, 2022

Codecov Report

Merging #366 (0352e06) into master (8fca5c2) will increase coverage by 0.02%.
The diff coverage is 99.66%.

@@             Coverage Diff              @@
##             master     #366      +/-   ##
============================================
+ Coverage     99.19%   99.22%   +0.02%     
- Complexity      335      360      +25     
============================================
  Files            20       21       +1     
  Lines           869     1027     +158     
============================================
+ Hits            862     1019     +157     
- Misses            7        8       +1     
Impacted Files Coverage Δ
src/View/Widget/BasicWidget.php 100.00% <ø> (ø)
src/View/Widget/ButtonWidget.php 100.00% <ø> (ø)
src/View/Widget/DateTimeWidget.php 100.00% <ø> (ø)
src/View/Widget/FileWidget.php 100.00% <ø> (ø)
src/View/Widget/SelectBoxWidget.php 100.00% <ø> (ø)
src/View/Widget/TextareaWidget.php 100.00% <ø> (ø)
src/View/Helper/FormHelper.php 99.10% <99.41%> (-0.11%) ⬇️
src/Command/InstallCommand.php 98.62% <100.00%> (+0.15%) ⬆️
src/View/Helper/FlashHelper.php 100.00% <100.00%> (ø)
src/View/Helper/HtmlHelper.php 100.00% <100.00%> (ø)
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8fca5c2...0352e06. Read the comment docs.

@@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['7.4', '8.0', '8.1']
Copy link
Member

Choose a reason for hiding this comment

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

All the changes to ci.yml are regressions.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I could've sworn I've chosen "ours" instead of "theirs" 😞

Do we care about a clean history with regards to such conflict resolution mistakes, eg should I fix on top, or should I rather rewrite the history?

Copy link
Member

Choose a reason for hiding this comment

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

Do whatever is convenient for you :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Well, first rewrite attempt completely bricked the branch, but second one worked :)

ndm2 added 2 commits April 3, 2022 18:05
# Conflicts:
#	.github/workflows/ci.yml
#	package-lock.json
#	package.json
#	src/View/Helper/FormHelper.php
#	templates/layout/examples/cover.php
#	templates/layout/examples/dashboard.php
#	templates/layout/examples/signin.php
#	tests/TestCase/View/Helper/FormHelper/AbstractFormHelperTest.php
#	tests/TestCase/View/Helper/FormHelper/DefaultAlign/CheckboxCustomControlTest.php
#	tests/TestCase/View/Helper/FormHelper/DefaultAlign/FileControlTest.php
#	tests/TestCase/View/Helper/FormHelper/DefaultAlign/FileCustomControlTest.php
#	tests/TestCase/View/Helper/FormHelper/DefaultAlign/RadioCustomControlTest.php
#	tests/TestCase/View/Helper/FormHelper/DefaultAlign/RangeControlTest.php
#	tests/TestCase/View/Helper/FormHelper/DefaultAlign/RangeCustomControlTest.php
#	tests/TestCase/View/Helper/FormHelper/HorizontalAlign/CheckboxCustomControlTest.php
#	tests/TestCase/View/Helper/FormHelper/HorizontalAlign/FileControlTest.php
#	tests/TestCase/View/Helper/FormHelper/HorizontalAlign/FileCustomControlTest.php
#	tests/TestCase/View/Helper/FormHelper/HorizontalAlign/RadioCustomControlTest.php
#	tests/TestCase/View/Helper/FormHelper/HorizontalAlign/RangeControlTest.php
#	tests/TestCase/View/Helper/FormHelper/HorizontalAlign/RangeCustomControlTest.php
#	tests/TestCase/View/Helper/FormHelper/InlineAlign/CheckboxControlTest.php
#	tests/TestCase/View/Helper/FormHelper/InlineAlign/CheckboxCustomControlTest.php
#	tests/TestCase/View/Helper/FormHelper/InlineAlign/DateTimeControlTest.php
#	tests/TestCase/View/Helper/FormHelper/InlineAlign/FileControlTest.php
#	tests/TestCase/View/Helper/FormHelper/InlineAlign/FileCustomControlTest.php
#	tests/TestCase/View/Helper/FormHelper/InlineAlign/RadioControlTest.php
#	tests/TestCase/View/Helper/FormHelper/InlineAlign/RadioCustomControlTest.php
#	tests/TestCase/View/Helper/FormHelper/InlineAlign/RangeControlTest.php
#	tests/TestCase/View/Helper/FormHelper/InlineAlign/RangeCustomControlTest.php
#	tests/TestCase/View/Helper/FormHelper/InlineAlign/StaticControlTest.php
#	tests/TestCase/View/Helper/FormHelper/InlineAlign/TextControlTest.php
#	tests/TestCase/View/Helper/FormHelperTest.php
#	tests/TestCase/View/Helper/PaginatorHelperTest.php
@ndm2 ndm2 merged commit 81910e1 into FriendsOfCake:master Apr 4, 2022
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

4 participants