Submit contributions via form #119
Reference in New Issue
Block a user
Delete Branch "feature/118-contribution_form"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #118, #74
@galfert @fsmanuel For some reason the contribution list component doesn't update to show the newly created contribution, which is pushed to the collection. I don't know why, because it looks to me as if all things are done correctly in regards to the computed properties. Maybe you have an idea?
(The item is definitely part of the kredits service's collection when going back to index.)
Edit: same thing happens when adding contributors and is already the case in master.
Just FYI: this is good to go, and contains quite some style improvements besides the actual feature.
For me it actually showed the new contribution in the unconfirmed list right after i was redirected back to the index.
But when I wanted to veto the same contribution, I got this error:
After reloading the page, I was able to veto the contribution just fine.
Edit: After adding a contribution and getting redirected to back to the index, the contribution is shown on the bottom of the "Latest contributions" list. After a reload, the contribution is shown at the top of the list.
@@ -0,0 +1,70 @@import Component from '@ember/component';I don't think the reset and scroll is necessary, because the
savemethod itself transitions back to the index.@@ -61,14 +60,14 @@ export default Component.extend({this.save(contributor).then(() => {this.reset();Same as above, the reset and scrolling is not necessary. I guess that's still from when the form was on the index page.
You cannot veto something that hasn't been created yet. As for me the contributions don't show up, I can't properly design the template for pending data at the moment. :/
Then lets create an issue for it at least.
https://github.com/67P/kredits-web/issues/120