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

release: Club lp #481

Merged
merged 55 commits into from
Oct 24, 2024
Merged

release: Club lp #481

merged 55 commits into from
Oct 24, 2024

Conversation

jjramirezn
Copy link
Contributor

Main changes

  • Club lp

Other new features

  • Social link previews for requests

Fixes

  • Store token symbol when creating a request link
  • Avoid lock state in validated input

jjramirezn and others added 30 commits October 23, 2024 18:18
We were previousley checking previousValueRef.current to see if the
value was the same as the debounced value. This was causing issues and
is no longer necessary, because it was introduced when the state was not
handled correctly
…st-links

[TASK-6243] feat: social preview on request links
…bol-data

[TASK-6249] Store token symbol when creating a request link
…marquee colours to purple. Added intro component with large sentence that scales with image assets.
…ub landing page. Have added some styling classes to the global.css
…ng locally so wonder what happens when it is hosted.
Copy link

vercel bot commented Oct 24, 2024

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

Name Status Preview Comments Updated (UTC)
peanut-ui 🔄 Building (Inspect) Visit Preview 1 resolved Oct 24, 2024 7:38pm

Copy link
Contributor

coderabbitai bot commented Oct 24, 2024

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

This pull request introduces significant updates across multiple files, primarily focusing on exporting new assets, enhancing component structures, and refining styling. The index.ts file now exports over twenty new visual components from various SVG and image files, improving asset management. Additionally, multiple components have been modified to streamline imports and update metadata, particularly the favicon. The package.json file has been updated with new dependencies and scripts. Overall, these changes aim to enhance modularity, usability, and visual consistency throughout the application.

Changes

File Change Summary
index.ts Added exports for over twenty new components from SVG and image files, including ClaimChainsBadge, Cloud, and HandBag.
package.json Added new script analyze, updated @squirrel-labs/peanut-sdk version, and introduced new dependencies: auto-text-size, frames.js, logrocket, and @wagmi/core.
src/app/about/page.tsx Updated import to specifically import About, changed favicon path in metadata to /favicon.ico, and simplified component rendering.
src/app/api/preview-image/route.tsx Modified GET function to handle new search parameters and introduced previewType variable.
src/app/blog/page.tsx Updated import to specifically import Blog, changed favicon path in metadata to /favicon.ico, and simplified component rendering.
src/app/claim/page.tsx Updated import to specifically import Claim, changed favicon path in metadata to /favicon.ico, and modified URL parameter handling in previewUrl.
src/app/colormode/page.tsx Changed favicon path in metadata to /favicon.ico.
src/app/dashboard/page.tsx Updated import to specifically import Dashboard, changed favicon path in metadata to /favicon.ico, and simplified component rendering.
src/app/jobs/page.tsx Updated import to specifically import Jobs, changed favicon path in metadata to /favicon.ico, and simplified component rendering.
src/app/kyc/page.tsx Changed favicon path in metadata to /favicon.ico.
src/app/layout.tsx Expanded font imports, updated layout structure, and removed ColorModeProvider.
src/app/link-account/page.tsx Changed favicon path in metadata to /favicon.ico.
src/app/page.tsx Renamed exported function from Home to LandingPage, changed favicon path in metadata to /favicon.ico, and introduced new state variables for button visibility.
src/app/privacy/page.tsx Updated import to specifically import Privacy, changed favicon path in metadata to /favicon.ico, and simplified component rendering.
src/app/profile/page.tsx Updated import to specifically import Profile, changed favicon path in metadata to /favicon.ico, and simplified component rendering.
src/app/refund/page.tsx Updated import to specifically import Refund, changed favicon path in metadata to /favicon.ico, and simplified component rendering.
src/app/request/create/page.tsx Updated metadata handling and introduced new parameters in handleOnNext function.
src/app/request/pay/page.tsx Introduced new Props type, updated metadata handling, and implemented new logic for fetching token details.
src/app/terms/page.tsx Updated import to specifically import Terms, changed favicon path in metadata to /favicon.ico, and simplified component rendering.
src/assets/illustrations/index.ts Added exports for various SVG and image assets, enhancing modularity of asset management.
src/assets/index.ts Added export statement to include all exports from illustrations.
src/components/About/index.tsx Updated import for MarqueeWrapper, added new import for SmileStars, and modified JSX structure for better clarity and styling.
src/components/Blog/index.tsx Updated class names for improved styling.
src/components/Claim/Claim.tsx Reformatted JSX for better readability.
src/components/Claim/Generic/AlreadyClaimed.view.tsx Updated rendering logic and class names for improved clarity and styling.
src/components/Claim/Generic/NotFound.view.tsx Restructured JSX layout and updated styling classes for better clarity.
src/components/Claim/Generic/SenderClaim.view.tsx Restructured JSX layout and updated styling classes for better clarity.
src/components/Club/cashoutSection.tsx Introduced a new CashoutSection component with specific styling and animations.
src/components/Club/faq.tsx Introduced a new FAQs component with dynamic interaction and responsive design.
src/components/Club/features.tsx Introduced a new Features component for displaying feature sections with animations.
src/components/Club/hero.tsx Introduced a new Hero component for rendering a hero section with dynamic content.
src/components/Club/imageAssets.tsx Introduced animated image components for a dynamic user interface.
src/components/Club/index.ts Added multiple exports from various modules within the Club directory for consolidated access.
src/components/Club/intro.tsx Introduced a new Intro component for displaying introductory content with animations.
src/components/Club/landing.tsx Introduced a new Landing component for rendering the landing page.
src/components/Club/mike.tsx Introduced a new Mike component for displaying animated text lines.
src/components/Club/nutsDivider.tsx Introduced a new NutsDivider component with customizable height and styling.
src/components/Club/story.tsx Introduced a new Story component for displaying stories with optional marquee functionality.
src/components/Create/Create.utils.ts Streamlined imports and updated references to utility functions for clarity.
src/components/Create/Link/Initial.view.tsx Refined JSX layout and error handling for improved user interface.
src/components/Create/Link/Input.view.tsx Restructured JSX layout and updated error handling for improved clarity.
src/components/Create/Link/Success.view.tsx Updated props type and streamlined utility function imports.
src/components/Create/useCreateLink.tsx Restructured imports and updated context usage for better readability and modularity.
src/components/Dashboard/useDashboard.tsx Refactored utility function imports for clarity and improved tree-shaking.
src/components/Global/ChainSelector/index.tsx Adjusted class names for improved styling.
src/components/Global/ConfirmDetails/Index.tsx Streamlined utility function imports for clarity.
src/components/Global/FAQs/index.tsx Introduced a new FAQsPanel component for displaying expandable FAQs.
src/components/Global/Footer/consts.ts Updated logo source for GitHub in SOCIALS array.
src/components/Global/Footer/index.tsx Simplified props and adjusted styling for improved responsiveness.
src/components/Global/Header/index.tsx Streamlined imports and adjusted logo rendering for consistency.
src/components/Global/ImageGeneration/LinkPreview.tsx Introduced new enumeration PreviewType and updated logic for handling link previews.
src/components/Global/Layout/index.tsx Added FooterVisibilityObserver for monitoring footer visibility.
src/components/Global/MarqueeWrapper/index.tsx Updated MarqueeWrapper and added MarqueeComp for enhanced marquee functionality.
src/components/Global/Modal/index.tsx Updated class names and styles for improved modal presentation.
src/components/Global/MoreInfo/index.tsx Adjusted styling for dropdown menu components.
src/components/Global/RecipientInput/index.tsx Simplified JSX structure and updated styling classes.
src/components/Global/Select/index.tsx Updated CSS class names for improved styling.
src/components/Global/Sorting/index.tsx Modified button styling and logging for disabled sorting functionality.
src/components/Global/Testimonials/index.tsx Introduced a new Testimonials component for displaying a list of testimonials with animations.
src/components/Global/TokenSelector/Components/AdvancedButton.tsx Updated class names and event handling for improved interactivity.
src/components/Global/TokenSelector/TokenSelector.tsx Streamlined imports and updated JSX structure for clarity.
src/components/Global/ValidatedInput/index.tsx Simplified validation logic in useEffect hook.
src/components/Jobs/index.tsx Updated styling for improved layout and visual hierarchy.
src/components/Privacy/index.tsx Restructured JSX layout and updated styling for improved clarity.
src/components/Profile/Components/TableComponent.tsx Removed specific class for background styling but retained table structure.
src/components/Profile/Components/Tabs.tsx Updated button styling for improved visual presentation.
src/components/Profile/index.tsx Adjusted styling for improved layout responsiveness.
src/components/Refund/index.tsx Updated layout and error handling for improved user interface.
src/components/Request/Create/Views/Initial.view.tsx Refactored handleOnNext function and updated context usage for better data handling.
src/components/Request/Pay/Views/Initial.view.tsx Streamlined utility function imports and improved error handling.
src/components/Terms/index.tsx Updated JSX structure and styling for improved visual presentation.
src/components/Welcome/welcome.tsx Restructured component and updated data structure for rendering FAQs and testimonials.
src/components/Welcome/welcomeSDK.tsx Streamlined asset imports and updated marquee functionality.
src/config/wagmi.config.tsx Added new authConnector for managing authentication options.
src/context/footerVisibility.tsx Introduced FooterVisibilityContext for managing footer visibility state.
src/context/index.ts Added export for footerVisibility context.
src/styles/globals.css Added new CSS variables and classes for improved styling and animations.
src/styles/theme.ts Minor formatting adjustments and no functional changes.
src/utils/general.utils.ts Introduced new functions getTokenSymbol and fetchTokenSymbol for handling token symbols.
tailwind.config.js Updated color palette, font settings, and button styles for improved customization.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant App
    participant API

    User->>App: Request to view page
    App->>API: Fetch required assets
    API-->>App: Return assets
    App->>User: Render page with assets
Loading

Possibly related PRs


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@jjramirezn jjramirezn merged commit c5bba1a into main Oct 24, 2024
2 checks passed
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.

6 participants