Git Product home page Git Product logo

Comments (4)

CalamityJames avatar CalamityJames commented on June 30, 2024

I've created a mockup of this which seems to work well.

I have no idea what some of the codes on this screen signify, but here's what I've replaced:
image

1 = Current station code set in config
2 = Platform (shows PlatAll if no platform set) (todo: have different platform based on screen)
3 = Current version of Train Departure Display
4 = Today's date (can't think of an easy way to get the build date of the software without adding a new file)
5 = IP address

The next decision is when to show this. Open to suggestions here, especially from @chrisys as it's your project! 😂

I wondered about replacing the splash screen if a debug mode is enabled, or maybe even having a debug flag that leaves this screen on constantly.

from train-departure-display.

chrisys avatar chrisys commented on June 30, 2024

Wow @CalamityJames I was just trying to clear my plate so I could have a look at this ticket this afternoon! This is great!

Here are my thoughts:

  • I like your idea of a debug flag to show it, maybe something like if the var is set to TRUE it's always on but if it's an integer we show it on startup for that number of seconds? That feels like it would handle a decent amount of what people might want to do with it.
  • My preference would be to remove information that doesn't mean anything in our scenario, but retain the look and feel, so maybe something like...
  • Display = <departureStation>[-><destinationStation>](Plat<platform>) <refreshTime>s <operatingHours> so we'd end up with something like 'PAD->HWV (PlatAll) 120s 8-22h'
  • Script = VERSION (I think we can just stick with the version here, as you say, date is a bit hard to do for the source, and I think today's would be misleading). Another option would be to get the build date of the current release from the balenaCloud API.
  • Address = device MAC address? UID = balenaCloud device UUID (first 7 chars from BALENA_DEVICE_UUID), IP=local IP

What do you think?

from train-departure-display.

CalamityJames avatar CalamityJames commented on June 30, 2024

Something like this? 😁
image
(After putting a MAC address in I don't think there's room for UID)

Also, here it is without some extra options just for completeness
image

from train-departure-display.

chrisys avatar chrisys commented on June 30, 2024

@CalamityJames looks great to me!

from train-departure-display.

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.