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

Feature/plasmo #21

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open

Feature/plasmo #21

wants to merge 8 commits into from

Conversation

kbkn3
Copy link
Owner

@kbkn3 kbkn3 commented Oct 20, 2024

No description provided.

kbkn3 added 6 commits January 16, 2025 14:12
- Introduced Bun test runner and JSDOM for DOM simulation in tests.
- Added React Testing Library for improved component testing.
- Updated package.json to include new dependencies: jsdom, @testing-library/react, and happy-dom.
- Expanded unit tests for KyokuList component and refactored transfer tests.
- Removed obsolete test setup file.
…onfiguration

- Removed the manifest.ts file and migrated its settings to package.json for centralized management.
- Organized content script settings to match specific URL patterns and included necessary permissions.
- Updated documentation to reflect these changes and outline next steps for testing and implementation.
…tests

- Added data-testid attributes to key elements in NAGAPanel for better testability.
- Updated the component structure to include a title and improved button accessibility.
- Introduced a new test suite for NAGAPanel, covering rendering, button functionality, and conditional rendering based on props.
- Ensured the transfer button behaves correctly when disabled and verifies click events.
- Replaced chrome.storage.local with Plasmo's Storage class for better type safety and consistency.
- Simplified error handling in transfer functions by removing custom TransferError class.
- Updated NAGA transfer logic to use message handlers for improved communication between content scripts and popup.
- Commented out unused styles and components in content scripts for clarity.
- Enhanced the popup component to load data asynchronously from storage.
- Introduced NagaPanel component with enhanced UI for data preview and error handling.
- Implemented handleNagaTransfer function to manage data transfer to NAGA, including validation and error responses.
- Added validation utility to ensure NAGA data integrity before transfer.
- Expanded i18n messages for better user feedback on errors and actions.
- Created unit tests for NagaPanel and validation logic to ensure reliability.
- Removed obsolete transfer tests to streamline the testing suite.
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