urania-dev / snapp

Yet Another Url Shortner. A simple excercise to learn Svelte.
https://snapp.li
MIT License
210 stars 11 forks source link

[FEAT] Change the default page to dashboard when the user is logged in #40

Closed AspireOne closed 2 months ago

AspireOne commented 2 months ago

When the user is not logged in, it makes sense to show the introductory page. However, when an user already is logged in, the dashboard should be shown as the first page. Otherwise it's always unnecesarrily one more click. I would personally REPLACE the introductory page with the dashboard when logged in, and kept it at the root domain (/).

urania-dev commented 2 months ago

That is more or less the same result as disabling the homepage 🤔

Edit: let me elaborate further.

Atm the homepage is just needed to promote the app on the web, from my snapp.li (which is a private service, ive done to my own consumption after all). On a selfhosted premise that page became useless pretty quick, hence the possibility ti disable it, that way any access to / get redirect to login if no session is found, or /dashboard in order to better manage your urls

Is it not? 🧐

AspireOne commented 2 months ago

And where do I do that?

Dne čt 29. 8. 2024 2:55 odp. uživatel archraziel88 @.***> napsal:

That is more or less the same result as disabling the homepage 🤔

— Reply to this email directly, view it on GitHub https://github.com/urania-dev/snapp/issues/40#issuecomment-2317582985, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXBNJAVN3X3QTUIVHJSP5LZT4K4VAVCNFSM6AAAAABNKJVLTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJXGU4DEOJYGU . You are receiving this because you authored the thread.Message ID: @.***>

urania-dev commented 2 months ago

In setting > disable homepageScreenshot_20240829-193335.png