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

fix: different no transaction messages for non-existing and empty batches/blocks #107

Merged

Conversation

vasyl-ivanchuk
Copy link
Collaborator

What ❔

Different no transaction messages for non-existing and empty batches/blocks:
Empty batch:
image
Non-existing batch:
image

Why ❔

For better UX we want to show different no transaction messages in different cases:
This Batch doesn’t have any transactions - for empty batch,
This Batch has not been created or sealed yet - for non-existing batch,
same for blocks.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.

Copy link

github-actions bot commented Dec 4, 2023

API E2E Test Results

206 tests   206 ✔️  28s ⏱️
  14 suites      0 💤
    1 files        0

Results for commit 16444f5.

Copy link

github-actions bot commented Dec 4, 2023

Visit the preview URL for this PR (updated for commit 16444f5):

(expires Mon, 11 Dec 2023 05:52:50 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e508f9012944951194447cb8885950b451a24403

Copy link

github-actions bot commented Dec 4, 2023

Unit Test Results

       3 files     246 suites   8m 26s ⏱️
1 938 tests 1 937 ✔️ 1 💤 0
1 964 runs  1 963 ✔️ 1 💤 0

Results for commit 16444f5.

@vasyl-ivanchuk vasyl-ivanchuk merged commit 20e9f9d into main Dec 4, 2023
24 checks passed
@vasyl-ivanchuk vasyl-ivanchuk deleted the add-new-text-for-zero-batch-and-empty-batch-pages branch December 4, 2023 11:10
Copy link

github-actions bot commented Dec 4, 2023

🎉 This PR is included in version 2.31.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

pcheremu pushed a commit that referenced this pull request Feb 15, 2024
…ches/blocks (#107)

# What ❔

Different _no transaction_ messages for non-existing and empty
batches/blocks:
Empty batch:
<img width="1259" alt="image"
src="https://github.com/matter-labs/block-explorer/assets/6553665/b3f8d9fc-dee8-4178-91c3-26eaff3be660">
Non-existing batch:
<img width="1263" alt="image"
src="https://github.com/matter-labs/block-explorer/assets/6553665/da083f5f-c887-41f0-9173-0c51064fca91">

## Why ❔

For better UX we want to show different _no transaction_ messages in
different cases:
`This Batch doesn’t have any transactions` - for empty batch,
`This Batch has not been created or sealed yet` - for non-existing
batch,
same for blocks.

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [X] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [X] Tests for the changes have been added / updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants