20 Commits

Author SHA1 Message Date
a9307ad455 Form uses button instead of input to display SVG 2024-12-23 00:47:44 +01:00
d726e92445 Allow opening multiple new/edit forms
Closes #30
2024-12-21 17:52:45 +01:00
ba8ac5d2fa Remove unnecessary link_id 2024-12-17 02:44:52 +01:00
d5719b1e9d Fill multiplier field, confirm Add button disabled 2024-12-12 00:44:26 +01:00
0b201606c2 Replace #columns_hash with #type_for_attribute for limits 2024-12-08 13:47:30 +01:00
15a5515c99 Extend NumericalityValidator to check precision and scale
Use new checks on Unit.multiplier
Closes #28
2024-12-07 20:41:19 +01:00
3711251656 Unit: limit symbol length, change name:string -> description:text
Closes #11
Closes #12
2024-11-24 15:13:59 +01:00
f899fed910 Prefer icons without circle 2024-11-09 15:56:22 +01:00
7387e7b1c1 Refine Unit table display 2024-03-23 15:45:39 +01:00
f298acd726 Display errors for table-embedeed forms 2024-03-15 02:40:17 +01:00
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
76aae56ed5 Allow stream action to expand into multiple actions
e.g. by including 'onclick()' event handler
2024-02-04 20:05:36 +01:00
a7f80a575c Manage client-side js with turbo_stream actions 2024-01-22 02:14:01 +01:00
0e8bc18620 Enable creation of subunits 2024-01-22 02:09:46 +01:00
0801e8059c Close form on Esc key. Localize submit button. 2024-01-06 18:06:36 +01:00
ce4770a25c Run #create action 2024-01-06 03:59:09 +01:00
98c8fb9346 Validate Unit string lengths 2024-01-05 21:32:59 +01:00
d28ef26dc5 Manage focus on form show/hide 2024-01-05 21:07:12 +01: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