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

fixes #1869

Merged
merged 14 commits into from
Nov 21, 2024
Merged

fixes #1869

merged 14 commits into from
Nov 21, 2024

Conversation

nabeelmd-eGov
Copy link
Contributor

@nabeelmd-eGov nabeelmd-eGov commented Nov 21, 2024

  • added serving facility
  • form composer action bar fix
  • plan inbox assignee fix
  • formula and assumption refresh issue
  • action bar hidden fixes, session fixes
  • fixes

Choose the appropriate template for your PR:

Summary by CodeRabbit

  • New Features

    • Enhanced formula management with improved user feedback and control over formula visibility.
    • Added conditional rendering for category descriptions and a new property for formulas.
  • Bug Fixes

    • Updated deletion logic to ensure at least one mandatory formula remains.
  • Style

    • Improved code readability and consistency in various components, including adjustments in session storage management and component formatting.
  • Documentation

    • Localization key for category names updated for better user experience.

@nabeelmd-eGov nabeelmd-eGov requested a review from a team as a code owner November 21, 2024 10:56
Copy link
Contributor

coderabbitai bot commented Nov 21, 2024

📝 Walkthrough
📝 Walkthrough

Walkthrough

The pull request introduces modifications to three main components: FormulaConfigWrapper, FormulaConfiguration, and the index.js file of the employee page. Key changes include simplifying the category prop handling in FormulaConfigWrapper, enhancing formula management and UI in FormulaConfiguration, and improving code style and formatting in index.js. The overall structure and functionality of the components remain intact, with a focus on clarity and consistency in the codebase.

Changes

File Change Summary
.../microplan/src/components/FormulaConfigWrapper.js Simplified category prop assignment for FormulaConfiguration by removing string interpolation.
.../microplan/src/components/FormulaConfiguration.js Updated header text localization, added conditional rendering for descriptions, enhanced formula management logic, and updated deletion checks.
.../microplan/src/pages/employee/index.js Adjusted formatting for clarity, improved session storage management, and enhanced code consistency.

Possibly related PRs

Suggested reviewers

  • nipunarora-eGov

🐰 In the land of code, where changes bloom,
A wrapper and config chase away the gloom.
With formulas dancing in a clearer light,
Our paths are now tidy, our code feels just right!
So hop along, dear devs, let’s celebrate,
For clarity and style, we’ve opened the gate! 🌼


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

🧹 Outside diff range comments (8)
health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/index.js (2)

Line range hint 126-156: Remove commented out configuration code.

There's a large block of commented out configuration code that should be removed if it's no longer needed. If this is temporary or for reference, consider moving it to documentation.


Line range hint 51-229: Consider splitting the App component for better maintainability.

The App component handles multiple responsibilities (session management, data fetching, routing, UI). Consider splitting it into smaller, focused components:

  1. A SessionManager component for handling session-related logic
  2. A DataProvider component for MDMS data fetching
  3. A Router component for route definitions
  4. The main App component orchestrating these components

This would improve:

  • Code organization and maintainability
  • Testing capabilities
  • Reusability of individual components
🧰 Tools
🪛 Biome

[error] 207-207: JSX elements without children should be marked as self-closing. In JSX, it is valid for any element to be self-closing.

Unsafe fix: Use a SelfClosingElement instead

(lint/style/useSelfClosingElements)


[error] 208-208: JSX elements without children should be marked as self-closing. In JSX, it is valid for any element to be self-closing.

Unsafe fix: Use a SelfClosingElement instead

(lint/style/useSelfClosingElements)

health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/FormulaConfiguration.js (3)

Line range hint 1-585: Consider adopting TypeScript for better type safety

The component handles complex state management and data structures. Consider adopting TypeScript to:

  • Add proper type definitions for formula objects and their properties
  • Prevent potential runtime errors from incorrect property access
  • Improve code maintainability and IDE support

Example type definitions:

interface Formula {
  source: 'CUSTOM' | 'MDMS';
  output: string;
  input: string;
  operatorName: string;
  assumptionValue: string;
  category: string;
  showOnEstimationDashboard: boolean;
}

interface FormulaConfigurationProps {
  onSelect: (formula: Formula) => void;
  category: string;
  customProps: {
    filteredInputs: string[];
    filteredOutputs: string[];
    operators: Array<{operatorCode: string, operatorName: string}>;
    assumptions: string[];
  };
  formulas: Formula[];
  setShowToast: (toast: {key: string, label: string, transitionTime: number}) => void;
  allMdmsFormulasForThisCategory: string[];
}

Line range hint 39-47: Centralize error handling and validation logic

The error handling for formula deletion could be improved by:

  • Centralizing validation logic in a separate utility function
  • Adding more specific error messages for different validation scenarios
  • Implementing a consistent error handling pattern

Example refactor:

+ const validateFormulaOperation = (operation, formula) => {
+   const errors = [];
+   if (operation === 'delete') {
+     if (formulas?.length === 1 && category !== "CAMPAIGN_VEHICLES") {
+       errors.push("ERR_ATLEAST_ONE_MANDATORY_FORMULA");
+     }
+   }
+   return errors;
+ }

  const handleDeleteClick = (index, formula) => {
-   if (formulas?.length === 1 && category !== "CAMPAIGN_VEHICLES") {
-     setShowToast({
-       key: "error",
-       label: t("ERR_ATLEAST_ONE_MANDATORY_FORMULA"),
-       transitionTime: 3000,
-     });
-     return;
-   }
+   const errors = validateFormulaOperation('delete', formula);
+   if (errors.length > 0) {
+     setShowToast({
+       key: "error",
+       label: t(errors[0]),
+       transitionTime: 3000,
+     });
+     return;
+   }
    setFormulaToDelete(formula);
    setShowPopUp(formula?.source || true);
  };

Line range hint 283-321: Optimize performance with memoization

Consider optimizing the component's performance by:

  • Memoizing dropdown options calculations
  • Using useMemo for complex computations
  • Implementing React.memo for child components

Example optimization:

+ const MemoizedCard = React.memo(Card);
+ const dropdownOptions = useMemo(() => {
+   return [
+     ...filteredInputs.map((input) => ({ code: input, label: input })),
+     ...previousOutputs.map((output) => ({ code: output, label: output })),
+     ...assumptions.map((assumptionValue) => ({
+       code: assumptionValue,
+       label: assumptionValue,
+     })),
+   ];
+ }, [filteredInputs, previousOutputs, assumptions]);
health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/FormulaConfigWrapper.js (3)

Line range hint 249-284: Improve validation logic in handleNext function.

The current validation has several issues:

  1. The SUBSTRACTION operator validation returns early, but the empty fields validation proceeds with the update
  2. No validation for null/undefined values
  3. Generic error messages that don't guide users to specific fields

Consider refactoring the validation logic:

 const handleNext = () => {
+  const currentFormulas = formulaConfigValues.filter((row) => row.category === currentCategory);
+  
+  // Validate for null/undefined values first
+  const hasInvalidValues = currentFormulas.some(
+    (row) => row.assumptionValue == null || row.input == null || row.output == null || row.operatorName == null
+  );
+  
+  if (hasInvalidValues) {
+    setShowToast({
+      key: "error",
+      label: t("ERR_INVALID_VALUES"),
+      transitionTime: 3000,
+    });
+    return;
+  }
+
   // Check SUBSTRACTION operator
-  if (formulaConfigValues.some((i) => i.operatorName === "SUBSTRACTION" && i.input === i.assumptionValue)) {
+  const hasInvalidSubstraction = currentFormulas.some(
+    (i) => i.operatorName === "SUBSTRACTION" && i.input === i.assumptionValue
+  );
+  
+  if (hasInvalidSubstraction) {
     setShowToast({
       key: "error",
       label: t("ERR_MANDATORY_FIELD_SAME_OPERAND"),
       transitionTime: 3000,
     });
     return;
-  } else if (
-    formulaConfigValues
-      .filter((row) => row.category === currentCategory)
-      .every((row) => {
-        return row.assumptionValue && row.input && row.output && row.operatorName;
-      })
-  ) {
-    //will do this on onSuccess
-  } else {
+  }
+
+  // Check for empty required fields
+  const hasEmptyFields = currentFormulas.some(
+    (row) => !row.assumptionValue || !row.input || !row.output || !row.operatorName
+  );
+
+  if (hasEmptyFields) {
     setShowToast({
       key: "error",
-      label: t("ERR_MANDATORY_FIELD"),
+      label: t("ERR_MISSING_REQUIRED_FIELDS"),
       transitionTime: 3000,
     });
     return;
   }
🧰 Tools
🪛 Biome

[error] 536-536: Unsafe usage of optional chaining.

If it short-circuits with 'undefined' the evaluation will throw TypeError here:

(lint/correctness/noUnsafeOptionalChaining)


Line range hint 411-416: Fix potential infinite render and race condition in useEffect.

This effect has several issues:

  1. Missing dependency array causes it to run on every render
  2. Arbitrary execution count limit
  3. Potential race condition with the other effect that calls onSelect

Consider removing this effect and merging its logic with the other effect that handles the same data:

-useEffect(() => {
-  if (executionCount < 5) {
-    onSelect(customProps.name, { formulaConfigValues });
-    setExecutionCount((prevCount) => prevCount + 1);
-  }
-});

 useEffect(() => {
   onSelect(customProps.name, { formulaConfigValues });
-}, [formulaConfigValues, formulaInternalKey]);
+}, [formulaConfigValues, formulaInternalKey, customProps.name]);
🧰 Tools
🪛 Biome

[error] 536-536: Unsafe usage of optional chaining.

If it short-circuits with 'undefined' the evaluation will throw TypeError here:

(lint/correctness/noUnsafeOptionalChaining)


Line range hint 285-301: Enhance error handling for API calls.

The current error handling for updateResources is basic and could be improved to handle different types of failures and provide better user feedback.

Consider implementing a more robust error handling strategy:

 updateResources(
   {
     config: {
       name: "SUB_FORMULA",
     },
     formulasToUpdate,
     state,
   },
   {
     onSuccess: (data) => {
       setManualLoader(false);
       if (formulaInternalKey < ruleConfigurationCategories?.length) {
         setFormulaInternalKey((prevKey) => prevKey + 1);
       }
       refetchPlan();
     },
     onError: (error, variables) => {
       setManualLoader(false);
-      console.error(error);
-      setShowToast({ key: "error", label: error?.message ? error.message : t("FAILED_TO_UPDATE_RESOURCE") });
+      const isNetworkError = !error.response;
+      const isServerError = error.response?.status >= 500;
+      const isValidationError = error.response?.status === 400;
+      
+      console.error('Resource update failed:', {
+        error,
+        variables,
+        type: isNetworkError ? 'network' : isServerError ? 'server' : 'validation'
+      });
+      
+      setShowToast({
+        key: "error",
+        label: isNetworkError
+          ? t("ERR_NETWORK_ISSUE")
+          : isServerError
+          ? t("ERR_SERVER_ISSUE")
+          : error?.message || t("FAILED_TO_UPDATE_RESOURCE"),
+        transitionTime: 3000
+      });
+      
+      // Retry for network or server errors
+      if ((isNetworkError || isServerError) && variables.retryCount < 3) {
+        setTimeout(() => {
+          updateResources({
+            ...variables,
+            retryCount: (variables.retryCount || 0) + 1
+          });
+        }, 1000 * Math.pow(2, variables.retryCount || 0));
+      }
     },
   }
 );
🧰 Tools
🪛 Biome

[error] 536-536: Unsafe usage of optional chaining.

If it short-circuits with 'undefined' the evaluation will throw TypeError here:

(lint/correctness/noUnsafeOptionalChaining)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE

📥 Commits

Reviewing files that changed from the base of the PR and between 427f95f and ca8ce40.

📒 Files selected for processing (3)
  • health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/FormulaConfigWrapper.js (1 hunks)
  • health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/FormulaConfiguration.js (1 hunks)
  • health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/index.js (7 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/FormulaConfigWrapper.js (1)

Pattern **/*.js: check

health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/FormulaConfiguration.js (1)

Pattern **/*.js: check

health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/index.js (1)

Pattern **/*.js: check

🪛 Biome
health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/index.js

[error] 207-207: JSX elements without children should be marked as self-closing. In JSX, it is valid for any element to be self-closing.

Unsafe fix: Use a SelfClosingElement instead

(lint/style/useSelfClosingElements)


[error] 208-208: JSX elements without children should be marked as self-closing. In JSX, it is valid for any element to be self-closing.

Unsafe fix: Use a SelfClosingElement instead

(lint/style/useSelfClosingElements)

🔇 Additional comments (2)
health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/FormulaConfiguration.js (1)

274-277: LGTM! Improved text localization and descriptions

The changes improve the user experience by:

  • Using more specific translation keys with the "FORMULA_" prefix
  • Adding context-specific descriptions based on the category
health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/FormulaConfigWrapper.js (1)

535-535: 🛠️ Refactor suggestion

Verify translation key consistency for category prop.

The category prop is passed directly without the "FORMULA_" prefix, but the Stepper component and other parts of the code expect translation keys with this prefix. This inconsistency might cause translation issues.

Consider maintaining consistency by either:

  1. Adding the prefix in FormulaConfiguration:
-category={ruleConfigurationCategories[formulaInternalKey - 1]?.category}
+category={`FORMULA_${ruleConfigurationCategories[formulaInternalKey - 1]?.category}`}
  1. Or removing the prefix from Stepper and updating translation files accordingly.

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

🧹 Outside diff range comments (4)
health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/FormulaConfiguration.js (4)

Line range hint 32-42: Consider adding loading state during formula operations

The formula deletion and addition operations modify multiple state variables (formulas, formulaConfigValues, deletedFormulas). Consider adding a loading state to prevent multiple operations from being triggered simultaneously and to provide better user feedback.

 const FormulaConfiguration = ({ onSelect, category, customProps, formulas: initialFormulas, setShowToast, allMdmsFormulasForThisCategory }) => {
   const { t } = useTranslation();
+  const [isLoading, setIsLoading] = useState(false);
   const [showPopUP, setShowPopUp] = useState(false);
   const [formulasPopUP, setFormulasPopUp] = useState(false);
   // ... rest of the code

Line range hint 155-220: Consider extracting formula insertion logic into a utility function

The formula insertion logic is duplicated in multiple places with similar patterns. This could be extracted into a utility function to improve maintainability and reduce code duplication.

+ const insertFormulaInOrder = (prevValues, newFormula, category) => {
+   const lastIndexInCategory = [...prevValues].reverse().findIndex((item) => item.category === category);
+   const insertIndex = lastIndexInCategory === -1 ? prevValues.length : prevValues.length - lastIndexInCategory;
+   return [...prevValues.slice(0, insertIndex), newFormula, ...prevValues.slice(insertIndex)];
+ };

  const addNewFormula = () => {
    if (selectedDeletedFormula?.code === "NEW_FORMULA") {
      // ... existing code ...
      setFormulaConfigValues((prevValues) => {
        const newFormula = {
          source: "CUSTOM",
          output: formulaToAdd?.name,
          input: "",
          operatorName: "",
          assumptionValue: "",
          category: category,
          showOnEstimationDashboard: true,
        };
-       const lastIndexInCategory = [...prevValues].reverse().findIndex((item) => item.category === category);
-       const insertIndex = lastIndexInCategory === -1 ? prevValues.length : prevValues.length - lastIndexInCategory;
-       const newValues = [...prevValues.slice(0, insertIndex), newFormula, ...prevValues.slice(insertIndex)];
-       return newValues;
+       return insertFormulaInOrder(prevValues, newFormula, category);
      });
    }
  };

Line range hint 44-82: Add error handling for formula deletion edge cases

The formula deletion logic should handle edge cases more gracefully, such as when formulaToDelete is undefined or when the formula is referenced by other formulas.

 const handleDeleteClick = (index, formula) => {
+  if (!formula) {
+    setShowToast({
+      key: "error",
+      label: t("ERR_INVALID_FORMULA"),
+      transitionTime: 3000,
+    });
+    return;
+  }

+  // Check if formula is referenced by other formulas
+  const isReferenced = formulaConfigValues.some(
+    (f) => f.input === formula.output || f.assumptionValue === formula.output
+  );
+
+  if (isReferenced) {
+    setShowToast({
+      key: "error",
+      label: t("ERR_FORMULA_IN_USE"),
+      transitionTime: 3000,
+    });
+    return;
+  }

   if (formulas?.length === 1 && category !== "CAMPAIGN_VEHICLES") {
     // ... existing code ...
   }
   setFormulaToDelete(formula);
   setShowPopUp(formula?.source || true);
 };

Based on our investigation, I can now provide the final response:

Translation keys for formula messages need to be added to localization files

The code uses several translation keys (FORMULA_HEADER_${category}, FORMULA_VEHICLE_DESCRIPTION, FORMULA_CONFIGURATION_DESCRIPTION, FORMULA_MESSAGE_FOR_${formula.output}, FOR_CONFIRM_TO_DELETE, FORMULA_PERMANENT_DELETE_CUSTOM, FOR_PERMANENT_DELETE, FORMULA_NAME) but we couldn't find these translations defined in any localization files. This will result in missing translations in the UI.

  • Add these translation keys to the appropriate localization files
  • Ensure translations are added for all supported languages
  • Consider adding a default fallback text for these keys
🔗 Analysis chain

Line range hint 274-450: Verify translation keys exist for all formula messages

The component uses several translation keys for formula-related messages. Ensure all these keys are defined in the translation files to avoid missing translations.


Let me gather more specific information about the translation keys by searching in the localization files.


Let me try a different approach to find the translation files and their content.


Let me check one more location where translations might be stored - the root public directory of the micro-ui, as it's common to store translations there.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for missing translation keys in the codebase

# Search for translation keys used in the file
echo "Translation keys used in FormulaConfiguration.js:"
rg -o 't\(["`]([^"`]+)["`]\)' | sed 's/.*t(["`]\([^"`]*\)["`]).*/\1/' > /tmp/used_keys.txt

# Search for translation key definitions
echo "Searching for translation key definitions:"
rg -l '(FORMULA_HEADER|FORMULA_VEHICLE_DESCRIPTION|FORMULA_CONFIGURATION_DESCRIPTION|FORMULA_MESSAGE_FOR|FOR_CONFIRM_TO_DELETE|FORMULA_PERMANENT_DELETE_CUSTOM|FOR_PERMANENT_DELETE)'

Length of output: 564


Script:

#!/bin/bash
# Search for translation files and their content
echo "Searching for translation/localization files:"
fd -e json -e js "translation|localization|i18n|locale" --type f

echo -e "\nChecking content of translation files for formula-related keys:"
rg -l "FORMULA_|FOR_" $(fd -e json -e js "translation|localization|i18n|locale" --type f)

echo -e "\nShowing actual translations for formula keys:"
rg "FORMULA_|FOR_" $(fd -e json -e js "translation|localization|i18n|locale" --type f)

Length of output: 1060


Script:

#!/bin/bash
# Search for translation files in the microplan module specifically
echo "Searching for translation files in microplan module:"
fd . health/micro-ui/web/micro-ui-internals/packages/modules/microplan -t f | grep -i "translation\|locale\|i18n"

echo -e "\nSearching for any .json files that might contain translations:"
fd . health/micro-ui/web/micro-ui-internals/packages/modules/microplan -e json -t f

echo -e "\nChecking content of public/localization folder if it exists:"
fd . health/micro-ui/web/micro-ui-internals/packages/modules/microplan/public -t f | grep -i "local"

# Also check for hardcoded strings in the component
echo -e "\nChecking FormulaConfiguration.js for hardcoded translation strings:"
rg "FORMULA_|FOR_" health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/FormulaConfiguration.js

Length of output: 1920


Script:

#!/bin/bash
# Check for translations in the root public directory
echo "Searching for localization files in micro-ui public directory:"
fd . health/micro-ui/web/public -t f | grep -i "local"

echo -e "\nChecking content of any found localization files for formula keys:"
rg "FORMULA_|FOR_" health/micro-ui/web/public/localization/en_IN.json || true
rg "FORMULA_|FOR_" health/micro-ui/web/public/localization/hi_IN.json || true

# Also check the modules directory for any localization
echo -e "\nChecking modules directory for localization:"
fd . health/micro-ui/web/micro-ui-internals/packages/modules -t f | grep -i "local"

Length of output: 1096

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE

📥 Commits

Reviewing files that changed from the base of the PR and between ca8ce40 and 1a35802.

📒 Files selected for processing (1)
  • health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/FormulaConfiguration.js (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/FormulaConfiguration.js (1)

Pattern **/*.js: check

@nipunarora-eGov nipunarora-eGov merged commit fd7b142 into console Nov 21, 2024
3 checks passed
@nipunarora-eGov nipunarora-eGov deleted the qquickfix branch November 21, 2024 11:10
@coderabbitai coderabbitai bot mentioned this pull request Nov 21, 2024
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.

3 participants