-
Notifications
You must be signed in to change notification settings - Fork 31
Conversation
<!-- ng-click="layoutCtrl.removePortlet(widget.nodeId, widget.title)" --> | ||
<!-- ng-hide="GuestMode || cantRemove"> --> | ||
<!-- <md-icon>close</md-icon> --> | ||
<!-- </md-button> --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the commented out code needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch! Removed it to prove that I didn't need it, but didn't actually remove it
@@ -0,0 +1,17 @@ | |||
<md-card class="list-content" id="widget-id-{{::widget.nodeId}}"> | |||
<md-button class="widget-action widget-info md-icon-button" aria-label="see a brief description of this app"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aria-label
is good. As I understand it it would be better if the label included the name of the app that one would see a brief description of, so that screen reader user has more context in consuming that label.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I just copied and pasted a partial from before. It's always good to be better. Updated.
Moves more widget code from uPortal-home to the uPortal-App-Framework, so everyone can enjoy a good compact mode widget.
Fixes a bug in uPortal-home where compact mode wasn't rendering because of switching to the new layout call in portal
Contributor License Agreement adherence: