Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Configuration data structure refactor #458

Merged

Conversation

StephenHodgson
Copy link
Contributor

@StephenHodgson StephenHodgson commented Feb 18, 2020

XRTK - Mixed Reality Toolkit Change Request

Overview

A pre-step to consolidating the editor inspector codes for drawing/displaying this list in the editor.

Target of the change:

Is this enhancement for:

  • Core (core framework, interfaces and definitions)

Changes:

  • Renamed the serialized backing fields so we can consolidate all the configuration structs into a single type

Breaking Changes:

…onfiguration structs into a single type

and a pre-step to consolidating the editor inspector codes for drawing/displaying this list in the editor.
@StephenHodgson StephenHodgson added Breaking Change In Progress PR currently still being developed labels Feb 18, 2020
@StephenHodgson StephenHodgson added Ready for review PR finished primary development, open for review and removed In Progress PR currently still being developed labels Feb 19, 2020
@StephenHodgson StephenHodgson marked this pull request as ready for review February 21, 2020 15:07
@StephenHodgson
Copy link
Contributor Author

Oh wait, this is still in progress. I need to update the inspectors still.

@StephenHodgson StephenHodgson added In Progress PR currently still being developed and removed Ready for review PR finished primary development, open for review labels Feb 21, 2020
…n-refactor

# Conflicts:
#	XRTK-Core/Packages/com.xrtk.core/Inspectors/Profiles/InputSystem/MixedRealityControllerDataProvidersProfileInspector.cs
@SimonDarksideJ
Copy link
Contributor

Is this yet ready or is it pending the other PR?

@StephenHodgson
Copy link
Contributor Author

Just need to finish up fixing the inspectors

@StephenHodgson
Copy link
Contributor Author

Inspectors should be done. Only thing left is getting the dropdown filtering working properly again but we can do that later.

@SimonDarksideJ
Copy link
Contributor

Not critical since this is due to be refactored, but Input Action Rules config has stopped working, the dropdowns don't work, not sure if it's related to this change

Copy link
Contributor

@SimonDarksideJ SimonDarksideJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, and tests well.
Only areas that the type lookup doesn't work are:

  • Controller Mapping type
  • Spatial Observer type
  • Networking type (although this inspector doesn't seems to have a custom inspector)
  • Diagnostics type
  • Registered Service Providers

Everywhere else the type dropdowns work as expected

@StephenHodgson StephenHodgson added Ready for review PR finished primary development, open for review and removed In Progress PR currently still being developed labels Mar 4, 2020
@StephenHodgson StephenHodgson merged commit 70136e0 into feature/configuration-interfaces Mar 4, 2020
@StephenHodgson StephenHodgson deleted the dev/configuration-refactor branch March 4, 2020 17:35
StephenHodgson added a commit that referenced this pull request Mar 27, 2020
* Introduced IBaseMixedRealityServiceConfiguration

 This interface is meant to be used with serialized structs that define valid IMixedRealityService configurations

* added IMixedRealityServiceConfiguration

updated the implementations of all the existing configurations

* Updated all the configurations to use Name instead of their one off property type prefixed names

* reverted a field rename in MixedRealityExtensionServiceConfiguration

updated a few references

* some fixes from the last pr merge

* Refactored BaseMixedRealityProfile a bit

Renamed IsCustomProfile to IsDefaultProfile

* A bit more refactoring to generic types

Added a base mixed reality service profile to better distinguish between service configuration profiles and other generic base types

* updated WMR package

* updated all the icons

* Configuration data structure refactor (#458)

* renamed the serialized backing fields so we can consolidate all the configuration structs into a single type

and a pre-step to consolidating the editor inspector codes for drawing/displaying this list in the editor.

* updated usages of the IMixedRealityServiceConfiguarion arrays

* Much closer to the final result.

Finally got to refactor the MixedRealityToolkit to finally utilize configurations for service registration

* revert

* Fixed some issues with casting the interface for the mixed reality configuration

fixed unit tests

* fixed some icons and licenses

* fixed some merge issues

* reverted a change

* use the proper base property for Configurations

* updated all the inspectors to use the most updated version of the list

* fixed filtering

* fixed filtering

* added documentation and a bit of optimization around strings

* added some documentation and disabled a warning about an unused type parameter

* Added more documentation about how to define and filter instanced types in the service configuration dropdown

* removed unused extension

* removed the base mixed reality service configuration

* added missing reference

* fixed wmr checkout
XRTK-Build-Bot pushed a commit that referenced this pull request Mar 27, 2020
* Introduced IBaseMixedRealityServiceConfiguration

 This interface is meant to be used with serialized structs that define valid IMixedRealityService configurations

* added IMixedRealityServiceConfiguration

updated the implementations of all the existing configurations

* Updated all the configurations to use Name instead of their one off property type prefixed names

* reverted a field rename in MixedRealityExtensionServiceConfiguration

updated a few references

* some fixes from the last pr merge

* Refactored BaseMixedRealityProfile a bit

Renamed IsCustomProfile to IsDefaultProfile

* A bit more refactoring to generic types

Added a base mixed reality service profile to better distinguish between service configuration profiles and other generic base types

* updated WMR package

* updated all the icons

* Configuration data structure refactor (#458)

* renamed the serialized backing fields so we can consolidate all the configuration structs into a single type

and a pre-step to consolidating the editor inspector codes for drawing/displaying this list in the editor.

* updated usages of the IMixedRealityServiceConfiguarion arrays

* Much closer to the final result.

Finally got to refactor the MixedRealityToolkit to finally utilize configurations for service registration

* revert

* Fixed some issues with casting the interface for the mixed reality configuration

fixed unit tests

* fixed some icons and licenses

* fixed some merge issues

* reverted a change

* use the proper base property for Configurations

* updated all the inspectors to use the most updated version of the list

* fixed filtering

* fixed filtering

* added documentation and a bit of optimization around strings

* added some documentation and disabled a warning about an unused type parameter

* Added more documentation about how to define and filter instanced types in the service configuration dropdown

* removed unused extension

* removed the base mixed reality service configuration

* added missing reference

* fixed wmr checkout
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Breaking Change Ready for review PR finished primary development, open for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants