Discussion
Loading...

Discussion

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
deadsuperhero
@deadsuperhero@spark.box464.social  ·  activity timestamp last month
@spark464 This is really really good, but it doesn't look like there's an option for Fahrenheit or Celsius?

This seems like the kind of low-hanging fruit that could make a demo widget like Weather really useful for developers.

  • Copy link
  • Flag this post
  • Block
spark464
@spark464@spark.box464.social replied  ·  activity timestamp last month

@deadsuperhero There's some documentation about it here, and yeah, it looks like it can be turned into a config value fairly easily.


https://github.com/bonfire-networks/bonfire_geolocate

  • Copy link
  • Flag this comment
  • Block
Bonfire
@bonfire@indieweb.social replied  ·  activity timestamp last month
@spark464 @deadsuperhero

It's indeed quite easy to add settings in extensions:

Just this bit of code https://github.com/bonfire-networks/bonfire_geolocate/commit/fe76adcbfbdd306e966b993d15465d464566b1ca to add it to settings (see screenshot)

A screen shot for the settings of a Bonfire extension, showing :
Select units to use for distance, temperature, etc
- Metric (meters, celsius, etc) 
- Imperial (miles, fahrenheit, etc)
A screen shot for the settings of a Bonfire extension, showing : Select units to use for distance, temperature, etc - Metric (meters, celsius, etc) - Imperial (miles, fahrenheit, etc)
A screen shot for the settings of a Bonfire extension, showing : Select units to use for distance, temperature, etc - Metric (meters, celsius, etc) - Imperial (miles, fahrenheit, etc)
  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.1 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login