PILOS icon indicating copy to clipboard operation
PILOS copied to clipboard

Allow custom room URLs

Open tibroc opened this issue 2 years ago • 2 comments

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.

tibroc avatar Aug 31 '23 14:08 tibroc

How to implement

  • [ ] Increase DB column size id in rooms table: create migration
  • [ ] Add new option allow_custom_id to room_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_id attr. is true
  • [ ] Validate id request field to be null or unique
  • [ ] Validate if selected room_type allow_custom_id and is set, use string as id
  • [ ] Add frontend tests
  • [ ] Add backend tests

samuelwei avatar Sep 01 '23 08:09 samuelwei

https://laravel-news.com/laravel-model-tips#content-using-uuids

samuelwei avatar Dec 28 '24 17:12 samuelwei