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: Resolve DOM validation & React lifecycle warnings #5205

Merged
merged 6 commits into from
Dec 11, 2024

Conversation

Cristhianzl
Copy link
Member

@Cristhianzl Cristhianzl commented Dec 11, 2024

This pull request includes fix several console errors.

#5090

image

image

image

image

image

image

image

Component Enhancements:

Icon Component Modifications:

These changes ensure better ref handling, conditional rendering, and consistent dark mode behavior across the application.

…r PopoverTrigger

📝 (frontend): Refactor ShadTooltip component to use forwardRef and add displayName
📝 (frontend): Update AppHeaderComponent to remove unnecessary aria-hidden attribute
📝 (frontend): Refactor SelectOptions component to improve code structure and readability
📝 (frontend): Update SideBarFoldersButtonsComponent to add getRandomKeyByssmm function and improve code structure

📝 (AWS.jsx): Update fill color condition to use stringToBool function for props.isdark
📝 (index.tsx): Convert isdark value to string before passing it to SvgAWS component
📝 (AstraDB.jsx): Update fill color condition to use stringToBool function for props.isdark

✨ (icons): Convert 'isdark' variable to string to ensure consistent type
♻️ (icons): Refactor 'fill-rule' and 'clip-rule' attributes to 'fillRule' and 'clipRule' for consistency
♻️ (nvidia): Refactor 'enable-background' attribute to 'enableBackground' for consistency
♻️ (nvidia): Refactor 'fill' attribute to use 'stringToBool' function for consistent boolean conversion
📝 (utils): Add 'stringToBool' function to convert string to boolean for reusability
@Cristhianzl Cristhianzl self-assigned this Dec 11, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working javascript Pull requests that update Javascript code labels Dec 11, 2024
@Cristhianzl Cristhianzl changed the title fix: Resolve several console errors fix: Resolve DOM validation & React lifecycle warnings Dec 11, 2024
@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Dec 11, 2024
Copy link
Contributor

@anovazzi1 anovazzi1 left a comment

Choose a reason for hiding this comment

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

lgtm

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 11, 2024
@Cristhianzl Cristhianzl enabled auto-merge (squash) December 11, 2024 16:33
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Dec 11, 2024
@Cristhianzl Cristhianzl merged commit dfcb3a5 into main Dec 11, 2024
14 checks passed
@Cristhianzl Cristhianzl deleted the cz/fix-errors-console branch December 11, 2024 17:48
@lgertel
Copy link

lgertel commented Dec 13, 2024

It seems that this implementation broke the notification popup.
CleanShot 2024-12-13 at 13 28 47@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working javascript Pull requests that update Javascript code lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants