Skip to content

Conversation

rutmanz
Copy link
Member

@rutmanz rutmanz commented Jun 20, 2025

Description

Propagates preference changes instantly instead of waiting for the panel to close. Also replaces the type assertions in the preference system with more robust generics for type checking

AARD-1906

@rutmanz rutmanz requested review from a team as code owners June 20, 2025 16:47
@BrandonPacewic BrandonPacewic added the ui/ux Relating to user interface, or in general, user experience label Jun 20, 2025
Copy link
Collaborator

@Dhruv-0-Arora Dhruv-0-Arora left a comment

Choose a reason for hiding this comment

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

This might be something to merge after #1070 since it will cause a lot of merge conflicts if we merge it before 😓

Copy link
Member

@BrandonPacewic BrandonPacewic left a comment

Choose a reason for hiding this comment

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

#1135 first.

Copy link
Contributor

@azaleacolburn azaleacolburn left a comment

Choose a reason for hiding this comment

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

Some small nitpicks

Copy link
Member

@BrandonPacewic BrandonPacewic left a comment

Choose a reason for hiding this comment

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

Still some persistent issues here, will take over this PR since @rutmanz is out for the week.

@BrandonPacewic BrandonPacewic self-assigned this Jun 23, 2025
@BrandonPacewic BrandonPacewic marked this pull request as draft June 23, 2025 18:16
@rutmanz rutmanz marked this pull request as ready for review June 30, 2025 17:34
Copy link
Contributor

@azaleacolburn azaleacolburn left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@BrandonPacewic BrandonPacewic left a comment

Choose a reason for hiding this comment

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

Double check and make sure that the changes made while the panel is open get reverted upon pressing cancel. For me this manifested in disabling/enabling the scoreboard, pressing cancel, and having the scoreboard not revert to whatever previous state it was in (and should still be in).

@rutmanz rutmanz requested a review from BrandonPacewic July 1, 2025 16:55
Copy link
Member

@AlexD717 AlexD717 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. Personally I don't think that the console.log you added is necessary in the ScoreboardPanel.tsx but I will leave that up to you

Copy link
Member

@BrandonPacewic BrandonPacewic left a comment

Choose a reason for hiding this comment

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

Awesome looks good.

Also replaces the type assertions in the preference system with more robust generics for type checking

As I briefly mentioned before, in the future please include small refactors like this in separate PRs. I don't want to discourage these types of changes at all (in fact these are my favorite types to review, so please do more of them) just separate them out of feature pushes.

Nice work ⚙️

@BrandonPacewic BrandonPacewic mentioned this pull request Jul 1, 2025
@BrandonPacewic BrandonPacewic merged commit 6d49608 into Autodesk:dev Jul 1, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui/ux Relating to user interface, or in general, user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants