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: Update useStyledComponentsTarget to support case where head tag is removed. #412

Conversation

liamcho
Copy link
Contributor

@liamcho liamcho commented Jan 20, 2025

Changes

  • Fixed an issue where widget style is not applied due to style tag being dynamically removed and then re-added in the head tag in a WordPress like environment

ticket: AA-772

Additional Notes

Checklist

Before requesting a code review, please check the following:

  • [Required] CI has passed all checks.
  • [Required] A self-review has been conducted to ensure there are no minor mistakes.
  • [Required] Unnecessary comments/debugging code have been removed.
  • [Required] All requirements specified in the ticket have been accurately implemented.
  • Ensure the ticket has been updated with the sprint, status, and story points.

@liamcho liamcho added the 1.9.5 label Jan 20, 2025
@liamcho liamcho requested review from AhyoungRyu and bang9 January 20, 2025 06:29
@liamcho liamcho self-assigned this Jan 20, 2025
Copy link

netlify bot commented Jan 20, 2025

Deploy Preview for chat-ai-widget ready!

Name Link
🔨 Latest commit 106af34
🔍 Latest deploy log https://app.netlify.com/sites/chat-ai-widget/deploys/678f2edaff52cb0008b01ce5
😎 Deploy Preview https://deploy-preview-412--chat-ai-widget.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Jan 20, 2025

Size Change: +103 B (+0.02%)

Total Size: 618 kB

Filename Size Change
./dist/__bundle-46d64517-********.js 4.01 kB -2 B (-0.05%)
./dist/index-********.js 304 kB +40 B (+0.01%)
./dist/index.es.js 173 B +1 B (+0.58%)
./dist/index.umd.js 289 kB +68 B (+0.02%)
./dist/Placeholder.error-********.js 344 B -2 B (-0.58%)
./dist/Placeholder.noChannels-********.js 182 B -2 B (-1.09%)
./dist/Placeholder.noMessages-********.js 183 B -1 B (-0.54%)
./dist/PlaceholderCommon-********.js 245 B +1 B (+0.41%)
ℹ️ View Unchanged
Filename Size
./dist/__bundle-7c3d40f4-********.js 21 B
./dist/__bundle-b5ef7de4-********.js 890 B
./dist/Placeholder.loading-********.js 185 B
./dist/style.css 9.52 kB
./dist/TokensBody-********.js 9.1 kB

compressed-size-action

@liamcho liamcho requested a review from bang9 January 20, 2025 06:43
@liamcho liamcho merged commit b1c82a0 into develop Jan 21, 2025
12 checks passed
@liamcho liamcho deleted the fix/AA-772-update-useStyledComponentsTarget-to-support-case-where-head-tag-is-completely-removed branch January 21, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants