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

2024-03-26 release #2365

Merged
merged 4 commits into from
Mar 27, 2024
Merged

2024-03-26 release #2365

merged 4 commits into from
Mar 27, 2024

Conversation

abtestingalpha
Copy link
Collaborator

@abtestingalpha abtestingalpha commented Mar 27, 2024

Summary by CodeRabbit

  • New Features
    • Introduced an isIndefinite flag to the Event Countdown Progress Bar for handling events exceeding 7000 minutes.
    • Added a new BLAST chain constant and updated maintenance event timings and messaging.
  • Documentation
    • Updated version information in CHANGELOG.md and package.json from 0.12.1 to 0.12.3.
  • Refactor
    • Temporarily disabled the AnnouncementBanner on the homepage.
  • Chores
    • Updated the blacklist with three new Ethereum addresses.

4f9cc3ed504fd075a78a9fb6b46285e6acd2ee61: synapse-interface preview link

aureliusbtc and others added 3 commits March 26, 2024 17:44
 - @synapsecns/synapse-interface@0.12.2
* Update maintenance for Blast

* Update for Blast pause messaging
Copy link
Contributor

coderabbitai bot commented Mar 27, 2024

Walkthrough

The update to @synapsecns/synapse-interface version 0.12.2 brings minor adjustments without significant functionality changes. It includes a new variable for managing indefinite maintenance durations, updates to maintenance event details and timing, and the addition of addresses to a blacklist. The UI tweak involves disabling the AnnouncementBanner, enhancing user experience and keeping information current.

Changes

File Path Change Summary
.../CHANGELOG.md & .../package.json Version bumped to 0.12.2 with no significant changes.
.../Maintenance/EventCountdownProgressBar.tsx Added isIndefinite variable for events over 7000 minutes.
.../Maintenance/Events/.../MaintenanceEvent.tsx Updated event dates, added BLAST chain constant, and adjusted related text.
.../pages/index.tsx Commented out AnnouncementBanner component usage.
.../public/blacklist.json Added three Ethereum addresses to the blacklist.

🐇✨
In the world of code, where changes abound,
A little rabbit hopped, leaving marks on the ground.
"Version point twelve point two," it said with glee,
A tweak here and there, as fine as can be.
With every hop and every leap,
It ensured the synapse, in good hands, would keep.
🌟🐾

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-tests 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 tests 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 tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

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 a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

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

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • 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/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

 - @synapsecns/synapse-interface@0.12.3
Copy link

cloudflare-workers-and-pages bot commented Mar 27, 2024

Deploying sanguine-fe with  Cloudflare Pages  Cloudflare Pages

Latest commit: 853a145
Status: ✅  Deploy successful!
Preview URL: https://c08c451c.sanguine-fe.pages.dev
Branch Preview URL: https://master.sanguine-fe.pages.dev

View logs

Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.14108%. Comparing base (970d5a9) to head (1a00969).
Report is 1 commits behind head on fe-release.

❗ Current head 1a00969 differs from pull request most recent head 853a145. Consider uploading reports for the commit 853a145 to get more accurate results

Additional details and impacted files
@@                 Coverage Diff                  @@
##           fe-release       #2365         +/-   ##
====================================================
- Coverage    49.20624%   47.14108%   -2.06516%     
====================================================
  Files             396         361         -35     
  Lines           28661       27388       -1273     
  Branches          311          83        -228     
====================================================
- Hits            14103       12911       -1192     
+ Misses          13146       13135         -11     
+ Partials         1412        1342         -70     
Flag Coverage Δ
packages 90.62500% <ø> (ø)
solidity ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 0

Configuration used: .coderabbit.yaml

Commits Files that changed from the base of the PR and between e7e3c6e and 1a00969.
Files selected for processing (6)
  • packages/synapse-interface/CHANGELOG.md (1 hunks)
  • packages/synapse-interface/components/Maintenance/EventCountdownProgressBar.tsx (4 hunks)
  • packages/synapse-interface/components/Maintenance/Events/template/MaintenanceEvent.tsx (6 hunks)
  • packages/synapse-interface/package.json (1 hunks)
  • packages/synapse-interface/pages/index.tsx (1 hunks)
  • packages/synapse-interface/public/blacklist.json (1 hunks)
Files skipped from review due to trivial changes (1)
  • packages/synapse-interface/CHANGELOG.md
Additional comments: 8
packages/synapse-interface/pages/index.tsx (1)
  • 26-31: Commenting out the AnnouncementBanner component removes it from the UI. If this is a permanent change, consider removing the code entirely and relying on version control to track this change. If temporary, document the reason and intended duration of this change in the code as a comment.
packages/synapse-interface/package.json (1)
  • 3-3: The version update from 0.12.1 to 0.12.2 correctly follows semantic versioning, indicating a minor update. This change is consistent with the PR's objectives.
packages/synapse-interface/components/Maintenance/Events/template/MaintenanceEvent.tsx (3)
  • 3-3: The addition of the BLAST chain constant expands the supported chains. Ensure that this new chain is fully integrated and tested across the application.
Verification successful

The usage of the BLAST constant across various files, including constants definitions, application logic, and UI components, confirms its integration throughout the application. This ensures that the addition of the BLAST chain is well-supported and functional within the context of the changes made.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Verify the usage of BLAST constant across the application
rg "BLAST.id" --type ts

Length of output: 4525

* 23-23: Updating the `MAINTENANCE_END_DATE` to a future date ensures that maintenance banners and warnings are displayed for the intended duration. Ensure that these dates align with planned maintenance schedules. * 35-38: Text content and logic updates related to the `BLAST` chain and maintenance timing are correctly implemented. Ensure that these changes are communicated to users effectively and tested for accuracy in displaying the intended messages.

Also applies to: 52-52, 67-67, 82-82, 89-89

packages/synapse-interface/components/Maintenance/EventCountdownProgressBar.tsx (2)
  • 27-28: The introduction of the isIndefinite variable to handle long or indefinite maintenance events is a thoughtful addition. Consider documenting the rationale behind the 7000-minute threshold or making it configurable to adapt to different scenarios.
  • 54-54: Conditional rendering based on the isIndefinite variable is correctly implemented. Ensure that the UI behaves as expected in both scenarios (definite and indefinite events) through thorough testing.

Also applies to: 66-97

packages/synapse-interface/public/blacklist.json (1)
  • 432-435: The newly added Ethereum addresses adhere to the correct format and have been properly appended to the blacklist.json file. The JSON syntax is also correct.

@aureliusbtc aureliusbtc merged commit a78e166 into fe-release Mar 27, 2024
1 check passed
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 0

Configuration used: .coderabbit.yaml

Commits Files that changed from the base of the PR and between 1a00969 and 853a145.
Files selected for processing (2)
  • packages/synapse-interface/CHANGELOG.md (1 hunks)
  • packages/synapse-interface/package.json (1 hunks)
Files skipped from review as they are similar to previous changes (2)
  • packages/synapse-interface/CHANGELOG.md
  • packages/synapse-interface/package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants