213 Commits

Author SHA1 Message Date
3a3ae71320 Fix layout rendering for turbo_streams
Closes #22
2024-02-13 20:48:00 +01:00
8b81ae2dc5 Test Unit form opening/closing 2024-02-13 01:04:27 +01:00
10f866d40b Remove unused code kept only as reference 2024-02-11 18:37:35 +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
759a0b31b7 Disable only form-opening link
Close other forms on new form open
2024-02-04 20:11:44 +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
e95448ce9f Ignore ssh files 2024-02-04 19:56:21 +01:00
dd860eee1e Specify system requirements and reformat 2024-01-26 17:16:08 +01:00
0dffde414e Fix class assignment 2024-01-23 17:22:09 +01:00
fb36273b81 Upgrade to Ruby 3.3/Firefox 121 2024-01-23 00:09:19 +01:00
13c1d5684b Don't wrap form labels 2024-01-22 02:35:14 +01:00
c1643030a2 Avoid re-rendering form on errors 2024-01-22 02:34:13 +01:00
5ea1f87824 Unit#edit action 2024-01-22 02:33:23 +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
917764fd71 Unify table button styling 2024-01-22 02:02:15 +01:00
0e85a21d2c Button disabling/enabling
Closes #10
2024-01-20 15:02:45 +01:00
1ae5658ebe Move color definitions to variables 2024-01-20 14:56:10 +01:00
50eedf8b23 Update TODOs 2024-01-17 21:59:28 +01:00
1227c54e0e Fix flashes display after grid introduction
Closes #5
2024-01-17 21:57:18 +01:00
11ecd8eaed Remove awesome_nested_set gem dependency 2024-01-17 05:43:55 +01:00
651534134e Refine tests 2024-01-17 05:41:08 +01:00
7cfa3a0af0 Refine Unit tests 2024-01-17 04:25:32 +01:00
8dbc07ea1f Remove awesome_nested_set related columns 2024-01-17 04:23:48 +01:00
dec3af27bf Migrate Users views to grid layout + turbo_stream
Closes #7
2024-01-17 03:30:04 +01:00
50c1be4647 Refine table styling 2024-01-15 18:47:37 +01:00
5047d4909f Render units from collection, without redirects 2024-01-15 18:45:30 +01:00
de995aa586 Testing environment updates 2024-01-15 02:05:08 +01:00
91b9886172 Disable turbo cache instead of forcing reload 2024-01-15 02:01:07 +01:00
9a9a139aa7 Handle exceptions during TURBO_STREAM requests 2024-01-15 01:59:30 +01:00
93929f2c07 Change User#disguise/revert to GET 2024-01-15 01:07:45 +01:00
a35314e6be Reword error messages 2024-01-15 01:04:59 +01:00
9a56681a85 Fix warnings 2024-01-14 03:27:22 +01:00
8d63ed62ea Render flash messages for html and turbo_stream 2024-01-14 03:19:20 +01:00
a4f113ad48 Downgrade importmap-rails to 1.2
v2.0.1 down not fire turbo:load event in test env, which causes tests to
fail.
Issue reported: https://github.com/rails/importmap-rails/issues/233
2024-01-12 19:30:09 +01:00
4e91c89153 List units ordered, not using nested_set 2024-01-09 00:11:26 +01:00
92132768fa Multiplier in nil for toplevel units 2024-01-09 00:08:53 +01:00
41d24efb52 Upgrade Puma to 6 for compatibility 2024-01-07 04:04:33 +01:00
d1c24b9172 Upgrade Rails to 7.1
To use CTE queries
2024-01-07 04:02:58 +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
ba3c2a99b9 Don't trigger file encoding detection 2024-01-06 03:49:18 +01:00
9404ec8d17 Enable Drive to send TURBO_STREAM form POSTs
Disable Turbo caching for whole site
2024-01-06 03:39:52 +01:00
b91776e9c4 Expand some selectors 2024-01-06 02:24:14 +01:00
4b2ed2fa39 Avoid wrapping datetime format 2024-01-06 02:23:18 +01:00
d1bfabc105 Better string input randomization 2024-01-06 01:05:28 +01:00
5c70736a91 Reword comments/descriptions 2024-01-05 21:56:57 +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
32b8daf29d Add Unit system tests 2024-01-05 04:16:38 +01:00