-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Edit Budget Investment only in accepting phase #3716
Edit Budget Investment only in accepting phase #3716
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@denialtorres Thanks a lot for this pull request! In my humble opinion this is a very useful feature 😄.
I've made a few comments. Let me know what you think! I might be wrong on some things, so feel free to disagree 😉.
hi @javierm, it seems to be ready now do you know why i keep getting errors in the |
Great! I'll have a look at the changes during the week. Lately coveralls integration with our Travis builds isn't working so well 🤔. I've just disabled it, since as it is right now it's very confusing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@denialtorres Thank you so much for your work on this pull request! I've left a few comments; it looks like there are a couple of issues when the submitted data isn't valid. Let me know what you think!
hey, hi @javierm the changes are ready, can you check them when you have a chance?, you were right in the part of the form, it is much better if I put also i add a new scenario to activate the validation error and make sure that part is working |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@denialtorres Thanks a lot! 😄
This way users who made a typo can fix it before the investment is reviewed.
References
resolves #3691
Visual Changes
The
Edit
option will appear under theDelete
button if they user goes toMy Content >> Investments
only during theAccepting Phase
, after that the button will disappearif they try to go to the edit url during another phase or without being the author of the proposal then they will be rejected
Notes
this is only working to regular users, if you're an admin you still will be able to edit your proposals in the following phases