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

feat(service-portal): Add icon for law and order + updated icon for framfaersla #16317

Merged
merged 6 commits into from
Oct 8, 2024

Conversation

disaerna
Copy link
Member

@disaerna disaerna commented Oct 8, 2024

Service portal - Icons

What

  • New icon for Law and order module
  • Updated animated icon for "Framfærsla"

Screenshots / Gifs

Screenshot 2024-10-08 at 13 13 23

Screen.Recording.2024-10-08.at.13.13.39.mov

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Formatting passes locally with my changes
  • I have rebased against main before asking for a review

Summary by CodeRabbit

  • New Features

    • Introduced a new animated SVG icon of a gavel.
    • Added support for the gavel icon in the icon mapping system.
    • Updated the navigation to use the gavel icon.
  • Improvements

    • Streamlined the implementation of the CardWithCheckmark component for better performance and readability.
    • Enhanced icon set with new filled and outline variants for the gavel.
  • Bug Fixes

    • Corrected the ID mapping for the cardWithCheckmark icon.

@disaerna disaerna added the automerge Merge this PR as soon as all checks pass label Oct 8, 2024
@disaerna disaerna requested review from a team as code owners October 8, 2024 13:15
@disaerna disaerna requested a review from Toti91 October 8, 2024 13:15
Copy link
Contributor

coderabbitai bot commented Oct 8, 2024

Walkthrough

The pull request introduces several changes across multiple files, focusing on the addition of a new animated gavel icon component and updates to existing icon mappings. The CardWithCheckmark component has been simplified for initializing SVG animations. A new Gavel component has been created, along with its outline variant, enhancing the icon library. Additionally, the icon mapping utilities have been updated to include the new gavel icon, and the navigation structure has been modified to reflect this change.

Changes

File Change Summary
apps/service-portal/src/components/AnimatedIcon/CardWithCheckmark.jsx Simplified SVG animation initialization; updated animation parameters and structure.
apps/service-portal/src/components/AnimatedIcon/Gavel.jsx Introduced a new animated SVG icon component for a gavel; utilizes useEffect for animation setup.
apps/service-portal/src/utils/Icons/idMapper.tsx Added mapping for 'gavel' icon; updated return value for 'cardWithCheckmark'.
libs/island-ui/core/src/lib/IconRC/iconMap.ts Updated Icon type to include 'gavel'; added 'gavel' to filled and outline exports.
libs/island-ui/core/src/lib/IconRC/icons/Gavel.tsx Introduced SvgGavel component for rendering the gavel icon with accessibility features.
libs/island-ui/core/src/lib/IconRC/icons/GavelOutline.tsx Introduced SvgGavelOutline component for rendering the gavel outline with accessibility features.
libs/service-portal/law-and-order/src/lib/navigation.ts Updated lawAndOrderNavigation to change icon from 'attach' to 'gavel'.

Possibly related PRs

Suggested reviewers

  • unakb
  • jonnigs

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 4

🧹 Outside diff range and nitpick comments (8)
apps/service-portal/src/utils/Icons/idMapper.tsx (2)

130-132: LGTM: New 'gavel' case added correctly.

The new case for 'gavel' has been added correctly, following the existing pattern in the iconTypeToSVG function. The comment "Lög og reglur" (Laws and regulations) provides helpful context.

For consistency with other cases, consider moving the comment to the line above the case statement:

-    // Lög og reglur
-    case 'gavel':
+    // Lög og reglur (Laws and regulations)
+    case 'gavel':
      return <Gavel />

This change would align with the comment style used for other cases in the function.


Line range hint 1-136: Overall assessment: Changes implement new 'gavel' icon successfully.

The changes in this file successfully implement the new 'gavel' icon and update the 'cardWithCheckmark' icon as described in the PR objectives. The modifications adhere to the existing code structure and follow NextJS best practices. Some observations:

  1. TypeScript is used effectively for type safety in the function signatures.
  2. The file structure and component imports align with NextJS conventions.
  3. The changes maintain consistency with the existing codebase.

Consider extracting the icon mappings into a separate configuration file if the list of icons continues to grow. This would improve maintainability and make it easier to add new icons in the future.

libs/island-ui/core/src/lib/IconRC/icons/Gavel.tsx (1)

9-17: LGTM: Proper SVG structure and accessibility

The SVG element is well-structured with appropriate attributes and accessibility features. The conditional rendering of the title element is a good practice for screen reader support.

Consider extracting the className "gavel_svg__ionicon" into a prop with a default value to enhance reusability across different icon styles.

-const SvgGavel = ({
+const SvgGavel = ({
+  className = "gavel_svg__ionicon",
   title,
   titleId,
   ...props
 }: React.SVGProps<SVGSVGElement> & SVGRProps) => {
   return (
     <svg
-      className="gavel_svg__ionicon"
+      className={className}
       aria-labelledby={titleId}
       viewBox="0 0 32 32"
       fill="none"
       {...props}
     >
libs/island-ui/core/src/lib/IconRC/icons/GavelOutline.tsx (1)

20-35: Well-optimized SVG paths with good color customization support.

The SVG paths are well-defined and use fill="currentColor", which allows for easy color customization via CSS. This is a good practice for maintaining consistency with the overall design system.

To potentially improve tree-shaking and reduce bundle size, consider extracting the path data into a separate constant:

const GAVEL_OUTLINE_PATHS = [
  "M5.16709 26.0044C3.46918 26.1676 2.13045 27.6043 2.13045 29.3349V30.1186C2.13045 30.543 2.45697 30.8696 2.88145 30.8696H21.6891C22.1135 30.8696 22.4401 30.543 22.4401 30.1186V29.3349C22.4401 27.6043 21.1013 26.1676 19.4034 26.0044H5.16709ZM20.9054 29.3349C20.9054 28.3227 20.0891 27.5064 19.0769 27.5064H5.42831C4.41609 27.5064 3.59979 28.3227 3.59979 29.3349V29.3676L20.9054 29.3349Z",
  // ... other paths
];

// Then in the component:
{GAVEL_OUTLINE_PATHS.map((d, i) => (
  <path key={i} d={d} fill="currentColor" />
))}

This approach might help with code splitting and tree-shaking in larger applications.

apps/service-portal/src/components/AnimatedIcon/Gavel.jsx (1)

12-12: Check the import order for consistency

Ensure that the import statements follow the project's conventions, usually third-party libraries first, followed by internal modules.

Apply this change to reorder the imports:

 import { useEffect } from 'react'
 import { ReactComponent as Svg } from '../../assets/icons/sidebar/gavel.svg'
apps/service-portal/src/components/AnimatedIcon/CardWithCheckmark.jsx (3)

10-10: Remove redundant 'use strict' directive

The 'use strict' directive is redundant in ES6 modules because modules are automatically in strict mode. Removing it improves code clarity.

Apply this diff to remove the redundant directive:

- "use strict";
🧰 Tools
🪛 Biome

[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: Redundant use strict directive.

The entire contents of JavaScript modules are automatically in strict mode, with no statement needed to initiate it.
Safe fix: Remove the redundant use strict directive.

(lint/suspicious/noRedundantUseStrict)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


9-9: Avoid using // prettier-ignore

Using // prettier-ignore can lead to inconsistent code formatting. Consider formatting the code appropriately or refactoring it to eliminate the need to ignore Prettier.


Line range hint 1-12: Consider converting the component to TypeScript

To enhance type safety and align with the project's coding guidelines, consider converting this component to TypeScript by renaming the file to CardWithCheckmark.tsx and updating the code accordingly.

🧰 Tools
🪛 Biome

[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: Redundant use strict directive.

The entire contents of JavaScript modules are automatically in strict mode, with no statement needed to initiate it.
Safe fix: Remove the redundant use strict directive.

(lint/suspicious/noRedundantUseStrict)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 6ce1b55 and 657ac9c.

⛔ Files ignored due to path filters (2)
  • apps/service-portal/src/assets/icons/sidebar/cardWithCheckmark.svg is excluded by !**/*.svg
  • apps/service-portal/src/assets/icons/sidebar/gavel.svg is excluded by !**/*.svg
📒 Files selected for processing (7)
  • apps/service-portal/src/components/AnimatedIcon/CardWithCheckmark.jsx (1 hunks)
  • apps/service-portal/src/components/AnimatedIcon/Gavel.jsx (1 hunks)
  • apps/service-portal/src/utils/Icons/idMapper.tsx (3 hunks)
  • libs/island-ui/core/src/lib/IconRC/iconMap.ts (3 hunks)
  • libs/island-ui/core/src/lib/IconRC/icons/Gavel.tsx (1 hunks)
  • libs/island-ui/core/src/lib/IconRC/icons/GavelOutline.tsx (1 hunks)
  • libs/service-portal/law-and-order/src/lib/navigation.ts (1 hunks)
🧰 Additional context used
📓 Path-based instructions (7)
apps/service-portal/src/components/AnimatedIcon/CardWithCheckmark.jsx (1)

Pattern apps/**/*: "Confirm that the code adheres to the following:

  • NextJS best practices, including file structure, API routes, and static generation methods.
  • Efficient state management and server-side rendering techniques.
  • Optimal use of TypeScript for component and utility type safety."
apps/service-portal/src/components/AnimatedIcon/Gavel.jsx (1)

Pattern apps/**/*: "Confirm that the code adheres to the following:

  • NextJS best practices, including file structure, API routes, and static generation methods.
  • Efficient state management and server-side rendering techniques.
  • Optimal use of TypeScript for component and utility type safety."
apps/service-portal/src/utils/Icons/idMapper.tsx (1)

Pattern apps/**/*: "Confirm that the code adheres to the following:

  • NextJS best practices, including file structure, API routes, and static generation methods.
  • Efficient state management and server-side rendering techniques.
  • Optimal use of TypeScript for component and utility type safety."
libs/island-ui/core/src/lib/IconRC/iconMap.ts (1)

Pattern libs/**/*: "Confirm that the code adheres to the following:

  • Reusability of components and hooks across different NextJS apps.
  • TypeScript usage for defining props and exporting types.
  • Effective tree-shaking and bundling practices."
libs/island-ui/core/src/lib/IconRC/icons/Gavel.tsx (1)

Pattern libs/**/*: "Confirm that the code adheres to the following:

  • Reusability of components and hooks across different NextJS apps.
  • TypeScript usage for defining props and exporting types.
  • Effective tree-shaking and bundling practices."
libs/island-ui/core/src/lib/IconRC/icons/GavelOutline.tsx (1)

Pattern libs/**/*: "Confirm that the code adheres to the following:

  • Reusability of components and hooks across different NextJS apps.
  • TypeScript usage for defining props and exporting types.
  • Effective tree-shaking and bundling practices."
libs/service-portal/law-and-order/src/lib/navigation.ts (1)

Pattern libs/**/*: "Confirm that the code adheres to the following:

  • Reusability of components and hooks across different NextJS apps.
  • TypeScript usage for defining props and exporting types.
  • Effective tree-shaking and bundling practices."
🪛 Biome
apps/service-portal/src/components/AnimatedIcon/CardWithCheckmark.jsx

[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: Redundant use strict directive.

The entire contents of JavaScript modules are automatically in strict mode, with no statement needed to initiate it.
Safe fix: Remove the redundant use strict directive.

(lint/suspicious/noRedundantUseStrict)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

apps/service-portal/src/components/AnimatedIcon/Gavel.jsx

[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: Redundant use strict directive.

The entire contents of JavaScript modules are automatically in strict mode, with no statement needed to initiate it.
Safe fix: Remove the redundant use strict directive.

(lint/suspicious/noRedundantUseStrict)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

🔇 Additional comments (13)
libs/service-portal/law-and-order/src/lib/navigation.ts (1)

10-10: LGTM! Verify the 'gavel' icon implementation.

The icon change from 'attach' to 'gavel' aligns with the PR objective of adding a new icon for the Law and Order module. The update is correctly implemented within the navigation structure.

To ensure the 'gavel' icon is properly implemented and available, please run the following script:

This script will help confirm that the 'gavel' icon is properly defined, imported, and available for use in the application.

✅ Verification successful

Further Verification Required: Correct File Type Identifiers

The initial scripts failed to recognize TypeScript and JavaScript file types. Please run the updated scripts below to verify the 'gavel' icon implementation:


Verified: 'gavel' icon is correctly implemented.

The 'gavel' icon definition and imports are properly set up, and the SVG asset exists in the specified location. The icon change aligns with the PR objectives and does not introduce any issues.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the existence and implementation of the 'gavel' icon

# Test 1: Search for the 'gavel' icon definition
echo "Searching for 'gavel' icon definition:"
rg --type typescript --type javascript -i "gavel.*icon"

# Test 2: Check for any imports related to the 'gavel' icon
echo "Checking for 'gavel' icon imports:"
rg --type typescript --type javascript -i "import.*gavel"

# Test 3: Look for any SVG files that might contain the gavel icon
echo "Searching for potential gavel SVG files:"
fd -e svg | rg -i "gavel"

Length of output: 537


Script:

#!/bin/bash
# Description: Verify the existence and implementation of the 'gavel' icon

# Test 1: Search for the 'gavel' icon definition with corrected file types
echo "Searching for 'gavel' icon definition:"
rg --type ts --type js -i "gavel.*icon"

# Test 2: Check for any imports related to the 'gavel' icon with corrected file types
echo "Checking for 'gavel' icon imports:"
rg --type ts --type js -i "import.*gavel"

# Test 3: Look for any SVG files that might contain the gavel icon
echo "Searching for potential gavel SVG files:"
fd -e svg | rg -i "gavel"

Length of output: 971

apps/service-portal/src/utils/Icons/idMapper.tsx (2)

18-18: LGTM: New Gavel component import added correctly.

The import statement for the new Gavel component follows the existing pattern and is correctly placed. This import is necessary for the new 'gavel' case in the iconTypeToSVG function.


69-71: LGTM: Updated 'cardWithCheckmark' ID and added new 'gavel' case.

The changes look good:

  1. The 'cardWithCheckmark' ID has been updated.
  2. A new case for 'gavel' has been added, following the existing pattern.

Please verify that the updated 'cardWithCheckmark' ID (eyzGY9baL4Z1) corresponds to the correct animation in the CardWithCheckmark component.

libs/island-ui/core/src/lib/IconRC/iconMap.ts (2)

46-46: LGTM: New icon type added successfully.

The addition of 'gavel' to the Icon type is consistent with the existing pattern and aligns with the PR objective of adding a new icon for law and order. This change enhances the type definition, ensuring type safety when using the new icon.


142-142: LGTM: Icon mappings added correctly.

The additions of 'gavel' to both the 'filled' and 'outline' objects in the default export are consistent with the existing pattern. These changes:

  1. Provide mappings for both variants of the gavel icon.
  2. Maintain reusability across different NextJS apps.
  3. Support effective tree-shaking and bundling practices.

The implementation adheres to the coding guidelines and enhances the icon library as intended.

Also applies to: 237-237

libs/island-ui/core/src/lib/IconRC/icons/Gavel.tsx (4)

1-8: LGTM: Proper imports and component declaration

The import statements and component declaration follow React and TypeScript best practices. The use of the spread operator for additional SVG properties provides flexibility for the component's usage.


18-33: LGTM: Well-defined SVG paths

The SVG paths are correctly defined to create the gavel icon. The use of currentColor for the fill attribute allows for easy color customization, enhancing the icon's reusability across different color schemes.


38-38: LGTM: Proper component export

The component is correctly exported as the default export, which is appropriate for a single component file and follows common React practices.


1-38: Great job: Well-implemented reusable Gavel icon component

This new SvgGavel component is well-implemented and adheres to the coding guidelines for the libs directory. It's a reusable React component written in TypeScript, which meets the requirements for use across different NextJS apps. The component is well-structured, follows best practices for SVG icons, and includes proper accessibility features.

The use of TypeScript for prop definitions and the component's structure should work well with tree-shaking and bundling practices. Overall, this is a high-quality addition to the icon library.

libs/island-ui/core/src/lib/IconRC/icons/GavelOutline.tsx (3)

1-8: Well-structured component declaration with proper TypeScript usage.

The imports and component declaration follow best practices for React and TypeScript. The use of SVGRProps type suggests good type reuse across icon components, promoting consistency and maintainability. The spread operator for additional props allows for flexibility in usage, enhancing the component's reusability across different contexts.


19-19: Excellent accessibility implementation for the SVG title.

The conditional rendering of the title element with the associated titleId demonstrates a strong commitment to accessibility. This approach ensures that screen readers can provide meaningful descriptions of the icon when a title is supplied, while avoiding empty title tags when no title is provided.


40-40: Appropriate use of default export.

The use of default export for this single component file is correct and follows common React component authoring practices. This allows for easy import and potential renaming by consumers, enhancing the component's reusability across different parts of the application.

apps/service-portal/src/components/AnimatedIcon/Gavel.jsx (1)

9-9: 🛠️ Refactor suggestion

⚠️ Potential issue

Avoid including minified code directly in the component

Embedding minified code within the component decreases readability and maintainability. It also triggers static analysis errors related to assignments within expressions and redundant 'use strict' directives.

Consider importing the SVGator player as a module instead of embedding the minified code. This improves code clarity and allows for better error handling.

Apply this change to refactor the code:

 import { useEffect } from 'react'
 import { ReactComponent as Svg } from '../../assets/icons/sidebar/gavel.svg'

 export default function Gavel() {
   useEffect(() => {
-    // prettier-ignore
-    !function(t,e){ /* minified code */ }(this,(function(){"use strict"; /* minified code */ }));
+    // Initialize SVGator animation
+    import('svgator-player').then(({ default: SVGatorPlayer }) => {
+      SVGatorPlayer.init({
+        // Animation configuration
+      })
+    })
   }, [])
   return <Svg />
 }

Ensure that the SVGator library is properly installed and that the import path is correct. Run the following command to check if the svgator-player package is installed:

🧰 Tools
🪛 Biome

[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: Redundant use strict directive.

The entire contents of JavaScript modules are automatically in strict mode, with no statement needed to initiate it.
Safe fix: Remove the redundant use strict directive.

(lint/suspicious/noRedundantUseStrict)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

@datadog-island-is
Copy link

datadog-island-is bot commented Oct 8, 2024

Datadog Report

All test runs bf64ef8 🔗

34 Total Test Services: 0 Failed, 33 Passed
❄️ 1 with New Flaky
🔻 Test Sessions change in coverage: 2 decreased, 1 increased (+0.11%), 144 no change

Test Services
This report shows up to 10 services
Service Name Failed Known Flaky New Flaky Passed Skipped Total Time Code Coverage Change Test Service View
services-auth-personal-representative 0 0 1 59 0 1m 31.06s 1 no change Link
air-discount-scheme-web 0 0 0 2 0 8.92s 1 no change Link
api 0 0 0 4 0 2.8s 1 no change Link
application-api-files 0 0 0 12 0 6.56s 1 no change Link
application-core 0 0 0 90 0 20.65s 1 increased (+0.11%) Link
application-system-api 0 0 0 120 2 3m 43.95s 1 no change Link
application-template-api-modules 0 0 0 134 0 1m 51.75s 1 no change Link
application-templates-accident-notification 0 0 0 148 0 18.24s 1 no change Link
application-templates-criminal-record 0 0 0 2 0 11.68s 1 no change Link
application-templates-driving-license 0 0 0 13 0 16.64s 1 no change Link

🔻 Code Coverage Decreases vs Default Branch (2)

  • application-templates-parental-leave - jest 35.14% (-0.1%) - Details
  • island-ui-core - jest 28.58% (-0.04%) - Details

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Outside diff range and nitpick comments (6)
apps/service-portal/src/components/AnimatedIcon/Gavel.jsx (1)

4-4: Address the TODO comment about missing tests.

The TODO comment indicates that tests are missing for this component. It's important to add unit tests to ensure the component behaves correctly and to prevent regressions.

Would you like me to generate a basic unit test structure for this component or create a GitHub issue to track this task?

apps/service-portal/src/components/AnimatedIcon/CardWithCheckmark.jsx (5)

Line range hint 1-4: Consider using named imports for React hooks

For consistency and to follow best practices, consider using named imports for React hooks. This makes it clear which parts of React you're using and can help with tree-shaking.

- import { useEffect } from 'react'
+ import React, { useEffect } from 'react'
🧰 Tools
🪛 Biome

[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: Redundant use strict directive.

The entire contents of JavaScript modules are automatically in strict mode, with no statement needed to initiate it.
Safe fix: Remove the redundant use strict directive.

(lint/suspicious/noRedundantUseStrict)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


Line range hint 9-72: Consider moving animation initialization to a separate file

The current implementation includes a large block of minified code directly in the component. This makes the component harder to read and maintain. Consider moving this animation initialization code to a separate file or utility function.

  1. Create a new file, e.g., animationInitializer.js, and move the minified code there.
  2. Export a function that takes the necessary parameters and initializes the animation.
  3. Import and use this function in your component.

This approach will improve code organization and make the component more focused on its primary responsibility.


Line range hint 4-4: Address the TODO comment for adding tests

There's a TODO comment indicating that tests should be added. It's important to implement these tests to ensure the component's functionality and prevent regressions.

Would you like assistance in generating unit tests for this component?

🧰 Tools
🪛 Biome

[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: Redundant use strict directive.

The entire contents of JavaScript modules are automatically in strict mode, with no statement needed to initiate it.
Safe fix: Remove the redundant use strict directive.

(lint/suspicious/noRedundantUseStrict)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


Line range hint 6-76: Consider using named exports instead of default exports

React components are often better suited for named exports rather than default exports. Named exports make it easier to refactor code, provide better autocomplete in IDEs, and prevent naming inconsistencies.

- export default function CardWithCheckmark() {
+ export function CardWithCheckmark() {
  // ... component code ...
}

Remember to update the import statements in files that use this component.


Line range hint 6-76: Add PropTypes for better type checking

Although this component doesn't seem to accept any props currently, it's a good practice to define PropTypes for your components. This helps with documentation and runtime type checking.

Add the following import and PropTypes definition:

import PropTypes from 'prop-types';

// ... component code ...

CardWithCheckmark.propTypes = {
  // Define props here when they are added
};
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 657ac9c and 6be9667.

📒 Files selected for processing (2)
  • apps/service-portal/src/components/AnimatedIcon/CardWithCheckmark.jsx (2 hunks)
  • apps/service-portal/src/components/AnimatedIcon/Gavel.jsx (1 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
apps/service-portal/src/components/AnimatedIcon/CardWithCheckmark.jsx (1)

Pattern apps/**/*: "Confirm that the code adheres to the following:

  • NextJS best practices, including file structure, API routes, and static generation methods.
  • Efficient state management and server-side rendering techniques.
  • Optimal use of TypeScript for component and utility type safety."
apps/service-portal/src/components/AnimatedIcon/Gavel.jsx (1)

Pattern apps/**/*: "Confirm that the code adheres to the following:

  • NextJS best practices, including file structure, API routes, and static generation methods.
  • Efficient state management and server-side rendering techniques.
  • Optimal use of TypeScript for component and utility type safety."
🪛 Biome
apps/service-portal/src/components/AnimatedIcon/CardWithCheckmark.jsx

[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: Redundant use strict directive.

The entire contents of JavaScript modules are automatically in strict mode, with no statement needed to initiate it.
Safe fix: Remove the redundant use strict directive.

(lint/suspicious/noRedundantUseStrict)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 10-10: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

apps/service-portal/src/components/AnimatedIcon/Gavel.jsx

[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: Redundant use strict directive.

The entire contents of JavaScript modules are automatically in strict mode, with no statement needed to initiate it.
Safe fix: Remove the redundant use strict directive.

(lint/suspicious/noRedundantUseStrict)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 9-9: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

🔇 Additional comments (4)
apps/service-portal/src/components/AnimatedIcon/Gavel.jsx (3)

3-4: Import statements look good.

The import statements are concise and follow best practices. They correctly import the necessary dependencies from React and the SVG component.


6-6: Component structure looks good.

The Gavel component is well-structured as a functional component using the useEffect hook. It correctly returns the imported SVG component.

Also applies to: 71-72


1-1: 🛠️ Refactor suggestion

Consider enabling ESLint and disabling only specific rules if necessary.

Disabling ESLint for the entire file is not recommended as it can lead to code quality issues. Instead, consider enabling ESLint and only disabling specific rules that are causing problems. This approach will help maintain code quality while addressing any linting issues specific to this file.

Replace the current ESLint configuration with:

-/* eslint-disable */
+/* eslint-disable no-undef, no-unused-vars */

Make sure to adjust the disabled rules based on your specific needs.

Likely invalid or redundant comment.

apps/service-portal/src/components/AnimatedIcon/CardWithCheckmark.jsx (1)

29-72: Animation configuration changes look good

The modifications to the animation timings and transform values appear to be intentional fine-tuning of the animation behavior. These changes look appropriate and should improve the visual effect of the animated icon.

Copy link

codecov bot commented Oct 8, 2024

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 36.83%. Comparing base (eb721e9) to head (e6ee931).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
libs/island-ui/core/src/lib/IconRC/icons/Gavel.tsx 0.00% 4 Missing ⚠️
...land-ui/core/src/lib/IconRC/icons/GavelOutline.tsx 0.00% 4 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #16317      +/-   ##
==========================================
- Coverage   36.86%   36.83%   -0.04%     
==========================================
  Files        6801     6803       +2     
  Lines      140638   140627      -11     
  Branches    39993    39992       -1     
==========================================
- Hits        51852    51800      -52     
- Misses      88786    88827      +41     
Flag Coverage Δ
air-discount-scheme-web 0.00% <ø> (ø)
api 3.37% <ø> (ø)
application-api-files 57.97% <ø> (ø)
application-core 71.62% <ø> (+0.08%) ⬆️
application-system-api 41.66% <ø> (+<0.01%) ⬆️
application-template-api-modules 24.28% <ø> (-0.01%) ⬇️
application-templates-accident-notification 29.44% <ø> (ø)
application-templates-car-recycling 3.12% <ø> (ø)
application-templates-criminal-record 26.63% <ø> (ø)
application-templates-driving-license 18.40% <ø> (ø)
application-templates-estate 12.32% <ø> (ø)
application-templates-example-payment 25.41% <ø> (ø)
application-templates-financial-aid 14.34% <ø> (ø)
application-templates-general-petition 23.68% <ø> (ø)
application-templates-health-insurance 26.62% <ø> (ø)
application-templates-inheritance-report 6.45% <ø> (ø)
application-templates-marriage-conditions 15.23% <ø> (ø)
application-templates-mortgage-certificate 43.96% <ø> (ø)
application-templates-parental-leave 29.91% <ø> (-0.13%) ⬇️
application-types 6.71% <ø> (ø)
application-ui-components 1.28% <ø> (ø)
application-ui-shell 21.27% <ø> (ø)
auth-react 22.77% <ø> (ø)
clients-charge-fjs-v2 24.11% <ø> (ø)
contentful-apps 5.57% <ø> (ø)
financial-aid-backend 56.39% <ø> (ø)
financial-aid-shared 19.03% <ø> (ø)
island-ui-core 28.39% <0.00%> (-0.06%) ⬇️
judicial-system-web 27.96% <ø> (ø)
portals-admin-regulations-admin 1.88% <ø> (ø)
portals-core 16.15% <ø> (ø)
services-auth-personal-representative 45.41% <ø> (ø)
shared-components 27.65% <ø> (ø)
shared-form-fields 31.59% <ø> (ø)
web 1.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
libs/island-ui/core/src/lib/IconRC/icons/Gavel.tsx 0.00% <0.00%> (ø)
...land-ui/core/src/lib/IconRC/icons/GavelOutline.tsx 0.00% <0.00%> (ø)

... and 13 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb721e9...e6ee931. Read the comment docs.

Copy link
Member

@thorkellmani thorkellmani left a comment

Choose a reason for hiding this comment

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

LGTM

@kodiakhq kodiakhq bot merged commit 8e6c0e3 into main Oct 8, 2024
120 checks passed
@kodiakhq kodiakhq bot deleted the service-portal/law-and-order-icon branch October 8, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge this PR as soon as all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants