Skip to content

Conversation

@koechkevin
Copy link
Contributor

@koechkevin koechkevin commented Nov 6, 2025

Description

This PR Adds Card component without any payload implementation

  • Implemented ReportCard component for displaying report details.
  • Created ReportsList component to render a list of ReportCard components.
  • Added tests for ReportCard and ReportsList with snapshot verification.
  • Introduced ResearchCategoryCard and ResearchCategoryList components for categorizing reports.
  • Included tests and snapshots for ResearchCategoryCard and ResearchCategoryList.

Fixes #1345

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Screenshots

image image image

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

- Implemented ReportCard component for displaying report details.
- Created ReportsList component to render a list of ReportCard components.
- Added tests for ReportCard and ReportsList with snapshot verification.
- Introduced ResearchCategoryCard and ResearchCategoryList components for categorizing reports.
- Included tests and snapshots for ResearchCategoryCard and ResearchCategoryList.
@koechkevin koechkevin requested a review from a team November 6, 2025 13:50
@koechkevin koechkevin self-assigned this Nov 6, 2025
@koechkevin
Copy link
Contributor Author

@copilot

Copy link

Copilot AI commented Nov 7, 2025

@koechkevin I've opened a new pull request, #1352, to work on those changes. Once the pull request is ready, I'll request review from you.

@kilemensi
Copy link
Member

@koechkevin Can you include a screenshot that shows how the cards line up when reports' description have different lengths? e.g. one line, 3 lines, 6 lines, etc.

Kevin Koech added 2 commits November 7, 2025 11:27
@kilemensi
Copy link
Member

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Member

@kilemensi kilemensi left a comment

Choose a reason for hiding this comment

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

Haven't reviewed the code but the cards look alright to me.

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.

TrustLab - Card for Report Type on Report Page

4 participants