Comments (7)
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.
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.
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.
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.
@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.
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.
I believe this is now addressed in KIP 2.9.0 / Freeboard-SK v2.6.1
from freeboard-sk.
Related Issues (20)
- Feature Request: Create route from waypoints HOT 2
- Unknown wind shown as 0 HOT 1
- wind next legs HOT 3
- Overlap between mbtiles files. HOT 12
- Blank screen between mbtiles files when zooming in or out HOT 5
- heading. HOT 11
- delete menu. HOT 2
- Alarm Operation HOT 5
- Autopilot v2 API alignment
- Remove built-in PyPilot connectivity.
- Setting dialog options menu overflow HOT 1
- Measure, distance and angles HOT 1
- enhancement of waypoints HOT 4
- Meteo context pop-up title not updated HOT 1
- Make welcome screen skippable via URL params HOT 4
- show laylines to waypoint HOT 17
- Show windbarbs HOT 2
- show kip steering widget in freeboard.
- "No weather data found." HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freeboard-sk.