-
Notifications
You must be signed in to change notification settings - Fork 79
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
MNT Remove TODO comments #1413
MNT Remove TODO comments #1413
Conversation
ac0fb78
to
2b0eb83
Compare
@@ -283,8 +283,6 @@ class AssetAdmin extends Component { | |||
this.handleOpenFile(response.record.id); | |||
} | |||
|
|||
// TODO Update GraphQL store with new model, | |||
// see https://github.com/silverstripe/silverstripe-graphql/issues/14 |
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.
@@ -477,9 +475,6 @@ class AssetAdmin extends Component { | |||
*/ | |||
handleUnpublish(fileIds) { | |||
return this.doUnpublish(fileIds).then((response) => { | |||
// TODO Update GraphQL store with new model or update apollo and use new API | |||
// see https://github.com/silverstripe/silverstripe-graphql/issues/14 | |||
// see https://dev-blog.apollodata.com/apollo-clients-new-imperative-store-api-6cb69318a1e3 |
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.
@@ -558,7 +552,6 @@ class AssetAdmin extends Component { | |||
} | |||
|
|||
handleMoveFilesSuccess(folderId, fileIds) { | |||
// TODO Refactor "queued files" into separate visual area and remove coupling here |
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.
@@ -799,7 +790,6 @@ function mapStateToProps(state, ownProps) { | |||
const { formSchema } = state.assetAdmin.modal; | |||
return { | |||
securityId: state.config.SecurityID, | |||
// TODO Refactor "queued files" into separate visual area and remove coupling here |
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.
@@ -812,7 +802,6 @@ function mapDispatchToProps(dispatch) { | |||
gallery: bindActionCreators(galleryActions, dispatch), | |||
toasts: bindActionCreators(toastsActions, dispatch), | |||
displaySearch: bindActionCreators(displaySearchActions, dispatch), | |||
// TODO Refactor "queued files" into separate visual area and remove coupling here |
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.
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.
@@ -25,7 +25,6 @@ class HistoryItem extends Component { | |||
} | |||
|
|||
return ( | |||
// @todo wrap the contents in an `<a>` tag |
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.
@@ -47,7 +45,7 @@ class HistoryList extends Component { | |||
} | |||
|
|||
componentDidUpdate(prevProps) { | |||
// TODO race conditions happening, this should have history state shifted to redux |
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.
|
||
// Sometimes AssetAdmin.js handleSubmitEditor() can't find the file | ||
// @todo Ensure that we always return a file for any valid ID | ||
|
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.
// todo: | ||
// Refactor this once Apollo GraphQL adds support | ||
// for invalidating specific queries in the cache. | ||
// Context: https://github.com/silverstripe/silverstripe-asset-admin/issues/809 |
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.
2b0eb83
to
7839987
Compare
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.
LGTM
Parent issue