Draft
Conversation
* feat: implement responsive meta row for question metrics and relocated project chips * fix: sync meta row visibility breakpoints to prevent duplicated rendering and refine question header alignment layout * refactor: replace trophy icon dedup, manual mousedown listener with HeadlessUI Popover, and use translations generate script * fix: update Portuguese overflow label translation and fix vote score rendering condition
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
🚀 Preview EnvironmentYour preview environment is ready!
Details
ℹ️ Preview Environment InfoIsolation:
Limitations:
Cleanup:
|
* feat(ui): build new TitleRow component with updated typography and variant-specific layout logic * fix: move question info on top in forecaster header
* feat: added new question action row with unified pill styling, dynamic primary logic, and add custom icons * refactor: consolidate pill styles into CVA + PillButton, replace hardcoded hex with design tokens, and fix Follow active state styling * refactor: remove action buttons from sidebar * fix: add dark mode variants to all pill styles * fix: remove dead imports and stale questionTitle prop from Sidebar
…/action rows (#4657) * feat: added new question action row with unified pill styling, dynamic primary logic, and add custom icons * refactor: consolidate pill styles into CVA + PillButton, replace hardcoded hex with design tokens, and fix Follow active state styling * fix: remove dead imports and stale questionTitle prop from Sidebar * feat: filter PostDropdownMenu for desktop and polish mobile consumer/forecaster meta and action rows * fix: show full action row from 768px, adjust Predict/Share on mobile, and gate dropdown Share/Follow/Embed below md
feat: add desktop tab bar with shared active-tab state
feat: add tab content adapters
* feat: change sidebar reflow for forecaster and consumer views * feat: redesign similar questions sidebar with new card layout and charts * feat: differentiate similar questions chart display between forecaster and consumer views * feat: add vertical bar chart for date/numeric group questions in similar questions consumer sidebar * fix: disable frontend cache for similar posts endpoint to ensure per-user vote state is returned correctly * fix: limit vertical bar chart to visible choices count to prevent overlapping labels * fix: replace VerticalBarConsumerCard with GroupForecastCard in similar questions sidebar and remove hideResolutionIcon prop * Similar questions endpoint: added user context to the API response --------- Co-authored-by: hlbmtc <hlib@metaculus.com>
* feat: integrate shell, widen column to 59rem, delete dead layouts * fix: CommunityDisclaimer placement and add shell z-index * feat: replace direct DOM scrolling with context-based comment navigation, improve cross-tab comment access, and refine consumer shell layout handling for different question types * feat: refine question page and comment feed styling, spacing, and layout * fix: stack comment date below author name on question page and align date/vote typography to design spec * feat: add My Scores tab for consumer, wire PostScoreData into forecaster shell with Resolution Criteria and Background Info, and fix duplicate comments on tab re-entry * refactor: gate My Scores tab on user scores, extract comment header condition into named vars, and deduplicate post score routing logic * fix: forward mobileSidebar to ConsumerShell, fix translated banner timer cleanup, update my-scores hash key, and widen Storybook story wrappers to 59rem * fix: restore preselectedGroupQuestionId in ConsumerShell for group and fan graph questions
1d400cf to
282a591
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4640