Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate slug from store name #25

Closed
obernardovieira opened this issue Jul 30, 2020 · 2 comments
Closed

Generate slug from store name #25

obernardovieira opened this issue Jul 30, 2020 · 2 comments
Labels
feature New feature or request

Comments

@obernardovieira
Copy link
Collaborator

It will be very important to be able to share a unique store with someone else. Generating a slug and saving it to filecoin with everything else, might be a reasonable solution. Then we use it in the URL to get the store information.

@obernardovieira obernardovieira added the feature New feature or request label Jul 30, 2020
@obernardovieira obernardovieira changed the title Generte slug from store name Generate slug from store name Jul 30, 2020
@obernardovieira obernardovieira added this to To do in hackfs Jul 30, 2020
@raphaelpg
Copy link
Collaborator

ok good point. The slug would be created from the store name ? for ex:
store name: Modern Shoes
slug: modern-shoes
Then you can share the link like:
decentramall/stores/modern-shoes

@obernardovieira
Copy link
Collaborator Author

Exactly. Although we have to be sure that there isn't a store with that same name already.

@obernardovieira obernardovieira removed this from the Bring some chairs 💺 milestone Aug 6, 2020
@obernardovieira obernardovieira removed this from To do in hackfs Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants