8000 Get Invested Status and reflect changes in the UI (Avalonia) by SuperJMN · Pull Request #409 · block-core/angor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Get Invested Status and reflect changes in the UI (Avalonia) #409

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 12 commits into from
Jun 10, 2025

Conversation

SuperJMN
Copy link
Contributor
@SuperJMN SuperJMN commented Jun 3, 2025

Adds the "Invested" status and reflects it in the UI.

  • Improves overall look and feel of Founder and Founder Projects views.
  • Makes GetInvestments code more readable and maintainable.
  • Extracts types to their own files.

dangershony
dangershony previously approved these changes Jun 4, 2025
@dangershony
Copy link
Member

Fix some conflicts

SuperJMN added 8 commits June 4, 2025 12:31
- Introduce `InvestmentStatus` enum for clearer state managem
8000
ent.
- Update `InvestmentViewModel` to include `Status` property and `IsInvested`.
- Refactor investment status column in the UI with dynamic button styling.
- Adjust design view models to reflect new status states.
- Update dependencies for Zafiro packages to latest versions.
…ation:

- Replace `Investment2` references with updated `Investment` implementation.
- Extend `Investment` model with detailed status determination methods and new data fields.
- Simplify `GetInvestments` business logic by implementing reusable utility methods.
- Revise view models and backend logic to align with the new `Investment` structure.
- Streamline UI components by removing unused or redundant code blocks.
- Adjust and polish UI layouts for better spacing and alignment.
@DavidGershony DavidGershony self-requested a review June 9, 2025 09:45
Copy link
Collaborator
@DavidGershony DavidGershony left a comment

Choose a reason for hiding this comment

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

some changes required

SuperJMN added 2 commits June 9, 2025 15:23
- Update method names to better reflect their operation (e.g., `Requests` to `LookupRemoteRequests`).
- Enhance readability and maintainability by aligning naming conventions.
- Add `Project` as a parameter to the `CreateInvestment` method.
- Modify `GetAmount` to calculate based on `Project.Stages`.
- Update `GetInvestments` operation to pass `Project` to investment creation.
- Enhance investment processing to account for specific project properties.
@DavidGershony DavidGershony merged commit 0f9158a into block-core:main Jun 10, 2025
3 checks passed
@SuperJMN SuperJMN deleted the get-isinvested branch June 10, 2025 17:09
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.

3 participants
0