- Add PowerStatus NuGet package (v1.0.3)
- Add UseBattery setting to Settings.cs
- Add BatteryText property and update periodic timer in MainViewModel
- Add BatteryBox TextBlock to ClockPanel in MainWindow.xaml
- Add BaseBatteryBox and BatteryBox styles to Base.xaml and all theme files
- Add UseBattery toggle and preview to SettingsPaneTheme
- Add Battery localization string to en.xaml
Co-authored-by: Jack251970 <53996452+Jack251970@users.noreply.github.com>
* Add option to show taskbar when Flow Launcher is invoked
Co-authored-by: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com>
* Fix: Use ABM_ACTIVATE instead of ABM_SETSTATE for temporary taskbar showing
Co-authored-by: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com>
* Remove unnecessary unsafe keyword from ShowTaskbar method
Co-authored-by: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com>
* Fix missing closing braces in Win32Helper.cs
Co-authored-by: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com>
* Change wording from 'invoked' to 'opened' in localization strings
Co-authored-by: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com>
* Show/hide tasking when showing/hiding Flow
* Remove unused APPBARDATA
* Guard HideTaskbar() with state so show/hide stay balanced
* Improve taskbar visibility management in MainViewModel
Moved taskbar show logic to after keyboard layout switch in Show().Ensures consistent taskbar state when invoking or hiding the app.
* Clean code
* Clean code
* Remove blank line
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Jack Ye <jack1160210343@gmail.com>
Co-authored-by: Jack251970 <1160210343@qq.com>
Added early null checks for `hwnd` to prevent invalid processing.
Enhanced thread safety by locking `_dialogWindow` updates.
Documented dialog window state handling with comments for clarity.
Handled scenarios for dialog window movement, resizing, hiding,
destruction, and termination. Improved robustness and maintainability.
Refactored the `History` class to separate query and last opened history into distinct models, introducing `LastOpenedHistoryItem` and deprecating `HistoryItem`. Added a `HistoryStyle` enum and property to allow users to toggle between "Query History" and "Last Opened History." Simplified history display logic and updated the UI with a dropdown for history style selection.
Improved history item display with dynamic action population and relative timestamps. Enhanced performance by optimizing history storage with a maximum limit and streamlined logic for adding/retrieving items. Ensured backward compatibility by migrating legacy history data to the new format.
Updated localization strings, removed deprecated properties, and cleaned up redundant code. Fixed bugs related to inconsistent history actions and edge cases with legacy data.