Skip to content
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

Dynamic data 2 - Auto UI #1293

Merged
merged 64 commits into from Aug 31, 2022
Merged

Dynamic data 2 - Auto UI #1293

merged 64 commits into from Aug 31, 2022

Conversation

exyi
Copy link
Member

@exyi exyi commented Feb 13, 2022

No description provided.

@exyi exyi force-pushed the dynamic-data-2 branch 2 times, most recently from c08c3ff to f6e5c73 Compare June 6, 2022 18:02
@exyi exyi marked this pull request as ready for review June 8, 2022 10:18
Copy link
Member

@acizmarik acizmarik left a comment

Choose a reason for hiding this comment

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

Nice 👍.

The most important comment I have is that the name Dynamic Data is still used all over the codebase. Most importantly, MD files, exception messages and metadata in csprojs. These should be changed as they are observable by users.

src/AutoUI/README.md Outdated Show resolved Hide resolved
src/Samples/Tests/Tests/seleniumconfig.json Outdated Show resolved Hide resolved
src/AutoUI/Core/Metadata/LocalizableString.cs Outdated Show resolved Hide resolved
return this;
}

public PropertyDisplayMetadataModifier Enable(bool allowEdit = true)
Copy link
Member

Choose a reason for hiding this comment

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

This feels a bit strange in connection with method EnableIfAuthenticated. The other method automatically sets the value to true. Either this one should behave similarly, or we should probably rename it to something more descriptive.

Suggested change
public PropertyDisplayMetadataModifier Enable(bool allowEdit = true)
public PropertyDisplayMetadataModifier SetAllowEditing(bool value = true)

@exyi exyi changed the title Dynamic data 2 Dynamic data 2 - Auto UI Aug 5, 2022
exyi and others added 24 commits August 30, 2022 22:19
DynamicEntity sample also refactored
EnumComboBoxFormEditorProvider added
And fixed bugs in DynamicEditor sample
Concrete DynamicEntity type should be used instead.
Fix replacing of controls which don't allow children
Fix styleContext.Property(c => c.P) for binding properties
On dynamic data resource bindings it's actually not needed,
but it was super annoying trying to make sure it's set correctly in grid, ...
@acizmarik acizmarik merged commit 1bcbca2 into main Aug 31, 2022
@acizmarik acizmarik deleted the dynamic-data-2 branch August 31, 2022 10:14
@exyi exyi added this to the Version 4.1 milestone Aug 31, 2022
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.

None yet

3 participants