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

Initial implementation to add extra info to an object in the project #14

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

GwnDaan
Copy link
Member

@GwnDaan GwnDaan commented Dec 22, 2024

This PR bootstraps extra info we want to attach to an object inside the project with two variables: unique_id and name.

With the unique id, we fixed the bug where explorer tree view collapses when changing an object id

@GwnDaan GwnDaan added bug Something isn't working enhancement New feature or request labels Dec 22, 2024
@GwnDaan GwnDaan self-assigned this Dec 22, 2024
@Copilot Copilot bot review requested due to automatic review settings December 22, 2024 19:42

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/object_info.rs:34

  • [nitpick] The default name generated by the get_name method could be ambiguous or unclear. Consider including more descriptive information.
format!("{:?}: {:?}", u16::from(object.id()), object.object_type())
- fixes collapsing tree view when object changes
- also passed around 'project design' more instead of it's variables
@GwnDaan GwnDaan force-pushed the daan/fix-collapses-on-object-id-change branch from 78c0d04 to d7ac773 Compare December 22, 2024 19:43
@GwnDaan GwnDaan merged commit d3c2021 into main Dec 26, 2024
20 checks passed
@GwnDaan GwnDaan deleted the daan/fix-collapses-on-object-id-change branch December 26, 2024 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make each object uniquely identifiable View Collapses on Working Set ID Change
1 participant