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

Update Script #623

Merged

Conversation

bluemwhitew
Copy link
Contributor

@bluemwhitew bluemwhitew commented Aug 27, 2020

Description (*)

Converts existing Page Builder content to conform with the internal styles update.

Fixed Issues

  1. Fixes Developer can style content types output differently per viewport #558 (Sub Task 1)

Manual Testing Scenarios (*)

TBA

Questions or Comments

N/A

Contribution Checklist (*)

  • Author has signed the Adobe CLA
  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

- Adding `removeAttribute()` Method
- Adding Converter to Remove `style` Attribute(s) from Page Builder
@omiroshnichenko omiroshnichenko changed the title (WIP) Update Script [WIP] Update Script Aug 27, 2020
- Refactoring Using DOMDocument
- Adding `generateDataAttribute` Method
- Adding `generateInternalStyles` Method
- Modifying Ordering of Expected vs. Actual in PageBuilderStripStylesTest
@bluemwhitew
Copy link
Contributor Author

@magento run Static Tests

@omiroshnichenko omiroshnichenko linked an issue Sep 10, 2020 that may be closed by this pull request
7 tasks
@omiroshnichenko omiroshnichenko changed the base branch from 558_content-type-style-attribute-removal to csso-alternative September 10, 2020 16:34
- Amending Integration Tests
- Preparing to Utilise DOMDocument for Testing
@bluemwhitew

This comment has been minimized.

- Extending Tests
- Refactoring
- Removing `length` from `generateDataAttribute()`
- Suppressing LibXML Errors
…uilder into 558_1_content-type-style-attribute-removal
- use Dom adapter
- replace all style
@omiroshnichenko
Copy link
Contributor

@bluemwhitew Please, take a look at proposed changes .

- Code Review Feedback/Amends (Thanks, @barnyshergold/@omiroshnichenko)
@bluemwhitew

This comment has been minimized.

- Merge from `558_1_content-type-style-attribute-removal-proposed`
- Code Review Feedback/Amends
@bluemwhitew

This comment has been minimized.

@bluemwhitew

This comment has been minimized.

@bluemwhitew

This comment has been minimized.

@bluemwhitew
Copy link
Contributor Author

@magento run all tests

@bluemwhitew
Copy link
Contributor Author

bluemwhitew commented Sep 28, 2020

Ready for merging. 🤞🏻

/cc @omiroshnichenko

@omiroshnichenko omiroshnichenko merged commit 87984da into csso-alternative Sep 28, 2020
@omiroshnichenko omiroshnichenko deleted the 558_1_content-type-style-attribute-removal branch December 7, 2020 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

Developer can style content types output differently per viewport
3 participants