rommapp / romm

A beautiful, powerful, self-hosted rom manager
https://romm.app
GNU Affero General Public License v3.0
1.88k stars 87 forks source link

[UI/UX] Convert RomM as a PWA #139

Open zurdi15 opened 1 year ago

zurdi15 commented 1 year ago

As many users use RomM from a smartphone, it would be nice to convert RomM as a PWA

calebsmithdev commented 1 year ago

This kind of ties into another issue regarding the refactor on components. Is there any interest in adjusting the frontend to use Nuxt, instead of just the base Vue framework? That would streamline the PWA dev quite a bit and simplify a few other pieces as well (like the router removal and more state management options).

If there is any interest here, I can put together a proof of concept to see how it feels/works with the current setup.

gantoine commented 1 year ago

Hey @calebsmithdev, zurdi just merged in a pretty big refactor of the frontend, and things are (IMO) in a much better place right now. If you're still up for it, think you could whip up small Nuxt POC? Ideally something I can use to play with locally, try and get a feel for Nuxt.

FWIW I've used NextJS a little in the past, and I assume the benefits are similar?

zurdi15 commented 1 year ago

Oh sorry, I wasn't aware or forgot about your "offer" @calebsmithdev. It would be nice if you still want to help with that POC.

In any case, what are the benefits of Nuxt/NextJS?

calebsmithdev commented 1 year ago

I was waiting on that refactor for I even tempted to touch it haha. It was looking pretty beefy!

The big benefits for Nuxt here that I see:

It had some downsides, specifically around the mindset of knowing when to make something SSR compatible versus client only, but you get used to it pretty quickly. Outside of that - it's essentially just NextJS but for Vue, especially with Nuxt 3.

All that said - sure I can put together a POC and we can see how it feels.

calebsmithdev commented 11 months ago

Sorry! Time slipped away from me and I got busy on other projects. Is this something we still want to explore? I saw a V2 PR in draft, so it'd be worthwhile to wait for that for any deep dives, but Nuxt might be overkill at the moment and worth waiting until the UI feels to be in a more stable state.

gantoine commented 11 months ago

Is this something we still want to explore?

It is! But you're right, we should wait until features are more stable before considering a move. At the moment we're still overhauling major parts of the app.