Skip to content

Conversation

@BeksOmega
Copy link
Contributor

The basics

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

The details

Resolves

Work on #2722

Proposed Changes

Adds an opt_config property to the abstract field that adds a tooltip to the field.

Reason for Changes

Standardization of Configuration.
sounds like a rap they'd make you do in school

Test Coverage

Added tests for:

  • JS Constructor
  • JSON Definition
  • w/ and w/out message references

Also moved setTooltip function tests into the new configuration suite.

Tested on:

  • Desktop Chrome

Documentation

Tooltip documentation already has a tracking issue: #2706
but it needs to be updated to include info about the opt_config property when constructing the field in JavaScript. (updates incomming)

Additional Information

N/A

@BeksOmega BeksOmega mentioned this pull request Aug 16, 2019
3 tasks
@BeksOmega BeksOmega force-pushed the feature/AbstractFieldConfig branch from ae90468 to 4f411d2 Compare August 18, 2019 14:55
@rachel-fenichel rachel-fenichel self-assigned this Aug 20, 2019
core/field.js Outdated
}
tooltip && this.setTooltip(tooltip);

// TODO: Possibly eventually add configurations like cursor and css class.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Make this a reference to a github issue or remove.

@rachel-fenichel rachel-fenichel merged commit 3e6c0a0 into RaspberryPiFoundation:develop Aug 20, 2019
@BeksOmega BeksOmega deleted the feature/AbstractFieldConfig branch August 23, 2019 16:35
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