Add water temperature production workspace
This commit is contained in:
@@ -72,13 +72,15 @@ The operator can add title/source overlays and export the rendered canvas.
|
||||
|
||||
Faktiskā has a fixed 13-position station configuration. On page entry the frontend calls `/api/query/latest-temperatures/<cities>`. The backend selects the newest row per requested city and returns `tempAvg`, the station name, and its observation timestamp. The UI highlights missing or older observations and permits an explicit manual override without changing the stored observation.
|
||||
|
||||
Weather-font glyphs and wind values remain manual editorial inputs. One glyph can be applied to all fixed stations and exceptions changed individually. The browser composes these values on the fixed wind-template canvas and exports exactly 3840×1440 pixels. The production master images define the required output geometry; final Monta typography and pixel-level comparison remain pending.
|
||||
Weather-font glyphs and wind values remain manual editorial inputs. One glyph can be applied to all fixed stations and exceptions changed individually. The browser composes these values on the fixed wind-template canvas and exports exactly 3840×1440 pixels. The production master images define the required output geometry; final Monda pixel-level comparison remains pending.
|
||||
|
||||
The glyph renderer measures each finished temperature badge, attaches the selected Daira glyph automatically, then applies a fixed optical correction shared by the Faktiskā template. The configuration also permits per-station offsets when later production comparison requires them. Operator input selects the symbol but never controls its coordinates.
|
||||
|
||||
### Ūdens temperatūra (planned)
|
||||
### Ūdens temperatūra
|
||||
|
||||
Ūdens temperatūra will be an independent fixed-template renderer. Its temperatures are manual editorial inputs rather than station-query results. A Latvian-named field configuration will map each water area to locked canvas coordinates. The same workflow must produce explicit 1920×1080 and 3840×1440 canvases and filenames; each size must be verified against newsroom requirements.
|
||||
Ūdens temperatūra is an independent fixed-template renderer. Its six ranges are currently manual editorial inputs rather than station-query results. A Latvian-named field configuration maps each water area to locked canvas coordinates. The workflow produces explicit 1920×1080 and 3840×1440 canvases and filenames; each size still requires comparison against newsroom output.
|
||||
|
||||
Monda Regular and Bold are bundled locally and used by the interface and generated text. Daira remains a separate font used only for weather-symbol glyphs.
|
||||
|
||||
## What the repository does not provide by itself
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ Completed Faktiskā checkpoint:
|
||||
- automatic badge-relative glyph placement with shared optical correction;
|
||||
- guarded 3840×1440 export using the fixed wind production artwork.
|
||||
|
||||
Valmiera is included in the development seed so all 13 fixed positions can be exercised. Monta is the production typeface; Rubik remains temporary until the authorized Monta font files are supplied. The export dimensions are locked, but final pixel-level placement must still be compared against the production masters after Monta is installed.
|
||||
Valmiera is included in the development seed so all 13 fixed positions can be exercised. Confirmed Monda Regular/Bold files are now bundled and used. The export dimensions are locked, but final pixel-level placement must still be compared against the production masters after the font change.
|
||||
|
||||
## Ūdens temperatūra
|
||||
|
||||
@@ -104,7 +104,7 @@ Required behavior:
|
||||
|
||||
The background, title, source, field set, and value positions remain fixed. Only the water-temperature values are routinely edited. Both output sizes are production requirements and must be validated independently; implementation must not assume that browser preview dimensions define export geometry.
|
||||
|
||||
Implementation status: documented and approved as the next separate workspace; not yet coded.
|
||||
Implementation status: first working version implemented. The page provides six Latvian-named manual min/max controls, automatic fixed placement, Monda rendering, explicit resolution selection, completeness validation, and Latvian PNG filenames. Pixel-level comparison and independent calibration of both output sizes remain required.
|
||||
|
||||
## Latvia overview
|
||||
|
||||
@@ -135,5 +135,5 @@ Development limitation: representative forecast CSV fixtures are not currently i
|
||||
- Whether weather conditions can eventually be populated automatically and which provider field is authoritative.
|
||||
- Whether Stende and Zīlāni remain the production feeds after users test real provider data.
|
||||
- Confirm how Valmiera is named and sourced when authorized provider data is available.
|
||||
- Final Monta font files and a pixel-level export comparison against the production masters.
|
||||
- Final pixel-level Monda export comparison against the production masters.
|
||||
- Required authentication and role separation for analytical, production, and administrative workspaces.
|
||||
|
||||
+2
-1
@@ -11,7 +11,8 @@ This directory contains the working documentation for the WeatherTool modernizat
|
||||
- PostgreSQL is private to the project Compose network; only the Scala application publishes a host port.
|
||||
- UI modernization is in progress. City Analysis retains custom analytical map outputs, while Faktiskā is a fixed 13-position, latest-temperature newsroom workflow with a locked 3840×1440 export.
|
||||
- Faktiskā symbol placement is automatic after manual glyph selection and is anchored to each rendered temperature badge.
|
||||
- The next planned production workspace is **Ūdens temperatūra**, with manual Latvian-named fields and required 1920×1080 and 3840×1440 exports.
|
||||
- The first **Ūdens temperatūra** workspace is implemented with manual Latvian-named fields and required 1920×1080 and 3840×1440 exports; visual calibration remains in progress.
|
||||
- Confirmed local Monda Regular/Bold files now provide interface and generated-graphic typography; Daira remains reserved for weather symbols.
|
||||
- This is not yet approved or hardened for workplace production.
|
||||
|
||||
## Documents
|
||||
|
||||
@@ -13,3 +13,7 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
## Monda
|
||||
|
||||
The locally bundled Monda Regular and Monda Bold font files are distributed under the SIL Open Font License 1.1. The complete license text is stored at `Monda/OFL.txt`.
|
||||
|
||||
@@ -120,9 +120,10 @@ Status: pending
|
||||
- [x] Add an explicit PNG download workflow for broadcast map assets.
|
||||
- [x] Implement the fixed Faktiskā station set, latest-temperature loading, manual overrides, and locked 3840×1440 export.
|
||||
- [x] Make Faktiskā weather-symbol selection manual while keeping placement automatic and badge-relative.
|
||||
- [ ] Add a separate Latvian-named Ūdens temperatūra workspace with fixed manual fields.
|
||||
- [x] Add a separate Latvian-named Ūdens temperatūra workspace with fixed manual fields.
|
||||
- [ ] Validate independent Ūdens temperatūra exports at 1920×1080 and 3840×1440 against the production specification.
|
||||
- [ ] Install the authorized Monta font and perform pixel-level comparison against the authoritative production masters.
|
||||
- [x] Bundle the confirmed Monda Regular/Bold files and replace temporary Rubik rendering.
|
||||
- [ ] Perform pixel-level Monda comparison against the authoritative production masters.
|
||||
- [ ] Test target resolutions and real workplace display conditions.
|
||||
- [ ] Check keyboard navigation, contrast, focus states, and screen-reader labeling.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user