Skip to content

Conversation

@stiwwelll
Copy link
Contributor

Please make sure to target feature and bugfix requests to develop branch

Issue #196

Add HTML legend tag to core components

Changes

  • Add haml template file
  • Add class file
  • Add specs
  • Add docs
  • Change links in README.md
Copy link
Contributor

@pascalwengerter pascalwengerter left a comment

Choose a reason for hiding this comment

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

Looking good, few steps until we're ready to merge!

This component can take 2 optional configuration params and optional content.

#### # id (optional)
Expects a string with all ids the main should have.
Copy link
Contributor

Choose a reason for hiding this comment

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

Legend, not main

Expects a string with all ids the main should have.

#### # class (optional)
Expects a string with all classes the main should have.
Copy link
Contributor

Choose a reason for hiding this comment

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

Legend, not main

#### # class (optional)
Expects a string with all classes the main should have.

## Example
Copy link
Contributor

Choose a reason for hiding this comment

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

Please provide another example that can do such as

legend id: "foo", class: "bar", text: "Hello World"

or similiar. Then this component can be used as a nice one-liner :)

Copy link
Contributor

Choose a reason for hiding this comment

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

And add a test for it, too

@stiwwelll
Copy link
Contributor Author

Same here @pascalwengerter :)

Copy link
Contributor

@pascalwengerter pascalwengerter left a comment

Choose a reason for hiding this comment

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

Looking good!

@pascalwengerter pascalwengerter merged commit a476da4 into matestack:develop Oct 12, 2019
@jonasjabari jonasjabari added this to the 0.7.3 milestone Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants