Skip to content

Link to CV, Fetch Emp and Admin Invite: Intranet and Profile Builder#37

Open
irfanmohammad01 wants to merge 15 commits into
mainfrom
feature/admin-invite-empid-resolution
Open

Link to CV, Fetch Emp and Admin Invite: Intranet and Profile Builder#37
irfanmohammad01 wants to merge 15 commits into
mainfrom
feature/admin-invite-empid-resolution

Conversation

@irfanmohammad01

@irfanmohammad01 irfanmohammad01 commented Jun 10, 2026

Copy link
Copy Markdown

Key Changes

  1. API Layer Refactoring (axiosBaseQuery & profileApi)

    • Standardized axiosBaseQuery to return plain objects ({ data } / { error }) .
    • used ...rest so that the global Axios response interceptor can suppress some messages.
    • used _suppressToastForStatuses: [409] to silence global interceptor error toast popups.
  2. Component Migration (IntranetSyncModal)

    • Replaced the raw Axios call with useLazyGetIntranetEmployeeQuery.
  3. Input Sanitization

    • Added .trim() validation to the employee_id to remove trailing spaces.
  4. add employee ID column with search functionality to profile list

  5. implement intranet synchronization flow to pre-fill profile data via employee ID lookup

  6. restrict employee ID input to admin users only

  7. handle multiple toast messages issue

  8. when fetching show only one meaningful error message and supress the toast

@irfanmohammad01 irfanmohammad01 changed the title Link to CV: Intranet and Profile Builder Link to CV, Fetch Emp and Admin Invite: Intranet and Profile Builder Jun 11, 2026
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.

1 participant