Skip to content

chore: update @robosystems/client to 0.3.13, refactor classification → trait#121

Merged
jfrench9 merged 3 commits intomainfrom
chore/update-client-interface
Apr 26, 2026
Merged

chore: update @robosystems/client to 0.3.13, refactor classification → trait#121
jfrench9 merged 3 commits intomainfrom
chore/update-client-interface

Conversation

@jfrench9
Copy link
Copy Markdown
Member

Summary

Updates the @robosystems/client dependency from its previous version to 0.3.13 and refactors all references from classification to trait across multiple components to align with the updated client interface.

Changes

Dependency Update

  • Bumped @robosystems/client to version 0.3.13 in both package.json and package-lock.json.

Property Rename: classificationtrait

This 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 from classification to trait.
  • TrialBalancePanel.tsx – Same classificationtrait rename.
  • trial-balance/content.tsx – Updated references in the trial balance content view.
  • ElementBrowser.tsx – Refactored element browsing logic to use trait instead of classification.
  • ElementDetail.tsx – Updated detail view rendering to reference trait.

Tests

  • AccountRollupsPanel.test.tsx – Test fixtures and assertions updated to use trait in place of classification, ensuring tests remain aligned with the new interface.

Breaking Changes

⚠️ Yes – Any downstream code or consuming components that reference classification on objects provided by @robosystems/client will need to be updated to use trait instead. 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

  1. Verify the rename is exhaustive: Search the codebase for any remaining references to classification that should now be trait (especially in types, mocks, or utility functions not captured in this diff).
  2. Run the full test suite – Confirm that the updated AccountRollupsPanel.test.tsx passes and no other tests regress.
  3. Functional verification:
    • Navigate to the Ledger → Trial Balance view and confirm data renders correctly with the trait field.
    • Navigate to Ledger → Close and verify the Account Rollups panel displays expected values.
    • Open the Element Browser and Element Detail views in the core library and confirm trait-based filtering/display works as expected.

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:

  • Source: chore/update-client-interface
  • Target: main
  • Type: feature

Co-Authored-By: Claude noreply@anthropic.com

…346aec'

git-subtree-dir: src/lib/core
git-subtree-mainline: 3319e50
git-subtree-split: f09d443
@jfrench9 jfrench9 merged commit 447bf9a into main Apr 26, 2026
3 checks passed
@jfrench9 jfrench9 deleted the chore/update-client-interface branch April 26, 2026 00:15
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.

1 participant