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: remove proposal type selection page #355

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

Zied-Dahmani
Copy link
Collaborator

Scope

Ticket

I've removed the proposal type selection page when creating a proposal, as the type is now set to Agreement by default.

Before After

@Zied-Dahmani Zied-Dahmani requested a review from n13 October 23, 2024 22:04
@Zied-Dahmani Zied-Dahmani self-assigned this Oct 23, 2024
@Zied-Dahmani Zied-Dahmani linked an issue Oct 23, 2024 that may be closed by this pull request
@@ -157,8 +150,8 @@ class ProposalCreationPage extends StatelessWidget {
children: [
const DaoSelectionView(),
const ProposalContentView(),
const OutcomeSelectionView(),
Container(),
//const OutcomeSelectionView(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

commented code - please remove?

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.

Please remove commented code before merging, otherwise good.

It's policy to never leave commented code in the codebase, if there's an exception it should have a comment as to why it needs to be in there. Keeps the code base tidy.

@Zied-Dahmani
Copy link
Collaborator Author

It's policy to never leave commented code in the codebase, if there's an exception it should have a comment as to why it needs to be in there. Keeps the code base tidy.

You're absolutely right, and I completely acknowledge this policy. I left the code commented to easily retrieve it later, but I’ll go ahead and remove it now.

@Zied-Dahmani Zied-Dahmani merged commit 3306dcd into main Oct 25, 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.

Remove Proposal Type Selection Page
2 participants