Commit Graph

156 Commits

Author SHA1 Message Date
cryptogopher 9c51887024 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-10-17 19:25:46 +02:00
cryptogopher 2c845f3528 Replace patched #dom_id with #dom_target 2026-10-17 05:06:09 +02:00
cryptogopher f1578fad75 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-10-17 03:14:35 +02:00
cryptogopher eae0ee9d20 Improve controllers and views 2026-07-28 00:46:33 +02:00
cryptogopher eb2797bd90 Display form errors using custom validity messages 2026-07-28 00:45:08 +02:00
cryptogopher d4be84875e Use <pre> tag for formatting 2026-07-12 17:19:50 +02:00
cryptogopher 65e5643b13 Remove pictograms directory 2026-07-12 17:17:59 +02:00
cryptogopher b05523dcd6 Change Unit.multiplier type from decimal to float
Remove remnants related to BigDecimal.
2026-07-12 17:16:43 +02:00
cryptogopher 3ac3a6f13c Drop Readout.value decimal type in favor of float 2026-04-25 18:20:16 +02:00
cryptogopher d002ae0f2c Clean up and improve items-table styling
Closes #9
2026-04-25 04:13:47 +02:00
cryptogopher f87aa9fd3d Improve Measurement form layout and styling 2026-04-25 04:13:47 +02: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 83b064ef3c Merge recover password/resend confirmation forms into sign in/register
Closes #65, #66
2026-03-01 20:04:42 +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 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 1cddc794d2 Cleanup Quantity :pathname related code 2025-03-23 13:11:14 +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 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 201359de3e Allow to reparent Quantity everywhere
Closes #61
2025-01-14 21:13:35 +01:00
cryptogopher 8524beefdc Allow to drag all Quantities 2025-01-14 15:03:25 +01:00
cryptogopher 644d1f4b9a Add Quantity #reparent action 2025-01-14 15:02:38 +01:00
cryptogopher 2c0d5af022 Merge Unit and Quantity drag&drop js
Closes #55
2025-01-13 02:23:51 +01:00
cryptogopher 421515e5ce ancestors() sets depth for self, instead of returning new instance 2025-01-12 18:09:34 +01:00
cryptogopher d5e7ccacf5 Add Quantity #edit and #update 2025-01-11 22:51:49 +01:00
cryptogopher 57f10c94a4 Add Quantity #new, #create, #destroy actions 2025-01-11 17:01:34 +01:00
cryptogopher 23e2f6a062 Move :base_id hidden field to form tag 2025-01-08 14:36:32 +01:00
cryptogopher aa862f0e90 Quantities index WIP 2025-01-05 20:47:49 +01:00
cryptogopher d86e38a3ec Hide input[type=number] spin buttons and fix text alignment 2025-01-04 16:54:27 +01:00
cryptogopher ed0234f158 Allow only positive Unit multiplier
Closes #51
2025-01-04 15:32:07 +01:00
cryptogopher af152c5e8b Disable links instead of hiding
Closes #49
2025-01-03 14:41:18 +01:00
cryptogopher 42aaf39f14 Remove unused turbo_stream index 2025-01-02 19:21:01 +01:00
cryptogopher 5dd3303019 Disable Turbo in User forms/links 2025-01-02 19:20:08 +01:00
cryptogopher afc4f5cee0 Hide page only during tests 2025-01-02 19:04:14 +01:00
cryptogopher 8b1a186467 Disable Turbo prefetch 2025-01-02 03:01:30 +01:00
cryptogopher a6e3833fd0 Extend custom FormBuilder to DRY in forms
Closes #8
Closes #45
2025-01-01 16:26:58 +01:00
cryptogopher c8c8d8cd70 Hide actions for restricted users
Closes #43
2024-12-30 00:44:21 +01:00
cryptogopher 8552571526 Disable Unit destuction for base units with subunits
Closes #40
2024-12-28 23:57:47 +01:00
cryptogopher a9307ad455 Form uses button instead of input to display SVG 2024-12-23 00:47:44 +01:00
cryptogopher 0659c1e1c1 Don't render index on Unit actions 2024-12-22 01:31:14 +01:00
cryptogopher d726e92445 Allow opening multiple new/edit forms
Closes #30
2024-12-21 17:52:45 +01:00
cryptogopher e5cf3dc0ae Avoid refreshing whole index on create 2024-12-19 03:46:29 +01:00
cryptogopher ba8ac5d2fa Remove unnecessary link_id 2024-12-17 02:44:52 +01:00