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

Implement a photo manager #172

Open
VaiTon opened this issue Mar 1, 2025 · 5 comments
Open

Implement a photo manager #172

VaiTon opened this issue Mar 1, 2025 · 5 comments
Assignees
Milestone

Comments

@VaiTon
Copy link
Member

VaiTon commented Mar 1, 2025

No description provided.

@Abbas-Askari
Copy link
Contributor

Hey, May I get this assigned? I have this planed out.

@VaiTon
Copy link
Member Author

VaiTon commented Mar 8, 2025

@Abbas-Askari could you please first explain how do you intend to do this?

@Abbas-Askari
Copy link
Contributor

Abbas-Askari commented Mar 8, 2025

@VaiTon Sure, I expect this is realted to the photo uploader and selector in the editing page. Here's what I'll do:

  1. Create a collapsable card to manage Photos with tabs for all languages. (Like the main website).
  2. Instead of having seperate cards for Front, Ingredients, packaging; The single card will have a dropdown (or a second list of tabs) to select the kind of image.
  3. The user can, after selecting the kind of image and language, "select an image" (this is what the docs call it) by clicking on the list of available images or uploading a new one.
    Edit: This way users will be able to assign each kind of image to each language from a single card.

@VaiTon
Copy link
Member Author

VaiTon commented Mar 8, 2025

@Abbas-Askari can we make this a component (a .svelte file in $lib/...)

@Abbas-Askari
Copy link
Contributor

We can, and we should, in order to prevent cluttering the +page.svelte file for the editing page.
Just to be sure, This componenet is specific for this usecase. I don't think it will be useful in anyother place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants