Coffee journaling on ATProto (alpha) alpha.arabica.social

Add support for unit types in lexicon #5

Closed arabica.social
Closed opened by arabica.social

The problem #

When I enter the temperature of water for my brews, I usually end up converting from Fahrenheit to Celsius for consistency. This adds a step that slows down my ability to log my brews.

Solution #

I think it would be really nice if there was a toggle to set what unit I am using (either Fahrenheit or Celsius), then the AppView has a setting to show what unit I would like to browse in. This enables me to enter my temperature in Fahrenheit and others can view it in Celsius if they desire.

I've been meaning to add this to settings, since before I even added settings. One thing that isn't really advertised is that the frontend will add an F or C based on the actual numbers provided (so 200 will show an F, but 100 or 95 will show C). I could definitely make it more clear that this is how the system works though.

It would probably also be better to store one canonical unit (in the v1 lexicon) and just add units and adjust in the frontend based on user preferences after that.

If you look at the homepage right now, you'll see my brew shows 205F, and yours next to it shows 79.4C. Anything greater than 100 will flip over to Fahrenheit.

Good to know! I Thanks for the quick response!

I think the larger issue might just be that it needs to be better documented to the user.

100% agree, I’ll get something added to make that more clear.

I updated the temperature input header to show: "Temperature (°F/°C)", which should make it more clear. I still think post-alpha state is standardizing on one unit and utilizing user preferences to determine which number to show (or maybe just keep it as-is and allow setting to adjust all units in the UI)

Added a preferred units setting to the settings menu. It doesn't use a preferences lexicon yet but might in the future.

Sign up or Sign in to add to the discussion.