plezanje-net / web

Angular website frontend
https://www.plezanje.net/
GNU General Public License v3.0
6 stars 1 forks source link

[Edit Crag/Sectors] Cases for 1-sector crags should be handled differently on FE. #388

Open salamca opened 2 years ago

salamca commented 2 years ago

When one adds a new crag, she might want to create a single sector crag, such as Armesko for example. This is currently impossible since the form for adding sector is invalid until not empty.

One suggestion is to add two buttons to edit sectors section when crag still has no sectors. One button should add a new sector, the other button should add a blank sector for the case of single sector crag. If blank sector exists an explanation should be present instead of name (which is blank). Explanation should be added also onto sectors section while there are no sectors.