Coder Social home page Coder Social logo

Comments (8)

lastzero avatar lastzero commented on May 1, 2024 1

Sure, move on! You'll find me on the chat in case you have questions. I recommend building the API / db first (bottom up), and then do the frontend.

from photoprism.

lastzero avatar lastzero commented on May 1, 2024

Somebody could actually start building the API for this so that I can do the UI later.

Create a file albums.go here:
https://github.com/photoprism/photoprism/tree/develop/internal/api

Start by implementing GetAlbums()

Then add it here:
https://github.com/photoprism/photoprism/blob/develop/internal/server/routes.go

Simple enough? Unit tests would be awesome, didn't have the time to create them for the REST API yet :/

from photoprism.

gwelican avatar gwelican commented on May 1, 2024

seeing there is no in progress label, I suppose noone is working on this? in which case I will give it a big

from photoprism.

graciousgrey avatar graciousgrey commented on May 1, 2024

In the pdf I attached you can find some first wireframes for the project, it includes some pages for the album functionality as well. Those are not fixed requirements - it is more like a collection of ideas to discuss. Input and further/other ideas are very welcome. Let us know what you think :)
PhotoPrism Wireframes.pdf

from photoprism.

gwelican avatar gwelican commented on May 1, 2024

thanks, I suck at UX. I will take a look. I mostly worked on the API, I just started on the UI to add photos to albums and create new albums.

I was thinking about click on the photo (add to album), then all the albums would be listed and on the top there would be a create new album.
Of course the same modal window would popup in the album's view when you click on new album.

Something like this: https://i.imgur.com/SWGUrTg.gif

from photoprism.

graciousgrey avatar graciousgrey commented on May 1, 2024

That looks good, I like the modal :). Maybe additionally to opening the modal when the user clicks on a single photo (like in the gif) we could implement that the user can select multiple photos and then adds all selected photos via the same modal to an album. The select functionality should be already there. But this is just a suggestion you can of course stop at any point you want - there is no need to implement all features fully before creating a pull request.

from photoprism.

gwelican avatar gwelican commented on May 1, 2024

yeah tbh I feel like this is a rabbit hole, I was thinking about creating albums assigning photos to albums and listing albums, but it became this huuuuge thing. Anyway, I am thinking about defining something like an MVP, you can assign a single photo to an album, then we can extend it later.

So far creating the album, adding photo to an album parts are done, listing an album is still left.
Once I get closer, I will open a PR to review the code, I am inexperienced in go and vuejs, so I expect some review comments.

from photoprism.

graciousgrey avatar graciousgrey commented on May 1, 2024

Yes sure, the whole album thing is a big functionality. Define what ever MVP you like - we can then close this issue and create a new one for extended functionality. Thank you for working on this :)

from photoprism.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.