Skip to content

Conversation

@priyanshu6238
Copy link
Collaborator

@priyanshu6238 priyanshu6238 commented Nov 26, 2025

Summary by CodeRabbit

  • New Features

    • Added a View action to open trigger details for quick access.
  • UI Changes

    • Header help now displays only when provided (removed forced hide/show defaults).
    • Save/Cancel buttons gain explicit visibility controls; Cancel may appear as "Go Back".
    • Editing a trigger opens in view mode and disables changing the trigger type.
  • Tests

    • Updated and renamed tests, plus improved navigation mocking for trigger view/navigation checks.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Nov 26, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The PR introduces a View action and navigation handler to TriggerList, updates tests to mock react-router and assert navigation, and adds restrictedAction configuration to List. FormLayout gains new props (isView, errorButtonState, buttonState.show) and removes skipCancel; several containers now pass show/header/errorButtonState and adjust button visibility or headerHelp usage. Trigger and TriggerType now support view/edit behavior and disabled radios. Multiple tests and i18n added "Go Back" and updated many UI text expectations.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

  • Pay extra attention to FormLayout public API changes (props added/removed) and usages across components.
  • Verify Trigger/TriggerType interaction when isView/disabled is set (form behavior and accessibility).
  • Review List restrictedAction/additionalAction changes and TriggerList navigation/test mocks.
  • Check tests updated for text/case changes and react-router mocking correctness.

Possibly related PRs

Suggested labels

status: ready for review

Suggested reviewers

  • shijithkjayan
  • akanshaaa19

Poem

🐇 I hopped through props and knobs all day,

Added View, made buttons play,
Headers kinder, tests now roam,
Navigate, go back, find home—🥕

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title refers to a real part of the changes (refactoring the button/action on the triggers page), but does not capture the main scope of the changeset, which includes broader refactoring across multiple components (Heading, FormLayout, various container files) and form handling patterns.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@priyanshu6238 priyanshu6238 changed the title Refactor/trigger page Refactor :Button option on triggers page Nov 26, 2025
@priyanshu6238 priyanshu6238 linked an issue Nov 26, 2025 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Nov 26, 2025

@github-actions github-actions bot temporarily deployed to pull request November 26, 2025 05:43 Inactive
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

🧹 Nitpick comments (4)
src/containers/Trigger/TriggerList/TriggerList.tsx (2)

89-91: Misleading function name for View action.

The function handleEdit is used for the View action, but its name suggests it performs an edit operation. This creates confusion about the intent.

Apply this diff to rename the function for clarity:

-  const handleEdit = (id: any) => {
+  const handleView = (id: any) => {
     navigate(`/trigger/${id}/edit`);
   };

Then update the usage on Line 110:

       parameter: 'id',
-      dialog: handleEdit,
+      dialog: handleView,
     },

174-176: Document the purpose of restrictedAction.

The restrictedAction prop always returns { delete: false }, which disables the List component's built-in delete functionality. While this makes sense since you're implementing custom delete logic with a confirmation dialog, it would benefit from a comment explaining this decision.

Add a brief comment:

+        // Disable List's built-in delete; we handle deletion with custom dialog
         restrictedAction={(item: any) => ({
           delete: false,
         })}
src/containers/Trigger/TriggerList/TriggerList.test.tsx (2)

30-40: Test lacks assertion of expected behavior after clicking.

The test clicks the action button but doesn't verify what happens afterward. It should assert that the expected navigation or dialog appears, making it a more meaningful test.

Consider adding assertions to verify the expected behavior:

 test('click on Make a copy', async () => {
-  const { getByText, findAllByTestId } = render(wrapper);
+  const { getByText, findAllByTestId, findByText } = render(wrapper);
 
   const copyIcons = await findAllByTestId('copy-icon');
   expect(copyIcons.length).toBeGreaterThan(0);
   expect(getByText('Triggers')).toBeInTheDocument();
 
   const actionButtons = await findAllByTestId('additionalButton');
   expect(actionButtons.length).toBeGreaterThan(0);
   fireEvent.click(actionButtons[0]);
+  
+  // Verify expected behavior after click
+  // For example, if it opens a menu:
+  // await waitFor(() => {
+  //   expect(findByText('Copy')).toBeInTheDocument();
+  // });
 });

30-40: Consider adding tests for the new Delete functionality.

The PR introduces delete confirmation dialog functionality, but there are no tests verifying this critical workflow. Tests should cover:

  • Opening the delete dialog
  • Confirming deletion
  • Canceling deletion

Add a new test case:

test('delete trigger with confirmation', async () => {
  const { getByText, findAllByTestId, findByText } = render(wrapper);
  
  await waitFor(() => {
    expect(getByText('Triggers')).toBeInTheDocument();
  });
  
  const actionButtons = await findAllByTestId('additionalButton');
  fireEvent.click(actionButtons[0]);
  
  // Click Delete action from the menu
  const deleteButton = await findByText('Delete');
  fireEvent.click(deleteButton);
  
  // Verify delete confirmation dialog appears
  await waitFor(() => {
    expect(getByText('Do you want to delete this trigger?')).toBeInTheDocument();
  });
  
  // Optionally test cancel and confirm paths
});

Note: You'll need to add a mock for the DELETE_TRIGGER mutation to the mocks array.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fbfbe60 and 2f2904f.

📒 Files selected for processing (2)
  • src/containers/Trigger/TriggerList/TriggerList.test.tsx (1 hunks)
  • src/containers/Trigger/TriggerList/TriggerList.tsx (4 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{ts,tsx}

⚙️ CodeRabbit configuration file

Review the Typescript and React code for conformity with best practices in React, Recoil, Graphql, and Typescript. Highlight any deviations.

Files:

  • src/containers/Trigger/TriggerList/TriggerList.test.tsx
  • src/containers/Trigger/TriggerList/TriggerList.tsx
🧬 Code graph analysis (1)
src/containers/Trigger/TriggerList/TriggerList.tsx (3)
src/components/UI/DialogBox/DialogBox.tsx (1)
  • DialogBox (32-149)
src/containers/List/List.tsx (1)
  • List (168-836)
src/common/HelpData.tsx (1)
  • triggerInfo (19-24)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: Codacy Static Code Analysis
  • GitHub Check: glific (1.18.3-otp-27, 27.3.3)
  • GitHub Check: CI
  • GitHub Check: build

@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (bug_bash_1125@75d9b38). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff                @@
##             bug_bash_1125    #3643   +/-   ##
================================================
  Coverage                 ?   82.56%           
================================================
  Files                    ?      348           
  Lines                    ?    11721           
  Branches                 ?     2474           
================================================
  Hits                     ?     9678           
  Misses                   ?     1297           
  Partials                 ?      746           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions bot temporarily deployed to pull request November 26, 2025 05:52 Inactive
@priyanshu6238 priyanshu6238 changed the base branch from master to bug_bash_1125 November 26, 2025 06:48
@github-actions github-actions bot temporarily deployed to pull request November 26, 2025 06:49 Inactive
@cypress
Copy link

cypress bot commented Nov 26, 2025

Glific    Run #6813

Run Properties:  status check passed Passed #6813  •  git commit 878b97a821 ℹ️: Merge ef8f9fef54d7667f4d7c83ca6b720d4e418a8d76 into 75d9b38334e57e498b1de428ec34...
Project Glific
Branch Review refactor/trigger_page
Run status status check passed Passed #6813
Run duration 28m 32s
Commit git commit 878b97a821 ℹ️: Merge ef8f9fef54d7667f4d7c83ca6b720d4e418a8d76 into 75d9b38334e57e498b1de428ec34...
Committer Priyanshu singh
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 182
View all changes introduced in this branch ↗︎

Copy link
Member

@akanshaaa19 akanshaaa19 left a comment

Choose a reason for hiding this comment

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

@priyanshu6238 can you take this as the base branch and then make changes accordingly? because otherwise it will be inconsistent. then you just have to add a view button and pass editSupport as false

@priyanshu6238 priyanshu6238 changed the base branch from bug_bash_1125 to enhancement/list-component November 26, 2025 08:07
Copy link
Member

@akanshaaa19 akanshaaa19 left a comment

Choose a reason for hiding this comment

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

check the unit test cases too

Copy link
Member

@akanshaaa19 akanshaaa19 left a comment

Choose a reason for hiding this comment

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

Image

on create also it shows edit

@priyanshu6238
Copy link
Collaborator Author

Image on create also it shows edit

@akanshaaa19 Done

@priyanshu6238
Copy link
Collaborator Author

@CodeRabbit review pls

@coderabbitai
Copy link

coderabbitai bot commented Dec 1, 2025

@priyanshu6238: I'll review the changes in this pull request.

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

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

🧹 Nitpick comments (3)
src/containers/HSM/HSM.tsx (1)

892-892: Simplify boolean expression.

The ternary isEditing ? true : false can be simplified to just isEditing since it already returns a boolean value.

Apply this diff:

-        isView={isEditing ? true : false}
+        isView={isEditing}
src/containers/Trigger/Trigger.tsx (1)

453-453: Simplify boolean expression.

The ternary isEditing ? true : false can be simplified to just isEditing since it already returns a boolean value.

Apply this diff:

-      isView={isEditing ? true : false}
+      isView={isEditing}
src/containers/Form/FormLayout.tsx (1)

667-667: Consider making headerHelp conditional on view mode.

Currently, headerHelp is initialized with a default value on line 667, which means it will be rendered in both edit and view modes. Based on the PR objectives (view mode refactoring) and the Heading.tsx changes (removed showHeaderHelp prop), it appears headerHelp should only be set when in view mode.

Consider this refactoring:

-  let headerHelp: string | undefined = `Please enter below details.`;
+  let headerHelp: string | undefined;
 
   // set title if there is a title
   if (title) {
     formTitle = title;
   } else if (type === 'copy') {
     formTitle = `Copy ${listItemName}`; // case when copying an item
   } else if (itemId) {
     formTitle = isView ? `${listItemName}` : `Edit ${listItemName}`; // case when editing a item
   } else {
     formTitle = `Create a new ${listItemName}`; // case when adding a new item
   }
   if (isView) {
     headerHelp = `Please view below details.`;
   }
   let heading = <Heading backLink={backLinkButton} formTitle={formTitle} headerHelp={headerHelp} />;

This ensures the subtitle is only displayed in view mode, aligning with the UI requirements mentioned in the PR comments.

Also applies to: 679-682

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 94ce9dd and 97cc4d7.

📒 Files selected for processing (24)
  • src/components/UI/Heading/Heading.tsx (2 hunks)
  • src/containers/Consulting/Consulting.test.tsx (1 hunks)
  • src/containers/ContactManagement/ContactManagement.tsx (1 hunks)
  • src/containers/Flow/Flow.tsx (1 hunks)
  • src/containers/Form/FormLayout.tsx (8 hunks)
  • src/containers/HSM/HSM.test.tsx (4 hunks)
  • src/containers/HSM/HSM.tsx (3 hunks)
  • src/containers/InteractiveMessage/InteractiveMessage.tsx (1 hunks)
  • src/containers/MyAccount/MyAccount.tsx (1 hunks)
  • src/containers/Profile/Contact/ContactProfile.tsx (1 hunks)
  • src/containers/Search/Search.tsx (1 hunks)
  • src/containers/SettingList/OrganizationFlows/OrganisationFLows.test.tsx (1 hunks)
  • src/containers/SettingList/Providers/Providers.test.tsx (1 hunks)
  • src/containers/SettingList/Providers/Providers.tsx (1 hunks)
  • src/containers/SpeedSend/SpeedSend.tsx (1 hunks)
  • src/containers/TemplateOptions/TemplateOptions.test.tsx (3 hunks)
  • src/containers/Trigger/Trigger.test.tsx (14 hunks)
  • src/containers/Trigger/Trigger.tsx (2 hunks)
  • src/containers/Trigger/TriggerList/TriggerList.test.tsx (2 hunks)
  • src/containers/Trigger/TriggerList/TriggerList.tsx (3 hunks)
  • src/containers/Trigger/TriggerType/TriggerType.tsx (3 hunks)
  • src/containers/WaGroups/GroupDetails.tsx/GroupDetails.tsx (1 hunks)
  • src/containers/WhatsAppForms/WhatsAppForms.tsx (1 hunks)
  • src/i18n/en/en.json (1 hunks)
✅ Files skipped from review due to trivial changes (3)
  • src/containers/SettingList/Providers/Providers.test.tsx
  • src/containers/HSM/HSM.test.tsx
  • src/containers/Consulting/Consulting.test.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/containers/Trigger/TriggerList/TriggerList.tsx
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{ts,tsx}

⚙️ CodeRabbit configuration file

Review the Typescript and React code for conformity with best practices in React, Recoil, Graphql, and Typescript. Highlight any deviations.

Files:

  • src/containers/SettingList/OrganizationFlows/OrganisationFLows.test.tsx
  • src/containers/SettingList/Providers/Providers.tsx
  • src/containers/WhatsAppForms/WhatsAppForms.tsx
  • src/containers/TemplateOptions/TemplateOptions.test.tsx
  • src/containers/InteractiveMessage/InteractiveMessage.tsx
  • src/containers/WaGroups/GroupDetails.tsx/GroupDetails.tsx
  • src/containers/Trigger/TriggerList/TriggerList.test.tsx
  • src/containers/Profile/Contact/ContactProfile.tsx
  • src/containers/Trigger/TriggerType/TriggerType.tsx
  • src/containers/Search/Search.tsx
  • src/containers/SpeedSend/SpeedSend.tsx
  • src/containers/Flow/Flow.tsx
  • src/components/UI/Heading/Heading.tsx
  • src/containers/Trigger/Trigger.tsx
  • src/containers/Form/FormLayout.tsx
  • src/containers/Trigger/Trigger.test.tsx
  • src/containers/MyAccount/MyAccount.tsx
  • src/containers/ContactManagement/ContactManagement.tsx
  • src/containers/HSM/HSM.tsx
🧬 Code graph analysis (6)
src/containers/WaGroups/GroupDetails.tsx/GroupDetails.tsx (1)
src/components/UI/Heading/Heading.tsx (1)
  • Heading (22-64)
src/containers/Profile/Contact/ContactProfile.tsx (1)
src/components/UI/Heading/Heading.tsx (1)
  • Heading (22-64)
src/containers/Form/FormLayout.tsx (2)
src/components/UI/Form/Button/Button.tsx (1)
  • Button (12-29)
src/components/UI/Heading/Heading.tsx (1)
  • Heading (22-64)
src/containers/MyAccount/MyAccount.tsx (1)
src/components/UI/Heading/Heading.tsx (1)
  • Heading (22-64)
src/containers/ContactManagement/ContactManagement.tsx (2)
src/components/UI/Heading/Heading.tsx (1)
  • Heading (22-64)
src/common/HelpData.tsx (1)
  • contactVariablesInfo (80-84)
src/containers/HSM/HSM.tsx (1)
src/graphql/queries/Template.ts (1)
  • GET_SHORTCODES (86-92)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: glific (1.18.3-otp-27, 27.3.3)
🔇 Additional comments (29)
src/containers/SettingList/OrganizationFlows/OrganisationFLows.test.tsx (1)

27-27: LGTM! Minor test description improvement.

The capitalization and clarity enhancement to the test description is appropriate.

src/i18n/en/en.json (1)

34-34: LGTM! Translation entry added for view mode navigation.

The "Go Back" translation supports the new view mode functionality introduced in this PR.

src/containers/WhatsAppForms/WhatsAppForms.tsx (1)

269-273: LGTM! Explicit button visibility control added.

The show: true flag provides explicit control over button visibility, aligning with the FormLayout API enhancement introduced in this PR.

src/containers/SettingList/Providers/Providers.tsx (1)

276-280: LGTM! Button visibility flag added.

The show: true flag is consistent with the FormLayout API enhancement pattern used throughout this PR.

src/containers/SpeedSend/SpeedSend.tsx (1)

499-499: LGTM! Button visibility control added.

The show: true flag maintains consistency with the FormLayout API enhancement pattern.

src/containers/TemplateOptions/TemplateOptions.test.tsx (1)

20-20: LGTM! Test assertions updated to match UI text changes.

The test expectations correctly reflect the UI text change from "Add a new HSM Template" to "Create a new HSM Template".

Also applies to: 34-34, 61-61

src/containers/Flow/Flow.tsx (1)

354-354: LGTM! Button visibility flag added.

The show: true flag is consistent with the FormLayout API enhancement pattern applied throughout this PR.

src/containers/Profile/Contact/ContactProfile.tsx (1)

182-182: LGTM! Cleaned up unnecessary prop.

Removing showHeaderHelp={false} is appropriate since the Heading component's default behavior handles missing headerHelp props correctly.

src/containers/ContactManagement/ContactManagement.tsx (1)

48-48: LGTM!

The removal of showHeaderHelp={false} is correct. The Heading component no longer accepts this prop, and header help rendering is now controlled by whether headerHelp is provided.

src/containers/WaGroups/GroupDetails.tsx/GroupDetails.tsx (1)

226-226: LGTM!

Consistent removal of showHeaderHelp={false} following the Heading component API update.

src/containers/Trigger/TriggerList/TriggerList.test.tsx (2)

20-28: LGTM!

The react-router mock setup is well-structured and follows best practices. Using vi.importActual ensures that only the necessary functions are mocked while preserving other exports.


60-71: LGTM!

The new test case properly validates the view button navigation behavior. Good use of waitFor for async operations and clear assertion of the navigation call.

src/containers/MyAccount/MyAccount.tsx (1)

306-306: LGTM!

Consistent removal of showHeaderHelp={false} following the Heading component API update.

src/containers/InteractiveMessage/InteractiveMessage.tsx (1)

1044-1044: LGTM!

Adding the explicit show: true flag to buttonState makes the button visibility intent clear and prevents potential undefined field issues, as discussed in previous review comments.

src/containers/HSM/HSM.tsx (3)

107-117: LGTM!

Formatting improvement to the query destructuring. No functional change.


904-904: LGTM!

The errorButtonState correctly switches between "Go Back" (when editing/viewing) and "Cancel" (when creating), providing appropriate context to users.


908-908: LGTM!

Setting show: !isEditing appropriately hides the action button in view mode, which aligns with HSM templates being non-editable after approval.

src/containers/Search/Search.tsx (2)

544-544: LGTM!

The migration from skipCancel={chatFilters} to errorButtonState={{ text: t('Cancel'), show: !chatFilters }} correctly preserves the logic (inverted as expected) while adopting the new, more flexible API.


545-552: LGTM!

Adding explicit show: true to buttonState when chatFilters is active makes the button visibility intent clear and follows the established pattern.

src/containers/Trigger/Trigger.tsx (4)

375-375: LGTM!

Adding disabled: isEditing to the TriggerType component appropriately makes the field read-only in view mode, consistent with other form fields.


447-447: LGTM!

Capitalizing listItemName to "Trigger" improves UI text consistency.


454-454: LGTM!

The errorButtonState correctly adapts the button text based on context ("Go Back" for viewing, "Cancel" for creating), improving user experience.


455-455: LGTM!

Setting buttonState={{ show: !isEditing }} appropriately hides the action button in view mode, aligning with the read-only nature of the trigger view.

src/containers/Trigger/Trigger.test.tsx (1)

43-43: LGTM! Test assertions updated to match UI text capitalization.

All test expectations have been consistently updated to capitalize "Trigger" as a proper noun, aligning with improved UI text standards.

Also applies to: 142-142, 210-210, 247-247, 271-271, 323-323, 351-351, 379-379, 409-409, 439-439, 445-445, 487-487, 518-518, 545-545, 575-575

src/containers/Trigger/TriggerType/TriggerType.tsx (1)

9-9: LGTM! Disabled prop correctly implemented.

The disabled prop has been properly added with appropriate typing, default value, and is correctly propagated to both Radio controls. This enables the view mode functionality where radio buttons become non-interactive during editing.

Also applies to: 16-16, 45-45, 55-55

src/components/UI/Heading/Heading.tsx (1)

22-28: LGTM! API simplified by removing redundant prop.

Removing showHeaderHelp and relying solely on the truthiness of headerHelp is a cleaner approach that follows React conventions. The component now renders header help only when headerHelp is provided, eliminating the need for an additional control flag.

Also applies to: 45-45

src/containers/Form/FormLayout.tsx (3)

103-103: LGTM! Sensible defaults maintain backward compatibility.

The default values ensure that existing usage patterns continue to work without modification, while enabling new view mode behavior when explicitly requested.

Also applies to: 107-110, 131-131


596-613: LGTM! Button rendering correctly implements view mode behavior.

The conditional rendering of submit and cancel buttons based on buttonState.show and errorButtonState.show properly enables hiding/showing buttons in different modes. The use of optional chaining for errorButtonState?.text is appropriate.

Also applies to: 632-636


675-675: LGTM! Title logic correctly implements view mode.

The conditional logic properly removes the "Edit" prefix when isView is true, showing just the item name (e.g., "Trigger"). This aligns with the test expectations and provides a cleaner UI in view mode.

Copy link
Member

@akanshaaa19 akanshaaa19 left a comment

Choose a reason for hiding this comment

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

looks good one small change.

also shouldn't we remove this isActive button from HSM page if we are not going to give the save button now?

@priyanshu6238
Copy link
Collaborator Author

looks good one small change.

also shouldn't we remove this isActive button from HSM page if we are not going to give the save button now?

yes

@priyanshu6238 priyanshu6238 linked an issue Dec 2, 2025 that may be closed by this pull request
@priyanshu6238 priyanshu6238 merged commit 88040b3 into bug_bash_1125 Dec 3, 2025
9 of 10 checks passed
@priyanshu6238 priyanshu6238 deleted the refactor/trigger_page branch December 3, 2025 05:34
priyanshu6238 added a commit that referenced this pull request Dec 3, 2025
* refactor: improve actions visibility in List component

* remove unused 'insideMore' property from action items in multiple lists

* refactor: update test cases to use data-testid for action buttons

* fix: trigger listing page

* fix: trigger page

* refactor: update data-testid attributes for copy and edit icons in FlowList component

* fix: deep scan

* chore: checkout bug_bash_1126 branch in cypress testing setup

* refactor: remove unused 'screen' import from TriggerList test file

* refactor: trigger listing page

* fix: deep scan

* fix: add test case

* fix: naming

* fix: route

* fix: label

* fix:  naming

* fix: header naming

* fix: description

* refactor: add back button

* fix: test case

* FIx: add props to trigger

* fix: back button

* fix: Remove save when it is in editing mode

* fix: remove save button from hsm page

* fix: trigger page

* fix: add global header for format layout

* refactor: add global header for hsm and add test case

* fix: test case

* fix: add new props

* fix: add new props for cancel button

* fix: add new props for header

* fix: view props

* fix: header

* fix: button logic

* fix: cancel button

* fix: props globally

* refactor: format layout

* refactor: rename props

* fix: deep scan

* fix: props

* fix: format layout

* fix: isView condition

* refactor: remove console

* fix: header help function

* fix: test case

* reafactor: isView props condition in formLayout

* fix: remove undefined type from headerHelp function

* fix: hsm page

---------

Co-authored-by: Akansha Sakhre <asakhre2002@gmail.com>
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.

UI/UX: Edit Buttons in HSM overall list page UI/UX: Remove edit option in triggers page

5 participants