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

chore: release landing v1.0 #302

Merged
merged 34 commits into from
Aug 6, 2024
Merged

chore: release landing v1.0 #302

merged 34 commits into from
Aug 6, 2024

Conversation

AndlerRL
Copy link
Contributor

@AndlerRL AndlerRL commented Aug 6, 2024

Summary by Sourcery

Implement real-time presale transaction tracking and dynamic data fetching for presale contributors and total raised amount. Introduce new components for handling presale transactions and deposits. Enhance various components with improved layout and styling. Update the app-contracts and app-env packages with new token and contract data. Clean up unused code and improve project structure.

New Features:

  • Implement real-time presale transaction tracking using Supabase and Wagmi hooks.
  • Add dynamic fetching and display of presale contributors and total raised amount in the ProjectPresaleData component.
  • Introduce a new PresaleDepositCard component for handling token deposits with support for multiple tokens and chains.
  • Add a new ProjectPresaleData component to display presale data including contributors and total raised amount.
  • Implement a new PresaleTransactionsCard component to display recent presale transactions with real-time updates.

Enhancements:

  • Refactor the ProjectPresaleData component to fetch initial data and subscribe to real-time updates from Supabase.
  • Update the BalancesTable component to include BLPL token balance.
  • Refactor the DepositCard component to support multiple tokens and chains with dynamic selection.
  • Update the ProjectHeader component to improve layout and styling.
  • Enhance the BgHeader component with a new layout and styling for better visual presentation.
  • Refactor the MobileNav component to use a context-based approach for managing the mobile navigation state.
  • Update the Newsletter component with improved layout and styling.
  • Refactor the DropdownMenu component to simplify and improve the layout and styling.
  • Update the LearnSection component with improved layout and styling for better visual presentation.
  • Enhance the MediaCard component to support additional class names for better customization.

Build:

  • Update the app-contracts package to include new token and contract data for both development and production environments.
  • Refactor the app-env package to include new chains and update the environment configuration.

Documentation:

  • Update the About page content to reflect the latest information about Bitlauncher.

Chores:

  • Remove unused and commented-out code from various components for better code cleanliness.
  • Update the project structure and file organization for better maintainability.

gaboesquivel and others added 30 commits July 24, 2024 12:17
* feat: add sitemap

* fix: error handling

* fix: move common types

* fix: update base url in sitemap

* Update apps/webapp/app/(routes)/[lang]/blog/[category]/sitemap.ts

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Update apps/webapp/app/(routes)/[lang]/wallet/sitemap.ts

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Update apps/webapp/app/(routes)/[lang]/whitepaper/sitemap.ts

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* fix: build error

* fix: remove unnecessary async declarative

* vendor: add @types/uuid

* fix: remove console log for debug

* fix: add 'async' to all sitemaps

* fix: make ProjectPageParams extends CommonPageParams

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* (webapp)fix:FAQ border radi + muted color

* (webapp)fix:newsletter spacing

* (webapp)fix:participate spacing and font family

* (webapp)fix:header spacing + bitlauncher logo size

* (webapp)fix:blog section 4 per row + purple link + gap

* (webapp)fix:hero-card spacing

* (webapp)fix:auction-card spaces

* (webapp)fix:Upcoming grid gap

* (webapp)fix:article card - text-left

* (webapp)fix:media-card text-start

* (webapp)fix:media-section purple link + space

* (webapp)fix:participate gap + section font and padding

* (webapp)fix:footer links padding + other spacing fix

* (webapp)fix:upcoming background circle

* (webapp)fix:footer margin-10

* (webapp)fix:upcoming bg shape

* (webapp)-andler-changes-request

* (webapp)-debug-toggle navigation icon

* (webapp)-create-mobile-navigation-context

* (webapp)-create-mobile-navigation-context

* (webapp)-fix navigation bug - add key

* (webapp)-Andler-changes

* (webapp)-responsive - upcoming

* (webapp)-fix-responsive-whychooseUs

* (webapp)-fix-responsive-participate

* (webapp)-fix-responsive-media

* (webapp)-fix-responsive-articles

* (webapp)-responsive-project-header+info+sharebtn

* (webapp)-feat-about-base

* (webapp)-feat-about-landing-complete

* (webapp)-feat-security-updated

* (webapp)-fix-steps-padding

* fix typo

* fix bgHeader type

* fix bgHeader type

* impr(webapp): layout tweaks

* impr(webapp): info pages img asset + css class

* fix: bun.lockb

---------

Co-authored-by: Roberto Lucas <[email protected]>
* chore: update app-contracts

* feat: multichain indexer

* feat: prod chains

* feat: presale wallet

* feat: blpl token

* feat: blpl token

* chore: update bunlock

* feat: blpl token

* feat: presale evm contribs

* feat: blpl token

* wip: presale indexer
* feat: report transaction id

* feat: save deposits data

* feat: save deposits data

* feat: read presale transactions

* chore: disable view all

* feat: update presale deposits ui

* feat: display amount raised and contributors
* chore: environment chains and tokens

* fix: chain switch

* fix: chain switch
* chore: environment chains and tokens

* feat: update nav links
@AndlerRL AndlerRL self-assigned this Aug 6, 2024
Copy link

vercel bot commented Aug 6, 2024

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

Name Status Preview Comments Updated (UTC)
bitlauncher ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2024 0:43am
smartsale-faucet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2024 0:43am

Copy link
Contributor

coderabbitai bot commented Aug 6, 2024

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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>.
    • 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 generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @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 as 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.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

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.

Copy link
Contributor

sourcery-ai bot commented Aug 6, 2024

Reviewer's Guide by Sourcery

This pull request implements significant updates across multiple components and modules, focusing on integrating Supabase client, state management, and transaction handling logic. It also includes extensive style updates for better layout and readability, refactoring of contract data exports, and improvements to indexing services. Additionally, it introduces new dictionary entries and updates content for the about page.

File-Level Changes

Files Changes
apps/webapp/components/routes/project/presale/presale-transactions-card.tsx
apps/webapp/components/routes/project/project-presale-data.tsx
apps/webapp/components/routes/project/presale/presale-deposit-card.tsx
apps/webapp/components/routes/wallet/deposit-card.tsx
Implemented Supabase client integration, state management, and updated transaction handling logic.
apps/webapp/dictionaries/en/about.ts
apps/webapp/dictionaries/en/index.ts
Updated about page content and added batchAuction dictionary.
apps/indexer/src/modules/presale/evm-contributions.ts
apps/indexer/src/modules/presale/presale-issuer.ts
apps/indexer/src/modules/presale/eos-contributions.ts
Updated presale contributions handling logic and refactored issueTokens to issuePresaleTokens.
apps/webapp/components/ui/dropdown-menu.tsx
apps/webapp/components/routes/wallet/balances-table.tsx
apps/webapp/components/layout/providers.tsx
apps/webapp/components/shared/bg-header.tsx
apps/webapp/components/layout/footer/faq.tsx
apps/webapp/components/layout/header/mobile-nav.tsx
apps/webapp/components/layout/header/nav-links.tsx
apps/webapp/components/layout/footer/recent.tsx
apps/webapp/components/routes/home/auction-card.tsx
apps/webapp/components/layout/footer/learn-section.tsx
apps/webapp/components/layout/footer/newsletter.tsx
apps/webapp/components/shared/media-sections.tsx
apps/webapp/components/layout/header/index.tsx
apps/webapp/components/routes/blog/hero-section/hero-card.tsx
apps/webapp/components/shared/media-card.tsx
apps/webapp/app/(routes)/[lang]/wallet/page.tsx
apps/webapp/components/layout/footer/footer.tsx
apps/webapp/components/layout/nav-struct.ts
apps/webapp/components/shared/section.tsx
apps/webapp/components/layout/footer/participate.tsx
apps/webapp/components/routes/home/why-choose-us.tsx
apps/webapp/components/routes/home/features.tsx
apps/webapp/components/shared/article-card.tsx
apps/webapp/components/shared/content.tsx
Updated component styles for better layout and readability.
packages/app-contracts/src/dev/index.ts
packages/app-contracts/src/prod/index.ts
packages/app-contracts/src/index.ts
packages/app-contracts/src/dev/auction/testnet-allow-list.ts
packages/app-contracts/src/dev/auction/testnet-deposit-order.ts
packages/app-contracts/src/dev/auction/testnet-easy-auction.ts
packages/app-contracts/src/dev/tokens/eos-fake-bitusd.ts
packages/app-contracts/src/dev/tokens/eos-fake-usdt.ts
packages/app-contracts/src/dev/tokens/sepolia-usdt.ts
packages/app-contracts/src/dev/tokens/testnet-mbots-prelaunch.ts
packages/app-contracts/src/prod/tokens/eos-bitusd.ts
Refactored contract data exports and added chain properties.
apps/indexer/src/lib/issuer-client.ts
apps/indexer/src/lib/utils.ts
apps/indexer/src/modules/auction/easyauction.ts
apps/indexer/src/modules/swaps/evm-transfers.ts
apps/indexer/src/index.ts
apps/indexer/src/modules/auction/auction-indexer.ts
Refactored client creation logic and updated indexing services.
apps/webapp/app/(routes)/[lang]/[project]/layout.tsx
apps/webapp/app/(routes)/[lang]/[project]/page.tsx
apps/webapp/app/(routes)/[lang]/[project]/auction/page.tsx
apps/webapp/app/(routes)/[lang]/[project]/presale/page.tsx
Refactored project page components to use ProjectPageProps.
apps/webapp/components/layout/footer/footer-links.tsx
apps/webapp/components/routes/home/auction-card-buttons.tsx
apps/webapp/components/routes/project/project-header.tsx
Updated component styles and refactored component names for better readability.
apps/indexer/src/modules/presale/eos-contributions.ts
apps/indexer/src/modules/presale/presale-issuer.ts
Refactored issueTokens to issuePresaleTokens and updated EOS contributions handling logic.

Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • Continue your discussion with Sourcery by replying directly to review comments.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

@AndlerRL AndlerRL added enhancement New feature or request feature New feature request ui/ux Design and UI/UX chore Routinary tasks labels Aug 6, 2024
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @AndlerRL - I've reviewed your changes and found some issues that need to be addressed.

Blocking issues:

  • Hard-coded Ethereum address found. (link)
  • Hard-coded Ethereum address found. (link)

Overall Comments:

  • Consider breaking this large PR into smaller, more focused changes to facilitate easier review and reduce the risk of introducing bugs.
  • Ensure comprehensive testing has been performed, especially for the new presale functionality and the changes to the auction system.
Here's what I looked at during the review
  • 🟡 General issues: 4 issues found
  • 🔴 Security: 2 blocking issues
  • 🟢 Testing: all looks good
  • 🟡 Complexity: 3 issues found
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

Copy link

github-actions bot commented Aug 6, 2024

⚡️ Lighthouse report

Page: https://bitlauncher-i3otr2m98-bitcash.vercel.app/
Report undefined

Category Score
🔴 Performance 33
🟠 Accessibility 59
🟠 Best practices 74
🟠 SEO 79
🔴 PWA 38

Page: https://bitlauncher-i3otr2m98-bitcash.vercel.app/about
Report undefined

Category Score
🔴 Performance 27
🟠 Accessibility 59
🟠 Best practices 74
🟠 SEO 79
🔴 PWA 38

Page: https://bitlauncher-i3otr2m98-bitcash.vercel.app/security
Report undefined

Category Score
🔴 Performance 27
🟠 Accessibility 61
🟠 Best practices 74
🟠 SEO 79
🔴 PWA 38

Page: https://bitlauncher-i3otr2m98-bitcash.vercel.app/bitcash-bitlauncher
Report undefined

Category Score
🔴 Performance 35
🟠 Accessibility 65
🟠 Best practices 74
🟠 SEO 86
🔴 PWA 38

Page: https://bitlauncher-i3otr2m98-bitcash.vercel.app/blog
Report undefined

Category Score
🔴 Performance 35
🟠 Accessibility 66
🟠 Best practices 74
🟠 SEO 86
🔴 PWA 38

Page: https://bitlauncher-i3otr2m98-bitcash.vercel.app/blog/ai
Report undefined

Category Score
🔴 Performance 40
🟠 Accessibility 59
🟠 Best practices 74
🟠 SEO 79
🔴 PWA 38

@AndlerRL AndlerRL merged commit 032d099 into main Aug 6, 2024
5 checks passed
@AndlerRL AndlerRL deleted the test branch August 6, 2024 00:59
@AndlerRL AndlerRL restored the test branch August 6, 2024 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Routinary tasks enhancement New feature or request feature New feature request ui/ux Design and UI/UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants