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

🚀 implement batch search feature #34

Merged
merged 2 commits into from
Jan 21, 2024
Merged

Conversation

kawamataryo
Copy link
Owner

@kawamataryo kawamataryo commented Jan 19, 2024

implement batch search feature.

ref #28

demo.mp4

Summary by CodeRabbit

  • New Features

    • Introduced Storybook configurations for React-Vite projects and various new components.
    • Added a React component for detecting and interacting with Bluesky users on web pages.
    • Implemented a service worker client to search and interact with users on web pages.
    • Added new components for displaying alerts, modals, user cards, and fallback avatars.
    • Provided Storybook stories for visual testing and documentation of new components.
    • Updated styling approach to fully integrate Tailwind CSS.
  • Enhancements

    • Improved user experience with skeleton loading states for user cards.
    • Enhanced user profile interaction with follow, unfollow, block, and unblock features.
    • Streamlined user retrieval process with custom hooks and search functions.
    • Extended utility functions to include a wait function.
  • Refactor

    • Transitioned from custom CSS to Tailwind CSS for content styling.
    • Refactored popup.tsx to use the useCallback hook for better performance.
  • Documentation

    • Updated VS Code settings to specify a default formatter.
  • Style

    • Removed dark mode class configuration and updated daisyUI themes in Tailwind CSS.
  • Chores

    • Added new constants for query parameters and action modes.

@kawamataryo kawamataryo self-assigned this Jan 19, 2024
Copy link

coderabbitai bot commented Jan 19, 2024

Warning

Rate Limit Exceeded

@kawamataryo has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 15 minutes and 1 seconds before requesting another review.

How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.
Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.
Please see our FAQ for further information.

Commits Files that changed from the base of the PR and between e7852bc and e728bfd.

Walkthrough

The update integrates Storybook for a React-Vite project, enhances UI with new components, and adopts Tailwind CSS for styling. It also refines user interactions in a Chrome extension, improving the handling of Bluesky user data with new functionality for user actions and visual feedback.

Changes

File Pattern Change Summary
.storybook/main.ts, .storybook/preview.ts Configured Storybook for a React-Vite project, specifying stories, and introducing functionality for the Storybook preview.
.vscode/settings.json, tailwind.config.js Added default formatter setting in VS Code and updated Tailwind CSS configuration.
src/contents/App.tsx, src/contents/content.ts Introduced a React component for detecting and interacting with Bluesky users, and added functionality for interacting with a service worker to search and interact with users on specific web pages.
src/lib/...ServiceWorkerClient.ts, src/lib/hooks/useRetrieveBskyUsers.ts, src/lib/searchBskyUsers.ts Improved functionality for interacting with Bluesky users, added a custom hook for retrieving and managing Bsky users, and introduced functions for searching and retrieving Bsky user profiles.
src/lib/components/..., src/lib/components/Icons/... Introduced new UI components like AlertError, AlertSuccess, MatchTypeFilter, Modal, UserCard, and various SVG icons. Added Storybook stories for these components.
src/lib/constants.ts, src/lib/utils.ts Updated constants for query parameters, action modes, and match type labels and colors. Added a utility function for waiting.
src/popup.tsx Refactored functionality in popup.tsx, including the use of useCallback and adjustments in UI logic.
src/style.content.css, src/style.content.legacy.css Transitioned from custom CSS to Tailwind CSS directives, and added styles for legacy content.

🐇✨
In the burrow of the code, a change does bloom,
New tales to tell in the Storybook room.
Tailwind breezes, UIs delight,
A rabbit's work by moon's soft light. 🌙📚

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository from git and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 3

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 7b7866d and 04a8293.
Files ignored due to path filters (2)
  • package-lock.json is excluded by: !**/*.json
  • package.json is excluded by: !**/*.json
Files selected for processing (28)
  • .storybook/main.ts (1 hunks)
  • .storybook/preview.ts (1 hunks)
  • .vscode/settings.json (1 hunks)
  • src/contents/App.tsx (1 hunks)
  • src/contents/content.ts (1 hunks)
  • src/lib/bskyServiceWorkerClient.ts (2 hunks)
  • src/lib/components/AlertError.stories.tsx (1 hunks)
  • src/lib/components/AlertError.tsx (1 hunks)
  • src/lib/components/AlertSuccess.stories.tsx (1 hunks)
  • src/lib/components/AlertSuccess.tsx (1 hunks)
  • src/lib/components/Icons/AvatarFallbackSvg.tsx (1 hunks)
  • src/lib/components/Icons/BlueskyIconSvg.tsx (1 hunks)
  • src/lib/components/MatchTypeFilter.stories.tsx (1 hunks)
  • src/lib/components/MatchTypeFilter.tsx (1 hunks)
  • src/lib/components/Modal.stories.tsx (1 hunks)
  • src/lib/components/Modal.tsx (1 hunks)
  • src/lib/components/UserCard.stories.tsx (1 hunks)
  • src/lib/components/UserCard.tsx (1 hunks)
  • src/lib/components/UserCardSkeleton.tsx (1 hunks)
  • src/lib/components/UserCardSkelton.stories.tsx (1 hunks)
  • src/lib/constants.ts (2 hunks)
  • src/lib/hooks/useRetrieveBskyUsers.ts (1 hunks)
  • src/lib/searchBskyUsers.ts (1 hunks)
  • src/lib/utils.ts (1 hunks)
  • src/popup.tsx (3 hunks)
  • src/style.content.css (1 hunks)
  • src/style.content.legacy.css (1 hunks)
  • tailwind.config.js (1 hunks)
Files skipped from review due to trivial changes (2)
  • src/lib/components/Icons/AvatarFallbackSvg.tsx
  • src/lib/components/UserCardSkeleton.tsx
Additional comments: 30
src/style.content.css (1)
  • 1-3: The file has been updated to use Tailwind CSS directives, which is a significant shift from custom CSS to a utility-first CSS framework. This change should make future styling more maintainable and scalable.
.vscode/settings.json (1)
  • 6-6: The addition of "editor.defaultFormatter": "biomejs.biome" to the VSCode settings ensures consistent code formatting across the development team, which is a good practice.
src/lib/utils.ts (1)
  • 11-13: The wait function is a simple utility that can be used to introduce delays. It's implemented correctly and can be useful in various scenarios, such as simulating network delays in testing.
src/lib/components/UserCardSkelton.stories.tsx (1)
  • 1-13: The Storybook story for UserCardSkeleton is correctly set up with default export metadata and an empty default story object. This is a standard pattern for initializing stories in Storybook.
.storybook/preview.ts (1)
  • 1-16: The preview configuration for Storybook is set up correctly, importing the global styles and setting up parameters for actions and controls. This ensures a consistent look and behavior across all stories.
src/lib/components/AlertSuccess.stories.tsx (1)
  • 1-17: The Storybook story for AlertSuccess is correctly set up with default export metadata and a default story object with arguments. This is a standard pattern for initializing stories in Storybook.
tailwind.config.js (2)
  • 8-11: The addition of a safelist in the Tailwind configuration is a proactive measure to ensure that certain classes are always included in the final build, even if they aren't detected in the template files. This can prevent styling issues in production.
  • 23-23: The darkMode configuration has been updated to support both class-based and attribute-based dark mode toggling. This change provides more flexibility in how dark mode can be implemented in the application.
.storybook/main.ts (1)
  • 1-19: The Storybook main configuration file is set up correctly, specifying the location of stories and adding necessary addons for links, essentials, onboarding, and interactions. This configuration is essential for a fully featured Storybook environment.
src/lib/components/AlertError.stories.tsx (1)
  • 1-26: The Storybook stories for AlertError are correctly set up with default export metadata, a default story object, and a story with a retry button. This provides examples of how the component can be used in different scenarios.
src/lib/components/MatchTypeFilter.stories.tsx (1)
  • 1-23: The Storybook story for MatchTypeFilter is correctly set up with default export metadata and a default story object with arguments. This is a standard pattern for initializing stories in Storybook.
src/lib/components/Modal.tsx (1)
  • 1-24: The Modal component is implemented with a dialog element and a form to close the modal. The use of the HTML <dialog> element is modern and semantically correct for modal dialogs.
src/lib/components/AlertSuccess.tsx (1)
  • 1-26: The AlertSuccess component is implemented correctly, using Tailwind CSS classes for styling and rendering children passed to it. This is a reusable component that can be used to display success messages throughout the application.
src/lib/components/AlertError.tsx (1)
  • 1-45: The AlertError component is implemented correctly, with an optional retry action. The use of conditional rendering ({!!retryAction && ...}) is a standard React pattern for rendering elements based on the presence of a prop.
src/lib/components/MatchTypeFilter.tsx (1)
  • 1-42: The MatchTypeFilter component is implemented correctly, using a map function to render checkboxes for each match type. The use of the badge class from Tailwind CSS for styling is consistent with the utility-first approach.
src/lib/components/Icons/BlueskyIconSvg.tsx (1)
  • 1-39: The BlueskyIconSvg component is a stateless functional component that returns an SVG element. The SVG is correctly defined with appropriate attributes and namespaces.
src/lib/components/Modal.stories.tsx (1)
  • 1-75: The Storybook stories for Modal are correctly set up with default export metadata and two story templates demonstrating different modal states. This provides a clear example of how the modal behaves when opened and with content.
src/lib/bskyServiceWorkerClient.ts (1)
  • 1-1: The import of ProfileView and the change in the return type of the fetchActors method to ProfileView[] suggest an update in the data model. Ensure that all parts of the application that consume this method are updated to handle the new return type.
src/lib/constants.ts (2)
  • 8-11: The addition of new query parameters in QUERY_PARAMS is a change that could affect how elements are selected in the DOM. Ensure that these new selectors are accurate and tested.
  • 62-75: The MATCH_TYPE_LABEL_AND_COLOR constant provides a mapping between match types and their corresponding labels and colors. This is a good use of constants for maintainability and readability.
src/lib/components/UserCard.stories.tsx (1)
  • 1-109: The Storybook stories for UserCard are correctly set up with default export metadata, a default story object, and a cards story object with multiple items. This provides a clear example of how the UserCard component can be used with different props.
src/contents/App.tsx (1)
  • 1-129: The App component is the main entry point for the content script. It uses the useRetrieveBskyUsers hook to manage state and effects, and correctly sets up a message listener for Chrome runtime messages. The component also handles the display of modals, alerts, and user cards based on the application state.
src/lib/searchBskyUsers.ts (2)
  • 14-18: The use of a Set for caching not found users (notFoundUserCache) is an efficient way to prevent unnecessary searches. This is a good performance optimization.
  • 18-24: The searchBskyUser function is designed to search for users based on provided terms. Ensure that the search functionality is thoroughly tested, especially since it involves network requests and error handling.
src/style.content.legacy.css (1)
  • 1-210: The src/style.content.legacy.css file contains legacy styles that may no longer be needed due to the migration to Tailwind CSS. Verify that these styles are not being used elsewhere in the application before removing or refactoring them.
Verification successful

The search results indicate that the class names defined in src/style.content.legacy.css are indeed referenced in the codebase. Specifically, the file src/contents/content.ts imports the legacy CSS file, and the file src/lib/domHelpers.ts references classes .bsky-user-content and .bsky-reload-btn-wrapper which are defined in the legacy CSS file.

Based on this information, it is clear that the legacy styles are still being used within the application. Therefore, the review comment suggesting that the legacy styles may no longer be needed and should be verified before removal or refactoring is correct.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Verify that the legacy styles are not used elsewhere in the application.
rg 'style\.content\.legacy\.css' --type js

Length of output: 44



Script:

#!/bin/bash
# Search for class names defined in the legacy CSS file within the entire codebase.
rg '\.bsky-user-content-wrapper|\.match-type|\.bsky-user-content|\.icon-section|\.content|\.name-and-controller|\.bsky-user-content__not-found|\.bsky-reload-btn-wrapper|\.bsky-reload-btn|\.bsky-fade-in' -tall

Length of output: 2502

src/lib/components/UserCard.tsx (1)
  • 1-155: The UserCard component is implemented with a complex state management for button hover and click states. Ensure that the component's behavior is consistent with the user experience requirements and that all states are handled correctly.
src/popup.tsx (3)
  • 1-1: Added useCallback to the import statement from "react" is appropriate for memoizing functions to avoid unnecessary renders.
  • 48-56: Refactoring loadCredentialsFromStorage to use useCallback is a good practice to ensure that this function is not recreated on every render, which can lead to performance improvements, especially if passed as a prop to child components.
  • 106-106: Replacing setting a success message with closing the window in searchBskyUser function changes the user experience. Ensure that this behavior change is intentional and documented, as users will no longer see a success message before the window closes.
src/lib/hooks/useRetrieveBskyUsers.ts (1)
  • 40-281: The useRetrieveBskyUsers hook is a significant addition to the codebase. It encapsulates the logic for retrieving and managing Bluesky user profiles. The use of useCallback and useMemo hooks is appropriate for optimizing performance. However, ensure that the dependencies of these hooks are correctly specified to avoid bugs related to stale closures or unnecessary computations.

src/lib/hooks/useRetrieveBskyUsers.ts Show resolved Hide resolved
src/contents/content.ts Show resolved Hide resolved
Comment on lines +67 to +147
export const searchBskyUsers = async ({
agent,
userCellQueryParam,
}: {
agent: BskyServiceWorkerClient | BskyClient;
userCellQueryParam: string;
}) => {
const userCells = getUserCells({
queryParam: userCellQueryParam,
filterInsertedElement: true,
});
debugLog(`userCells length: ${userCells.length}`);

let index = 0;

const targetAccounts = [] as ProfileView[];

// loop over twitter user profile cells and search and insert bsky user
for (const userCell of userCells) {
const { twAccountName, twDisplayName, twAccountNameRemoveUnderscore } =
getAccountNameAndDisplayName(userCell);

if (notFoundUserCache.has(twAccountName)) {
insertNotFoundEl(userCell);
continue;
}

const searchTerms = [twAccountNameRemoveUnderscore, twDisplayName];

let targetAccount = null;
let matchType = null;

// Loop over search parameters and break if a user is found
searchLoop: for (const term of searchTerms) {
// one symbol is not a valid search term for bsky
if (!term || isOneSymbol(term)) {
continue;
}
try {
const searchResults = await agent.searchUser({
term: term,
limit: 3,
});

for (const searchResult of searchResults) {
const { isSimilar: isUserFound, type } = isSimilarUser(
{
accountName: twAccountName,
accountNameRemoveUnderscore: twAccountNameRemoveUnderscore,
displayName: twDisplayName,
},
searchResult,
);

if (isUserFound) {
targetAccount = searchResult;
matchType = type;
break searchLoop; // Stop searching when a user is found
}
}
} catch (e) {
console.error(e);
}
}

// insert bsky profile or not found element
if (targetAccount) {
targetAccounts.push(targetAccount);
} else {
notFoundUserCache.add(twAccountName);
}

index++;

// if (process.env.NODE_ENV === "development" && index > 5) {
// break
// }
}

return targetAccounts;
};
Copy link

Choose a reason for hiding this comment

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

Tip

Codebase Verification

The searchBskyUsers function includes basic error handling but does not have explicit mechanisms to respect rate limits, such as handling HTTP 429 responses or implementing a delay between requests. The error handling is generic, catching exceptions and logging them to the console. While the calling code in useRetrieveBskyUsers checks for rate limit errors in the error message, this is not a robust method for rate limiting. Therefore, the original review comment stands correct, and it is advisable to implement more specific rate limit handling within the searchBskyUsers function.

Analysis chain

The searchBskyUsers function is a bulk operation that searches for multiple users. It's important to ensure that this function is used in a way that respects rate limits and handles potential errors gracefully.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Verify that the searchBskyUsers function respects rate limits and has proper error handling.
rg 'searchBskyUsers' --type js

Length of output: 30



Script:

#!/bin/bash
# Search for 'searchBskyUsers' across the entire codebase to verify its usage.
rg 'searchBskyUsers'

Length of output: 180



Script:

#!/bin/bash
# Examine the contents of useRetrieveBskyUsers.ts to see how searchBskyUsers is used.
cat src/lib/hooks/useRetrieveBskyUsers.ts

Length of output: 8148



Script:

#!/bin/bash
# Examine the contents of searchBskyUsers.ts to verify the implementation of searchBskyUser.
cat src/lib/searchBskyUsers.ts

Length of output: 3851

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 7b7866d and 5fab6c6.
Files ignored due to path filters (2)
  • package-lock.json is excluded by: !**/*.json
  • package.json is excluded by: !**/*.json
Files selected for processing (28)
  • .storybook/main.ts (1 hunks)
  • .storybook/preview.ts (1 hunks)
  • .vscode/settings.json (1 hunks)
  • src/contents/App.tsx (1 hunks)
  • src/contents/content.ts (1 hunks)
  • src/lib/bskyServiceWorkerClient.ts (2 hunks)
  • src/lib/components/AlertError.stories.tsx (1 hunks)
  • src/lib/components/AlertError.tsx (1 hunks)
  • src/lib/components/AlertSuccess.stories.tsx (1 hunks)
  • src/lib/components/AlertSuccess.tsx (1 hunks)
  • src/lib/components/Icons/AvatarFallbackSvg.tsx (1 hunks)
  • src/lib/components/Icons/BlueskyIconSvg.tsx (1 hunks)
  • src/lib/components/MatchTypeFilter.stories.tsx (1 hunks)
  • src/lib/components/MatchTypeFilter.tsx (1 hunks)
  • src/lib/components/Modal.stories.tsx (1 hunks)
  • src/lib/components/Modal.tsx (1 hunks)
  • src/lib/components/UserCard.stories.tsx (1 hunks)
  • src/lib/components/UserCard.tsx (1 hunks)
  • src/lib/components/UserCardSkeleton.tsx (1 hunks)
  • src/lib/components/UserCardSkelton.stories.tsx (1 hunks)
  • src/lib/constants.ts (2 hunks)
  • src/lib/hooks/useRetrieveBskyUsers.ts (1 hunks)
  • src/lib/searchBskyUsers.ts (1 hunks)
  • src/lib/utils.ts (1 hunks)
  • src/popup.tsx (3 hunks)
  • src/style.content.css (1 hunks)
  • src/style.content.legacy.css (1 hunks)
  • tailwind.config.js (1 hunks)
Files skipped from review as they are similar to previous changes (27)
  • .storybook/main.ts
  • .storybook/preview.ts
  • .vscode/settings.json
  • src/contents/App.tsx
  • src/contents/content.ts
  • src/lib/bskyServiceWorkerClient.ts
  • src/lib/components/AlertError.stories.tsx
  • src/lib/components/AlertError.tsx
  • src/lib/components/AlertSuccess.stories.tsx
  • src/lib/components/AlertSuccess.tsx
  • src/lib/components/Icons/AvatarFallbackSvg.tsx
  • src/lib/components/Icons/BlueskyIconSvg.tsx
  • src/lib/components/MatchTypeFilter.stories.tsx
  • src/lib/components/MatchTypeFilter.tsx
  • src/lib/components/Modal.stories.tsx
  • src/lib/components/Modal.tsx
  • src/lib/components/UserCard.stories.tsx
  • src/lib/components/UserCard.tsx
  • src/lib/components/UserCardSkeleton.tsx
  • src/lib/components/UserCardSkelton.stories.tsx
  • src/lib/hooks/useRetrieveBskyUsers.ts
  • src/lib/searchBskyUsers.ts
  • src/lib/utils.ts
  • src/popup.tsx
  • src/style.content.css
  • src/style.content.legacy.css
  • tailwind.config.js
Additional comments: 6
src/lib/constants.ts (6)
  • 6-6: The MESSAGE_NAMES constant has been updated with additional message names.
  • 8-11: New query parameters have been added to the QUERY_PARAMS constant.
  • 14-17: The MESSAGE_NAME_TO_QUERY_PARAM_MAP object has been updated with additional mappings.
  • 20-22: New action modes have been added to the ACTION_MODE constant.
  • 25-28: The MESSAGE_NAME_TO_ACTION_MODE_MAP object has been updated with additional mappings.
  • 62-74: New match type labels and colors have been added to the MATCH_TYPE_LABEL_AND_COLOR constant.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 7b7866d and e7852bc.
Files ignored due to path filters (2)
  • package-lock.json is excluded by: !**/*.json
  • package.json is excluded by: !**/*.json
Files selected for processing (28)
  • .storybook/main.ts (1 hunks)
  • .storybook/preview.ts (1 hunks)
  • .vscode/settings.json (1 hunks)
  • src/contents/App.tsx (1 hunks)
  • src/contents/content.ts (1 hunks)
  • src/lib/bskyServiceWorkerClient.ts (2 hunks)
  • src/lib/components/AlertError.stories.tsx (1 hunks)
  • src/lib/components/AlertError.tsx (1 hunks)
  • src/lib/components/AlertSuccess.stories.tsx (1 hunks)
  • src/lib/components/AlertSuccess.tsx (1 hunks)
  • src/lib/components/Icons/AvatarFallbackSvg.tsx (1 hunks)
  • src/lib/components/Icons/BlueskyIconSvg.tsx (1 hunks)
  • src/lib/components/MatchTypeFilter.stories.tsx (1 hunks)
  • src/lib/components/MatchTypeFilter.tsx (1 hunks)
  • src/lib/components/Modal.stories.tsx (1 hunks)
  • src/lib/components/Modal.tsx (1 hunks)
  • src/lib/components/UserCard.stories.tsx (1 hunks)
  • src/lib/components/UserCard.tsx (1 hunks)
  • src/lib/components/UserCardSkeleton.tsx (1 hunks)
  • src/lib/components/UserCardSkelton.stories.tsx (1 hunks)
  • src/lib/constants.ts (2 hunks)
  • src/lib/hooks/useRetrieveBskyUsers.ts (1 hunks)
  • src/lib/searchBskyUsers.ts (1 hunks)
  • src/lib/utils.ts (1 hunks)
  • src/popup.tsx (3 hunks)
  • src/style.content.css (1 hunks)
  • src/style.content.legacy.css (1 hunks)
  • tailwind.config.js (1 hunks)
Files skipped from review as they are similar to previous changes (28)
  • .storybook/main.ts
  • .storybook/preview.ts
  • .vscode/settings.json
  • src/contents/App.tsx
  • src/contents/content.ts
  • src/lib/bskyServiceWorkerClient.ts
  • src/lib/components/AlertError.stories.tsx
  • src/lib/components/AlertError.tsx
  • src/lib/components/AlertSuccess.stories.tsx
  • src/lib/components/AlertSuccess.tsx
  • src/lib/components/Icons/AvatarFallbackSvg.tsx
  • src/lib/components/Icons/BlueskyIconSvg.tsx
  • src/lib/components/MatchTypeFilter.stories.tsx
  • src/lib/components/MatchTypeFilter.tsx
  • src/lib/components/Modal.stories.tsx
  • src/lib/components/Modal.tsx
  • src/lib/components/UserCard.stories.tsx
  • src/lib/components/UserCard.tsx
  • src/lib/components/UserCardSkeleton.tsx
  • src/lib/components/UserCardSkelton.stories.tsx
  • src/lib/constants.ts
  • src/lib/hooks/useRetrieveBskyUsers.ts
  • src/lib/searchBskyUsers.ts
  • src/lib/utils.ts
  • src/popup.tsx
  • src/style.content.css
  • src/style.content.legacy.css
  • tailwind.config.js

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between e7852bc and 41aef32.
Files selected for processing (1)
  • README.md (3 hunks)
Files skipped from review due to trivial changes (1)
  • README.md

@kawamataryo kawamataryo merged commit 5a5ea83 into main Jan 21, 2024
2 checks passed
@kawamataryo kawamataryo linked an issue Sep 1, 2024 that may be closed by this pull request
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.

Automatic approach
1 participant