Skip to content

Dynamic values improvements#6419

Merged
artf merged 44 commits intodevfrom
dynamic-values-improvements
Mar 10, 2025
Merged

Dynamic values improvements#6419
artf merged 44 commits intodevfrom
dynamic-values-improvements

Conversation

@mohamedsalem401
Copy link
Contributor

@mohamedsalem401 mohamedsalem401 commented Feb 25, 2025

  • This PR aims to integrate and refine the new API based on initial testing.

Key Changes and Additions

  • Dynamic Component and Variable Management:
    • Addition of getter and setter methods for:
      • ComponentDataCollection:
        • setStartIndex, setEndIndex, setDataSource, etc.
      • ComponentDataCondition:
        • setCondition, setIfTrue, setIfFalse, etc.
      • ComponentVariable:
        • setPath, getDefaultValue, etc.
  • Data Source Listener Fix:
    • Fix an issue with listeners for Datasources after changes to the data-variable path attribute.
  • Refactoring:
    • Refactoring of DataCondition and its associated operations.
    • Refactoring of dynamic values within StyleableModel.
  • ComponentDataCollection:
    • Synchronization of styles.
    • Implementation to allow editing of only the first item within ComponentDataCollection.

@bamiendev
Copy link

Wow, very excited

@mohamedsalem401 mohamedsalem401 requested a review from artf March 5, 2025 07:02
@mohamedsalem401 mohamedsalem401 self-assigned this Mar 5, 2025
@mohamedsalem401 mohamedsalem401 marked this pull request as ready for review March 5, 2025 07:02
@artf artf merged commit a4f3d20 into dev Mar 10, 2025
3 checks passed
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.

3 participants