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

Create AIMetadataDisplay component for blog posts #22

Open
19 tasks
amiable-dev opened this issue Nov 30, 2024 · 0 comments
Open
19 tasks

Create AIMetadataDisplay component for blog posts #22

amiable-dev opened this issue Nov 30, 2024 · 0 comments
Labels
component enhancement New feature or request

Comments

@amiable-dev
Copy link
Owner

We need to create a reusable React component to display AI metadata on blog posts.

Requirements:

  1. Create AIMetadataDisplay component that shows:
    • AI models used (with versions and tasks)
    • Confidence scores
    • Tools used
    • Review process
    • Quality metrics

Technical Implementation:

  • Create src/components/AIMetadataDisplay/index.jsx
  • Implement tooltip functionality for explanations
  • Use shadcn/ui Card components
  • Add proper type definitions
  • Support dark/light mode
  • Handle optional fields gracefully

Component Features:

  • Conditional rendering based on ai_generated flag
  • Styled with Tailwind CSS
  • Tooltips for explaining metrics
  • Responsive design
  • Accessible markup

Testing:

  • Test with various metadata combinations
  • Verify dark/light mode styling
  • Check accessibility
  • Test responsiveness

Documentation:

  • Add component usage examples
  • Document props and types
  • Add comments for complex logic
  • Include example metadata structure
@amiable-dev amiable-dev added enhancement New feature or request component labels Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant