Ability to set a unique short link to each user #56
Replies: 7 comments 12 replies
-
To be fair, i did not understand the requests 🧐 |
Beta Was this translation helpful? Give feedback.
-
Sorry about that 😅. Ok, so here is my use case with the help of chatgpt Use Case: User-Specific Shortlink Assignment System Overview: Actors:
Preconditions:
Main Flow: Creating a Shortlink
The user logs into their account on the system. Each user is already pre-assigned a unique prefix (e.g., shortlink1 for User1). Postconditions:
|
Beta Was this translation helpful? Give feedback.
-
Wouldn't be more aesthetic /username/link at this point? |
Beta Was this translation helpful? Give feedback.
-
so after discussing it this will be released as a setting to be enabled via ui too,
is that all/correct? :) |
Beta Was this translation helpful? Give feedback.
-
So i tought about this extensively in these days, even tried some code, i think thou that there is compromise i could find, but even if it may not the best solution for you it's the only viable path which i find useful as an update that will target the community and not the single use case. Have link prepended by a tag chose as above, and that's ok, but it will not remove the uniqueness of the slug, as it would require a rework of the api as a whole for a different scope of the platform itself. so i don't think is a suitable path. The only compromise as i said would be having a ENV variable like TAGS_AS_PREFIXES (as it is a very radical change in the app flow) If active:
in case the env is inactive
|
Beta Was this translation helpful? Give feedback.
-
Thank you for looking into this! Yes, I believe it’s better to make sure this can be used by the community. The approach seems unique compared to anything I’ve come across, and I think the community will find many use cases for it. In terms of user management, I believe users should belong to multiple tags. Based on your implementation, this will allow for more flexibility. Since I want to keep the links as short as possible, the way I’d use this would be: the tags would consist of 3 letters—each specifying the company’s first letter, location’s first letter, and department’s first letter. From there, I’d only need to ensure the shortcode itself is unique. For example, if the company is 5sushi, located in New York, and it’s for the HR department, a shortcode for each table could look like: https://snapp.li/5nh/5nht1. This keeps the structure organized and compact. Looking back, my original request was actually two different requests: 1. Allow users to edit multiple snapps, even if they didn’t create them. 2. A better way to manage shortcodenames. I appreciate you addressing the first request. I understand why shortcodes need to remain unique to as they are essentially a unique id. While it would have been great to follow a cleaner structure with shorter links (e.g., https://snapp.li/5nh/t1), I’m okay with focusing on improving user management for now. |
Beta Was this translation helpful? Give feedback.
-
v.0.8.7 integrates tag, internal second factor for authentication and integration with oidc/keycloak :) |
Beta Was this translation helpful? Give feedback.
-
It would be nice to be able to assign a short link to each user so that there are less -1, -2, etc.
In this case, user1 is assigned to shortlink1 when adding a shortlink regardless of what they put on the short code, it will be /shortlink1[shortcode].
This would make it so each use is assigned a 2+ shortcode.
Beta Was this translation helpful? Give feedback.
All reactions