Skip to content
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

Ntrnl 361 create width container commmon component #54

Merged

Conversation

harley-harris
Copy link
Contributor

@harley-harris harley-harris commented Mar 20, 2024

JIRA link

NTRNL-361

Description

Create width container common component

Work checklist

  • Tests added where applicable
  • No vulnerability added

@harley-harris harley-harris requested a review from a team March 20, 2024 16:54
@harley-harris harley-harris self-assigned this Mar 20, 2024
Copy link

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 100% 691/691
🟢 Branches 96.88% 31/32
🟢 Functions 100% 56/56
🟢 Lines 100% 641/641

Test suite run success

151 tests passing in 39 suites.

Report generated by 🧪jest coverage report action from 3647810

Copy link

@naqvinayyab naqvinayyab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have left a minor comment

@@ -4,117 +4,113 @@
{% include "include/back-link.html" %}
{% endblock %}

{% block content %}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we replacing whole chunks rather Inplace editing with what is required to be updated?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refactoring shall be better as it is done in add-team-member.html

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Nayyab,

The changes involved with this PR involve de-denting all the pages html code by to accommodate the implementation of the common width container.

I believe that git has detected the add-member changes as inline because it's a small file with no embedded nunjucks code (it mostly uses common components). Most of the other pages are much larger so I think it's detecting them as chunk based changes.

Copy link
Contributor

@DanielMurray97 DanielMurray97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, LGTM

@harley-harris harley-harris merged commit 236bf35 into main Mar 21, 2024
4 checks passed
@harley-harris harley-harris deleted the NTRNL-361-create-width-container-commmon-component branch March 21, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants