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

fix(api): Use internal example in KeyFrameEffect pages #34613

Merged
merged 11 commits into from
Jul 12, 2024

Conversation

OnkarRuikar
Copy link
Contributor

@OnkarRuikar OnkarRuikar commented Jul 4, 2024

As asked for in the issue, the PR adds examples in the KeyFrameEffect pages.

The new example makes 🤣 emojy really roll on the floor. Also, KeyframeEffect.spacing doesn't exist in specs or MDN so it's been removed.

@OnkarRuikar OnkarRuikar requested a review from a team as a code owner July 4, 2024 08:29
@OnkarRuikar OnkarRuikar requested review from sideshowbarker and removed request for a team July 4, 2024 08:29
@github-actions github-actions bot added Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed labels Jul 4, 2024
@OnkarRuikar OnkarRuikar requested a review from a team as a code owner July 4, 2024 09:54
@OnkarRuikar OnkarRuikar requested review from chrisdavidmills and removed request for a team July 4, 2024 09:54
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Jul 4, 2024
@sideshowbarker sideshowbarker removed their request for review July 4, 2024 13:47
@chrisdavidmills chrisdavidmills removed their request for review July 6, 2024 12:05
@chrisdavidmills
Copy link
Contributor

Sorry, I've had so many reviews dumped on me recently that I'm struggling to keep up with them all. I'm removing myself from a couple of them.

@github-actions github-actions bot removed the Content:CSS Cascading Style Sheets docs label Jul 11, 2024
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Jul 11, 2024
@bsmth bsmth self-requested a review July 11, 2024 07:08
@bsmth
Copy link
Member

bsmth commented Jul 11, 2024

Hey Onkar, I've added myself as a reviewer. I'll try to take a look today 🙏🏻

Co-authored-by: Brian Thomas Smith <[email protected]>
@bsmth
Copy link
Member

bsmth commented Jul 11, 2024

Looking great. I have one concern that we're duplicating the code so next time we make changes, we have to update multiple places, but I'm not sure what the better option would be.

Do you have any thoughts about simplifying the KeyframeEffect/target example so it's more minimal? Getting rid of the <hr> and hiding the CSS block?

Otherwise, good to go, IMO

@OnkarRuikar
Copy link
Contributor Author

OnkarRuikar commented Jul 11, 2024

I have one concern that we're duplicating the code so next time we make changes, we have to update multiple places, but I'm not sure what the better option would be.

Unfortunately, all the examples are not the same they have sight variations. Some log the corresponding member/function in the code.

Do you have any thoughts about simplifying the KeyframeEffect/target example so it's more minimal? Getting rid of the <hr> and hiding the CSS block?

CSS block is not relevant so I've hidden it. Got rid of <hr> too.

@OnkarRuikar OnkarRuikar requested a review from bsmth July 11, 2024 10:26
@OnkarRuikar OnkarRuikar marked this pull request as draft July 11, 2024 10:55
@github-actions github-actions bot removed the Content:CSS Cascading Style Sheets docs label Jul 11, 2024
@OnkarRuikar OnkarRuikar marked this pull request as ready for review July 11, 2024 11:08
Copy link
Member

@bsmth bsmth left a comment

Choose a reason for hiding this comment

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

Thanks a lot! Couple of minor suggestions for you, but I think we're ready to go when you've had a look at my comments 👍🏻

@OnkarRuikar OnkarRuikar requested a review from bsmth July 12, 2024 03:27
@bsmth
Copy link
Member

bsmth commented Jul 12, 2024

Looks great! Merging now!

@bsmth bsmth merged commit 8c04dd4 into mdn:main Jul 12, 2024
8 checks passed
@OnkarRuikar OnkarRuikar deleted the css_keyframeeffect branch July 13, 2024 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KeyframeEffect.target: issues with the example
3 participants