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

feat(core): add tooltip support #8

Merged
merged 1 commit into from
Apr 13, 2023
Merged

feat(core): add tooltip support #8

merged 1 commit into from
Apr 13, 2023

Conversation

maninder-pal-singh
Copy link
Collaborator

@maninder-pal-singh maninder-pal-singh commented Apr 13, 2023

Description

should be merged after #5

adds tooltip support over prompts

Fixes GH-5

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Intermediate change (work in progress)

Checklist:

  • Performed a self-review of my own code
  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Any dependent changes have been merged and published in downstream modules

@maninder-pal-singh maninder-pal-singh self-assigned this Apr 13, 2023
@github-actions
Copy link

==== Karma Test Coverage ====
Statements: 22.64% ( 89/393 )
Branches : 11.56% ( 20 /173 )
Functions : 10.47% ( 11 /105 )
Lines : 22.97% ( 88 /383 )

@@ -58,6 +58,9 @@ export class BuilderComponent<E> implements OnInit, OnChanges {
@Input()
state: StateMap<RecordOfAnyType> = {};

@Input()
localizedStringMap: {[key: string]: string};
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of passing this everywhere, why not just create a common service, register the map in that service here in this component, than inject that service and use the values from there whenever you need to, or you can even create a simple pipe to fetch that information from that service in html

@github-actions
Copy link

==== Karma Test Coverage ====
Statements: 22.64% ( 89/393 )
Branches : 11.56% ( 20 /173 )
Functions : 10.47% ( 11 /105 )
Lines : 22.97% ( 88 /383 )

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