-
Notifications
You must be signed in to change notification settings - Fork 35
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
Unlink as coverage #1847
Unlink as coverage #1847
Conversation
can you fix CI before assigning for review? :) image |
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.
CI is still failing :)
Update package-json to use cc develop |
which ticket is this handling? |
SDESK-7017 |
onTrigger: () => { | ||
const superdeskArticle = superdesk.entities.article; | ||
|
||
if ( |
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.
Did you take these conditions from somewhere else? In order not to duplicate it, we should add canUnlinkAscoverage
function and expose it via extensions bridge.
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.
The thing is, we can't add it 1-to-1, because in the angular world permissions work under the hood, so if we do add it it'll still be chopped up. Personally I don't think it's necessary when this is the case, so we can keep it like this
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.
add the comment about keeping it up to date
onTrigger: () => { | ||
const superdeskArticle = superdesk.entities.article; | ||
|
||
if ( |
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.
add the comment about keeping it up to date
one more thing, add |
did you see my last comment? |
@@ -103,6 +103,8 @@ function configurePlanning(superdesk) { | |||
!['killed', 'recalled', 'unpublished', 'spiked', 'correction'].includes(item.state); | |||
}], | |||
}) | |||
|
|||
// TAG: AUTHORING-ANGULAR |
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.
@thecalcc have you looked into this yet?
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.
I'm doing so yep, but I plan to address it in a different PR. haven't forgotten about it
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.
I'm doing so yep, but I plan to address it in a different PR. haven't forgotten about it
In short, looks like this is some filtering based on which we calculate whether to show the action in the three dots menu or not
SDESK-7017