You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In several places we have begun using popovers to show additional information that would be hidden from the user normally. Some examples of this are debtor groups, patient invoicing, and purchase orders.
Observation
Every single popover looks like this:
<spanclass="text-info fa fa-info-circle"
uib-popover-template="'typePopover.tmpl.html'"
popover-placement="right"
popover-append-to-body="true"
popover-trigger="mouseenter"></span>
This is mostly repeated code.
Proposal
I propose we make a new component called bhInfo with the following signature:
This commit creates a bhInfo component that is simply a wrapper for
popovers. Since this is a component, these popovers cannot have any
knowledge of their parent scope. This component is ideal for
informational popovers that only contain $translate filters.
Closes#525.
This commit creates a bhInfo component that is simply a wrapper for
popovers. Since this is a component, these popovers cannot have any
knowledge of their parent scope. This component is ideal for
informational popovers that only contain $translate filters.
Closes#525.
This commit creates a bhInfo component that is simply a wrapper for
popovers. Since this is a component, these popovers cannot have any
knowledge of their parent scope. This component is ideal for
informational popovers that only contain $translate filters.
Closes#525.
In several places we have begun using popovers to show additional information that would be hidden from the user normally. Some examples of this are debtor groups, patient invoicing, and purchase orders.
Observation
Every single popover looks like this:
This is mostly repeated code.
Proposal
I propose we make a new component called
bhInfo
with the following signature:That would embed the icon and popover automatically into the page. This would speed up development of modules by a bit and encourage use of popovers.
The text was updated successfully, but these errors were encountered: