theripper93 / fvtt-player-client

MIT License
24 stars 3 forks source link

[Feature Request] Navigation Buttons? #9

Closed Grandsome closed 1 year ago

Grandsome commented 1 year ago

Given that this is supposed to be client for players, a minimal navigation UI would be very helpful to reload the page and go back to login portal and whatnot.

Thanks for the project, it's gonna be a lifesaver for players with "wild browsers".

OmegaRogue commented 1 year ago

I'll look into it!

OmegaRogue commented 1 year ago

What buttons would you expect to be in such a navigation UI?

theripper93 commented 1 year ago

This is meant to mirror the foundry client experience, the lack of buttons is intentional. To go back to login you can just logout from inside foundry, and you can just ctrl+r to refresh. I like the design as is without buttons this is not a feature I’m willing to add/approve

OmegaRogue commented 1 year ago

The Problem is that you can't go back to the server selection screen after connecting once

theripper93 commented 1 year ago

I'm aware of that, but I don't want a navigation bar taking up the screen when restarting the client takes 1 second

OmegaRogue commented 1 year ago

There's already some js being injected by the client, it should be possible to inject some more and add that button into the normal foundry UI i think

theripper93 commented 1 year ago

Yes, but I inject only in the login screen, I don't want to inject in the in game interface

OmegaRogue commented 1 year ago

In that case I will maintain a fork with that functionality: https://github.com/OmegaRogue/fvtt-player-client/tree/fork

OmegaRogue commented 1 year ago

https://github.com/OmegaRogue/fvtt-player-client/releases This should work

Grandsome commented 1 year ago

A "back" and "forward", and "reload" button, there must also maybe be a way to get the navigation bar to auto-hide. Sorry for late comment. i'll have a look at current releaseé

OmegaRogue commented 1 year ago

A "back" and "forward", and "reload" button, there must also maybe be a way to get the navigation bar to auto-hide. Sorry for late comment. i'll have a look at current releaseé

What would the purpose of forward and back buttons be? I can somewhat see the use of a reload button, tho you can just press F5 for that