-
Notifications
You must be signed in to change notification settings - Fork 70
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
🔀 Merge dev into backend #4479
Merged
🔀 Merge dev into backend #4479
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: ilya Smiyukha <ilya.smiyukha@touchcast.com>
* Add modal and transaction support in page stories * Mock chain numbers as Codec instead of BNs * Simplify mocking balances * Improve the `MockApi` type * Mock transaction results with `TxMock` * Move the Pages section to the top menu * Mock the `api.tx.proposalsEngine.vote` transaction * Always redirects to the current story * Improve TxMock * Use a single spy for `onCall` and `onSend` Because Storybook actions are converted to jest.fn
* Add a story for `VoteForProposalModal` * Make CKEditor usable in tests * Rewrite test args rather than merging objects * Render modals in a container within the canvas * Add some of VoteforProposalModal tests to the stories * Fix failing tests * Simplify mocking balances * Render the modal container outside of the router * Add an id to the "Slash Proposal" toggle * Finalize the VoteForProposalModal Happy cases * Add failure cases * Remove the previous VoteforProposalModal tests * Remove unnecessary `toBeDefined` * Fix the failing tests
* Update SetCouncilBudgetIncrement * Update AddNewProposalModal.test.tsx * AddNewProposalModal.test.tsx
* Include the OnBoardingProvider in all stories * Mock a wallet * Mock local storage * Reorganize storybook nav * Add SideBar stories * Remove the spy function in the local storage mock * Test the on boarding flow * Test the buy membership modal * Remove the old BuyMembershipModal tests * Test localStorage state * Remove the old OnBoardingModal test * Simplify some stories from `ProposalPreview` * Warn about missing QN queries * Add the OnBoardingOverlay into the sidebar stories * Reassign the Sidebar stories to App * Remove the OnboardingOverlay story * Move the BountiesHeader component out of the App folder * Replace OnBoardingOverlay tests * Run the App stories as part of the CI * Move the App section first * Fix type error * Fix stories when mocks is undefined
Fix controls in App stories
* Enable linking stories with the Router * Create current and past proposal stories * Fix the `RecursivePartial` type * Improve the type of mock resolvers * Warn of missing chain data * Generate current proposals * Generate past proposals * Reorganize the proposal stories in the navigation * Simplify api mocks code
* Reduce fee re-calculation in `AddNewProposalModal` * Fix the "warningAccepted" logic
* Reduce fee re-calculation in `AddNewProposalModal` * Fix the "warningAccepted" logic * Fix the proposal `WarningModal` * Test the signal proposal flow * Add "General parameters" tests * Add "Funding Request" and "Set Referral Cut" tests * Fix race condition during form validation * Fix incomplete tests * Use one story per proposal type * Add the "Decrease Working Group Lead Stake" test * Add "Terminate Working Group Lead" test * Don't initialize number inputs with a 0 * Add Create Working Group Lead Opening test * Add the Set Working Group Lead Reward test * Add the Set Max Validator Count test * Add the Cancel Working Group Lead Opening test * Add the Set Council Budget Increment test * Add the Set Councilor Reward test * Add the Set Membership Lead Invitation Quota test * Add the Fill Working Group Lead Opening test * Add the Set Initial Invitation Count test * Add the Set Initial Invitation Balance test * Add the Set Membership Price test * Add the Update Working Group Budget test * Add the Runtime Upgrade test * Complete the AddNewProposalHappy test * Test not enough funds case * Add transaction failure tests * Remove the "UI: AddNewProposalModal" test suite * Fix tests failing in Playwright * Simplify expected tx parameters amounts * Fix failing "unit" tests
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.