Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

feat: move batch execution out of experimental #3871

Merged
merged 13 commits into from
May 12, 2022

Conversation

schmanu
Copy link
Member

@schmanu schmanu commented May 10, 2022

What it solves

Resolves #3857

How this PR fixes it

  • Removes batch execution toggle from settings and enables them by default
  • Depending on the button-state (disabled / enabled) the button will have a matching tooltip
  • adds onboarding widget around batch execution button to promote new feature

How to test it

Navigate to tx queue. Depending on how many signed txs the safe has the button will be enabled / disabled.
Initially the button will be promoted with a small tooltip until the user presses the "Got it" button

Analytics changes

Screenshots

batch-disabled
batch-enabled
onboarding-widget

* Removes batch execution toggle from settings
* adds onboarding widget around batch execution button
@github-actions
Copy link

CLA Assistant Lite All Contributors have signed the CLA.

@github-actions
Copy link

github-actions bot commented May 10, 2022

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 2 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

Copy link
Member

@iamacook iamacook left a comment

Choose a reason for hiding this comment

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

Great work dude! Couple of suggestions/questions.

@coveralls
Copy link

coveralls commented May 10, 2022

Pull Request Test Coverage Report for Build 2313147764

  • 11 of 23 (47.83%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.05%) to 35.316%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/routes/safe/components/Transactions/TxList/BatchExecuteButton.tsx 3 15 20.0%
Totals Coverage Status
Change from base Build 2307735080: 0.05%
Covered Lines: 3621
Relevant Lines: 9305

💛 - Coveralls

@github-actions
Copy link

Deployment links

🟠 Rinkeby Mainnet 🟣 Polygon 🟡 BSC Arbitrum 🟢 Gnosis Chain

Copy link
Member

@iamacook iamacook left a comment

Choose a reason for hiding this comment

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

Nice work dude!

onMouseEnter={handleOnMouseEnter}
onMouseLeave={handleOnMouseLeave}
>
Execute Batch {isBatchable && `(${batchableTransactions.length})`}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Execute Batch {isBatchable && `(${batchableTransactions.length})`}
Execute Batch{isBatchable && ` (${batchableTransactions.length})`}

Copy link
Member

@DiogoSoaress DiogoSoaress left a comment

Choose a reason for hiding this comment

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

Love the documentation!! Nice to see it popping when hovering the React component 👍

One semantic question... why did you opt to call it a widget? When I read OnboardingWidget it didn't take me to a tooltip

Copy link
Member

@DiogoSoaress DiogoSoaress left a comment

Choose a reason for hiding this comment

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

Nice work!

@katspaugh
Copy link
Member

A tiny comment: can we make the "Got it!" button w/o a background/border? Like a link.

@schmanu
Copy link
Member Author

schmanu commented May 12, 2022

@katspaugh done. I changed the button variant to "text".

@JagoFigueroa
Copy link

Top job! All good from my side ;)

@katspaugh katspaugh merged commit 266f0f5 into dev May 12, 2022
@katspaugh katspaugh deleted the batch-exec-non-experimental branch May 12, 2022 12:52
@katspaugh katspaugh mentioned this pull request Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move batch execution out of experimental mode
6 participants