chore: update @robosystems/client to 0.3.13, refactor classification → trait#121
Merged
chore: update @robosystems/client to 0.3.13, refactor classification → trait#121
Conversation
…sification to trait in components
…sification to trait in components
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the
@robosystems/clientdependency from its previous version to 0.3.13 and refactors all references fromclassificationtotraitacross multiple components to align with the updated client interface.Changes
Dependency Update
@robosystems/clientto version 0.3.13 in bothpackage.jsonandpackage-lock.json.Property Rename:
classification→traitThis is a terminology/interface change driven by the updated client library. The following components were updated to reflect the new naming:
AccountRollupsPanel.tsx– Updated property references fromclassificationtotrait.TrialBalancePanel.tsx– Sameclassification→traitrename.trial-balance/content.tsx– Updated references in the trial balance content view.ElementBrowser.tsx– Refactored element browsing logic to usetraitinstead ofclassification.ElementDetail.tsx– Updated detail view rendering to referencetrait.Tests
AccountRollupsPanel.test.tsx– Test fixtures and assertions updated to usetraitin place ofclassification, ensuring tests remain aligned with the new interface.Breaking Changes
classificationon objects provided by@robosystems/clientwill need to be updated to usetraitinstead. This is a breaking change at the client interface level. All known usages within this codebase have been addressed in this PR.Testing Notes for Reviewers
classificationthat should now betrait(especially in types, mocks, or utility functions not captured in this diff).AccountRollupsPanel.test.tsxpasses and no other tests regress.traitfield.Browser Compatibility Considerations
No new browser APIs or CSS features were introduced. This change is purely a data-layer property rename and dependency version bump, so there should be no browser compatibility impact. Standard supported browsers (Chrome, Firefox, Safari, Edge) remain unaffected.
🤖 Generated with Claude Code
Branch Info:
chore/update-client-interfacemainCo-Authored-By: Claude noreply@anthropic.com