Skip to content

Conversation

ricoberger
Copy link
Member

Until now we had used the icons by importing them directly from their
corresponding file. Now we are using the "@patternfly/react-icons"
package to import the icons.

The links handling wasn't unified accross the frontend. Now we are using
a new approach by wrapping components in a new "LinksWrapper" component
so that each link is opened within kobs by default. This allows the user
to decide if he wants to open a link in a new tab or in the current one.

The drawer layour was completly changed. We had a helper variable
"isInDrawer" to apply a specific layout, when a component was displayed
within the Apllication drawer. This variable was removed. Instead we are
always using the same layout. We also removed the "isFlat" property from
most of the "Card" components to have a consistent style accross all
components. Last but not least we wrapped most of the components in a
"Card" component to be consistent with other components, which were
already displayed in cards.

Until now we had used the icons by importing them directly from their
corresponding file. Now we are using the "@patternfly/react-icons"
package to import the icons.

The links handling wasn't unified accross the frontend. Now we are using
a new approach by wrapping components in a new "LinksWrapper" component
so that each link is opened within kobs by default. This allows the user
to decide if he wants to open a link in a new tab or in the current one.

The drawer layour was completly changed. We had a helper variable
"isInDrawer" to apply a specific layout, when a component was displayed
within the Apllication drawer. This variable was removed. Instead we are
always using the same layout. We also removed the "isFlat" property from
most of the "Card" components to have a consistent style accross all
components. Last but not least we wrapped most of the components in a
"Card" component to be consistent with other components, which were
already displayed in cards.
@ricoberger ricoberger changed the title Rework usage of icons, links handling and drawer Rework usage of icons, links handling and drawer layout Mar 31, 2021
@ricoberger ricoberger merged commit 90358e1 into main Mar 31, 2021
@ricoberger ricoberger deleted the rework-icons-links-drawer branch March 31, 2021 19:04
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.

1 participant