Skip to content

Conversation

@mateodurante
Copy link
Contributor

This pull request introduces a new "Contact Lookup" tool in the frontend, adds internationalization support for its UI, and updates menu structures and validation utilities to accommodate the new feature. The main changes are grouped into feature addition, internationalization, menu/routing updates, and validation improvements.

Feature Addition:

  • Added a new API service (lookup and getTask in tools.jsx) to support the "Contact Lookup" tool, enabling backend communication for domain/IP/network lookups.
  • Registered the lookup endpoint in the global constants (COMPONENT_URL.lookup).

Internationalization:

  • Extended English and Spanish translation files to support all UI labels, error messages, and help texts for the new "Contact Lookup" tool. [1] [2]
  • Added missing menu and button translations for both languages. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Menu and Routing Updates:

  • Updated the sidebar menu structure to add a "Tools" section, with "Contact Lookup" as a new menu item.
  • Registered a new route for the lookup page, protected by permissions.

Validation Improvements:

  • Refactored network validation utilities to clarify and separate validation logic for objects and single values, improving code readability and maintainability.
  • Updated usage of the validation function in the network creation form to use the new object-based validator. [1] [2]

Dependency Update:

  • Added the react18-json-view package to package.json and package-lock.json for improved JSON result display in the new tool. [1] [2] [3]

@mateodurante mateodurante merged commit 5467eb7 into develop Oct 6, 2025
6 checks passed
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