linagora / esn-frontend-calendar

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

#625 add show and hide radio button to calendars list #626

Open asmaNode opened 2 years ago

asmaNode commented 2 years ago

Updated demo :

https://user-images.githubusercontent.com/43316837/149741019-b7294a22-13bf-4303-933c-d8626b959b33.mp4

The solution:

The radio button of group list is active if at least one calendar is selected . The idea is to update the logic og toogle calendar with adding new params :

This update will affect :

alagane commented 2 years ago

There is a problem, clicking the toggle will expand or retract the menu. I don't think this is intended.

alagane commented 2 years ago

Could you please explain what behavior your are trying to make? I mean, what should happen when you click to the toggle button.

asmaNode commented 2 years ago

the toggle button will hide all calendars and show only calendar wich are already selected

asmaNode commented 2 years ago

@alagane about the expand menu i had created new directive to toggle menu in calendar list .I used the same directive(esn-toggle) applying modifications to suit our need