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

Issue#7428 #8468

Closed
wants to merge 2 commits into from
Closed

Issue#7428 #8468

wants to merge 2 commits into from

Conversation

surajguduru
Copy link

The basics

The details

Resolves

Fixes #7428 - Zelos hides disabled blocks placeholders.

Proposed Changes

This pull request addresses an issue where placeholders for disabled blocks were not visible in the Zelos renderer. The changes involve modifying the CSS to ensure that the placeholders are displayed consistently, similar to the behavior in the Geras renderer.

Reason for Changes

The issue made it difficult for users to connect disabled blocks together, as the placeholders were not visible. This fix improves the usability of the Zelos renderer by ensuring that placeholders are always visible, even when blocks are disabled.

Test Coverage

The changes were manually tested by:

  • Disabling blocks in the Zelos renderer and confirming that the placeholders are visible.
  • Comparing the behavior with the Geras renderer to ensure consistency.
  • Testing across different browsers to confirm that the changes work as expected.

Documentation

No additional documentation is needed, as this change only affects the internal CSS styling.

Additional Information

None.

@surajguduru surajguduru requested a review from a team as a code owner August 6, 2024 15:13
@BeksOmega BeksOmega requested review from BeksOmega and removed request for gonfunko August 6, 2024 15:23
@BeksOmega BeksOmega assigned BeksOmega and unassigned gonfunko Aug 6, 2024
@BeksOmega BeksOmega changed the base branch from develop to rc/v12.0.0 August 6, 2024 15:23
Copy link
Collaborator

@BeksOmega BeksOmega left a comment

Choose a reason for hiding this comment

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

Could you also perform a git rebase to remove the extra field_lable.ts commit from this branch?

Comment on lines +245 to +247
.blocklyDisabled > .blocklyOutlinePath {
fill: darkgray !important;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think you want to add this here. I think you want to modify the code in the zelos constants file getCSS_. You should be able to remove the !important declaration then.

And could you try just setting the stroke of the outline path instead of setting the fill? I think that might look nicer!

@surajguduru
Copy link
Author

I will look into it.

@surajguduru surajguduru closed this Aug 7, 2024
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.

Zelos hides disabled blocks placeholders
3 participants