Settings system refactoring#132
Merged
Merged
Conversation
Heavy WIP. - Interface is now fully typed - No type/object magic - Configuration is fully decoupled from serialization and display Settings ViewModels need to be refactored.
Closed
# Conflicts: # BuildNotifications.Core/CoreSetup.cs # BuildNotifications.Core/Pipeline/Project.cs # BuildNotifications.Core/Pipeline/ProjectFactory.cs # BuildNotifications.Core/Pipeline/Tree/TreeBuilder.cs # Plugins/BuildNotifications.Plugin.GitHub/BuildNotifications.Plugin.GitHub.csproj
Member
Author
I suggest to rewrite the DummyBuildServer to a more robust solution and exclude these issues from this PR. |
Contributor
Works for me. Can you link the issue ID here? |
Member
Author
|
Sure: #170 |
This was referenced May 28, 2020
# Conflicts: # .editorconfig # Plugins/BuildNotifications.Plugin.GitHub/BuildNotifications.Plugin.GitHub.csproj # Plugins/BuildNotifications.Plugin.Tfs/BuildNotifications.Plugin.Tfs.csproj
Member
Author
This is "working as currently intended". It searches for a project that contains ALL predefined connections and can't find one. We already have #70 to address this. So I'd say we can ignore this for now. |
# Conflicts: # BuildNotifications.Core/Config/Configuration.cs # BuildNotifications.Core/Config/ConfigurationSerializer.cs # BuildNotifications.Core/CoreSetup.cs # BuildNotifications.Core/Pipeline/Pipeline.cs # BuildNotifications.Core/Pipeline/ProjectFactory.cs # BuildNotifications.Core/Plugin/PluginLoader.cs # BuildNotifications.Core/Utilities/Serializer.cs # BuildNotifications/AssemblyInfo.cs # BuildNotifications/BuildNotifications.csproj # BuildNotifications/Resources/Settings/PluginTypeToIconConverter.cs # BuildNotifications/ViewModel/MainViewModel.cs # Plugins/BuildNotifications.Plugin.Tfs/AssemblyInfo.cs # Plugins/BuildNotifications.Plugin.Tfs/TfsConfiguration.cs # Plugins/BuildNotifications.Plugin.Tfs/TfsConnectionPool.cs # Plugins/BuildNotifications.Plugin.Tfs/TfsPlugin.cs # Plugins/BuildNotifications.PluginInterfaces/Configuration/PasswordStringConverter.cs
# Conflicts: # Plugins/BuildNotifications.Plugin.Tfs/BuildNotifications.Plugin.Tfs.csproj
# Conflicts: # BuildNotifications/ViewModel/MainViewModel.cs # Plugins/BuildNotifications.Plugin.GitHub/BuildNotifications.Plugin.GitHub.csproj # Plugins/BuildNotifications.Plugin.Tfs/BuildNotifications.Plugin.Tfs.csproj # Plugins/BuildNotifications.PluginInterfaces/BuildNotifications.PluginInterfaces.csproj
BerndNK
reviewed
Jun 10, 2020
# Conflicts: # BuildNotifications.Core.Tests/Utilities/SerializerTests.cs # BuildNotifications.Core/Text/Texts.de.resx
BerndNK
reviewed
Jun 10, 2020
Co-authored-by: BerndNK <BerndKrupinski@gmail.com>
BerndNK
approved these changes
Jun 10, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Current progress for #56
Guid OptionThe user should never enter a Guid by hand. For selecting an object (that could be a simple guid + name) ListOption already does this.Adding this here because these comments would be lost behind the "load more" button in this conversation...
Bug: Null reference exception when selecting any connection within a project:

Bug: When deleting a project the confirmation popup does not show the name of the project but instead the full class name of TextOptionViewModel
Bug: Connections are not persisted unless an option is changed
Bug: Names of enum values within slide-over settings are not localized
Bug: Properties are set to multiple instances of connections
Use predefined.json with 4 DummyPlugin connections:
predefined.zip
Go into settings, quickly click through connections
Edit Port of "Dummybuild2" to 9999
predefined.zip
predefined.zip
Bug: Creating two projects for DummyBuildServer does not work
I assume this never really worked previously so I think this is a WillNotFix
Bug: The original "Test connection" button doesn't seem to do anything
Bug: Type of connection is not persisted for TFS Plugin
Bug: Test connection does not yield a result in TFS Plugin
Bug: Available Projects are not updated when adding values in TFS Plugin