|
|
bfd427c9b2
|
Add wide view and inline editing to Measurements page
The Measurements page gains a compact/wide view toggle (persisted in
localStorage). The wide view is a pivot table: rows = time points,
columns = quantity names (alphabetical), cells = value + delete button.
Clicking a value in either view opens an inline edit panel (Turbo Stream)
without leaving the page. The panel shows the quantity name, value input,
unit selector, taken_at picker, and Update/Cancel buttons.
Changes:
- MeasurementsController: add edit/update actions; order by taken_at desc
- measurements/index: compact table + wide container, view-toggle buttons
- measurements/_readout: data-* attributes for JS pivot builder; edit link
- measurements/_edit_panel, _edit_form, _edit_form_close,
edit.turbo_stream, update.turbo_stream: inline edit views
- application.js: groupMeasurements, buildWideTable (alphabetical cols),
getMeasurementsView / setMeasurementsView, editMeasurementWide,
readoutUnitChanged, setDefaultUnit
- application.css: compact/wide visibility rules, .wide-cell flex layout,
button.link reset, .items-table .form td alignment
- Pictograms: view-rows.svg, view-columns.svg (view-toggle icons)
- Locale: view_compact/view_wide toggle labels, edit link, update.success
- Tests: system tests for compact inline edit and wide view edit panel
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-03 22:03:10 +00:00 |
|
|
|
a9091d76a8
|
Merge styles of <a>.button/<button>/<input type="submit"> into .button
Remove flash button
Fix some multi-selector specificity differences
|
2026-03-04 17:13:11 +01:00 |
|
|
|
bd1a664caa
|
Measurement form based on select-styled <details>
|
2026-01-31 17:22:09 +01:00 |
|
|
|
9d60eee16b
|
Add Measurements tab and #new form
|
2025-01-25 16:34:04 +01:00 |
|
|
|
b3aea97087
|
Add Quantities tab
|
2025-01-05 03:18:39 +01:00 |
|
|
|
a9307ad455
|
Form uses button instead of input to display SVG
|
2024-12-23 00:47:44 +01:00 |
|
|
|
51011951f9
|
Default Units index
|
2024-11-10 21:30:19 +01:00 |
|
|
|
537cd18336
|
Change namespace for defaults controllers
To allow proper path prefix for view partials when using
config.action_view.prefix_partial_path_with_controller_namespace
|
2024-11-09 21:50:50 +01:00 |
|
|
|
f899fed910
|
Prefer icons without circle
|
2024-11-09 15:56:22 +01:00 |
|
|
|
927a8330bc
|
Add souce code and issue tracker links
Closes #3
|
2024-05-12 23:21:30 +02:00 |
|
|
|
b4212298df
|
Add Unit defaults import link
|
2024-05-04 01:47:53 +02:00 |
|
|
|
92350ac3f2
|
Display new form with turbo frame
|
2024-01-03 01:02:29 +01:00 |
|
|
|
a4745c9cb8
|
Add Units
|
2023-07-06 18:34:16 +02:00 |
|
|
|
459836ca38
|
Add Users#disguise/#revert
|
2023-05-13 23:38:07 +02:00 |
|
|
|
23b8c82602
|
Add user profile editing
|
2023-05-02 18:55:38 +02:00 |
|
|
|
4dbd5f4a2a
|
Update Users#index
|
2023-04-23 19:35:10 +02:00 |
|
|
|
86dbc95375
|
Add navigation menu
|
2023-04-21 20:22:16 +02:00 |
|
|
|
894c21f322
|
Move reset buttons to corresponding forms
|
2023-04-19 01:32:06 +02:00 |
|
|
|
17e3f2e100
|
Do not display application menu links with current url
Add "Recover password" link
|
2023-04-13 01:48:47 +02:00 |
|
|
|
a46c41197c
|
Add images to session links
|
2023-04-08 04:19:36 +02:00 |
|
|
|
7d0da45653
|
Add linked SVG image to button
|
2023-04-08 00:31:59 +02:00 |
|
|
|
803d9063d5
|
Fix flash pictograms
|
2023-04-05 02:36:01 +02:00 |
|
|
|
3c54867e51
|
Add flash messages display
|
2023-04-05 02:29:21 +02:00 |
|
|
|
6d2d12a9da
|
rails new
THOR_MERGE=vimdiff bundle exec rails new -d mysql --skip-action-mailbox
--skip-action-text --skip-active-job --skip-active-storage
--skip-action-cable --skip-hotwire --skip-jbuilder --skip-bootsnap
--skip-bundle .
|
2023-03-05 19:23:29 +01:00 |
|