linagora / esn-frontend-calendar

Calendar SPA for the OpenPaaS Suite - https://open-paas.org/
Other
8 stars 15 forks source link

As a User I want to be able to hide or show all calendars in one click #625

Open asmaNode opened 2 years ago

asmaNode commented 2 years ago
  1. Add show hide all my calendars or all shared calendar in the section

(icon : checkbox-multiple-blank-circle and checkbox-multiple-blank-circle-outline)

Capture d’écran de 2021-12-07 18-23-25 Capture d’écran de 2021-12-07 18-22-28

Expected behavior

  1. Add an option on each event to be able to display only this one

Capture d’écran de 2021-12-08 12-05-48

asmaNode commented 2 years ago

If a group of calendars is hidden, individual calendar show/hide buttons are disabled

This proposition will be a bit complicated in our case, the buttons used in the calendar item list are not radio buttons, so we cannot use ng-disabled. To block the click, you have to force it using JQUERY (add events-pointer : none in all the div). This is why it is better to continue with the second proposal:

The group list radio button is enabled if at least one calendar is selected