Skip to content

TOK-819: naming refactor and stories fix #1283

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jurajpiar
Copy link
Contributor

@jurajpiar jurajpiar commented Aug 5, 2025

  • rename allocations to backingShare
  • fix action cell stories so that the text is visible

@jurajpiar jurajpiar added the collective-rewards PRs that touch CR parts label Aug 5, 2025
Copy link

github-actions bot commented Aug 5, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@jurajpiar jurajpiar changed the title refactor(builders): table TOK-819: Finalise the BuildersTable/Table component - refactoring Aug 5, 2025
@jurajpiar jurajpiar force-pushed the TOK-819/builderTableRefactor branch from 9234d5e to 7f88b61 Compare August 5, 2025 15:37
- rename allocations to backingShares
@jurajpiar jurajpiar force-pushed the TOK-819/builderTableRefactor branch 3 times, most recently from 9200b7d to d747e8d Compare August 7, 2025 13:21
@jurajpiar jurajpiar changed the title TOK-819: Finalise the BuildersTable/Table component - refactoring TOK-819: naming refactor and stories fix Aug 7, 2025
@jurajpiar jurajpiar force-pushed the TOK-819/builderTableRefactor branch from d747e8d to a8a5045 Compare August 7, 2025 16:23
@jurajpiar jurajpiar marked this pull request as ready for review August 7, 2025 16:25
@jurajpiar jurajpiar requested review from a team and Copilot August 7, 2025 16:25
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the naming from "allocations" to "backingShare" throughout the codebase and fixes action cell stories to improve text visibility.

  • Renames all references from "allocations" to "backingShare" for better naming consistency
  • Updates component names, interfaces, and properties to use the new naming convention
  • Creates new BackingShareCell component to replace AllocationCell

Reviewed Changes

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

Show a summary per file
File Description
TableColumnDropdown.stories.tsx Updates column ID from 'allocations' to 'backingShare' in test data
BackingShareCell/index.ts New barrel export file for BackingShareCell component
BackingShareCell/BackingShare.tsx Renamed component with updated interface and property names
BackingShareCell/BackingShare.stories.tsx Updated Storybook configuration for renamed component
AllocationCell/index.ts Removed old AllocationCell barrel export
BuildersTable.tsx Updated sorting logic and column visibility checks for new naming
BuilderTable.config.ts Updated column configuration and labels for backingShare
BuilderHeaderRow.tsx Updated header cell reference to use new column ID
BuilderDataRow.tsx Comprehensive update of component usage and variable names

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
collective-rewards PRs that touch CR parts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant