Skip to content

Conversation

@surajguduru
Copy link
Contributor

The basics

The details

Resolves

Fixes Issue #8315

Proposed Changes

This pull request adds a blocklyLabelField CSS class to label fields in the FieldLabel class by modifying the initView method to call dom.addClass with this.fieldGroup_ and blocklyLabelField.

Reason for Changes

This change helps in applying specific styles to label fields, allowing better customization and theming of Blockly components.

Test Coverage

I tested these changes manually by creating and manipulating label fields in the Blockly playground. Additionally, I verified that the blocklyLabelField class is applied correctly in different scenarios.

Documentation

No additional documentation is needed for this PR.

Additional Information

No additional information.

@surajguduru surajguduru requested a review from a team as a code owner July 24, 2024 17:34
@surajguduru surajguduru requested a review from gonfunko July 24, 2024 17:34
@surajguduru
Copy link
Contributor Author

Hey @BeksOmega Please review this !!

@surajguduru
Copy link
Contributor Author

Hey @gonfunko Please review this !!

@surajguduru
Copy link
Contributor Author

Hiya @BeksOmega @gonfunko I have made the required changes. Please review the changes and let me know !

@gonfunko gonfunko requested review from BeksOmega and removed request for gonfunko July 29, 2024 22:51
@gonfunko gonfunko assigned BeksOmega and unassigned gonfunko Jul 29, 2024
@BeksOmega BeksOmega changed the title Issue#8315 feat: add blocklyLabelField css class to label field Jul 30, 2024
@github-actions github-actions bot added the PR: feature Adds a feature label Jul 30, 2024
Copy link
Contributor

@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.

This looks great thank you for the fixes! Once CI passes I'll get this merged =)

@BeksOmega BeksOmega merged commit 6393ab3 into RaspberryPiFoundation:rc/v12.0.0 Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants