refactor: update ErrorElement and HistogramChart components for improved styling and functionality

- Enhanced the ErrorElement component by adjusting the layout for better centering and added select-text class for improved text selection.
- Modified the HistogramChart component to accept a thumbnail URL instead of tone analysis, streamlining the data flow.
- Refactored the histogram calculation logic to improve performance and clarity, including compression of histogram data.
- Updated the manifest version from 'v2' to 'v3' across multiple files to reflect the new data structure.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-06-29 11:28:23 +08:00
parent 48aec690da
commit 3f21435271
16 changed files with 277 additions and 623 deletions

View File

@@ -209,16 +209,6 @@
"gallery.built.at": "Built at ",
"gallery.photos_one": "{{count}} photo",
"gallery.photos_other": "{{count}} photos",
"histogram.blue": "Blue",
"histogram.channel": "Channel",
"histogram.green": "Green",
"histogram.luminance": "Lu",
"histogram.mean": "Mean",
"histogram.median": "Median",
"histogram.mode": "Mode",
"histogram.red": "Red",
"histogram.statistics": "Statistics",
"histogram.value": "Value",
"loading.converting": "Converting...",
"loading.default": "Loading",
"loading.heic.converting": "Converting HEIC/HEIF image format...",