142 Commits

Author SHA1 Message Date
Serhiy Mytrovtsiy 5bd091f74d feat: refactored Charts 2026-04-11 16:14:46 +02:00
Serhiy Mytrovtsiy 1c6bac476d feat: removed segment_color and moved to the ColorValue 2026-04-06 18:38:50 +02:00
Serhiy Mytrovtsiy 6a881aed28 fix: fixed Line Chart draw offset 2026-04-06 14:51:44 +02:00
Serhiy Mytrovtsiy 079f78a6bf feat: moved State widget to Dot widget. From now it will just show any color provided by module 2026-04-02 17:49:54 +02:00
Serhiy Mytrovtsiy 484235d015 feat: added label to Stack widget that allow to show bluetooth device name instead of id 2026-03-30 19:05:09 +02:00
Serhiy Mytrovtsiy 678d813d75 feat: added sleep mode to the reader, in some cases there is no need for reads since the widget is not visualizing anything. In this case, the reader could go to sleep mode and be active only when popup is open. It's available only for the sensor module for now. 2026-03-12 16:52:00 +01:00
Serhiy Mytrovtsiy 0f03dccc07 feat: changed minimum macOS version to macOS 11.15 (Big Sur) 2026-02-22 15:52:36 +01:00
Andy Chong a69627f135 fix: fixed race condition crashes in Chart and Stack widgets (#2944)
Ensure data mutations from background readers are dispatched to the main thread to prevent conflicts with drawing logic (which runs on main thread). This resolves SIGTRAP and SIGABRT crashes observed during extended runtime.
2026-02-01 17:39:00 +01:00
Serhiy Mytrovtsiy a96232b0c1 fix: fixed a long-term battery widget glitch when a black vertical line is visible in the widget preview 2025-12-01 21:29:41 +01:00
Serhiy Mytrovtsiy 9523f4d821 lang: added translations for internet status notifications 2025-11-08 17:14:30 +01:00
Serhiy Mytrovtsiy 0061b158f7 fix: added an additional redraw when something changes in the Battery widget. This eliminates artifacts when the widget switches from the AC plug-in icon to the charging icon (#2611) 2025-10-20 18:09:46 +02:00
Serhiy Mytrovtsiy 3c0b1939ca fix: fixed race conditions in the Network Chart widget (#2594) 2025-08-19 18:37:10 +02:00
Serhiy Mytrovtsiy e287eacd46 fix: fixed race conditions in the Stack widget (#2672) 2025-08-18 22:33:22 +02:00
embedovator 9068e18379 fix: show single row with percentage when time is not available in battery widget (#2649)
- Modified battery widget to show only percentage in a single row when time remaining is not available (e.g., when AC adapter is plugged in)
- Maintains two-row display with both percentage and time when running on battery with valid time information
- Improves UI by removing duplicate information and making better use of space

Co-authored-by: Nathan Martin <embedovator@pm.me>
2025-08-03 12:52:51 +02:00
Serhiy Mytrovtsiy 56bbd566ba fix: fixed missing underline fill of network chart when combined widgets or modules are enabled (#2478) 2025-05-24 22:35:03 +02:00
Serhiy Mytrovtsiy 5745a287c0 fix: changed diff calculation for BarChart value update that prevents widget redraw every time even if the value is the same as previously 2025-04-24 17:13:45 +02:00
Serhiy Mytrovtsiy da4ab07db1 fix: fixed logarithmic scaling in different than Network charts (#2418) 2025-03-27 20:15:49 +01:00
Serhiy Mytrovtsiy 74a7609c90 feat: added text alignment for Stack widget (#2463) 2025-03-25 22:35:25 +01:00
Serhiy Mytrovtsiy a9f72cda99 fix: fixed line and bar charts title labels 2025-03-22 22:47:53 +01:00
Guanzhou Hu bca8ba545e fix: added missing NetworkChart restoreGState & combinedView separators (#2444) 2025-03-16 11:39:24 +01:00
Serhiy Mytrovtsiy 847de8d8c5 fix: fixed crash when arrows option is enabled in disk module in speed widget (#2297) 2025-01-07 19:59:56 +01:00
Serhiy Mytrovtsiy 3d0bfa456d fix: moved DispatchSource.MemoryPressureEvent to custom RAMPressure enum. Fixed the crashes on some macs (#2212) 2024-11-14 17:00:19 +01:00
Serhiy Mytrovtsiy 354698a389 feat: adjusted Stack widget static width to fit Wh a little bit better (#2172) 2024-11-11 16:35:24 +01:00
Luke Hamburg 27216355d9 feat: adjusted Text parser to support char in the string (#2189)
Current implementation does not handle e.g.

```
$type $interface.displayName ($interface.BSDName)
```

This changes to a regex parser that does allow this.

Signed-off-by: Luke Hamburg <1992842+luckman212@users.noreply.github.com>
2024-10-27 12:21:18 +01:00
Serhiy Mytrovtsiy bd3da697cd lang: added missing translations 2024-10-26 16:56:22 +02:00
Serhiy Mytrovtsiy 905ce8fa3d feat: cleaned up Speed widget by refactoring download/upload to input/output to make better logic for both modules: Disk and Network which have different meanings for these values. 2024-10-26 16:11:39 +02:00
Serhiy Mytrovtsiy 68c45ab604 feat: added a new option to the Speed widget that specifies what to show in the widget (#2186). This new option removes the old "Reverse order" option since the new one includes it. 2024-10-25 21:42:19 +02:00
Serhiy Mytrovtsiy 359db0f0d0 feat: added an option to show the power state icon (lightning or power plug) near the battery widget (#2008) 2024-10-17 16:57:26 +02:00
Serhiy Mytrovtsiy 4b213c4392 feat: added a new Text widget that allows to visualize custom values in the menu bar 2024-09-10 18:14:46 +02:00
Serhiy Mytrovtsiy bcabd48fa4 feat: added Mini widget to the Sensors module. It has quite a lot of limitations and only one sensor could be visualized (I hope understandable why) (#2029) 2024-08-23 20:34:10 +02:00
Serhiy Mytrovtsiy bdbaeb8c4d feat: disabled bar chart widget if there is no data to visualize 2024-08-22 17:45:18 +02:00
Serhiy Mytrovtsiy e2a5f5c1c4 feat: added an option to enable xl size of the battery widget 2024-08-14 17:25:11 +02:00
Serhiy Mytrovtsiy 0a1e4f1163 feat: added an option to specify icon and value color in the speed widget (#1862) 2024-08-12 17:16:33 +02:00
Serhiy Mytrovtsiy 51555db270 feat: adjusted battery widget size (#2042) 2024-07-23 22:04:13 +02:00
Serhiy Mytrovtsiy be9d55119a feat: added option to specify pictogram alignment for speed widget (#2030) 2024-07-15 20:14:52 +02:00
Serhiy Mytrovtsiy d85f148cc3 feat: renamed Color and Widget to SColor and SWidget to be compatible with SwiftUI 2024-07-04 19:52:52 +02:00
Serhiy Mytrovtsiy 75a7416b7e fix: fixed crash when calculating text width for a monospaced font (#1988) 2024-06-10 21:20:53 +02:00
Serhiy Mytrovtsiy 5105d7cdb9 fix: updated monospaced font for stack widget (#1978) 2024-06-08 10:23:26 +02:00
Serhiy Mytrovtsiy d8c127e4d2 fix: removed check that prevents updates of line chart when the same value 2024-06-07 20:21:58 +02:00
Serhiy Mytrovtsiy eb882774bb feat: small codebase refactoring (mostly removed unused code and changes in access control) 2024-05-08 17:21:58 +02:00
Serhiy Mytrovtsiy 7ee3d9673e fix: fixed upload/download positions in the Network widget (#1916) 2024-05-01 15:59:49 +02:00
Serhiy Mytrovtsiy bfadf4eb9b feat: moved widgets settings to the new design 2024-04-25 18:04:19 +02:00
Serhiy Mytrovtsiy 0f54422992 feat: added colorize option to the Memory widget (#1856) 2024-04-20 20:25:01 +02:00
Serhiy Mytrovtsiy 2ec21de043 feat: moved network chart to the network chart widget. Replaced NetworkChart with NetworkChartV2. 2024-04-09 18:42:28 +02:00
Serhiy Mytrovtsiy f2d9a491fa feat: added a new NetworkChartViewV2 chart. Which merges 2 line charts. Moved the disk and network charts in the popup to the new chart. 2024-04-08 16:44:26 +02:00
Serhiy Mytrovtsiy 27891b0d5a feat: added main chart scale setting to the Network popup settings 2024-04-06 16:00:50 +02:00
Serhiy Mytrovtsiy 052845d480 feat: added a timestamp to the line chart
feat: added background for tooltip in the line chart
2024-02-29 18:30:45 +01:00
Serhiy Mytrovtsiy d6a88e5d78 feat: updated Disk portal view 2024-01-27 21:22:59 +01:00
Serhiy Mytrovtsiy a62151f3ee fix: fixed network label color (#1753) 2024-01-01 14:28:46 +01:00
Serhiy Mytrovtsiy 4754b6144a feat: added reverse order to the network chart (#1721) 2023-12-19 23:05:33 +01:00