Tendrl / ui

A repository for the front-end artifacts of Tendrl UI
GNU Lesser General Public License v2.1
6 stars 20 forks source link

Upgrading patternfly and angular-patternfly #704

Open a2batic opened 6 years ago

a2batic commented 6 years ago

The current version is: "angular-patternfly": "~3.23.3", "patternfly": "~3.25.0"

The version to be upgraded to: "angular-patternfly": "~4.11.0", "patternfly": "~3.29.13"

cloudbehl commented 6 years ago

linking : #638

a2batic commented 6 years ago

Changes made in patternfly from 3.25.0 to 3.29.13

3.25.1

3.26.0

3.26.1

3.27.1

3.27.3

3.27.4

3.27.6

3.27.7

3.28.1

3.29.1

3.29.2

3.29.3

3.29.4

3.29.5

3.29.6

3.29.11

3.29.13

Changes affecting Tendrl:-

3.26.0

3.26.1

3.27.1

3.27.4

3.28.1

3.29.1

3.29.3

3.29.4

3.29.11

a2batic commented 6 years ago

Components/services that are breaking or need to be upgraded due to angular-patternfly 4 upgrade.

a2batic commented 6 years ago

Components upgraded in Milestone 1

a2batic commented 6 years ago

@TimothyAsirJeyasing @gnehapk Following is the list of the npm packages being added in UI as per milestone 1-

Following is the list of npm packages which are upgraded to the newer version -

cloudbehl commented 6 years ago

@julienlim @mcarrano upgrading to the patternfly Filter component is creating some design changes.

The count of items in the list is coming with the Filter component itself. So the horizontal bar on top the counter is not there in the component itself which is making some design differences.

Please see the horizontal bar above the counter in both the images below.

mcarrano commented 6 years ago

I looked at the demo page for this component and there is a horizontal rule between the filter and the results. See https://www.patternfly.org/angular-patternfly/#/api/patternfly.filters.component:pfFilter

@cloudbehl if you are still having issues we can try to put you in touch with one of the PF-Angular developers.

cloudbehl commented 6 years ago

@mcarrano Thanks.

But still, the Horizontal line is just covering the 25% because on another half there is a sorting button.

screenshot from 2018-02-15 10-49-04

dtaylor113 commented 6 years ago

Hi, it seems like you are perhaps overriding/replacing pf-filter-results and setting the border to none?

https://github.com/Tendrl/ui/commit/f2b8c2aeb76b612f94e4631a56a4363b3734bc36#diff-164c88137bef42eed133aa0f83a01b2cR37

https://github.com/Tendrl/ui/commit/f2b8c2aeb76b612f94e4631a56a4363b3734bc36#diff-3158ebc1ae6f694cc4bf1142ffd0364fL2

If this is not the case, please include a link to the filter HTML and JS in question.

A link to a running UI would be ideal! :-)

-thanks

cloudbehl commented 6 years ago

@dtaylor113 Thanks. yes, I found there is a class which is overriding the other CSS Class. Will fix it.

gnehapk commented 6 years ago

@a2batic Are all the components upgraded to angular-patternfly 4?

a2batic commented 6 years ago

@gnehapk, we have not upgraded Notification/alert drawer component, all other components are upgraded,