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

fix(application-hid): Display rejection reason from client #14947

Merged
merged 7 commits into from
May 28, 2024

Conversation

Halli1414
Copy link
Contributor

@Halli1414 Halli1414 commented May 27, 2024

...

Attach a link to issue if relevant

What

Update the rights-portal client from Sjúkratryggingar Íslands.
Display the rejection reason from the client in the application.

Why

Improve clarity for the applicant

Screenshots / Gifs

Attach Screenshots / Gifs to help reviewers understand the scope of the pull request

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

    • Enhanced Health Insurance Declaration form with dynamic comments based on external data.
    • Added new fields comment and isInsured to Insurance Statement data.
  • Improvements

    • Updated API path structures for various functionalities in Icelandic Health Insurance Rights Portal.
  • Bug Fixes

    • Improved form functionality by incorporating comments dynamically.
  • Refactor

    • Renamed canApply method to status and modified its return value to include the entire response object.

@Halli1414 Halli1414 requested review from a team as code owners May 27, 2024 14:49
@Halli1414 Halli1414 added the deprecated:automerge (Disabled) Merge this PR as soon as all checks pass label May 27, 2024
Copy link
Contributor

coderabbitai bot commented May 27, 2024

Walkthrough

The recent updates to the Health Insurance Declaration module involve renaming and modifying methods in the service class, enhancing form functionality by incorporating dynamic comments, and updating data types to include additional fields. Additionally, a new utility function was added to extract comments from external data, and API paths in the client configuration were restructured.

Changes

File Path Change Summary
libs/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.ts Renamed canApply method to status and modified its return value to include the entire response object. Updated getInsuranceStatementData to spread the status object.
libs/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.ts Added getCommentFromExternalData function calls to retrieve comments from external data for hidden input fields and alert messages.
libs/application/templates/health-insurance-declaration/src/types/index.ts Modified InsuranceStatementData type to include new fields comment and isInsured.
libs/application/templates/health-insurance-declaration/src/utils/data.ts Added a new function getCommentFromExternalData to extract comments from the insurance statement data.
libs/clients/icelandic-health-insurance/rights-portal/src/clientConfig.json Restructured API paths and adjusted the format of the "tags" field for various functionalities.

Sequence Diagram(s) (Beta)

sequenceDiagram
    participant User
    participant Form
    participant Service
    participant ExternalData
    participant API

    User->>Form: Fill out Health Insurance Declaration Form
    Form->>Service: Call status method
    Service->>API: Request insurance status
    API-->>Service: Return insurance status with comment and isInsured
    Service-->>Form: Return status object
    Form->>ExternalData: Call getCommentFromExternalData
    ExternalData-->>Form: Return comment
    Form-->>User: Display form with dynamic comments and alert messages
Loading

Tip

Early Access Features
  • gpt-4o model for chat

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>.
    • 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 generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @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 as 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 full the 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.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

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.

@datadog-island-is
Copy link

datadog-island-is bot commented May 27, 2024

Datadog Report

All test runs bd7f60c 🔗

7 Total Test Services: 0 Failed, 6 Passed
🔻 Test Sessions change in coverage: 3 decreased, 12 no change

Test Services
Service Name Failed Known Flaky New Flaky Passed Skipped Total Time Code Coverage Change Test Service View
api 0 0 0 4 0 3.88s 1 no change Link
api-domains-license-service 0 0 0 0 0 1.26s 1 no change Link
application-system-api 0 0 0 110 2 3m 8.59s 1 no change Link
application-template-api-modules 0 0 0 106 0 2m 11.8s 1 decreased (-0.01%) Link
application-ui-shell 0 0 0 74 0 1m 0.33s 1 no change Link
download-service 0 0 0 1 0 20.33s 1 decreased (-0.04%) Link
license-api 0 0 0 80 0 25.94s 1 decreased (-0.04%) Link

🔻 Code Coverage Decreases vs Default Branch (3)

  • license-api - jest 34.48% (-0.04%) - Details
  • download-service - jest 35.63% (-0.04%) - Details
  • application-template-api-modules - jest 26.15% (-0.01%) - 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: 0

Outside diff range and nitpick comments (1)
libs/clients/icelandic-health-insurance/rights-portal/src/clientConfig.json (1)

Line range hint 248-271: Update descriptions to align with API standards.

Consider using more descriptive and standardized language for API response descriptions to enhance clarity and maintain consistency across the API documentation.

Review Details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits Files that changed from the base of the PR and between e651c8b and cd0b6d5.
Files selected for processing (5)
  • libs/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.ts (2 hunks)
  • libs/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.ts (3 hunks)
  • libs/application/templates/health-insurance-declaration/src/types/index.ts (1 hunks)
  • libs/application/templates/health-insurance-declaration/src/utils/data.ts (1 hunks)
  • libs/clients/icelandic-health-insurance/rights-portal/src/clientConfig.json (62 hunks)
Additional Context Used
Biome (17)
libs/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.ts (5)

132-133: This variable implicitly has the any type.


1-5: All these imports are only used as types.


7-8: All these imports are only used as types.


8-9: Some named imports are only used as types.


9-10: All these imports are only used as types.

libs/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.ts (3)

19-25: Some named imports are only used as types.


39-40: All these imports are only used as types.


41-42: All these imports are only used as types.

libs/application/templates/health-insurance-declaration/src/types/index.ts (2)

1-6: All these imports are only used as types.


6-7: All these imports are only used as types.

libs/application/templates/health-insurance-declaration/src/utils/data.ts (7)

40-40: Change to an optional chain.


90-90: Change to an optional chain.


110-110: Change to an optional chain.


155-155: This else clause can be omitted because previous branches break early.


1-8: All these imports are only used as types.


9-10: All these imports are only used as types.


11-16: All these imports are only used as types.

Path-based Instructions (5)
libs/application/templates/health-insurance-declaration/src/types/index.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/application/templates/health-insurance-declaration/src/utils/data.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/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.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/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.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/clients/icelandic-health-insurance/rights-portal/src/clientConfig.json (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."
Additional comments not posted (6)
libs/application/templates/health-insurance-declaration/src/types/index.ts (1)

72-73: The addition of comment and isInsured fields to InsuranceStatementData aligns well with the PR's objectives to enhance data handling regarding insurance status and rejection reasons.

libs/application/templates/health-insurance-declaration/src/utils/data.ts (1)

82-86: The implementation of getCommentFromExternalData correctly handles potential undefined values using optional chaining and provides a sensible default. This function supports the PR's goal of displaying rejection reasons effectively.

libs/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.ts (1)

34-40: The refactoring of the canApply method to status and its updated functionality to return the entire response object is a significant improvement. It aligns with the PR's objectives by enabling more detailed feedback to be provided to the user.

libs/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.ts (2)

160-165: The addition of the isHealthInsuredComment hidden input field is well-implemented. It uses the getCommentFromExternalData function to fetch and store the rejection reason, which is crucial for conditional rendering based on the insurance status.


184-193: The implementation of the notHealthInsuredAlertMessage field is effective in displaying the rejection reason as a warning message, only when applicable. This enhances user experience by providing relevant feedback directly related to their insurance status.

libs/clients/icelandic-health-insurance/rights-portal/src/clientConfig.json (1)

Line range hint 2419-2477: Ensure schema definitions are comprehensive and accurate.

Ensure that all properties marked as nullable are intentionally so, and that all required fields are correctly annotated. This is crucial for maintaining data integrity and ensuring that the API behaves as expected.

Also applies to: 2500-2546, 2586-2615, 2634-2666, 2689-2716, 4176-4311, 4342-4557, 4600-4634, 4716-4820

Copy link

codecov bot commented May 27, 2024

Codecov Report

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

Project coverage is 37.08%. Comparing base (714e7d2) to head (cd0b6d5).
Report is 2 commits behind head on main.

Current head cd0b6d5 differs from pull request most recent head 594fe00

Please upload reports for the commit 594fe00 to get more accurate results.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #14947      +/-   ##
==========================================
- Coverage   37.13%   37.08%   -0.06%     
==========================================
  Files        6373     6353      -20     
  Lines      129702   129430     -272     
  Branches    36999    36970      -29     
==========================================
- Hits        48161    47994     -167     
+ Misses      81541    81436     -105     
Flag Coverage Δ
api 3.48% <ø> (+0.02%) ⬆️
application-system-api 41.90% <0.00%> (-0.07%) ⬇️
application-template-api-modules 24.31% <0.00%> (+0.01%) ⬆️
application-ui-shell 21.73% <ø> (+<0.01%) ⬆️
clients-license-client 1.84% <ø> (ø)
download-service 44.31% <ø> (-0.18%) ⬇️
license-api 43.18% <ø> (+0.10%) ⬆️

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

Files Coverage Δ
...eclaration/health-insurance-declaration.service.ts 21.42% <0.00%> (ø)

... and 63 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 559d57e...594fe00. Read the comment docs.

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: 0

Review Details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits Files that changed from the base of the PR and between e651c8b and eefd44c.
Files selected for processing (5)
  • libs/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.ts (3 hunks)
  • libs/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.ts (5 hunks)
  • libs/application/templates/health-insurance-declaration/src/types/index.ts (2 hunks)
  • libs/application/templates/health-insurance-declaration/src/utils/data.ts (1 hunks)
  • libs/clients/icelandic-health-insurance/rights-portal/src/clientConfig.json (94 hunks)
Additional Context Used
Biome (17)
libs/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.ts (5)

131-132: This variable implicitly has the any type.


1-5: All these imports are only used as types.


7-8: All these imports are only used as types.


8-9: Some named imports are only used as types.


9-10: All these imports are only used as types.

libs/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.ts (3)

19-25: Some named imports are only used as types.


39-40: All these imports are only used as types.


41-42: All these imports are only used as types.

libs/application/templates/health-insurance-declaration/src/types/index.ts (2)

1-6: All these imports are only used as types.


6-7: All these imports are only used as types.

libs/application/templates/health-insurance-declaration/src/utils/data.ts (7)

40-40: Change to an optional chain.


90-90: Change to an optional chain.


110-110: Change to an optional chain.


155-155: This else clause can be omitted because previous branches break early.


1-8: All these imports are only used as types.


9-10: All these imports are only used as types.


11-16: All these imports are only used as types.

Path-based Instructions (5)
libs/application/templates/health-insurance-declaration/src/types/index.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/application/templates/health-insurance-declaration/src/utils/data.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/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.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/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.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/clients/icelandic-health-insurance/rights-portal/src/clientConfig.json (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."
Additional comments not posted (8)
libs/application/templates/health-insurance-declaration/src/types/index.ts (2)

53-55: The inclusion of HealthInsuranceDeclarationExternalData in HealthInsuranceDeclarationApplication enhances structured data handling. Good integration!


71-72: Adding comment and isInsured to InsuranceStatementData supports the PR's objective to provide more detailed feedback to users. Well done!

libs/application/templates/health-insurance-declaration/src/utils/data.ts (1)

82-86: The function getCommentFromExternalData correctly uses optional chaining to safely access the comment. This is crucial for robustness.

libs/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.ts (2)

34-40: The status method now returns the entire response object, enhancing data handling capabilities. This change aligns well with the PR's objectives.


56-61: The method getInsuranceStatementData now provides a more comprehensive data structure by including status, continents, and countries. This is a significant improvement.

libs/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.ts (2)

160-165: The addition of hidden inputs for isHealthInsured and isHealthInsuredComment is a smart way to handle state without exposing it directly in the UI. This aligns with the PR's goals.


184-193: The dynamic alert message notHealthInsuredAlertMessage effectively uses the isHealthInsuredComment to provide contextual feedback to the user. This is a thoughtful integration.

libs/clients/icelandic-health-insurance/rights-portal/src/clientConfig.json (1)

15-17: The changes to the "tags" fields across various API endpoints are consistent with the intended restructuring to improve clarity and organization. This should facilitate better management and usage of the API.

Also applies to: 64-66, 124-126, 184-186, 234-236, 288-290, 327-329, 376-378, 425-427, 464-466, 503-505, 589-591, 632-634, 694-696, 736-738, 789-791, 851-853, 929-931, 978-980, 1020-1022, 1059-1061, 1098-1100, 1150-1152, 1207-1209, 1264-1266, 1335-1337, 1387-1389, 1426-1428, 1476-1478, 1538-1540, 1551-1553, 1600-1602, 1642-1644, 1684-1686, 1733-1735, 1782-1784, 1832-1834, 1871-1873, 1910-1912, 1949-1951, 2011-2013, 2061-2063, 2103-2105, 2169-2171, 2219-2221, 2281-2283, 2331-2333, 2373-2375, 2422-2424, 2475-2477

Copy link
Member

@obmagnusson obmagnusson left a comment

Choose a reason for hiding this comment

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

LGTM

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

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: 0

Outside diff range and nitpick comments (1)
libs/application/templates/health-insurance-declaration/src/types/index.ts (1)

72-73: Add documentation for new fields comment and isInsured.

It would be beneficial to include comments explaining the purpose and usage of these new fields to maintain code clarity and assist future developers.

Review Details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits Files that changed from the base of the PR and between eefd44c and 594fe00.
Files selected for processing (4)
  • libs/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.ts (2 hunks)
  • libs/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.ts (3 hunks)
  • libs/application/templates/health-insurance-declaration/src/types/index.ts (1 hunks)
  • libs/clients/icelandic-health-insurance/rights-portal/src/clientConfig.json (62 hunks)
Files skipped from review as they are similar to previous changes (1)
  • libs/clients/icelandic-health-insurance/rights-portal/src/clientConfig.json
Additional Context Used
Biome (10)
libs/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.ts (5)

132-133: This variable implicitly has the any type.


1-5: All these imports are only used as types.


7-8: All these imports are only used as types.


8-9: Some named imports are only used as types.


9-10: All these imports are only used as types.

libs/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.ts (3)

19-25: Some named imports are only used as types.


39-40: All these imports are only used as types.


41-42: All these imports are only used as types.

libs/application/templates/health-insurance-declaration/src/types/index.ts (2)

1-6: All these imports are only used as types.


6-7: All these imports are only used as types.

Path-based Instructions (3)
libs/application/templates/health-insurance-declaration/src/types/index.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/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.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/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.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."
Additional comments not posted (4)
libs/application/template-api-modules/src/lib/modules/templates/health-insurance-declaration/health-insurance-declaration.service.ts (2)

34-40: The changes to the status method align well with the PR's objectives to provide detailed feedback.


56-61: Enhanced getInsuranceStatementData method to include more comprehensive data.

libs/application/templates/health-insurance-declaration/src/forms/HealthInsuranceDeclarationForm.ts (2)

160-165: Proper implementation of hidden input to store rejection reasons.


184-193: Effective use of alert messages to enhance user information transparency.

@kodiakhq kodiakhq bot merged commit 059edf1 into main May 28, 2024
38 checks passed
@kodiakhq kodiakhq bot deleted the fix/application-hid-updated-error-message branch May 28, 2024 15:02
Halli1414 added a commit that referenced this pull request Jun 3, 2024
* Update rights-portal client

* Add additional information to application

* Rename function -> status

* clean up

* chore: nx format:write update dirty files

---------

Co-authored-by: andes-it <builders@andes.is>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
kodiakhq bot added a commit that referenced this pull request Jun 4, 2024
* fix(application-hid): Display rejection reason from client (#14947)

* Update rights-portal client

* Add additional information to application

* Rename function -> status

* clean up

* chore: nx format:write update dirty files

---------

Co-authored-by: andes-it <builders@andes.is>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* fix(application-hid): Conditional Section and other minor fixes (#15044)

* Remove titles of empty checkbox fields

* Validate number of applicants more than 0

* Remove titles of empty checkbox fields

* Validate number of applicants more than 0

* Error message on both fields

* Stop applicants with no declaration available

* Formatting

* clean up

* More readable validation

* typo fixes and file rename

* Typo fix,

* File rename

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

---------

Co-authored-by: andes-it <builders@andes.is>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecated:automerge (Disabled) Merge this PR as soon as all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants