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

pause op #2498

Merged
merged 1 commit into from
Apr 15, 2024
Merged

pause op #2498

merged 1 commit into from
Apr 15, 2024

Conversation

trajan0x
Copy link
Contributor

@trajan0x trajan0x commented Apr 15, 2024

Description
Pauses op

Summary by CodeRabbit

  • New Features
    • Updated the display and functionality for maintenance events, including:
      • Revised start and end dates.
      • New banner and warning messages for bridging networks.
      • Enhanced countdown progress bar visuals.

9d5742fd65d2532ea75f0f365d0bca06d24b8cd9: synapse-interface preview link

Copy link
Contributor

coderabbitai bot commented Apr 15, 2024

Walkthrough

The recent updates focus on refining the MaintenanceEvent.tsx component by altering maintenance event dates, updating messages for Optimism bridge users, and adjusting the countdown progress bar. Additionally, a significant update in the synapse-contracts submodule reference ensures the backend aligns with these frontend changes.

Changes

File Path Change Summary
.../Maintenance/Events/template/MaintenanceEvent.tsx Updated start/end dates, Optimism bridge messages, and countdown progress bar.
services/cctp-relayer/external/synapse-contracts Updated submodule commit reference.

🐰✨
In the code's garden, under the moon's gleam,
Changes bloom, fresh as a dream.
Dates shift, messages flow,
As the digital rivers swell and grow.
Hop, hop, hurray to the new code stream! 🌟🌙
🐰✨


Recent Review Details

Configuration used: .coderabbit.yaml

Commits Files that changed from the base of the PR and between 4b39ac2 and 39f4339.
Files selected for processing (2)
  • packages/synapse-interface/components/Maintenance/Events/template/MaintenanceEvent.tsx (5 hunks)
  • services/cctp-relayer/external/synapse-contracts (1 hunks)
Files skipped from review due to trivial changes (1)
  • services/cctp-relayer/external/synapse-contracts
Additional comments not posted (8)
packages/synapse-interface/components/Maintenance/Events/template/MaintenanceEvent.tsx (8)

19-19: Updated start date for maintenance banners.


21-21: Updated start date for maintenance countdown and warning messages.


23-23: Updated end date for maintenance banners, countdown, and warning messages.


38-38: Updated banner text to reflect the change from Metis to Optimism.


52-52: Updated chain ID in the warning message to reflect the change from Metis to Optimism.


67-67: Updated warning message text to reflect the change from Metis to Optimism.


82-82: Updated chain ID for maintenance display to reflect the change from Metis to Optimism.


89-89: Updated countdown progress bar text to reflect the change from Metis to Optimism.


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.

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.
  • 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

codecov bot commented Apr 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.87632%. Comparing base (a84c384) to head (39f4339).
Report is 1 commits behind head on master.

Additional details and impacted files
@@                 Coverage Diff                 @@
##              master       #2498         +/-   ##
===================================================
- Coverage   47.02106%   46.87632%   -0.14474%     
===================================================
  Files            384         397         +13     
  Lines          29440       30685       +1245     
  Branches          83          83                 
===================================================
+ Hits           13843       14384        +541     
- Misses         14146       14781        +635     
- Partials        1451        1520         +69     
Flag Coverage Δ
cctp-relayer 43.53414% <ø> (?)
packages 90.52734% <ø> (-0.09767%) ⬇️
rfq 30.03597% <ø> (ø)
stiprelayer 3.33333% <ø> (ø)

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

Deploying sanguine-fe with  Cloudflare Pages  Cloudflare Pages

Latest commit: 39f4339
Status: ✅  Deploy successful!
Preview URL: https://c13d86eb.sanguine-fe.pages.dev
Branch Preview URL: https://fix-op-maintenance.sanguine-fe.pages.dev

View logs

@trajan0x trajan0x merged commit 11d34d7 into master Apr 15, 2024
46 checks passed
@trajan0x trajan0x deleted the fix/op-maintenance branch April 15, 2024 06:06
trajan0x added a commit that referenced this pull request Apr 15, 2024
* Publish

 - @synapsecns/synapse-interface@0.16.6

* Fix: gas value check only for non-in-flight requests (#2496)

* wrap workflow (#2497)

Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com>

* pause op (#2498)

Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com>

---------

Co-authored-by: trajan0x <trajan0x@users.noreply.github.com>
Co-authored-by: χ² <88190723+ChiTimesChi@users.noreply.github.com>
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.

1 participant