Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.

Conversation

whispyy
Copy link
Contributor

@whispyy whispyy commented Jun 11, 2018

UK-5

tile
tile-button
tile-definition
test

@whispyy whispyy requested review from AxelPeter and rfougier June 11, 2018 20:59
@whispyy whispyy force-pushed the feat/tile branch 3 times, most recently from 9f9aa22 to 44da7e5 Compare June 12, 2018 14:35
loadTests(require.context("../../oui-popover/src/", true, /.*((\.spec)|(index))$/));
loadTests(require.context("../../oui-stepper/src/", true, /.*((\.spec)|(index))$/));
loadTests(require.context("../../oui-skeleton/src/", true, /.*((\.spec)|(index))$/));
<<<<<<< HEAD
Copy link
Contributor

Choose a reason for hiding this comment

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

Bad conflict resolution

</oui-tile-definition>
<oui-tile-definition term="Term" term-popover="This is a popover text" description="This is a description"></oui-tile-definition>
<oui-tile-definition term="Progress">
<dd>
Copy link
Contributor

Choose a reason for hiding this comment

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

No need of <dd> if it's already added on your template

actions: "=?"
},
transclude: {
descriptionSlot: "?dd",
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should check with something else than <dd>.
What do you think about <oui-tile-description> ?

@@ -0,0 +1,7 @@
<div class="oui-tile">
<h4 class="oui-header_4 oui-tile__title" ng-bind="$ctrl.title"></h4>
Copy link
Contributor

Choose a reason for hiding this comment

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

one time binding ?

@@ -0,0 +1,7 @@
<div class="oui-tile">
<h4 class="oui-header_4 oui-tile__title" ng-bind="$ctrl.title"></h4>
<p class="oui-tile__legend" ng-if="!!$ctrl.legend" ng-bind="$ctrl.legend"></p>
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here :)

@whispyy
Copy link
Contributor Author

whispyy commented Jun 13, 2018

all corrected

<h4 class="oui-header_4 oui-tile__title" ng-bind="::$ctrl.heading"></h4>
<p class="oui-tile__legend" ng-if="!!$ctrl.description" ng-bind="::$ctrl.description"></p>
<div class="oui-tile__body">
<div ng-transclude></div>
Copy link
Contributor

Choose a reason for hiding this comment

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

(optional) Why not setting the transclude directly on oui-tile__body ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup u right!

<oui-tile-definition
term="Term"
description="This is a description">
<oui-action-menu data-compact>
Copy link
Contributor

Choose a reason for hiding this comment

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

+ data-align="end"

Copy link
Contributor

Choose a reason for hiding this comment

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

-- data-, we don't do it in our template.

<oui-action-menu align="end" compact>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Already tried without data for compact attribute but it hasn't worked.

tile
tile-button
tile-definition
test
@AxelPeter AxelPeter merged commit c1b312d into develop Jun 18, 2018
@AxelPeter AxelPeter deleted the feat/tile branch June 18, 2018 15:11
neolitec pushed a commit that referenced this pull request Jun 21, 2018
tile
tile-button
tile-definition
test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

5 participants