Skip to content

[UI] Displaying elements based on user permissions in Twig #760

[UI] Displaying elements based on user permissions in Twig

[UI] Displaying elements based on user permissions in Twig #760

Triggered via pull request October 24, 2024 13:08
Status Failure
Total duration 39s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 12 warnings
prose
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
prose
Vale and reviewdog exited with status code: 1
prose
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L4
[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'User' instead of 'user'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'User' instead of 'user'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 4, "column": 71}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L6
[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Role' instead of 'role'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Role' instead of 'role'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 6, "column": 97}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L11
[vale] reported by reviewdog 🐶 [Google.Passive] In general, use active voice instead of passive voice ('is granted'). Raw Output: {"message": "[Google.Passive] In general, use active voice instead of passive voice ('is granted').", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 11, "column": 273}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L21
[vale] reported by reviewdog 🐶 [Google.Passive] In general, use active voice instead of passive voice ('being checked'). Raw Output: {"message": "[Google.Passive] In general, use active voice instead of passive voice ('being checked').", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 21, "column": 77}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L26
[vale] reported by reviewdog 🐶 [Google.We] Try to avoid using first-person plural like 'Let's'. Raw Output: {"message": "[Google.We] Try to avoid using first-person plural like 'Let's'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 26, "column": 3}}}, "severity": "WARNING"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L28
[vale] reported by reviewdog 🐶 [Google.We] Try to avoid using first-person plural like 'we'. Raw Output: {"message": "[Google.We] Try to avoid using first-person plural like 'we'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 28, "column": 18}}}, "severity": "WARNING"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L28
[vale] reported by reviewdog 🐶 [Google.WordList] Use 'select' instead of 'check'. Raw Output: {"message": "[Google.WordList] Use 'select' instead of 'check'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 28, "column": 68}}}, "severity": "WARNING"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L28
[vale] reported by reviewdog 🐶 [Google.Passive] In general, use active voice instead of passive voice ('is structured'). Raw Output: {"message": "[Google.Passive] In general, use active voice instead of passive voice ('is structured').", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 28, "column": 159}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L28
[vale] reported by reviewdog 🐶 [Google.We] Try to avoid using first-person plural like 'we'. Raw Output: {"message": "[Google.We] Try to avoid using first-person plural like 'we'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 28, "column": 190}}}, "severity": "WARNING"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L41
[vale] reported by reviewdog 🐶 [Google.Parens] Use parentheses judiciously. Raw Output: {"message": "[Google.Parens] Use parentheses judiciously.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 41, "column": 1}}}, "severity": "INFO"}
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/