SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.5k stars 260 forks source link

Feature Request: GenericTile to create Dashboards #5889

Open C3ntraX opened 1 year ago

C3ntraX commented 1 year ago

Feature Request Description

The webcomponents have a missing tile named "GenericTile". The problem is the following: If a customer has multiple modules, you want him to select a module from a kind of dashboard. The best option to choose a module would be to display them as tiles. The problem is, that your components do not offer such a component or a other a similar component to compensate the "GenericTile" in order to create a dashboard.

Proposed Solution

See: https://sapui5.hana.ondemand.com/sdk/#/api/sap.m.GenericTile

Proposed Alternatives

I saw the "Card" component, that would be the next best component, but that doesn't work for the dashboard either.

Additional Context

Add other context or screenshots related to the feature request here.

Priority

Currently we are not able to create dashboard with UI5 Webcomponents.

Stakeholder Info (if applicable)

C3ntraX commented 1 year ago

Hello @ilhan007,

I saw that the last new component was implemented more than a year ago, that's a lot. When do you think this feature could be implemented?

Best regards

georgimkv commented 1 year ago

Also discussed in #2756

C3ntraX commented 1 year ago

Okay didn't thought of this. I think I could use the Card for the dashboard. Maybe you could add some examples for an launchpad that this is clear for further requests. Like: https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.GenericTile/sample/sap.m.sample.GenericTileAsLaunchTile

C3ntraX commented 1 year ago

Hello @ilhan007 and @gmkv,

Ok, I used the card for my dashboard/launchpad for now. But I had to do a lot of styling purposes.

I want to reproduce this: image

But this is what I created (for now) image

The tile requires an IconContent component. Also, @ilhan007's example doesn't set a fixed width for tiles: ` <ui5-card id="card" status="in progress" heading="Title" subheading="subtitle">

your content
    </ui5-card>

`

The busyindiacator size "Medium" does not work for frame types "OneByOne", "TwoByOne" or "TwoThrids".

So I think you should really reconsider your decision in #2756. The card component does not work for the Firori style guidelines and a GenericTile.

petyabegovska commented 1 year ago

Hi @C3ntraX,

Do you have use cases for different types of Tiles as described byUX: https://experience.sap.com/fiori-design-web/tile/ or need just this one with Title, Subtitle and logo? We need to evaluate further whether and how Cards can be reused.

Thanks and best regards, Petya

C3ntraX commented 1 year ago

Hello @petyabegovska,

we usually use the tile for dashboards with title, subtitle and logo.

See: https://sdk.openui5.org/entity/sap.m.GenericTile/sample/sap.m.sample.GenericTileAsLaunchTile

https://sdk.openui5.org/api/sap.m.GenericTile#overview

BR

petyabegovska commented 1 year ago

Hi @C3ntraX,

I want to provide you with some update. We tried to make the Tile with the Card component in two ways:

Several issues appeared:

So the Card can be reused but with some limitations. Note: Only the Launch Tile has been analysed.

We will follow-up additionally on the issues and discuss the need for Tile component with UX, but implementation will not be planned in near future.

Best regards, Petya