102 Commits

Author SHA1 Message Date
7e5f873cde Change helper into BigDecimal method 2024-12-06 15:24:25 +01:00
2cbae12fa2 Implement Units default destroy 2024-11-30 16:11:31 +01:00
1fedd70fe5 Fix defaults listing
Base symbol was displayed twice when it existed as default and
non-default and both of them had at least one subunit.
Also: sorting by base_id yielded non-alphabetic order in such case.
2024-11-27 19:54:50 +01:00
3711251656 Unit: limit symbol length, change name:string -> description:text
Closes #11
Closes #12
2024-11-24 15:13:59 +01:00
f4ca1e91fa Mark redirecting buttons with trailing '...'
Closes #2
2024-11-23 23:26:08 +01:00
e75391ae18 Display User name using #to_s 2024-11-23 14:55:29 +01:00
76ce2eeedd Display Unit name using #to_s 2024-11-23 02:24:08 +01:00
e157c17e0e Hide 'Import all' button until implemented 2024-11-22 15:03:33 +01:00
279f9bd6ac Display Defaults hierarchy including same base Units 2024-11-22 03:10:08 +01:00
f0e28deea2 Implement 'import' action 2024-11-17 03:39:39 +01:00
41982e9dbc Import portability checks complete 2024-11-16 02:31:53 +01:00
4447735dce First part of portability checks 2024-11-15 02:02:19 +01:00
4c09989788 Add translation 2024-11-11 15:43:20 +01:00
9a02f0b0ae Fix quotes and translations 2024-11-10 21:46:00 +01:00
51011951f9 Default Units index 2024-11-10 21:30:19 +01:00
537cd18336 Change namespace for defaults controllers
To allow proper path prefix for view partials when using
config.action_view.prefix_partial_path_with_controller_namespace
2024-11-09 21:50:50 +01:00
f899fed910 Prefer icons without circle 2024-11-09 15:56:22 +01:00
846eb6da14 Preliminary support for default Units import 2024-11-09 02:05:04 +01:00
c6a7838df1 Change 'Back' button to tab 2024-11-09 02:02:01 +01:00
07b4f89d1c Update /profile/edit layout to grid
Closes #29
2024-05-16 21:02:04 +02:00
927a8330bc Add souce code and issue tracker links
Closes #3
2024-05-12 23:21:30 +02:00
1b6bda4e70 Remove image_element_to helper 2024-05-06 19:04:56 +02:00
965cb76f1d Generate Units::Defaults controller
bin/rails g controller Units/Defaults index
2024-05-04 01:53:57 +02:00
b4212298df Add Unit defaults import link 2024-05-04 01:47:53 +02:00
ceea65cfa8 Refine styling and scripts 2024-04-05 02:20:12 +02:00
175ccf6eae Allow Unit rebase to top-level
Outline base Unit row during drag
Closes #25
2024-04-05 02:18:05 +02:00
1966c782bc Unit rebase as a separate action 2024-04-02 22:16:27 +02:00
05b0c66216 Change unit base with drag and drop 2024-03-24 17:38:56 +01:00
7387e7b1c1 Refine Unit table display 2024-03-23 15:45:39 +01:00
aa4a8193ce Set multiplier to 1 for base units 2024-03-15 17:16:14 +01:00
f298acd726 Display errors for table-embedeed forms 2024-03-15 02:40:17 +01:00
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
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
0dffde414e Fix class assignment 2024-01-23 17:22:09 +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
dec3af27bf Migrate Users views to grid layout + turbo_stream
Closes #7
2024-01-17 03:30:04 +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
8d63ed62ea Render flash messages for html and turbo_stream 2024-01-14 03:19:20 +01:00
92132768fa Multiplier in nil for toplevel units 2024-01-09 00:08:53 +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
9404ec8d17 Enable Drive to send TURBO_STREAM form POSTs
Disable Turbo caching for whole site
2024-01-06 03:39:52 +01:00