-
Notifications
You must be signed in to change notification settings - Fork 16
Key Factors P1 #1466
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
Key Factors P1 #1466
Conversation
# Conflicts: # comments/admin.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments
@@ -0,0 +1,57 @@ | |||
"use client"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it makes sense to mark this component as client component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried, but it throws an error:
× You're importing a component that needs useState. It only works in a Client Component but none of its parents are marked with "use client", so they're Server Components by default.
│ Learn more: https://nextjs.org/docs/getting-started/react-essentials
front_end/src/app/(main)/questions/[id]/components/key_factors.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- Added missing anchors
# Conflicts: # front_end/messages/en.json
Key Factors P1 implementation:
Figma mocks -- https://www.figma.com/design/1zMpkkR1SyqKe7Hc4wR7cV/Key-Factors?node-id=48-10292&node-type=section&t=W9cbWfHuLMH9EBba-0
Notion doc -- https://www.notion.so/metaculus/Key-factors-12a6aaf4f10180b3bda2e26f8eb0d5cd
closes #1463