9461c1f979
Update #successive for unlimited depth hierarchy
2025-01-08 14:29:49 +01:00
fa7918f0e3
Set row indentation based on depth
2025-01-08 13:55:40 +01:00
0d8e7c6c0e
Unlimited depth hierarchy ordering
2025-01-08 02:18:38 +01:00
3788f1a749
Fix db:seed:export task
...
* replace variable names with Hash to avoid invalid Ruby identifiers
* export all values as single-quoted to avoid string interpolation and
treating BigDecimal numbers as Float
* #truncate table instead of #delete_all to avoid foreing_key
constraints errors
Closes #56
2025-01-05 21:05:47 +01:00
aa862f0e90
Quantities index WIP
2025-01-05 20:47:49 +01:00
b3aea97087
Add Quantities tab
2025-01-05 03:18:39 +01:00
141d67ad21
Add Quantities table
2025-01-05 00:44:02 +01:00
d86e38a3ec
Hide input[type=number] spin buttons and fix text alignment
2025-01-04 16:54:27 +01:00
ed0234f158
Allow only positive Unit multiplier
...
Closes #51
2025-01-04 15:32:07 +01:00
b133b2be7c
Add seperate 'no items' message for defaults
...
Closes #53
2025-01-03 18:47:56 +01:00
d250119601
Fix tests after routing/locale changes
2025-01-03 15:04:27 +01:00
af152c5e8b
Disable links instead of hiding
...
Closes #49
2025-01-03 14:41:18 +01:00
80f05ba45f
Change root routes to redirects
2025-01-02 19:29:44 +01:00
42aaf39f14
Remove unused turbo_stream index
2025-01-02 19:21:01 +01:00
5dd3303019
Disable Turbo in User forms/links
2025-01-02 19:20:08 +01:00
afc4f5cee0
Hide page only during tests
2025-01-02 19:04:14 +01:00
ef825728ac
Set single quotes for direct routes
2025-01-02 15:23:22 +01:00
b8bcbee1e9
Separate root routes for un- and authenticated users
...
Closes #34
Closes #47
2025-01-02 15:19:33 +01:00
8b1a186467
Disable Turbo prefetch
2025-01-02 03:01:30 +01:00
fd4c7259b0
Move navigation tab labels
2025-01-02 02:48:33 +01:00
a6e3833fd0
Extend custom FormBuilder to DRY in forms
...
Closes #8
Closes #45
2025-01-01 16:26:58 +01:00
3379794c6b
Use variables for remaining colors
2024-12-31 19:29:01 +01:00
c8c8d8cd70
Hide actions for restricted users
...
Closes #43
2024-12-30 00:44:21 +01:00
b9d979ad0c
Fix tests
2024-12-30 00:19:16 +01:00
d9cc1a977b
Ignore Vim session
2024-12-30 00:14:30 +01:00
8552571526
Disable Unit destuction for base units with subunits
...
Closes #40
2024-12-28 23:57:47 +01:00
bd40727231
Focus forms properly on open and close
...
Closes #44
2024-12-28 15:16:37 +01:00
7759021ba1
Make inputs and buttons in table form equal height
...
Closes #38
2024-12-24 02:02:10 +01:00
a9307ad455
Form uses button instead of input to display SVG
2024-12-23 00:47:44 +01:00
8f85432982
Silence empty tests
2024-12-22 01:33:39 +01:00
0659c1e1c1
Don't render index on Unit actions
2024-12-22 01:31:14 +01:00
d726e92445
Allow opening multiple new/edit forms
...
Closes #30
2024-12-21 17:52:45 +01:00
e5cf3dc0ae
Avoid refreshing whole index on create
2024-12-19 03:46:29 +01:00
55b6ff3248
Find successive Unit according to sort order
...
This will allow to insert Units into table without refresh of all
items/removal of forms
2024-12-19 03:42:28 +01:00
ba8ac5d2fa
Remove unnecessary link_id
2024-12-17 02:44:52 +01:00
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
f472526aa8
Change variable name
2024-12-17 00:14:34 +01:00
e15b983b56
Avoid duplicated symbols, check created record attributes
2024-12-15 23:36:24 +01:00
30ee4a861e
Define LINK_LABELS once. Generate Unicode random strings.
2024-12-14 19:40:01 +01:00
dcffa86e93
Rename add -> new in test descriptions
2024-12-12 00:53:23 +01:00
d5719b1e9d
Fill multiplier field, confirm Add button disabled
2024-12-12 00:44:26 +01:00
3a25c1dbd0
Equally sample add unit/add subunit/edit links for test
2024-12-12 00:35:11 +01:00
bb4fbb3adc
Refine "add and edit disallow opening multiple forms" test
2024-12-10 18:11:13 +01:00
dc92a333be
Fix UnitsTest#test_add_unit
2024-12-10 01:18:27 +01:00
2bbf62b84b
Update gems
2024-12-09 20:01:04 +01:00
f3f0b9dc9e
Fix UnitsiTest#test_index
2024-12-09 20:00:14 +01:00
40808639cc
Update tests to new schema
2024-12-08 15:29:01 +01:00
a18f257378
Schema update
2024-12-08 15:28:38 +01:00
e49eac766c
Add decimal type requirements
2024-12-08 14:25:06 +01:00
0b201606c2
Replace #columns_hash with #type_for_attribute for limits
2024-12-08 13:47:30 +01:00