Giter Site home page Giter Site logo

Comments (7)

panaaj avatar panaaj commented on July 18, 2024

Freeboard-SK does persist the login token and should only prompt for login when the token expires.

When you say flip between pages are you referring to browser tabs?

from freeboard-sk.

Rhumb-Runner avatar Rhumb-Runner commented on July 18, 2024

I use Freeboard as an embedded webpage to a Kip page. I guessed you would be familiar with Kip. Kip opens in a browser window / tab (I always use it in fullscreen) and you can create as many "pages" of data display as you'd like. You can change between pages by arrow buttons on the bottom of each page without leaving the Kip browser window / tab. My current setup had 6 pages of data arranged by what I need at various times. On distance races, I generally use a page that just gives me a display of the range / bearing / VMG to the waypoint as well as my SOG / COG and basic Wind info and only flipping to the Freebaord page if the waypoint doesn't advance or to get a look at the traffic on AIS. So the token could be timing out? But, Freeboard seems to be a fresh call from the server each time as I get the message about "use Shift-reload if this message dose not disappear". My display is a touchscreen and I don't have a keyboard or mouse attached. If I need to use the keyboard I have to VNC into the RPi to access a keyboard from the VNC app which is why it would be great to not have to do that each time just to login to press the arrow button to advance the waypoint. I'm trying to figure out a way or find a app to bring up a on screen keyboard whenever you click into a text input but, haven't had any luck yet.

I've also put a request into the Kip side of the house to see if they could have a way to Auto Login as well for any embedded webpage that requires a login for full functionality.

Thanks again for looking at this. -- Chuck

from freeboard-sk.

panaaj avatar panaaj commented on July 18, 2024

It appears that flipping between pages in KIP may destroy the embedded IFrame displaying Freeboard-SK which would explain the reload screen.

There are likely to be browser security features that are causing this behaviour.

Can you please link the associated KIP issue you raised here.

from freeboard-sk.

godind avatar godind commented on July 18, 2024

Auto-login is a feature we can collaborate to improve the UX. @Rhumb-Runner can you think of any other integration features? Kip destroys the widget on page change so I don’t think it’s something that can be changed. Not easily at least but I’m all ears for a solution.

from freeboard-sk.

tkurki avatar tkurki commented on July 18, 2024

@godind imho the first step towards a solution would be to document what happens today:

  • document clearly and explicitly reproducible problematic sequences
  • analyse what is happening in technical terms: iframes, cookies, tokens and endpoints

from freeboard-sk.

panaaj avatar panaaj commented on July 18, 2024

Freeboard-SK will now use the token returned when logged in using the Admin UI, so no additional login is required assuming the user has the appropriate permissions.

You can still login as a different user via the Login menu option.

from freeboard-sk.

panaaj avatar panaaj commented on July 18, 2024

I believe this is now addressed in KIP 2.9.0 / Freeboard-SK v2.6.1

from freeboard-sk.

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.