5051122bcd
Refactor charts: dedicated nav tab, JSON data transport, tests
...
Replace the toggle-view approach and hidden DOM data carrier with a
proper dedicated Charts page:
- Move Charts out of Measurements view toggles into its own nav tab
and route (GET /charts)
- ChartsController serializes readout data as JSON (ordered by
taken_at); the view embeds it in a <script type="application/json">
element instead of rendering a hidden copy of the measurements
partial just to ferry data attributes to JS
- buildCharts() reads from the JSON element directly — no DOM parsing,
no sorting in JS (server already orders the data)
- Turbo load handler detects the charts page via #charts-data presence
- Add controller tests (authentication, data shape, ordering,
data isolation between users) and system tests
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-04 09:55:31 +00:00
83b064ef3c
Merge recover password/resend confirmation forms into sign in/register
...
Closes #65 , #66
2026-03-01 20:04:42 +01:00
bd1a664caa
Measurement form based on select-styled <details>
2026-01-31 17:22:09 +01:00
da38d8b585
Create Devise routes only when 'users' table exists
...
Closes #42
2025-07-25 15:30:26 +02:00
ef3484dfdf
Update Measurements#new form pathnames on actions
2025-05-07 00:24:05 +02:00
9d60eee16b
Add Measurements tab and #new form
2025-01-25 16:34:04 +01:00
644d1f4b9a
Add Quantity #reparent action
2025-01-14 15:02:38 +01:00
57f10c94a4
Add Quantity #new, #create, #destroy actions
2025-01-11 17:01:34 +01:00
b3aea97087
Add Quantities tab
2025-01-05 03:18:39 +01:00
80f05ba45f
Change root routes to redirects
2025-01-02 19:29:44 +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
f9bd81c6ab
Implement Unit defaults export
...
Disable import_all until implemented
2024-11-26 02:31:25 +01:00
aebbe11bef
Add default Units actions
2024-11-10 17:34:43 +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
846eb6da14
Preliminary support for default Units import
2024-11-09 02:05:04 +01:00
927a8330bc
Add souce code and issue tracker links
...
Closes #3
2024-05-12 23:21:30 +02:00
965cb76f1d
Generate Units::Defaults controller
...
bin/rails g controller Units/Defaults index
2024-05-04 01:53:57 +02:00
1966c782bc
Unit rebase as a separate action
2024-04-02 22:16:27 +02:00
0e8bc18620
Enable creation of subunits
2024-01-22 02:09:46 +01:00
93929f2c07
Change User#disguise/revert to GET
2024-01-15 01:07:45 +01:00
a4745c9cb8
Add Units
2023-07-06 18:34:16 +02:00
9d97eb3f6f
Add user status update
2023-05-17 23:40:09 +02:00
459836ca38
Add Users#disguise/#revert
2023-05-13 23:38:07 +02:00
a7fce807c5
Add Users#show
2023-05-05 18:29:11 +02:00
74965c5c0e
Only user can delete his profile
2023-05-03 16:48:47 +02:00
23b8c82602
Add user profile editing
2023-05-02 18:55:38 +02:00
6d71d38680
Add registration redirection and mail confirmation sending
2023-04-15 23:52:02 +02:00
0e72219373
Require authentication
2023-04-01 18:53:30 +02:00
16b067a377
Configure User with Devise
...
bundle exec rails generate devise User
2023-03-11 23:19:37 +01:00
deaf0fa73b
Generate User scaffold
...
bundle exec rails generate scaffold user email:string{64}:uniq
status:integer
2023-03-11 22:56:32 +01:00
2ecf06b751
rails generate devise:install
2023-03-06 01:48:07 +01:00
6d2d12a9da
rails new
...
THOR_MERGE=vimdiff bundle exec rails new -d mysql --skip-action-mailbox
--skip-action-text --skip-active-job --skip-active-storage
--skip-action-cable --skip-hotwire --skip-jbuilder --skip-bootsnap
--skip-bundle .
2023-03-05 19:23:29 +01:00