PILOS
PILOS copied to clipboard
Allow custom room URLs
Is your feature request related to a problem? Please describe.
Currently the room urls can only be the automatically created ids, like in pilos-instance.com/rooms/hke-9cp-5z2
Describe the solution you'd like
It would be nice to be able to have custom urls that can be more easily memorized by users, like e.g. pilos-instance.com/rooms/my-weekly.
Describe alternatives you've considered None, really.
How to implement
- [ ] Increase DB column size
idinroomstable: create migration - [ ] Add new option
allow_custom_idtoroom_types: create migration, adjust controller, request validation, api ressource, frontend, tests - [ ] Add text input to create room dialog if the selected room type
allow_custom_idattr. is true - [ ] Validate
idrequest field to be null or unique - [ ] Validate if selected room_type
allow_custom_idand is set, use string as id - [ ] Add frontend tests
- [ ] Add backend tests
https://laravel-news.com/laravel-model-tips#content-using-uuids