Skip to content

Conversation

@devikasuresh20
Copy link
Contributor

@devikasuresh20 devikasuresh20 commented Oct 30, 2024

πŸ“‹ Description

JIRA ID: AMM-993

Implemeted in table search functionality in user role agent Id mapping screen.


βœ… Type of Change

  • 🐞 Bug fix (non-breaking change which resolves an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • πŸ”₯ Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • πŸ›  Refactor (change that is neither a fix nor a new feature)
  • βš™οΈ Config change (configuration file or build script updates)
  • πŸ“š Documentation (updates to docs or readme)
  • πŸ§ͺ Tests (adding new or updating existing tests)
  • 🎨 UI/UX (changes that affect the user interface)
  • πŸš€ Performance (improves performance)
  • 🧹 Chore (miscellaneous changes that don't modify src or test files)

ℹ️ Additional Information

Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.

Summary by CodeRabbit

  • New Features

    • Improved filter input display with updated alignment.
    • Enhanced serial number display in the results table for better accuracy.
    • Added functionality to reset the filter input when initiating a new search.
  • Bug Fixes

    • Reset filter input when initiating a new search to ensure clarity.
  • Refactor

    • Streamlined data handling for filtered results, simplifying the logic in the component.

@coderabbitai
Copy link

coderabbitai bot commented Oct 30, 2024

Walkthrough

The changes involve updates to the HTML template and TypeScript class of the UserRoleAgentIDMappingComponent. The HTML modifications include adjusting the alignment style for a filter input and refining the logic for displaying serial numbers in a table based on filtered results. In the TypeScript file, a new @ViewChild property is introduced to manage the filter input, and methods are updated to clear the filter input on search and streamline data assignment for filtered results.

Changes

File Change Summary
src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.html Adjusted alignment style for filter input and modified serial number display logic to reflect filtered results.
src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.ts Added ElementRef import and filterTerm property; updated searchEmployee and getEmployeesSuccessHandeler methods for improved data handling and filter management.

Possibly related PRs

  • AMM-1020 & AMM-1025Β #37: The change in the calculation of the serial number displayed in the table from {{ i + 1 }} to {{ filteredstoresList.data.indexOf(item) + 1 }} is similar to the main PR's adjustment of the serial number calculation based on the filtered results.

Suggested reviewers

  • helenKaryamsetty

🐰 In the meadow, changes bloom,
A filter here, a number's room.
With every search, the data flows,
A clearer path, as knowledge grows.
Hopping forth, we celebrate,
The code we craft, it’s truly great! 🌼


πŸ“œ Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

πŸ“₯ Commits

Files that changed from the base of the PR and between 8f87a37 and 082d4a3.

πŸ“’ Files selected for processing (1)
  • src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.ts (5 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.ts

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.

CodeRabbit Configuration 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.

Copy link

@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 (4)
src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.html (2)

92-95: Move inline style to CSS file.

The inline style text-align: end should be moved to the component's CSS file for better maintainability.

-<div
-  style="text-align: end"
-  *ngIf="searchResultArray.length !== 0 && showTableFlag"
->
+<div
+  class="filter-container"
+  *ngIf="searchResultArray.length !== 0 && showTableFlag"
+>

Add to the component's CSS file:

.filter-container {
  text-align: end;
}

96-104: Enhance filter input accessibility and user experience.

The filter input should have:

  1. ARIA labels for screen readers
  2. Clear indication of which fields are being filtered
  3. A clear button to reset the filter
 <mat-form-field id="filterbox">
   <input
     matInput
     placeholder="In-Table Search"
+    aria-label="Filter table"
+    [attr.aria-description]="'Filter by employee name, login ID, or agent ID'"
     #filterTerm
     (keyup)="filterComponentList(filterTerm.value)"
   />
   <mat-icon matSuffix>search</mat-icon>
+  <button
+    mat-icon-button
+    matSuffix
+    *ngIf="filterTerm.value"
+    aria-label="Clear filter"
+    (click)="filterTerm.value=''; filterComponentList('')"
+  >
+    <mat-icon>close</mat-icon>
+  </button>
 </mat-form-field>
src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.ts (2)

Line range hint 251-277: Optimize filter performance and functionality.

The current implementation has several areas for improvement:

  1. Multiple iterations over the array
  2. Redundant paginator assignments
  3. Case-sensitive string comparisons

Consider these optimizations:

   filterComponentList(searchTerm?: string) {
     if (!searchTerm) {
       this.filteredsearchResultArray.data = this.searchResultArray;
-      this.filteredsearchResultArray.paginator = this.paginator;
     } else {
-      this.filteredsearchResultArray.data = [];
-      this.filteredsearchResultArray.paginator = this.paginator;
-      this.searchResultArray.forEach((item: any) => {
-        for (const key in item) {
-          if (
-            key === 'firstName' ||
-            key === 'middleName' ||
-            key === 'lastName' ||
-            key === 'userName' ||
-            key === 'agentID'
-          ) {
-            const value: string = '' + item[key];
-            if (value.toLowerCase().indexOf(searchTerm.toLowerCase()) >= 0) {
-              this.filteredsearchResultArray.data.push(item);
-              this.filteredsearchResultArray.paginator = this.paginator;
-              break;
-            }
-          }
-        }
-      });
+      const searchFields = ['firstName', 'middleName', 'lastName', 'userName', 'agentID'];
+      const term = searchTerm.toLowerCase();
+      this.filteredsearchResultArray.data = this.searchResultArray.filter(item =>
+        searchFields.some(field =>
+          String(item[field] || '').toLowerCase().includes(term)
+        )
+      );
     }
+    this.filteredsearchResultArray.paginator = this.paginator;
   }

This optimization:

  1. Uses filter and some for better performance
  2. Moves paginator assignment outside the loop
  3. Handles null/undefined values safely
  4. Performs case-insensitive comparison once

Line range hint 1-400: Consider implementing TypeScript interfaces and error handling.

The component could benefit from several architectural improvements:

  1. Define interfaces for the data structures instead of using 'any':

    • Employee
    • SearchRequest
    • SearchResponse
    • AgentMapping
  2. Implement consistent error handling:

    • Currently, errors are only logged to console
    • Consider showing user-friendly error messages
    • Add error recovery mechanisms
  3. Add input validation:

    • Validate search parameters before API calls
    • Add proper type checking

Would you like me to help create these interfaces and implement error handling patterns?

πŸ“œ Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

πŸ“₯ Commits

Files that changed from the base of the PR and between 44497cc and 8f87a37.

πŸ“’ Files selected for processing (2)
  • src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.html (2 hunks)
  • src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.ts (5 hunks)
πŸ”‡ Additional comments (2)
src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.html (1)

92-104: Verify filter functionality across different scenarios.

The table search implementation looks good overall. Please ensure to test:

  1. Filtering with special characters
  2. Case sensitivity
  3. Performance with large datasets
  4. Filter behavior with pagination

Also applies to: 117-117

βœ… Verification successful

Let me check the implementation of filterComponentList to verify the filtering behavior.


Let me check the complete implementation to verify all the filtering conditions.


Filter implementation is robust and follows best practices

The implementation addresses all the key concerns:

  • Case-insensitive search using toLowerCase()
  • Handles special characters through string conversion ('' + item[key])
  • Works with pagination (this.filteredsearchResultArray.paginator)
  • Efficiently filters specific fields only (firstName, middleName, lastName, userName, agentID)
  • Handles empty/undefined search terms gracefully
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check for existing filter implementations in the codebase for consistency
rg -l "filterComponentList|mat-form-field.*filterTerm" --type ts --type html

Length of output: 11389


Script:

#!/bin/bash
# Check the implementation of filterComponentList in the component
rg -A 10 "filterComponentList" src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.ts

Length of output: 619


Script:

#!/bin/bash
# Get the complete filterComponentList implementation
rg -A 30 "filterComponentList" src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.ts

Length of output: 1165

src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.ts (1)

22-28: LGTM! Clean implementation of filter input reference.

The addition of ElementRef import and ViewChild decorator follows Angular best practices for accessing DOM elements.

Also applies to: 78-78

<th mat-header-cell *matHeaderCellDef>SNo.</th>
<td mat-cell *matCellDef="let element; let i = index">
{{ i + 1 }}
{{ filteredsearchResultArray.data.indexOf(element) + 1 }}
Copy link

@coderabbitai coderabbitai bot Oct 30, 2024

Choose a reason for hiding this comment

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

πŸ› οΈ Refactor suggestion

Consider optimizing serial number calculation.

The current implementation has two potential issues:

  1. Using indexOf in the template can impact performance with large datasets as it's called for each row.
  2. Changing serial numbers during filtering might confuse users trying to reference specific rows.

Consider either:

  1. Maintaining original indices for reference
  2. Pre-calculating indices during filtering
-{{ filteredsearchResultArray.data.indexOf(element) + 1 }}
+{{ element.serialNumber }}

Update the filterComponentList method in the component:

filterComponentList(filterValue: string) {
  // ... existing filter logic ...
  this.filteredsearchResultArray.data = filtered.map((item, index) => ({
    ...item,
    serialNumber: index + 1
  }));
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In this case, the dataset size does not reach a threshold that would significantly impact performance, making the indexOf approach acceptable for our current needs.

Copy link

Choose a reason for hiding this comment

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

@devikasuresh20, understood. If the dataset size is small, using indexOf in the template is acceptable and should not significantly impact performance. Thank you for the clarification.

(q‒́︿‒̀q)


✏️ Learnings added
Learnt from: devikasuresh20
PR: PSMRI/ADMIN-UI#42
File: src/app/app-provider-admin/provider-admin/configurations/user-role-agent-id-mapping/user-role-agent-id-mapping.component.html:117-117
Timestamp: 2024-10-30T11:15:39.479Z
Learning: For the 'user-role-agent-id-mapping.component.html' in the user role agent ID mapping screen, the dataset size is small enough that performance impact due to using 'indexOf' in the template is acceptable.

Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.

Comment on lines 183 to 185
if (this.filterTerm) {
this.filterTerm.nativeElement.value = '';
}
Copy link

Choose a reason for hiding this comment

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

πŸ› οΈ Refactor suggestion

Consider extracting filter reset logic.

While clearing the filter input is necessary, the searchEmployee method is handling multiple responsibilities. Consider extracting the filter reset logic into a separate method for better maintainability.

+  private resetFilter() {
+    if (this.filterTerm) {
+      this.filterTerm.nativeElement.value = '';
+    }
+  }

   searchEmployee(state: any, service: any, role: any, empname: any, empid: any) {
-    if (this.filterTerm) {
-      this.filterTerm.nativeElement.value = '';
-    }
+    this.resetFilter();
πŸ“ Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
if (this.filterTerm) {
this.filterTerm.nativeElement.value = '';
}
private resetFilter() {
if (this.filterTerm) {
this.filterTerm.nativeElement.value = '';
}
}
searchEmployee(state: any, service: any, role: any, empname: any, empid: any) {
this.resetFilter();

@sonarqubecloud
Copy link

@helenKaryamsetty helenKaryamsetty merged commit 28f62c3 into PSMRI:develop Oct 30, 2024
@coderabbitai coderabbitai bot mentioned this pull request Nov 25, 2024
10 tasks
@coderabbitai coderabbitai bot mentioned this pull request Dec 12, 2024
10 tasks
helenKaryamsetty added a commit to helenKaryamsetty/ADMIN-UI-New that referenced this pull request Jan 9, 2025
* ANM - 942 userId passing wrong (PSMRI#26)

* Merged conflicts resolved for admin develop branch (PSMRI#22)

* customization changes

* modified change

* CSS changes

* some modified changes

* CSS changes

* custom changes

* validations for project msaster name and field title addition

* small change

* resolved the bug fixes for customization admin

* logic implementation on project-serviceline-mapping

* change in logic for datasource for project-serviceline-mapping

* added validation for fieldName

* Bug fixes for admin customization

* Small change in project serviceline

* Change in update request object

* CSS CHNAGES

* project serviceline mapping changes

* Error issue

* Error issue

* CSS Changes

* css changes

* CSS chnages

* CSS chnages

* CSS chnages

* CSS chnages

* CSS chnages

* Update environment.ci.ts.template

* CSS chnages

* CSS changes

* CSS changes

* Bug fix for update in emplopyee master

* change in index file for console.warn

---------

Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>

* ANM- 942: Location serviceline userid passing incorrect

---------

Co-authored-by: Parth Kothari <109517053+KpParth@users.noreply.github.com>
Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>

* URL changes using jboss context-root

* Minor change in angular.json

* Minor changes

* abdm facility addition changes in job location mapping

* Service line filteration changes in institution screens

* Service line filteration changes in institution screens (PSMRI#31)

* Changes in Item Master screen

* AMM-1001 Item Master Screen Changes (PSMRI#35)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* AMM-1020 & AMM-1025 (PSMRI#37)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* AMM-1022 procedure component mapping changes (PSMRI#38)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* Project configuration changes

* AMM-1036 Project configuration changes (PSMRI#39)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* Project configuration changes

* Add ESLint and NPM Audit workflow

* User role agent Id mapping changes

* Minor changes

* AMM-993 User role agent Id mapping changes (PSMRI#42)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* Project configuration changes

* User role agent Id mapping changes

* Minor changes

* Update environment.ci.ts.template

* Update environment.ci.ts.template

* modified environment.ci.ts.template

* In Table search changes

* Minor changes

* Remove extra / from ci environment

---------

Co-authored-by: Parth Kothari <109517053+KpParth@users.noreply.github.com>
Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>
Co-authored-by: devikasuresh20 <devika.s36@wipro.com>
Co-authored-by: devikasuresh20 <57424483+devikasuresh20@users.noreply.github.com>
Co-authored-by: Soham Gupta <soham.gupta003@gmail.com>
Co-authored-by: ravishanigarapu <133210792+ravishanigarapu@users.noreply.github.com>
helenKaryamsetty added a commit to helenKaryamsetty/ADMIN-UI-New that referenced this pull request Jan 9, 2025
* ANM - 942 userId passing wrong (PSMRI#26)

* Merged conflicts resolved for admin develop branch (PSMRI#22)

* customization changes

* modified change

* CSS changes

* some modified changes

* CSS changes

* custom changes

* validations for project msaster name and field title addition

* small change

* resolved the bug fixes for customization admin

* logic implementation on project-serviceline-mapping

* change in logic for datasource for project-serviceline-mapping

* added validation for fieldName

* Bug fixes for admin customization

* Small change in project serviceline

* Change in update request object

* CSS CHNAGES

* project serviceline mapping changes

* Error issue

* Error issue

* CSS Changes

* css changes

* CSS chnages

* CSS chnages

* CSS chnages

* CSS chnages

* CSS chnages

* Update environment.ci.ts.template

* CSS chnages

* CSS changes

* CSS changes

* Bug fix for update in emplopyee master

* change in index file for console.warn

---------

Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>

* ANM- 942: Location serviceline userid passing incorrect

---------

Co-authored-by: Parth Kothari <109517053+KpParth@users.noreply.github.com>
Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>

* URL changes using jboss context-root

* Minor change in angular.json

* Minor changes

* abdm facility addition changes in job location mapping

* Service line filteration changes in institution screens

* Service line filteration changes in institution screens (PSMRI#31)

* Changes in Item Master screen

* AMM-1001 Item Master Screen Changes (PSMRI#35)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* AMM-1020 & AMM-1025 (PSMRI#37)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* AMM-1022 procedure component mapping changes (PSMRI#38)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* Project configuration changes

* AMM-1036 Project configuration changes (PSMRI#39)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* Project configuration changes

* Add ESLint and NPM Audit workflow

* User role agent Id mapping changes

* Minor changes

* AMM-993 User role agent Id mapping changes (PSMRI#42)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* Project configuration changes

* User role agent Id mapping changes

* Minor changes

* Update environment.ci.ts.template

* Update environment.ci.ts.template

* modified environment.ci.ts.template

* In Table search changes

* Minor changes

* Remove extra / from ci environment

---------

Co-authored-by: Parth Kothari <109517053+KpParth@users.noreply.github.com>
Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>
Co-authored-by: devikasuresh20 <devika.s36@wipro.com>
Co-authored-by: devikasuresh20 <57424483+devikasuresh20@users.noreply.github.com>
Co-authored-by: Soham Gupta <soham.gupta003@gmail.com>
Co-authored-by: ravishanigarapu <133210792+ravishanigarapu@users.noreply.github.com>
helenKaryamsetty added a commit that referenced this pull request Mar 20, 2025
* Abdm facility (#1)

* ANM - 942 userId passing wrong (#26)

* Merged conflicts resolved for admin develop branch (#22)

* customization changes

* modified change

* CSS changes

* some modified changes

* CSS changes

* custom changes

* validations for project msaster name and field title addition

* small change

* resolved the bug fixes for customization admin

* logic implementation on project-serviceline-mapping

* change in logic for datasource for project-serviceline-mapping

* added validation for fieldName

* Bug fixes for admin customization

* Small change in project serviceline

* Change in update request object

* CSS CHNAGES

* project serviceline mapping changes

* Error issue

* Error issue

* CSS Changes

* css changes

* CSS chnages

* CSS chnages

* CSS chnages

* CSS chnages

* CSS chnages

* Update environment.ci.ts.template

* CSS chnages

* CSS changes

* CSS changes

* Bug fix for update in emplopyee master

* change in index file for console.warn

---------

Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>

* ANM- 942: Location serviceline userid passing incorrect

---------

Co-authored-by: Parth Kothari <109517053+KpParth@users.noreply.github.com>
Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>

* URL changes using jboss context-root

* Minor change in angular.json

* Minor changes

* abdm facility addition changes in job location mapping

* Service line filteration changes in institution screens

* Service line filteration changes in institution screens (#31)

* Changes in Item Master screen

* AMM-1001 Item Master Screen Changes (#35)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* AMM-1020 & AMM-1025 (#37)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* AMM-1022 procedure component mapping changes (#38)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* Project configuration changes

* AMM-1036 Project configuration changes (#39)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* Project configuration changes

* Add ESLint and NPM Audit workflow

* User role agent Id mapping changes

* Minor changes

* AMM-993 User role agent Id mapping changes (#42)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* Project configuration changes

* User role agent Id mapping changes

* Minor changes

* Update environment.ci.ts.template

* Update environment.ci.ts.template

* modified environment.ci.ts.template

* In Table search changes

* Minor changes

* Remove extra / from ci environment

---------

Co-authored-by: Parth Kothari <109517053+KpParth@users.noreply.github.com>
Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>
Co-authored-by: devikasuresh20 <devika.s36@wipro.com>
Co-authored-by: devikasuresh20 <57424483+devikasuresh20@users.noreply.github.com>
Co-authored-by: Soham Gupta <soham.gupta003@gmail.com>
Co-authored-by: ravishanigarapu <133210792+ravishanigarapu@users.noreply.github.com>

* Abdm facility (#2)

* ANM - 942 userId passing wrong (#26)

* Merged conflicts resolved for admin develop branch (#22)

* customization changes

* modified change

* CSS changes

* some modified changes

* CSS changes

* custom changes

* validations for project msaster name and field title addition

* small change

* resolved the bug fixes for customization admin

* logic implementation on project-serviceline-mapping

* change in logic for datasource for project-serviceline-mapping

* added validation for fieldName

* Bug fixes for admin customization

* Small change in project serviceline

* Change in update request object

* CSS CHNAGES

* project serviceline mapping changes

* Error issue

* Error issue

* CSS Changes

* css changes

* CSS chnages

* CSS chnages

* CSS chnages

* CSS chnages

* CSS chnages

* Update environment.ci.ts.template

* CSS chnages

* CSS changes

* CSS changes

* Bug fix for update in emplopyee master

* change in index file for console.warn

---------

Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>

* ANM- 942: Location serviceline userid passing incorrect

---------

Co-authored-by: Parth Kothari <109517053+KpParth@users.noreply.github.com>
Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>

* URL changes using jboss context-root

* Minor change in angular.json

* Minor changes

* abdm facility addition changes in job location mapping

* Service line filteration changes in institution screens

* Service line filteration changes in institution screens (#31)

* Changes in Item Master screen

* AMM-1001 Item Master Screen Changes (#35)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* AMM-1020 & AMM-1025 (#37)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* AMM-1022 procedure component mapping changes (#38)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* Project configuration changes

* AMM-1036 Project configuration changes (#39)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* Project configuration changes

* Add ESLint and NPM Audit workflow

* User role agent Id mapping changes

* Minor changes

* AMM-993 User role agent Id mapping changes (#42)

* Service line filteration changes in institution screens

* Changes in Item Master screen

* Main store-sub store and project related changes

* procedure component mapping changes

* Project configuration changes

* User role agent Id mapping changes

* Minor changes

* Update environment.ci.ts.template

* Update environment.ci.ts.template

* modified environment.ci.ts.template

* In Table search changes

* Minor changes

* Remove extra / from ci environment

---------

Co-authored-by: Parth Kothari <109517053+KpParth@users.noreply.github.com>
Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>
Co-authored-by: devikasuresh20 <devika.s36@wipro.com>
Co-authored-by: devikasuresh20 <57424483+devikasuresh20@users.noreply.github.com>
Co-authored-by: Soham Gupta <soham.gupta003@gmail.com>
Co-authored-by: ravishanigarapu <133210792+ravishanigarapu@users.noreply.github.com>

---------

Co-authored-by: Parth Kothari <109517053+KpParth@users.noreply.github.com>
Co-authored-by: Karyamsetty Helen Grace <KA40094929@wipro.com>
Co-authored-by: nkokkiligadda87 <nkokkiligadda87@gmail.com>
Co-authored-by: Pratibha <bhallamudi.pratibha@wipro.com>
Co-authored-by: Parth Kothari <pa20251871@wipro.com>
Co-authored-by: Ancy Riju <AN40085822@wipro.com>
Co-authored-by: Shakyan Kushwaha <32445019+anandamideShakyan@users.noreply.github.com>
Co-authored-by: Mithun James <drtechie@users.noreply.github.com>
Co-authored-by: devikasuresh20 <devika.s36@wipro.com>
Co-authored-by: devikasuresh20 <57424483+devikasuresh20@users.noreply.github.com>
Co-authored-by: Soham Gupta <soham.gupta003@gmail.com>
Co-authored-by: ravishanigarapu <133210792+ravishanigarapu@users.noreply.github.com>
@coderabbitai coderabbitai bot mentioned this pull request Mar 21, 2025
10 tasks
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.

2 participants