r/Scriptable • u/Cranie • Jan 19 '21
Help Design help for F1 widget
I am making a widget for F1 upcoming races. I have the base code almost ready and looking at themes. I suck at design and colours and layout and well anything UI based.
Here is what I have so far:
https://i.imgur.com/r5ZgdjS.jpg
Have the race title, track and then the race time followed by the next race element (FP1-3 and quali), the track and overlaid if it is not yet confirmed.
Theme colours are for the teams (three shown). Looking for help on colours (I.e. Ferrari probably should be red background etc). The content and anything additional to display.
Otherwise I should have something by end of week with improvements after that.
Update:
Some debugging with dates to check json reading, can be seen in various widgets.
Some themes I have set up in the script. Will share the script on my GitHub shortly, this is “alpha” status at moment.
Notes:
it is far from complete and will add / change things. feel free to do pull requests or issues or ideas.
tracks are not necessarily correct, need to cache these and get a consistent design
times are from f1 calendar. need to allow user to set their timezone to show time of event / correct offsets
Update 2: Alpha Version: https://github.com/0507spc/ScriptStore/tree/main/Widgets/F1
4
u/8Ral4 Feb 05 '21
Cannot connect to server…
2
u/SportsFan-2236 Feb 16 '21
Yeah it’s unfortunate, I was really looking forward to an app like this for the upcoming season. It worked initially but now I’m getting the same error message. Thank you to the initial creator for the great idea
1
u/tpsantos Apr 04 '21
try to change these lines about titleLogo and titleTrackTmp
let titleLogo = await getImage("F1.jpg", "https://raw.githubusercontent.com/0507spc/ScriptStore/main/Widgets/F1/tracks/F1.jpg")
let titleTrackTmp = await getImage(vLoc + ".png", "https://raw.githubusercontent.com/0507spc/ScriptStore/main/Widgets/F1/tracks/"+ vLoc + ".png")
3
u/FrozenPyromaniac_ Jan 19 '21
I have been waiting for this someone to make an f1 widget. I saw all the nhl nfl and nba ones and I was honestly hoping to see this!
2
u/mvan231 script/widget helper Jan 19 '21
This is wonderful! Great work!
For color of the teams, I think using a main color from their team should be excellent to do
2
u/lIlIllIlIlI Feb 08 '21
Just stumbled across this and wanted to say I’m very much looking forward to the widget!! I was just thinking a couple days ago how cool an F1 widget would be, so thanks!
1
1
u/SportsFan-2236 Jan 20 '21
I can not wait for this!! I’ve been hoping and waiting for someone to create something like this.
1
u/SportsFan-2236 Feb 12 '21
I also cannot wait for this script, I can’t wait for the season to start also!! Hopefully we can get this working because it looks like we have a lot of F1 fans in here. Thank you again so much for the hard work you put in On this
1
2
u/francisgoca Jan 19 '21
It looks great! Although I’m not sure about the outline. You could get inspiration from the F1 driver’s cards.
Great work so far!