-
Notifications
You must be signed in to change notification settings - Fork 33
Improve "Invest in project" for Avalonia App #442
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
Merged
Merged
Conversation
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
Contributor
- Reinstate and standardize `views|DialogControl` styles in Light.axaml, defining consistent size constraints. - Add `Background="Transparent"` and `ToolTip.Tip="{Binding Name}"` to `DockPanel` and `z:EdgePanel` across `ActionBar` and `Sidebar` for better usability and appearance. - Adjust default dialog dimensions in `DialogManager.cs` to updated min/max width and height values.
- Update button text from "Invest" to "Offer Investment" to align with process intent. - Revise confirmation message to clarify the investment offer review process.
- Introduced `Title` property in `IWalletViewModel` and `WalletViewModel` for improved configurability. - Simplified `History` initialization in `WalletViewModelDesign`. - Updated `Receive.axaml` to improve layout structure using `OverlayBorder` for better component organization and visuals. - Removed redundant `ItemsPanelTemplate` from `FeerateSelector` for cleaner ListBox configuration. - Enhanced `EdgePanel` with extended bindings, templates, and an updated Grid layout. - Improved `Card` component with better title, subtitle binding, and support for additional header content. - Cleaned up `App.axaml` by removing unused theme dictionaries.
…on, and improve investment draft UI. - Separated `MinerFee`, `AngorFee`, and `TransactionFee` in models and viewmodels. - Adjusted UI components to display detailed fee breakdowns and project info in `DraftView` and associated templates. - Removed hardcoded dialog size limits for better flexibility. - Improved `OverflowBehavior` for stability and performance (replaced `SerialDisposable` with `CompositeDisposable`, added safer update logic). - Cleaned up unused namespaces and improved consistency in XAML definitions.
… styling - Introduced `DomainFeerate` to support dynamic transaction fee rate in investments. - Modified the draft creation flow to include fee rate in parameters. - Enhanced investment UI: added detailed fee display, "Amount to Offer" card, and styled elements with new themes. - Introduced `Loading.axaml` and `RemarkableSubheaderCard` theme for improved user feedback and visual consistency. - Updated success messages and their design with `EdgePanel` for better presentation. - Minor cleanups, including trimming of project descriptions and removal of unused imports.
- Bump `AvaloniaVersion` to `11.3.2` in `Directory.Packages.props`. - Remove `Avalonia.Xaml.Behaviors` references from both `Directory.Packages.props` and `AngorApp.csproj` as it is no longer used.
- Adjust padding, spacing, font sizes, and templates in `StagesBreakdown.axaml` for better alignment and clearer presentation. - Introduce new minimum dimensions for `SlimWizardControl` in `Light.axaml`. - Add custom item container styling to `FeerateSelector` for improved item padding. - Update header and subheader font sizes in `Cards.axaml` for a more cohesive appearance. - Refine layout and logic for transaction fees in `DraftView.axaml`, including handling empty selections. - Rename "Offer Investment" to "Place Offer" in the `InvestWizard.cs` flow for clarity. - Improve dialog resizing and limits in `DialogManager.cs` by setting `SizeToContent` to both dimensions and adding max width. - Redesign `SuccessView.axaml` to center content, use a stack panel, and refine styles for increased readability.
- Bumped `Zafiro.Avalonia` and `Zafiro.Avalonia.Dialogs` versions to `28.1.7` in `Directory.Packages.props`. - Replaced inline comments with active `PackageReference` entries for `Zafiro.Avalonia` and `Zafiro.Avalonia.Dialogs`. - Removed unused `ProjectReference` entries for `Zafiro.Avalonia` and `Zafiro.Avalonia.Dialogs` across multiple projects. - Deleted outdated solution references for `Zafiro.Avalonia` and `Zafiro.Avalonia.Dialogs` in `Angor.Avalonia.sln`. - Dropped `ReactiveUI.SourceGenerators` using directive from `WalletViewModelDesign`.
… and clarity. Updated header text to "Investment offer".
- Added Zafiro.Avalonia and Zafiro.Avalonia.Dialogs project references to the solution and replaced package references with project references. - Introduced `AdornerDialog` for enhanced dialog handling, replacing hardcoded logic with lazy initialization of `AdornerLayer`. - Updated `DialogService` and registration to adopt `AdornerDialog`. - Improved UI responsiveness by setting `MaxWidth` and `MaxHeight` for `DialogControl`. - Integrated scroll behaviors into various controls (`NestedScrollViewerBehavior`) to improve user experience. - Enhanced `Invest` features: validated form workflows and updated views with context-relevant behaviors. - Refined wizard controls and stage breakdown components for clarity and functionality. - Minor cleanups and improvements for observable properties and bindings in views and view models.
- Bumped `Zafiro.Avalonia` and `Zafiro.Avalonia.Dialogs` to version `29.0.0` in `Directory.Packages.props`. - Replaced commented-out `PackageReference` entries with active references across projects. - Removed unused `ProjectReference` entries for `Zafiro.Avalonia` and `Zafiro.Avalonia.Dialogs`. - Cleaned up outdated solution references in `Angor.Avalonia.sln`.
DavidGershony
approved these changes
Jun 26, 2025
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.