53 Commits

Author SHA1 Message Date
4d77088764 Feat/prerender and state (#8)
* pre-load data behind link elements on hover

* Enable SSR and prerendering of pages in 'auto' mode

* merge relay & regulator state in /api/state

This helps when updating relays and receiving state of relays and regulator state (idle,
heating or cooling) after emitting relay change.
2025-01-12 18:34:16 +01:00
34018285a0 grid layout for larger devices 2024-10-13 17:11:21 +02:00
1c66c841ab Updated drink state to 'completed' 2023-08-27 15:38:46 +02:00
6f80aee823 Handle state being undefined without crashing 2023-08-27 15:38:31 +02:00
699a67161b Merge branch 'main' of github.com:KevinMidboe/brewPi 2023-08-27 13:57:50 +02:00
20f4a173d4 Added Pilsner category to Utepils 2023-08-27 13:57:22 +02:00
c146ffccfd Some margin under logo 2023-08-27 13:56:32 +02:00
c0a46b8cca Height & width 100% to grow to parent 2023-08-27 13:56:13 +02:00
d5e46af091 Fill with white 2023-08-27 13:55:46 +02:00
2da44956be .link animated style on hover & --orange 2023-08-27 13:55:20 +02:00
b34b18ad37 Navigation arrow top left for going to /brews list page 2023-08-27 13:54:16 +02:00
0071bd3791 Every brew takes more spaces & displays details on card 2023-08-27 13:52:46 +02:00
38e42bb37c Resize grid template on ~ tablet sizes
Also set max image width for brew progress to have more predictable
height.
2023-08-27 13:50:53 +02:00
3a8587b2ad Better use of entire viewport size 2023-08-27 13:45:20 +02:00
c1953517e7 Call /api/state after relay is switched 2023-08-27 13:44:03 +02:00
f5f759ca0a DTO interfaces for API responses. 2023-08-27 13:43:04 +02:00
b9a5fde53f Make top right hamburger a button for accessibility 2023-08-27 13:39:45 +02:00
0218c048e9 Expanded brewprogress w/ brew details & image. Better CTA 2023-08-27 13:38:24 +02:00
89b17ea714 Header color and form fit better w/ rest of page colors 2023-08-27 13:30:53 +02:00
c16bce0a1a Gradient background color under graph lines & display NO DATA if none 2023-08-27 13:28:48 +02:00
a60dc726eb fix: incorrect color secondary key in add_brew script 2023-06-26 16:59:44 +02:00
0bcc49c8cf Fix: added wrong IPA. Hazyday hero --> ink and dagger 2023-06-26 14:01:30 +02:00
3bb08cfbd3 Animate brew progress arrow 1.8s after page load 2023-06-24 22:30:59 +02:00
f5ada7d711 Brew progress help typography (#7)
* Import latest beer to brew progress

* Wrap name in link to brew & arrow for prompting nav

* Help text for showing description by clicking icons
2023-06-24 21:46:36 +02:00
5575d01e63 Brew: Amundsen hazyday hero (#6)
* New brew: amundsen hazyday hero

* Helper script for adding new brews
2023-06-24 21:02:52 +02:00
94c27b0a8d Feat: Colored brew pages (#4)
* Removed graph animation

* Smoother graph by removing data point bubbles

* Added relatime button which keeps reloading every 2 sec

* Clear timeout when destroying/navigating away from page

* Added primary & secondary colors to match label per brew

* Only render graph if dataset is list of length

* Also color mobile image container primary color of brew

* Add white background on graphs because of low contrast secondary background color
2023-06-24 19:41:50 +02:00
4008b8aee9 Feat: Schleppe Brew logo (#5)
* Added new logo design

* Favicon icons & header links

* Logo max width on mobile

* Logo as svg component. Replaces PageHeader component

* Same brew logo for mobile & desktop
2023-06-24 19:36:53 +02:00
38d01399fd Made progress values more bold & updates colors manually 2023-06-02 00:50:02 +02:00
659b657175 Add expand/collapse descrption for each pogress step on click 2023-06-02 00:48:45 +02:00
d663f13f15 Feat: Logo (#3)
* Added new logo design

* Favicon icons & header links

* Logo max width on mobile

* Logo as svg component. Replaces PageHeader component

* Change favicon background to match website grey

* Mobile center align logo & reduce max width
2023-06-01 19:12:56 +02:00
642bca3430 Removed unsued folder 2023-05-30 18:28:47 +02:00
2edb253ead All env variables imported during build time 2023-05-30 18:28:22 +02:00
d155637e5f Added brewlogger/brewpi host as env variable 2023-05-30 18:12:03 +02:00
edb3e74c6d Moved ES variables to .env file 2023-05-30 18:04:00 +02:00
004f266c6b Merge pull request #2 from KevinMidboe/refactor/graph-api-data
Refactor: Graph api data
2023-05-30 17:39:01 +02:00
c3fa82524d Merge pull request #1 from KevinMidboe/fix/styles-structure
Fix: Styles structure
2023-05-30 17:35:18 +02:00
d26e326144 Updated chartjs 3.8 -> 4.3 2023-05-30 17:32:16 +02:00
a97cdc1c10 Removed unsued display component 2023-05-30 17:31:53 +02:00
316917c97e Changed loading/current animation to 12 -> 8s 2023-05-30 17:31:25 +02:00
851ad314d0 Roboto bold font 2023-05-30 17:30:47 +02:00
30314eac40 Linting & relative imports 2023-05-30 17:30:18 +02:00
4a80a562ee Scroll selected button into view on smaller width screens 2023-05-30 17:29:08 +02:00
f759638bf4 Display temperature & humidity as graph over time of a brew.
Uses the available lib/server/graphQueryGenerator functions to get data.
2023-05-30 17:28:15 +02:00
c0d1bbef60 Simplified Graph component. Date scales based on timeframe selected 2023-05-30 17:24:50 +02:00
8526b0e552 /graph API endpoint for proxy to elastic, all use this endpoint or lib/server functions to get data 2023-05-30 17:23:58 +02:00
9824421b34 Add temp & humidity graph for brew start & end date 2023-05-29 12:32:07 +02:00
bbb072fa83 Linting & minor style changes 2023-05-29 12:31:34 +02:00
316cd14ed2 Page & component wrapping element consistent style w/ .card 2023-05-29 12:30:55 +02:00
851ecac5ab Consolidated global styles & variables, simpler import in layout 2023-05-29 12:27:40 +02:00
d1dee871bb Imitates post delivery status, but with brew progress 2023-05-29 12:26:33 +02:00