8000 Improve "Invest in project" for Avalonia App by SuperJMN · Pull Request #442 · block-core/angor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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 15 commits into from
Jun 26, 2025

Conversation

SuperJMN
Copy link
Contributor

image

image

image

image

SuperJMN added 15 commits June 24, 2025 10:18
- 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 DavidGershony self-requested a review June 26, 2025 12:23
@DavidGershony DavidGershony merged commit bc2fa77 into block-core:main Jun 26, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0