PowerToys/src/settings-ui/Settings.UI/ViewModels
Stefan Markovic 812b343776
🚧 [new module] Environment variables editor (#28722)
* Init EnvironmentVariables UI project

* Models
TitleBar
MainPage init
Icon

* User and system variables

* Profiles init

* XAML cleanup

* Missing ItemTemplate

* EditDialog

* ModuleInterface

* Signing and processes lists

* Installer

* spellcheck

* Fix ARM64 build and consolidate packages

* spellcheck2

* Fix installer

* Single instance. C# telemetry. Wait on PT pid

* ElevationHelper

* Add profile wip

* Init EnvironmentVariables UI project

* Models
TitleBar
MainPage init
Icon

* User and system variables

* Profiles init

* XAML cleanup

* Missing ItemTemplate

* EditDialog

* ModuleInterface

* Signing and processes lists

* Installer

* spellcheck

* Fix ARM64 build and consolidate packages

* spellcheck2

* Fix installer

* Single instance. C# telemetry. Wait on PT pid

* ElevationHelper

* Add profile wip

* show run as administrator in title (#28516)

* Environment Variables added to Run plugin (#28466)

* UI tweaks

* Remove style

* Add profile - init working

* Applied variables

* Read/Write profiles

* Fixes

* Add separator and fix loading profiles

* Only allow to edit System vars if running elevated

* Add tmp progress ring to show applying changes progress
Ignore not needed json fields

* Remove variable and profile logic

* Do not read data async
Update System and User variables on change

* Add isCorrectlyApplied()

* Sort variables in Applied variables

* WIP WndProc

* spellcheck

* Revert "WIP WndProc"

This reverts commit 0c0b6c67de.

* WHY CRASH???

* UI tweaks

* WIP modified state warning

* Add cancel button in dialogs

* Add buttons validations

* Set variables - fire and forget notify

* Revert "Revert "WIP WndProc""

This reverts commit 1b2306eeb7.

* Listen to WM_SETTINGSCHANGED
Add Infobar reload button

* spellcheck

* spellcheck again

* Fix build

* InfoBar runAsAdmin visibility

* Fix comment

* Confirm dialog when deleting variable
Fix add variable button when creating profile

* Edit profile

* Sort variables on Load

* Select existing variables on edit

* Add default variable

* Fix adding existing vars to profile

* update notice.md

* Handle PATH properly

* Add tooltips and fix dialogs text wrapping

* Fix applied values for duplicates
Fix add/eddit variable txt box validation

* Add horizontal scroll bar for applied values

* Fix duplicate variables handling
Fix user variable handling and preview

* spellcheck

* Try fix spellcheck

* Revert "spellcheck"

This reverts commit ee76231974.

* Revert "Try fix spellcheck"

This reverts commit dc8f04afb9.

* Fix path and duplicates conflict

* Fix PATH handling
Fix unapply on delete active variable
Fix ordering in applied variables

* Show variables as lists and add drag-to-reorder feature

* Only show specific variables as list
Update list in edit dialog on editing the value

* spellcheck

* Update GPO policy

* Add Edit and Remove variable buttons
Remove context menu

* Remove drag&drop when editing list variable and add buttons to move up/down

* Fix Edit profile dialog title

* Fix backup and restore variables when editing variable from applied profile

* Apply var to system WIP

* Tweaks

* Simplify edit variable logic

* Minor fixes

* Spellcheck

* Update src/modules/EnvironmentVariables/EnvironmentVariables/app.manifest

Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>

* spellcheck 2

* Remove unneeded string

* Add more telemetry

* Do not allow adding existing variables with the same name into the profile

* Adding icon

* Fix the crash when opening existing variables dialog

* Update Settings and OOBE screenshots

* Fix crash when malformed profiles.json and jsonignore not needed properties

* Fix selecting duplicates in existing variables dialog

* Add user variable name limit (<255 chars)
Check if profile is applicable on apply
Show message if profile is not applicable

* XamlStyling

* Better Flyout positioning
Add Cancel button to the flyout

* Fix UI glitches by using ItemsControl (no virtualization)

* Fix spellcheck

* Fix XAML style

* Add horizontal scrollbar to applied variables

* Revert to ItemsRepeater

* Fix UI glitches by adding a decent minimum cache

* Fixing UI bugs

* Fix spellcheck

* Fix crash while trying to edit a User variable when there's no Parent
profile

* Fix issue overwriting backup var when you edit var on applied profile

* Fix nuking of variables when adding to applied profile

* Fix profile not being saved when deleting a variable

* Fix ValuesList empty crash, issues and no serialization

* fix spellcheck

* Allow in-line edit of list variables

* Fix xaml style

* Fix add profile variable cancel button logic

* Fix add profile variable cancel button logic - clean the list

* Bump VerticalCacheLength to 10

as in some cases UI glitch on expanding System variables was still present

* Fix profile Add variable button enable/disable logic

* Remove unneeded using

* Add to Dashboard

---------

Co-authored-by: Niels Laute <niels.laute@live.nl>
Co-authored-by: Davide Giacometti <davide.giacometti@outlook.it>
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
2023-10-20 16:28:07 +02:00
..
Commands [Settings, Common.UI, runner exe] Unify exe/dll naming (#15005) 2021-12-15 12:56:52 +01:00
Flyout 🚧 [new module] Environment variables editor (#28722) 2023-10-20 16:28:07 +02:00
AlwaysOnTopViewModel.cs [Always on top] Transparent border (#28127) 2023-08-25 10:31:51 +02:00
AwakeViewModel.cs Centralize c# logger (#22760) 2023-03-21 10:27:29 +01:00
ColorPickerViewModel.cs [ColorPicker][Settings]Fix duplicate name crash and cleanup (#28713) 2023-09-22 14:57:48 +01:00
CropAndLockViewModel.cs [New Utility]Crop And Lock (#27832) 2023-08-10 10:46:33 +01:00
DashboardListItem.cs [Settings]Adding a Dashboard Panel (#29023) 2023-10-20 13:23:25 +01:00
DashboardModuleItem.cs [Settings]Adding a Dashboard Panel (#29023) 2023-10-20 13:23:25 +01:00
DashboardViewModel.cs 🚧 [new module] Environment variables editor (#28722) 2023-10-20 16:28:07 +02:00
EnvironmentVariablesViewModel.cs 🚧 [new module] Environment variables editor (#28722) 2023-10-20 16:28:07 +02:00
FancyZonesViewModel.cs [FancyZones] Replace "Keep windows in their zones" option to include work area and turn on by default (#29105) 2023-10-17 16:28:32 +02:00
FileLocksmithViewModel.cs [File locksmith]Add setting to show only in extended context menu (#26711) 2023-06-14 10:06:44 +01:00
GeneralViewModel.cs [Settings]Fix UI typos (#28991) 2023-10-04 11:11:40 +01:00
HostsViewModel.cs [Hosts] Consolidate launch (#27173) 2023-07-14 09:56:50 +02:00
ImageResizerViewModel.cs Centralize c# logger (#22760) 2023-03-21 10:27:29 +01:00
KeyboardManagerViewModel.cs [Settings]Adding a Dashboard Panel (#29023) 2023-10-20 13:23:25 +01:00
MeasureToolViewModel.cs [Settings] Reset Activation Key to Default Value (#26449) 2023-06-20 14:42:04 +01:00
MouseUtilsViewModel.cs [Accessibility]Turn animations off based on Windows settings (#28128) 2023-09-05 14:25:24 +01:00
MouseWithoutBordersViewModel.cs [MWB]Migrate to PowerToys-style shortcuts and better defaults(#27442) 2023-07-26 12:46:41 +01:00
PastePlainViewModel.cs [Settings] Reset Activation Key to Default Value (#26449) 2023-06-20 14:42:04 +01:00
PeekViewModel.cs [Settings] Reset Activation Key to Default Value (#26449) 2023-06-20 14:42:04 +01:00
PluginAdditionalOptionViewModel.cs [PTRun][Shell]Shell selection and combobox improvements (#28972) 2023-10-11 13:54:49 +01:00
PowerAccentViewModel.cs [QuickAccent]Add support for Lithuanian (#23793) 2023-02-13 16:24:36 +00:00
PowerLauncherPluginViewModel.cs [PTRun][Enterprise]GPO for plugin enabled state (#27468) 2023-10-11 15:37:15 +01:00
PowerLauncherViewModel.cs [PTRun][Enterprise]GPO for plugin enabled state (#27468) 2023-10-11 15:37:15 +01:00
PowerOcrViewModel.cs [Settings] Reset Activation Key to Default Value (#26449) 2023-06-20 14:42:04 +01:00
PowerPreviewViewModel.cs SvgPreviewControl: Add Background so that white .svg are visible (#25397) 2023-04-21 18:54:57 +02:00
PowerRenameViewModel.cs Centralize c# logger (#22760) 2023-03-21 10:27:29 +01:00
RegistryPreviewViewModel.cs [Registry Preview] Adds application to Open with list for REG files (#26033) 2023-06-10 15:02:53 -07:00
ShellViewModel.cs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
ShortcutGuideViewModel.cs [Settings] Reset Activation Key to Default Value (#26449) 2023-06-20 14:42:04 +01:00
VideoConferenceViewModel.cs [VCM]Add options to hide after timeout and startup action (#28658) 2023-10-06 08:48:36 +01:00