Skip to content

Conversation

@cemreinanc
Copy link
Contributor

No description provided.

…ncies

- Introduced a new Labor Automation Hub page with sections for activity monitoring, job statistics, and methodology.
- Added new components including ActivityCard, InfoPopover, LaborHubHeader, and TabGroup for enhanced UI functionality.
- Integrated new data structures for risk and job forecasts.
- Included new images for partner logos and added the `react-scrollspy-navigation` package for scroll navigation.
- Updated package.json and package-lock.json to reflect new dependencies.
- Removed `react-scrollspy-navigation` from package.json and package-lock.json as it was not utilized in the project.
- Updated the Tailwind configuration to support a more complex dark mode strategy.
- Refactored the Labor Automation Hub page to incorporate new UI components such as DualPaneSectionCard, TableCompact, and HeroSection for improved layout and functionality.
- Enhanced the LaborHubHeader and TabGroup components for better navigation experience.
- Introduced InvertedThemeContainer for managing theme context in the application.
- Deleted unused partner images: `renphil-dark.png`, `renphil-light.webp`, and `sff-light.png`.
- Updated `layout.tsx` to include `TailwindIndicator` for development visibility.
- Refactored `LaborAutomationHubPage` to integrate `LaborHubNavigation` for improved navigation and layout consistency.
- Removed `LaborHubHeader` and `LaborHubInfo` components, streamlining the page structure.
- Enhanced `HeroSection` and `TabGroup` components for better responsiveness and visual appeal.
- Added a new Tailwind configuration file `tailwind.config.prettier.ts` to manage dark mode variants without altering class order.
- Updated `.prettierrc.json` to include the new Tailwind configuration file.
- Refactored `LaborHubNavigation` and `HeroSection` components for improved styling consistency and responsiveness.
- Introduced new OverviewSection and ResearchSection components for better content organization.
- Updated layout and styling for various components, including ActivityMonitorSection and DualPaneSectionCard, to enhance responsiveness and visual appeal.
- Added ContentParagraph component for consistent text formatting across sections.
- Adjusted tab labels and removed outdated sections to reflect current content focus.
…atures

- Introduced BasicQuestion and BarChart components for improved data visualization and interaction.
- Updated LaborAutomationHubPage to utilize new components, enhancing the display of featured posts and questions.
- Refactored ResearchSection to include AI vulnerability ratings and updated employment change data.
- Improved the HeroSection with better SVG attributes for consistency.
- Added QuestionCardContainer for better layout management of question cards.
- Removed the BarChart and QuestionCardContainer components to simplify the structure.
- Introduced a new QuestionCard component for better layout and styling of question-related content.
- Integrated RiskChart into the OverviewSection and ActivityMonitorSection for improved data representation.
- Updated ActivityMonitorSection to utilize the new QuestionCard for displaying projected employment growth.
…tion

- Introduced MultiLineRiskChart for enhanced data visualization of employment changes.
- Updated OverviewSection to include the new chart, replacing the placeholder div for improved content representation.
- Refactored LaborHubNavigation for better styling consistency.
…ance question card components

- Replaced BasicQuestion component with QuestionLoader for improved data fetching and rendering of questions.
- Introduced FlippableQuestionCard for enhanced user interaction with question content.
- Added QuestionCardSkeleton for loading states while fetching question data.
- Updated ActivityMonitorSection to use QuestionLoader for displaying projected employment growth.
- Streamlined question card structure for better maintainability and performance.
…ctionality

- Added a MoreButton to the QuestionCard component, providing users with options to view, export, share, and copy links.
- Updated the QuestionCard to conditionally render the MoreButton based on the new showMoreButton prop.
- Introduced POST_IDS_FILTER in filters to support filtering by IDs in search parameters.
- Enhanced filters logic to handle both array and comma-separated string inputs for IDs.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 20, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

🚀 Preview Environment

Your preview environment is ready!

Resource Details
🌐 Preview URL https://metaculus-pr-4109-feat-labor-hub-page.fly.dev
📦 Docker Image ghcr.io/metaculus/metaculus:feat-labor-hub-page-0504399
🗄️ PostgreSQL NeonDB branch preview/pr-4109-feat-labor-hub-page
Redis Fly Redis mtc-redis-pr-4109-feat-labor-hub-page

Details

  • Commit: 0504399a8eba379d43f434a84e9b5796855edf2c
  • Branch: feat/labor-hub-page
  • Fly App: metaculus-pr-4109-feat-labor-hub-page

ℹ️ Preview Environment Info

Isolation:

  • PostgreSQL and Redis are fully isolated from production
  • Each PR gets its own database branch and Redis instance
  • Changes pushed to this PR will trigger a new deployment

Limitations:

  • Background workers and cron jobs are not deployed in preview environments
  • If you need to test background jobs, use Heroku staging environments

Cleanup:

  • This preview will be automatically destroyed when the PR is closed

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.

2 participants