Skip to content

feat: inject user-settings doc as input.user in UI Extension#11213

Open
santhosh-7777 wants to merge 2 commits into
medic:masterfrom
santhosh-7777:11164-inject-user-data-into-ui-extension
Open

feat: inject user-settings doc as input.user in UI Extension#11213
santhosh-7777 wants to merge 2 commits into
medic:masterfrom
santhosh-7777:11164-inject-user-data-into-ui-extension

Conversation

@santhosh-7777

Copy link
Copy Markdown
Contributor

Closes #11164

Injects the user-settings doc as input.user when bootstrapping a UI Extension,
consistent with the user data provided for forms.

Changes:

  • Added UserSettingsService injection to UiExtensionsTabComponent
  • Added user property to the inputs object passed to the extension element
  • Updated spec to mock and assert UserSettingsService usage

@santhosh-7777

Copy link
Copy Markdown
Contributor Author

@jkuester that failing test is because of infrastructure issue i think, this pr is ready for review could u review it, thank you!

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.

Inject user data into UI Extension

2 participants