Skip to content

Add separator for toolbox#4089

Merged
alschmiedt merged 3 commits intoRaspberryPiFoundation:toolboxfrom
alschmiedt:separator_init
Aug 3, 2020
Merged

Add separator for toolbox#4089
alschmiedt merged 3 commits intoRaspberryPiFoundation:toolboxfrom
alschmiedt:separator_init

Conversation

@alschmiedt
Copy link
Copy Markdown
Contributor

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide

The details

Resolves

Adds a toolbox separator class.

Proposed Changes

Reason for Changes

Test Coverage

Tested on:

Documentation

Additional Information

Copy link
Copy Markdown
Contributor

@moniika moniika left a comment

Choose a reason for hiding this comment

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

Some notes about jsdoc clarification, otherwise looks good.

* @type {!Blockly.ToolboxSeparator.ClassConfig}
* @protected
*/
this.classConfig_ = {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think some confusion I'm having is with usage of the term classes. Class could be either referring to JavaScript class or css class, after looking a bit longer it seems like this is about css. Maybe mentioning css in the JsDoc would make this clearer.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I added what I think is a better comment, but would it also help to name these cssConfig_ instead of classConfig_?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think cssConfig_ could also help. I do like the jsdoc comment changes.

@alschmiedt alschmiedt merged commit 6732ad4 into RaspberryPiFoundation:toolbox Aug 3, 2020
@alschmiedt alschmiedt deleted the separator_init branch August 12, 2020 16:28
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.

2 participants