Harmonisierung Link-Building in Vue
There are many similar/overlapping implementations to link objects with a specific object_type and how to map object types to URLs:
- https://gitlab.com/dietech/samarbeid/-/blob/main/app/javascript/components/activity-hub/activity-hub-item-reference.vue#L17
- https://gitlab.com/dietech/samarbeid/-/blob/main/app/javascript/components/site-header/snackbars.vue#L58
- https://gitlab.com/dietech/samarbeid/-/blob/main/app/javascript/components/site-header/standalone-event.vue#L24
- https://gitlab.com/dietech/samarbeid/-/blob/main/app/javascript/pages/notifications/list-content.vue#L107
Evtl. könnten wir damit sogar gleich no-access/deleted mit abfrühstücken?
Edited by Benjamin Bock