SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.96k stars 1.24k forks source link

Enh. sap.ui.unified.CalendarRow - make number of Sub Intervals configurable #937

Open jasper07 opened 8 years ago

jasper07 commented 8 years ago

OpenUI5 version: 1.34

A requirement has come up a number of times from customers to make the Sub Intervals on a Calendar row configurable.

As/Is the number of Sub Intervals are hard coded, example when working a time interval of hours there are 4 sub intervals shown, this equates to 15 minutes,

We have a requirement when working with the sap.m.PlanningCalendar to configure the sub interval based on the appointment use case, some appointments are 20 minutes, some are 30 minutes

CalendarRowRenderer.renderInterval
...
if (oRow.getShowSubIntervals()) {
        var sIntervalType = oRow.getIntervalType();
        var iSubIntervals = 0;

        switch (sIntervalType) {
        case sap.ui.unified.CalendarIntervalType.Hour:
            iSubIntervals = 4;   <=== would like this to be configurable
            break;

        case sap.ui.unified.CalendarIntervalType.Day:
            iSubIntervals = 24;
            break;
akudev commented 8 years ago

Hi John, I contacted the responsible developer to get his opinion on this.

Thanks! Andreas

akudev commented 8 years ago

Hi John, I forwarded this suggestion to our user interaction designers to get their view on it. Do you know whether MS Outlook supports changing the subintervals?

I'll give an update when I receive feedback, but personally I wouldn't expect this to get a high priority...

Regards Andreas

jasper07 commented 8 years ago

Hi Andreas

Thanks for the update.

Outlook Calendar intervals are configurable

outlook_calendar

Cheers John P

petyabegovska commented 2 years ago

Hi @jasper07 ,

Enhancement is accepted for implementation and will be planned according to team priorities. BI created: BGSOFUIBALKAN-6344.

Regards, Petya