This adds the pending tx data to pending contributions (after adding or vetoing, until the tx is mined). It also disables the veto button while pending.
WIP until I've added the same for contributor additions/changes. Also, it's branched out from #156, which hasn't been merged yet.
This adds the pending tx data to pending contributions (after adding or vetoing, until the tx is mined). It also disables the veto button while pending.
WIP until I've added the same for contributor additions/changes. Also, it's branched out from #156, <del>which hasn't been merged yet.</del>
closes #120
bumi
(Migrated from github.com)
reviewed 2019-09-20 21:40:09 +00:00
I thought that's just how you do computed properties without dependency now (as someone told me about this). Already thought it doesn't sound right, when the property never changes, but haven't looked it up.
I thought that's just how you do computed properties without dependency now (as someone told me about this). Already thought it doesn't sound right, when the property never changes, but haven't looked it up.
No, marking a property as volatile just deactivates caching and makes it recalculate on every access. It also prevents property notifications.
The volatile() modifier got deprecated recently. So I think just using an empty string as the dependency would be better here.
No, marking a property as volatile just deactivates caching and makes it recalculate on every access. It also prevents property notifications.
The `volatile()` modifier [got deprecated recently](https://deprecations.emberjs.com/v3.x/#toc_computed-property-volatile). So I think just using an empty string as the dependency would be better here.
(If you still have trouble running this easily on your machine, then you need to tell us that. Everything should work in a way that it's very easy to test now.)
Could you please test it?
(If you still have trouble running this easily on your machine, then you need to tell us that. Everything should work in a way that it's *very* easy to test now.)
Note to whoever didn't use this feature before: in order to get longer, more realistic confirmation times from your dev chain, you can add block-time to the devchain npm script, like so:
Note to whoever didn't use this feature before: in order to get longer, more realistic confirmation times from your dev chain, you can add `block-time` to the `devchain` npm script, like so:
```diff
- "devchain": "aragon devchain --port 7545",
+ "devchain": "aragon devchain --port 7545 --block-time 20",
```
I fixed the merge conflict and changed the confirmation-status helper to detect the pending changes. I also removed the volatile() property modifier everywhere, as it was already throwing a deprecation warning.
I tested the PR and confirmed everything to work.
I fixed the merge conflict and changed the `confirmation-status` helper to detect the pending changes. I also removed the `volatile()` property modifier everywhere, as it was already throwing a deprecation warning.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This adds the pending tx data to pending contributions (after adding or vetoing, until the tx is mined). It also disables the veto button while pending.
WIP until I've added the same for contributor additions/changes. Also, it's branched out from #156,
which hasn't been merged yet.closes #120
Looking for reviews now. Doing contributors in a separate PR.
Why does this property need to be volatile?
I thought that's just how you do computed properties without dependency now (as someone told me about this). Already thought it doesn't sound right, when the property never changes, but haven't looked it up.
@galfert Does your comment mean that you took this for a spin?
No, marking a property as volatile just deactivates caching and makes it recalculate on every access. It also prevents property notifications.
The
volatile()modifier got deprecated recently. So I think just using an empty string as the dependency would be better here.I only looked at the code. Besides my one comment it looked ok to me.
Could you please test it?
(If you still have trouble running this easily on your machine, then you need to tell us that. Everything should work in a way that it's very easy to test now.)
Note to whoever didn't use this feature before: in order to get longer, more realistic confirmation times from your dev chain, you can add
block-timeto thedevchainnpm script, like so:I tested the PR and confirmed everything to work.
I fixed the merge conflict and changed the
confirmation-statushelper to detect the pending changes. I also removed thevolatile()property modifier everywhere, as it was already throwing a deprecation warning.