superdesk/superdesk-client-core

View on GitHub

Showing 3,654 of 3,654 total issues

Function getInitialDestination has a Cognitive Complexity of 20 (exceeds 5 allowed). Consider refactoring.
Open

export function getInitialDestination(
    items: Array<IArticle>,
    canSendToPersonal: boolean,
    availableDesks: OrderedMap<string, IDesk> = sdApi.desks.getAllDesks(),
): ISendToDestination {

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Similar blocks of code found in 5 locations. Consider refactoring.
Open

        this.getRow = function(name) {
            return this.list.filter((elem, index) =>
                elem.element(by.binding('config.name'))
                    .getText()
                    .then((text) => text.toUpperCase() === name.toUpperCase()),
Severity: Major
Found in e2e/client/specs/helpers/highlights.ts and 4 other locations - About 2 hrs to fix
e2e/client/specs/helpers/dictionaries.ts on lines 40..46
e2e/client/specs/helpers/highlights.ts on lines 103..109
e2e/client/specs/helpers/highlights.ts on lines 127..133
e2e/client/specs/helpers/subscribers.ts on lines 28..34

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 5 locations. Consider refactoring.
Open

        this.getRow = function(name) {
            return this.list.filter((elem, index) =>
                elem.element(by.binding('dictionary.name'))
                    .getText()
                    .then((text) => text.toUpperCase() === name.toUpperCase()),
Severity: Major
Found in e2e/client/specs/helpers/dictionaries.ts and 4 other locations - About 2 hrs to fix
e2e/client/specs/helpers/highlights.ts on lines 56..62
e2e/client/specs/helpers/highlights.ts on lines 103..109
e2e/client/specs/helpers/highlights.ts on lines 127..133
e2e/client/specs/helpers/subscribers.ts on lines 28..34

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 5 locations. Consider refactoring.
Open

        this.getGroup = function(name) {
            return this.groups.filter((elem, index) =>
                elem.element(by.binding('group'))
                    .getText()
                    .then((text) => text.toUpperCase() === name.toUpperCase()),
Severity: Major
Found in e2e/client/specs/helpers/highlights.ts and 4 other locations - About 2 hrs to fix
e2e/client/specs/helpers/dictionaries.ts on lines 40..46
e2e/client/specs/helpers/highlights.ts on lines 56..62
e2e/client/specs/helpers/highlights.ts on lines 103..109
e2e/client/specs/helpers/subscribers.ts on lines 28..34

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 5 locations. Consider refactoring.
Open

        this.getDesk = function(name) {
            return this.desks.filter((elem, index) =>
                elem.element(by.binding('desk.name'))
                    .getText()
                    .then((text) => text.toUpperCase() === name.toUpperCase()),
Severity: Major
Found in e2e/client/specs/helpers/highlights.ts and 4 other locations - About 2 hrs to fix
e2e/client/specs/helpers/dictionaries.ts on lines 40..46
e2e/client/specs/helpers/highlights.ts on lines 56..62
e2e/client/specs/helpers/highlights.ts on lines 127..133
e2e/client/specs/helpers/subscribers.ts on lines 28..34

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 3 locations. Consider refactoring.
Open

export const SubNav: React.StatelessComponent<any> = ({children, className, darkBlue, darker}) => (
    <div
        className={classNames(
            'subnav',
            {
Severity: Major
Found in scripts/core/ui/components/SubNav/SubNav.tsx and 2 other locations - About 2 hrs to fix
scripts/core/ui/components/SidePanel/Header.tsx on lines 10..23
scripts/core/ui/components/SubNav/ButtonStack.tsx on lines 10..23

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 5 locations. Consider refactoring.
Open

        this.getSubscriber = function(name) {
            return this.list.filter((elem, index) =>
                elem.element(by.binding('subscriber.name'))
                    .getText()
                    .then((text) => text.toUpperCase() === name.toUpperCase()),
Severity: Major
Found in e2e/client/specs/helpers/subscribers.ts and 4 other locations - About 2 hrs to fix
e2e/client/specs/helpers/dictionaries.ts on lines 40..46
e2e/client/specs/helpers/highlights.ts on lines 56..62
e2e/client/specs/helpers/highlights.ts on lines 103..109
e2e/client/specs/helpers/highlights.ts on lines 127..133

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

export const ContentBlock: React.StatelessComponent<any> = ({children, className, padSmall, flex}) => (
    <div
        className={classNames(
            'side-panel__content-block',
            className,
Severity: Major
Found in scripts/core/ui/components/SidePanel/ContentBlock.tsx and 1 other location - About 2 hrs to fix
scripts/core/ui/components/SidePanel/ContentBlockInner.tsx on lines 10..23

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

                                                onChange={(event) => {
                                                    const {value} = event.target;

                                                    this.props.onChange({
                                                        ...config,
scripts/apps/authoring-react/fields/dropdown/dropdown-manual-entry/config.tsx on lines 169..178

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 3 locations. Consider refactoring.
Open

export const Header: React.StatelessComponent<any> = ({children, className, darkBlue, darker}) => (
    <div
        className={classNames(
            'side-panel__header side-panel__header--border-b',
            {
Severity: Major
Found in scripts/core/ui/components/SidePanel/Header.tsx and 2 other locations - About 2 hrs to fix
scripts/core/ui/components/SubNav/ButtonStack.tsx on lines 10..23
scripts/core/ui/components/SubNav/SubNav.tsx on lines 10..23

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 3 locations. Consider refactoring.
Open

export const ButtonStack: React.StatelessComponent<any> = ({children, right, padded, className}) => (
    <div
        className={classNames(
            'subnav__button-stack',
            {
Severity: Major
Found in scripts/core/ui/components/SubNav/ButtonStack.tsx and 2 other locations - About 2 hrs to fix
scripts/core/ui/components/SidePanel/Header.tsx on lines 10..23
scripts/core/ui/components/SubNav/SubNav.tsx on lines 10..23

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

export const ContentBlockInner: React.StatelessComponent<any> = ({children, className, right, grow}) => (
    <div
        className={classNames(
            'side-panel__content-block-inner',
            className,
Severity: Major
Found in scripts/core/ui/components/SidePanel/ContentBlockInner.tsx and 1 other location - About 2 hrs to fix
scripts/core/ui/components/SidePanel/ContentBlock.tsx on lines 10..23

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

                                                        <TagListComponent
                                                            savedTags={savedTags}
                                                            tags={tags.toMap()}
                                                            readOnly={readOnly}
                                                            onRemove={(ids) => {
Severity: Major
Found in scripts/extensions/auto-tagging-widget/src/auto-tagging.tsx and 1 other location - About 2 hrs to fix
scripts/extensions/auto-tagging-widget/src/auto-tagging.tsx on lines 702..715

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

                                                            <TagListComponent
                                                                savedTags={savedTags}
                                                                tags={tags.toMap()}
                                                                readOnly={readOnly}
                                                                onRemove={(ids) => {
Severity: Major
Found in scripts/extensions/auto-tagging-widget/src/auto-tagging.tsx and 1 other location - About 2 hrs to fix
scripts/extensions/auto-tagging-widget/src/auto-tagging.tsx on lines 667..680

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

                                } else {
                                    return (
                                        <div>
                                            {
                                                gettext(
scripts/apps/authoring-react/article-widgets/versions-and-item-history/transmission-details.tsx on lines 79..94

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

                                if (queueItem.state === 'error') {
                                    return (
                                        <div>
                                            {
                                                gettext(
scripts/apps/authoring-react/article-widgets/versions-and-item-history/transmission-details.tsx on lines 94..109

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

                                                onChange={(event) => {
                                                    const {value} = event.target;

                                                    this.props.onChange({
                                                        ...config,
scripts/apps/authoring-react/fields/dropdown/dropdown-manual-entry/config.tsx on lines 152..161

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Function getTagsListComponent has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function getTagsListComponent(superdesk: ISuperdesk): React.ComponentType<IProps> {
    const {gettext} = superdesk.localization;
    const {arrayToTree, treeToArray} = superdesk.utilities;

    return class TagList extends React.PureComponent<IProps> {
Severity: Major
Found in scripts/extensions/auto-tagging-widget/src/tag-list.tsx - About 2 hrs to fix

    Function VocabularyService has 68 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export function VocabularyService(api, $q, $filter, $rootScope) {
        var self = this;
    
        self.AllActiveVocabularies = null;
        self.vocabularies = null;
    Severity: Major
    Found in scripts/apps/vocabularies/services/VocabularyService.ts - About 2 hrs to fix

      Function MultieditArticleDirective has 68 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function MultieditArticleDirective(authoring, content, multiEdit, lock, $timeout, notify) {
          return {
              templateUrl: 'scripts/apps/authoring/multiedit/views/sd-multiedit-article.html',
              scope: {article: '=', focus: '='},
              link: function(scope, elem) {
      Severity: Major
      Found in scripts/apps/authoring/multiedit/multiedit.ts - About 2 hrs to fix
        Severity
        Category
        Status
        Source
        Language