ContactGroupsController: Show add contact link if no contact exists#340
ContactGroupsController: Show add contact link if no contact exists#340
add contact link if no contact exists#340Conversation
|
Case : There is only one contact available, and there is also a contact group containing this contact. When the user deletes the contact, should the contactgroup also be deleted? Because the contact group now has no members and the modal |
|
It works great. But we should also handle the case, when the user has no channels either, shouldn't we? In this case user won't be able to create a contact via the second column. I will come up with something soon … |
|
We can display a kind of wizard when the user activates the module for the first time to show these steps (channel, contact). Same as the setup wizard in Icingaweb. |
|
I thought of something like this for the case when there's neither channels nor contacts configured. A wizard could be an additional feature to onboard user. For the empty state warnings, there's still the use case, when channels or contacts are deleted in hindsight. And another thing: The empty state statement still reads "No contacts found.", even for contact groups, it should be "No contact groups found." In this example the user …
|
bc29c37 to
f3a7fcf
Compare
2c7e6d5 to
0cd1d7c
Compare
0cd1d7c to
e3a59d9
Compare
No, the contactgroup form does not require to define any members and the daemon handles empty groups as well. |
986485d to
eb5d3c6
Compare
- ContactsContoller: Closing the container is sufficient.
Without channels, most of the configuration is not possible. Technically, channels are not required for groups, but we want to guide new users to the channel configuration because of its importance. Once there is a channel, groups can be created but we still hint that there are no contacts yet.
eb5d3c6 to
987224f
Compare

resolves #338
Requires:
.action-linkandbutton-linkcss icingaweb2#5370