Commit Graph

15 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 eae0ee9d20 Improve controllers and views 2026-07-28 00:46:33 +02: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 23e2f6a062 Move :base_id hidden field to form tag 2025-01-08 14:36:32 +01:00
cryptogopher a9307ad455 Form uses button instead of input to display SVG 2024-12-23 00:47:44 +01:00
cryptogopher d726e92445 Allow opening multiple new/edit forms
Closes #30
2024-12-21 17:52:45 +01:00
cryptogopher f0dab7a5f9 Fix Units new/edit display on validation errors
Add test_new_and_edit_on_validation_error
Closes #41
2024-12-17 01:53:25 +01:00
cryptogopher 3a3ae71320 Fix layout rendering for turbo_streams
Closes #22
2024-02-13 20:48:00 +01:00
cryptogopher 1198add901 Rewrite stream rendering to avoid client-side expanding
* adding streams in client breaks things (e.g. autofocus)
* some tasks need to be performed in one stream action to avoid
  flickering (e.g. table row substitution)
2024-02-11 18:31:06 +01:00
cryptogopher 759a0b31b7 Disable only form-opening link
Close other forms on new form open
2024-02-04 20:11:44 +01:00
cryptogopher c1643030a2 Avoid re-rendering form on errors 2024-01-22 02:34:13 +01:00
cryptogopher 0e8bc18620 Enable creation of subunits 2024-01-22 02:09:46 +01:00
cryptogopher 0801e8059c Close form on Esc key. Localize submit button. 2024-01-06 18:06:36 +01:00
cryptogopher ce4770a25c Run #create action 2024-01-06 03:59:09 +01:00
cryptogopher 6d9f4918f1 Change 'Add unit' link to turbo_stream 2024-01-04 23:11:33 +01:00