Commit Graph

66 Commits

Author SHA1 Message Date
Anton Volnuhin
25b1e1cc58 Add eye button to details header and show month name
- Replace "Total" with the current month name (e.g., "Декабрь")
- Add eye icon to header that opens modal with all transactions
- Header eye button is always visible (50% opacity)
- When hovering a sector, header shows sector name with eye button

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 18:55:15 +03:00
Anton Volnuhin
ecd04ee4a9 Fix eye button not showing after opacity transition change
- Remove inline display:none from HTML (was overriding opacity)
- Set initial pointer-events:none in CSS to prevent blocking clicks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 18:51:55 +03:00
Anton Volnuhin
30c2d1db98 Reduce eye button hide delay to 0.5s with fade animation
- Changed inactivity timeout from 1 second to 0.5 seconds
- Added smooth 0.2s ease-out opacity transition for gradual fade
- Switched from display:none to opacity for smoother hide effect

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 18:49:51 +03:00
Anton Volnuhin
e63bcd9a3a Hide eye button after 1 second of mouse inactivity
The floating eye button now only shows while the mouse is actively
moving over a sector. After 1 second of no mouse movement, the button
hides to keep the chart cleaner. The button remains visible when
hovering directly over it.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 18:47:23 +03:00
Anton Volnuhin
77c8987099 Add floating eye button for viewing transaction details
- Add eye icon that appears when hovering over chart sectors
- Position button at inner edge for left-side sectors, outer edge for right-side
- Click eye button to open transaction details modal
- Maintain sector highlight and details panel when hovering over button
- Override chart cursor to only show pointer on eye button, not sectors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 18:41:36 +03:00
Anton Volnuhin
6cf5d30d4d Fix sunburst center-click reset showing wrong month data
The center-click handler used closure-captured variables (russianMonth and
originalData) from the initial renderChart call. When switching months via
selectMonth, these values were never updated, causing clicks on the center
to always restore December's data.

Changed originalData from a local variable to a module-level variable
(originalSunburstData) that gets updated when months change.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 16:59:56 +03:00
Anton Volnuhin
9a0589d3f9 Add visual month navigator with mini donut chart previews
Replace dropdown selector with a visual navigator featuring:
- Left/right arrow buttons for month navigation
- Clickable month buttons with mini donut chart previews
- Russian month labels (e.g., "Январь'25")
- Responsive layout for mobile screens
- Arrows disable at navigation boundaries

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 14:05:30 +03:00
Anton Volnuhin
a805914fe6 automatic months 2026-01-29 13:44:41 +03:00
Anton Volnuhin
e2272414dc Show more labels, using minAngle 2025-03-25 19:26:39 +03:00
Anton Volnuhin
df93e3ebca drill-down and animation restored 2025-03-22 00:49:27 +03:00
Anton Volnuhin
db3f419ee7 updated with february and resizing 2025-03-20 22:23:39 +03:00
Anton Volnuhin
24be9787bd load more than one month 2025-03-20 17:52:19 +03:00
Anton Volnuhin
8817727896 stable colors 2025-03-20 00:37:47 +03:00
Anton Volnuhin
ab3db53817 better colors 2025-03-19 22:47:33 +03:00
Anton Volnuhin
b7791e4612 Correct wordwrapping 2025-03-19 21:23:47 +03:00
Anton Volnuhin
cfb07ce1c0 Initial 2025-03-19 20:41:30 +03:00