Common components refactor #1
|
@ -84,12 +84,14 @@ export function doAbandonClaim(txid, nout) {
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|||||||
});
|
});
|
||||||
|
|
||||||
const errorCallback = () => {
|
const errorCallback = () => {
|
||||||
dispatch(doNotify({
|
dispatch(
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|||||||
|
doNotify({
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|||||||
title: 'Transaction failed',
|
title: 'Transaction failed',
|
||||||
message: 'Transaction failed',
|
message: 'Transaction failed',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
displayType: ['modal', 'toast']
|
displayType: ['modal', 'toast'],
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|||||||
}));
|
})
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|||||||
|
);
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|||||||
};
|
};
|
||||||
|
|
||||||
const successCallback = results => {
|
const successCallback = results => {
|
||||||
|
@ -103,12 +105,14 @@ export function doAbandonClaim(txid, nout) {
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|||||||
dispatch(doResolveUri(buildURI({ name, claimId })));
|
dispatch(doResolveUri(buildURI({ name, claimId })));
|
||||||
dispatch(doFetchClaimListMine());
|
dispatch(doFetchClaimListMine());
|
||||||
} else {
|
} else {
|
||||||
dispatch(doNotify({
|
dispatch(
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|||||||
|
doNotify({
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|||||||
title: 'Transaction failed',
|
title: 'Transaction failed',
|
||||||
message: 'Transaction failed',
|
message: 'Transaction failed',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
displayType: ['modal', 'toast']
|
displayType: ['modal', 'toast'],
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|||||||
}));
|
})
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|||||||
|
);
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|
@ -98,12 +98,14 @@ export function doSendDraftTransaction() {
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
const amount = selectDraftTransactionAmount(state);
|
const amount = selectDraftTransactionAmount(state);
|
||||||
|
|
||||||
if (balance - amount <= 0) {
|
if (balance - amount <= 0) {
|
||||||
dispatch(doNotify({
|
dispatch(
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
|
doNotify({
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
title: 'Insufficient credits',
|
title: 'Insufficient credits',
|
||||||
message: 'Insufficient credits',
|
message: 'Insufficient credits',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
displayType: ['modal', 'toast']
|
displayType: ['modal', 'toast'],
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
}));
|
})
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
|
);
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -116,25 +118,29 @@ export function doSendDraftTransaction() {
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
dispatch({
|
dispatch({
|
||||||
type: ACTIONS.SEND_TRANSACTION_COMPLETED,
|
type: ACTIONS.SEND_TRANSACTION_COMPLETED,
|
||||||
});
|
});
|
||||||
dispatch(doNotify({
|
dispatch(
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
|
doNotify({
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
title: 'Credits sent',
|
title: 'Credits sent',
|
||||||
message: `You sent ${amount} LBC`,
|
message: `You sent ${amount} LBC`,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
displayType: ['snackbar', 'toast'],
|
displayType: ['snackbar', 'toast'],
|
||||||
linkText: 'History',
|
linkText: 'History',
|
||||||
linkTarget: '/wallet'
|
linkTarget: '/wallet',
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
}));
|
})
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
|
);
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
} else {
|
} else {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: ACTIONS.SEND_TRANSACTION_FAILED,
|
type: ACTIONS.SEND_TRANSACTION_FAILED,
|
||||||
data: { error: results },
|
data: { error: results },
|
||||||
});
|
});
|
||||||
dispatch(doNotify({
|
dispatch(
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
|
doNotify({
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
title: 'Transaction failed',
|
title: 'Transaction failed',
|
||||||
message: 'Transaction failed',
|
message: 'Transaction failed',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
displayType: ['modal', 'toast']
|
displayType: ['modal', 'toast'],
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
}));
|
})
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
|
);
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -143,12 +149,14 @@ export function doSendDraftTransaction() {
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
type: ACTIONS.SEND_TRANSACTION_FAILED,
|
type: ACTIONS.SEND_TRANSACTION_FAILED,
|
||||||
data: { error: error.message },
|
data: { error: error.message },
|
||||||
});
|
});
|
||||||
dispatch(doNotify({
|
dispatch(
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
|
doNotify({
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
title: 'Transaction failed',
|
title: 'Transaction failed',
|
||||||
message: 'Transaction failed',
|
message: 'Transaction failed',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
displayType: ['modal', 'toast']
|
displayType: ['modal', 'toast'],
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
}));
|
})
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
|
);
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
};
|
};
|
||||||
|
|
||||||
Lbry.wallet_send({
|
Lbry.wallet_send({
|
||||||
|
@ -178,12 +186,14 @@ export function doSendSupport(amount, claimId, uri, successCallback, errorCallba
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
const balance = selectBalance(state);
|
const balance = selectBalance(state);
|
||||||
|
|
||||||
if (balance - amount <= 0) {
|
if (balance - amount <= 0) {
|
||||||
dispatch(doNotify({
|
dispatch(
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
|
doNotify({
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
title: 'Insufficient credits',
|
title: 'Insufficient credits',
|
||||||
message: 'Insufficient credits',
|
message: 'Insufficient credits',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
displayType: ['modal', 'toast']
|
displayType: ['modal', 'toast'],
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
}));
|
})
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
|
);
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
All of these will need to be removed from other actions.