Commit Graph

260 Commits

Author SHA1 Message Date
cryptogopher af28e88243 Improve index tables
Stretch inputs to column width in place of fixed sizing.
Set minimum column widths for columns with form inputs.
Simplify table operations by removing `thead` and adding sentinel.
Manage empty table display with CSS only.
2026-11-06 23:10:05 +01:00
cryptogopher 204b5ad34d Replace patched #dom_id with #dom_target 2026-11-06 23:10:05 +01:00
cryptogopher b14efa52d8 Update and move turbo_stream actions to separate file
Use CSS `visibility` instead of `display` for #show/#hide.
Access data attributes through `dataset` property.
2026-11-06 23:10:05 +01:00
cryptogopher 49a598c4e2 bundle update 2026-11-06 23:10:04 +01:00
cryptogopher 2ccdcfc1b7 Improve controllers and views 2026-11-06 23:10:04 +01:00
cryptogopher 1e2f9a277f Display form errors using custom validity messages 2026-11-06 23:10:04 +01:00
cryptogopher 4615960236 Check for out of range float values
Remove unsupported attribute `[maxlength]` from `input[number]`.
2026-11-06 23:10:04 +01:00
cryptogopher b605525704 Fix js code and comment formatting 2026-11-06 23:10:04 +01:00
cryptogopher 6cdc6cd7e3 Use [disabled] attribute only on tags that support it
Add Capybara selector for disabled links.
2026-11-06 23:10:04 +01:00
cryptogopher 97ff675698 Use <pre> tag for formatting 2026-11-06 23:10:04 +01:00
cryptogopher 6701f591a3 Remove pictograms directory 2026-11-06 23:10:04 +01:00
cryptogopher dbfdbab073 Change Unit.multiplier type from decimal to float
Remove remnants related to BigDecimal.
2026-11-06 23:10:04 +01:00
cryptogopher 2c4374aff9 Fix SQLite query compatibility inside WITH clause
SQLite3::SQLException: circular reference
2026-11-06 23:10:04 +01:00
cryptogopher 14a64c1385 Add Note 2026-11-06 23:10:04 +01:00
cryptogopher f92b186e4f Set constraints on Readouts.user_id foreign key
Add Measurements table
2026-11-06 23:10:04 +01:00
cryptogopher 717b6fa55a Upgrade Rails to 8.1.3 2026-11-06 23:10:04 +01:00
cryptogopher a4297efe0f Drop Readout.value decimal type in favor of float 2026-11-06 23:10:04 +01:00
cryptogopher f3505db1f1 Clean up and improve items-table styling
Closes #9
2026-11-06 23:10:04 +01:00
cryptogopher f87aa9fd3d Improve Measurement form layout and styling 2026-04-25 04:13:47 +02:00
cryptogopher 5ed066ad18 Unify border/outline parameters order 2026-03-06 01:42:32 +01:00
cryptogopher dde4e52f1b Fix form elements styling on hover 2026-03-06 01:33:23 +01:00
cryptogopher 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
cryptogopher 4175d31b9d Update and format comments 2026-03-03 01:31:44 +01:00
cryptogopher c659201904 Make [disabled] and [hidden] styles !important 2026-03-03 01:14:12 +01:00
cryptogopher 83b064ef3c Merge recover password/resend confirmation forms into sign in/register
Closes #65, #66
2026-03-01 20:04:42 +01:00
cryptogopher 80130fb7d1 Allow cascade delete Unit/Quantity
Closes #32
2026-02-22 17:50:43 +01:00
cryptogopher 84945fa4b4 Simplify and improve labeled form 2026-02-22 00:53:18 +01:00
cryptogopher 675eb0aad8 Optimize styles; clean up <fieldset> 2026-02-03 15:33:37 +01:00
cryptogopher bd1a664caa Measurement form based on select-styled <details> 2026-01-31 17:22:09 +01:00
cryptogopher 0fb7f9946a Create alternative, spreadsheet-like style 2025-07-29 15:43:49 +02:00
cryptogopher d9bd2b46e3 Fix svg_tag display on Users tab 2025-07-26 23:24:54 +02:00
cryptogopher da38d8b585 Create Devise routes only when 'users' table exists
Closes #42
2025-07-25 15:30:26 +02:00
cryptogopher e12369cea1 Measurements#new form improvements 2025-05-13 22:30:58 +02:00
cryptogopher ef3484dfdf Update Measurements#new form pathnames on actions 2025-05-07 00:24:05 +02:00
cryptogopher 9dbcfddf98 Merge corrections provided by Bambuch, cont. 2025-04-26 19:12:56 +02:00
cryptogopher cd9a64b5ad Merge corrections provided by Bambuch 2025-04-26 18:32:45 +02:00
cryptogopher e8a0768d97 Update Quantity.depth using WITH + UPDATE ALL 2025-04-25 14:25:13 +02:00
cryptogopher d1593df0e0 Use callbacks instead of attribute methods to update cached values 2025-04-24 18:59:36 +02:00
cryptogopher fe66522c21 Cached attribute definition (attr_cached) 2025-04-19 20:29:29 +02:00
cryptogopher 1cddc794d2 Cleanup Quantity :pathname related code 2025-03-23 13:11:14 +01:00
cryptogopher 3b30e58ff3 Persist Quantity :pathname 2025-03-23 12:56:57 +01:00
cryptogopher 8401424efa Partial refresh of Measurements#new form 2025-02-18 18:27:47 +01:00
cryptogopher c48bf290fd Implement Measurements#new 2025-02-18 11:25:32 +01:00
cryptogopher 9d60eee16b Add Measurements tab and #new form 2025-01-25 16:34:04 +01:00
cryptogopher 3d7daa8944 Create Readout model 2025-01-22 00:14:57 +01:00
cryptogopher 6300273186 Cleanup 2025-01-16 21:37:58 +01:00
cryptogopher 2fdd770457 Center images in 'icon only' table columns 2025-01-16 21:29:10 +01:00
cryptogopher dada29d5e6 Fix table row indentation for hierarchy
Closes #57
2025-01-16 21:19:01 +01:00
cryptogopher 7962cdf169 Simplify object and association checks
* check for <object> instead of <object>.nil?
* check for <association>_id? instead of <association>.nil? (avoids
  record loading)
2025-01-16 20:42:18 +01:00
cryptogopher c908063212 Persist Quantity :depth instead of computing it on the fly 2025-01-16 17:14:52 +01:00