Skip to content

Release 0.3.0 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 28, 2023
Merged

Release 0.3.0 #3

merged 7 commits into from
Jul 28, 2023

Conversation

CoderGamester
Copy link
Owner

@CoderGamester CoderGamester commented Jul 28, 2023

Summary by OpenAI

Release Notes:

  • New Feature: Added support for observing field updates with previous and current values in the ObservableField class.
  • New Feature: Introduced a UnitySerializedDictionary class that allows serialization of dictionaries in Unity.
  • Refactor: Refactored the logic for selecting enum values in the GUI in the EnumSelectorPropertyDrawer class.
  • Test: Updated unit tests for the EnumSelector and ObservableField classes.

"Code changes abound, features newly found,
Bugs squashed, tests profound.
With enums and dictionaries, we pave the way,
Observing fields, making games play.
A release to celebrate, progress we embrace,
Unity and code, dancing in grace."

Miguel Tomas and others added 5 commits October 7, 2020 22:18
…ector

Added List functionality to ObservableList to bring the same feature scope from normal C# lists
Fixed EnumSelector visualization bugs
Add new SortedList extensions to help sort list in direct calls
Add new Dictionary serializer
@github-actions
Copy link

github-actions bot commented Jul 28, 2023

🤖 OpenAI

High-level summary

The changes include improvements to error handling, refactoring of logic, and the addition of new classes and attributes. The code changes aim to enhance the modularity, maintainability, and performance of the mobile game project. Notable changes include replacing string arrays with GUIContent arrays for enum values, adding a custom property drawer for read-only properties, implementing serialization for dictionaries in Unity, and introducing extension methods for sorted lists.

File Summary
Editor/EnumSelectorPropertyDrawer.cs
Runtime/EnumSelector.cs
Tests/Editor/EnumSelectorTest.cs
Refactored the enum selector class, improving error handling and GUI logic.
Editor/ReadOnlyPropertyDrawer.cs
Runtime/ObservableField.cs
Runtime/ValueData.cs
Added support for observing field updates, disabling editing of properties, and invoking update methods.
Runtime/SortedListExtensions.cs
Runtime/UnitySerializedDictionary.cs
Added extension methods for sorted lists and implemented serialization for dictionaries in Unity.
Runtime/ReadOnlyAttribute.cs Added a ReadOnlyAttribute class to mark read-only properties.
Tests/Editor/ObservableFieldTest.cs Refactored the IMockCaller interface to include the previous value in the UpdateCall method. Updated tests accordingly.

Chat with 🤖 OpenAI Bot (@openai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @openai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Ignoring further reviews

  • Type @openai: ignore anywhere in the PR description to ignore further reviews from the bot.

Files not summarized due to errors (1)

Failed to summarize

  • Tests/Editor/ObservableListTest.cs (diff tokens exceeds limit)

In the recent run, only the files that changed from the base of the PR and between c6c438f3ec77df75d625eddd93781f4faeb23064 and b755d14310f272a68ece699aaf5fe1eeb0b892eb commits were reviewed.

@CoderGamester CoderGamester merged commit 9a0bfbd into master Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant