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

feat: AddSolutionsModal #1334

Conversation

FBalint
Copy link
Contributor

@FBalint FBalint commented Jul 1, 2024

TODO:

  • breaking up AddSolutionsButton to smaller components, hooks

Copy link

vercel bot commented Jul 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
guild-xyz ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2024 2:58pm

@FBalint FBalint self-assigned this Jul 1, 2024
@FBalint FBalint added the feature New feature or request label Jul 1, 2024
@FBalint FBalint marked this pull request as ready for review July 1, 2024 08:27
@FBalint FBalint force-pushed the guild-3400-add-solutions-to-the-current-add-reward-modal branch from 0f33d21 to 9c59652 Compare July 3, 2024 16:40
…l' of github.com:guildxyz/guild.xyz into guild-3400-add-solutions-to-the-current-add-reward-modal
src/components/common/SegmentedControl.tsx Outdated Show resolved Hide resolved
@@ -18,6 +18,7 @@ const styles = {
},
dialog: {
borderTopRadius: "xl",
backgroundColor: c === "dark" && darkBgColor,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we need this? 👀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

By default, for dark mode, we separately color the header, body, and the footer of a modal. Sometimes, due to Chakra UI workings I did not yet uncover, these three have a slight spacing issue, and the dialog color behind them is shown, which made us think a divider was somehow added to the DOM.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, I see! Would be great to find the root of the issue, but if this will be the only blocker, let's do it this way & debug it later! ;)

src/solutions/components/SolutionsPanel.tsx Outdated Show resolved Hide resolved
src/solutions/components/SolutionsPanel.tsx Outdated Show resolved Hide resolved
src/solutions/components/SolutionSelectButton.tsx Outdated Show resolved Hide resolved
src/solutions/components/SolutionCard.tsx Outdated Show resolved Hide resolved
src/solutions/components/SolutionCard.tsx Show resolved Hide resolved
@dovalid dovalid merged commit 65884b4 into feat-liquidity-incentive-solution Jul 8, 2024
1 of 2 checks passed
@dovalid dovalid deleted the guild-3400-add-solutions-to-the-current-add-reward-modal branch July 8, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants