feat: connect 1-click fund flow to Funders section#772
Open
DavidGershony wants to merge 2 commits intomainfrom
Open
feat: connect 1-click fund flow to Funders section#772DavidGershony wants to merge 2 commits intomainfrom
DavidGershony wants to merge 2 commits intomainfrom
Conversation
…d tab - Add InvestPageViewModel factory to FundersViewModel for opening invest flow from signature cards - Wire InvestModalsView shell modal in FundersView (same pattern as InvestPageView) - Add "Invest" button to Funders signature cards - Remove Liquid network tab from NetworkTab enum and all related code - Fix "investment" project type not recognized in CreateProjectViewModel deploy switch - Override test relays with wss://test.thedude.cloud for reliable test execution - Add 12 headless integration tests for the Fund flow from Funders section Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
dangershony
reviewed
Apr 20, 2026
| // Liquid + Import tabs are visual stubs — switching to them does not crash and surfaces a known label. | ||
| Log("[7] Stub tabs do not crash..."); | ||
| vm.SelectNetworkTab(NetworkTab.Liquid); | ||
| vm.SelectedNetworkTab.Should().Be(NetworkTab.Liquid); |
dangershony
reviewed
Apr 20, 2026
| /// - Success messages are Fund-specific | ||
| /// - FundersVM → InvestPageVM integration | ||
| /// </summary> | ||
| public class OneClickInvestFundersTest |
Member
There was a problem hiding this comment.
this is an integration test and yet there are many tests here if a test needs to create a wallet ever time it runs this will be very very long
Member
There was a problem hiding this comment.
perhaps this tests should be unit tests?
dangershony
reviewed
Apr 20, 2026
| prop.SetValue(null, services); | ||
|
|
||
| // Override relays with the test relay for reliable test execution | ||
| var networkStorage = services.GetRequiredService<INetworkStorage>(); |
Member
There was a problem hiding this comment.
this seems wrong it will effect all tests no?
dangershony
reviewed
Apr 20, 2026
| { | ||
| ProjectId = sig.ProjectIdentifier, | ||
| ProjectName = sig.ProjectTitle, | ||
| ProjectType = "Fund", |
Member
There was a problem hiding this comment.
this is odd should it default to Fund, it should depend on the project type we are working with
…View.axaml.cs conflict: keep both invest-flow subscription and refresh spinner)
This file contains hidden or 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
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.
Summary
"investment"project type not recognized in deploy validation switchwss://test.thedude.cloudfor reliable CIChanges
Func<ProjectItemViewModel, InvestPageViewModel>factory,InvestPageViewModel?property,OpenInvestFlow()/CloseInvestFlow()methodsNetworkTab.Liquidenum value and all Liquid-related code"invest"and"investment"wss://test.thedude.cloudafter service constructionTest plan
OneClickInvestFundersTesttests pass🤖 Generated with Claude Code