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

Remove SyncFusion #751

Merged
merged 3 commits into from
Jun 30, 2024
Merged

Remove SyncFusion #751

merged 3 commits into from
Jun 30, 2024

Conversation

Rarisma
Copy link
Collaborator

@Rarisma Rarisma commented Jun 15, 2024

This PR does two things
Firstly and foremost, completely strips out all references to SyncFusion. StoryCAD in the past has relied on SyncFusion as WinUI has had Comboboxes that were for the most part broken. I am glad to say WinUI has finally rectified the multitude of problems with the combobox, as such while we are extremly greatful to syncfusion for all the help they have provided us, it is no longer worth our time dealing with updating and maintaining Syncfusion. One of the largest problems with WinUI Comboboxes was them being cut off with the window if the combox extended past the bounds of the window; this has been fixed.

Secondly while we are on the topic of ComboBoxes, this PR fixes the handful of them scattered throughout StoryCAD that aren't styled correctly. This occured because a few Comboboxes of StoryCAD inherit the combobox style but not the CornerRadius value, this led these few comboboxes having square edges breaking visual consistency. As a stopgap measure I've added CornerRadius=4 to the three custom comboboxes. I say this is a stop gap measure as I personally don't think these warrant being classes at all as all they do is set the itemsource to some filter of StoryModel.StoryElements and this could be done much more gracefully by referencing ShellVM or perhaps even adding a reference to StoryModel.GetModel() within the relevant page so its bindable as two out of three clases are only used within a single XAML page, the last is used in three.

Updated box look (look at the StoryProblem Box)
image
image

@Rarisma Rarisma marked this pull request as draft June 15, 2024 02:05
@Rarisma Rarisma marked this pull request as ready for review June 18, 2024 23:35
Copy link
Collaborator

@terrycox terrycox left a comment

Choose a reason for hiding this comment

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

Done without prior planning

@terrycox terrycox merged commit 4f0032c into main Jun 30, 2024
6 checks passed
@terrycox terrycox deleted the RemoveSyncFusion branch June 30, 2024 12:18
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.

2 participants