Skip to content
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

refactor: proposal details #360

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Conversation

Zied-Dahmani
Copy link
Collaborator

Scope

Ticket

This PR refactors the Proposal Details view to partially align with the latest Figma design updates. Key changes include:

  1. Removal of the Duration and Rewards sections.
  2. Refactoring of logic.
Before After

@Zied-Dahmani Zied-Dahmani requested a review from n13 November 7, 2024 19:48
@Zied-Dahmani Zied-Dahmani self-assigned this Nov 7, 2024
@Zied-Dahmani Zied-Dahmani linked an issue Nov 7, 2024 that may be closed by this pull request
@@ -8,72 +7,13 @@ import 'package:json_annotation/json_annotation.dart';

part 'proposal_details_model.g.dart';

enum TokenType {
utility,
voice,
Copy link
Collaborator

Choose a reason for hiding this comment

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

why was nearly all code removed from this class? We don't need any of this??

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, for now, according to the Figma UI update from @luigicarlini1988 (@arsenijesavic) , we don’t need to use these fields. If we find a need for them later, I can look into a new or better approach otherwise I can always revert these changes.

Copy link
Collaborator

@n13 n13 left a comment

Choose a reason for hiding this comment

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

Added a question

@Zied-Dahmani Zied-Dahmani requested a review from n13 November 8, 2024 14:26
@Zied-Dahmani Zied-Dahmani merged commit 917adba into main Nov 8, 2024
0 of 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.

Refactor Proposal Details
2 participants