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

Token launcher for home page #10447

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

salman-neslit
Copy link
Collaborator

@salman-neslit salman-neslit commented Dec 26, 2024

Link to Issue

Closes: #10266

Description of Changes

  • Adds the Token Launcher component in Community Home.
  • Implements functionality for users to input ideas for tokens they want to launch.

"How We Fixed It"

Test Plan

  • Navigate to any community.
  • Select Community Home tab.
  • Verify that token launcher components is functional.

Deployment Plan

Other Considerations

@salman-neslit salman-neslit marked this pull request as ready for review December 26, 2024 02:29
@@ -317,6 +320,13 @@ const CommonDomainRoutes = ({
// GOVERNANCE END

// DISCUSSIONS
<Route
key="/:scope/community-home"
Copy link
Contributor

Choose a reason for hiding this comment

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

is this product decision that we will access the page with this URL like dydx/community-home? For me it does not look good. for me home page should be just /dydx or dydx/dashboard or something. Please consult it with product

Copy link
Contributor

Choose a reason for hiding this comment

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

probably we should also add it to custom domain routes

@@ -113,6 +118,31 @@ export const DiscussionSection = ({
localStorage[`${app.activeChainId()}-discussions-toggle-tree`],
);
const discussionsGroupData: SectionGroupAttrs[] = [
{
title: 'Community Home',
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't we add it behind the feature flag?

modeOfManageCommunityStakeModal,
} = useManageCommunityStakeModalStore();

const [selectedCommunityId] = useState<string>();
Copy link
Contributor

Choose a reason for hiding this comment

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

I dont thing this needs to be in state. Or it will be modified in the upcoming prs?

}
/>
}
// @ts-expect-error <StrictNullChecks/>
Copy link
Contributor

Choose a reason for hiding this comment

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

please avoid using StrictNullChecks everywhere

@mzparacha
Copy link
Contributor

I have similar feedback as Marcin. Also noticed a minor thing, the token card is a bit cutof from the side.

image

Functionality-wise, LGTM, but lets work on the other suggestions above.

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.

Token launcher for home page
4 participants