admirhusic / GoodFirstIssueFinder

A simple app which helps you find a good first issue
https://good-first-issue-finder.vercel.app
0 stars 4 forks source link

Help wanted: Implement Popover for Repository Name, User Name, and Issue #18

Open admirhusic opened 2 weeks ago

admirhusic commented 2 weeks ago

Description:

We need to implement a popover feature for displaying more information about the repository name, user name, and issue. This popover should be similar to the one used on GitHub, showing additional details when the user hovers over these elements. The implementation can be done in stages, with each entity being addressed in separate pull requests.

The styling should be done using Tailwind CSS. A general component should be created that can handle three types, defined in TypeScript.

Phase 1: Create General Popover Component

Task Details:

Implement a basic popover component that can be used for repository names, user names, and issues. Use Tailwind CSS for styling. Define three types in TypeScript to handle the different types of popovers (repository, user, issue). Acceptance Criteria:

A reusable popover component is created. The component supports three types: repository, user, and issue. Styling is done using Tailwind CSS.

Phase 2: Implement Popover for Repository Name

Task Details:

Use the general popover component to display additional information for the repository name. Ensure the popover displays relevant details when the user hovers over the repository name. Acceptance Criteria:

The popover is displayed when hovering over the repository name. The popover shows relevant information about the repository. The implementation follows the general component structure.

Phase 3: Implement Popover for User Name

Task Details:

Use the general popover component to display additional information for the user name. Ensure the popover displays relevant details when the user hovers over the user name. Acceptance Criteria:

The popover is displayed when hovering over the user name. The popover shows relevant information about the user. The implementation follows the general component structure.

Phase 4: Implement Popover for Issue

Task Details:

Use the general popover component to display additional information for the issue. Ensure the popover displays relevant details when the user hovers over the issue. Acceptance Criteria:

The popover is displayed when hovering over the issue. The popover shows relevant information about the issue. The implementation follows the general component structure. Additional Notes:

The popover design can be a simplified version of GitHub's popover, with reduced features. Ensure the user interface is intuitive and the popover displays quickly on hover. Follow existing project conventions for coding style and structure.