
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
portal_client_ticketing_module
Advanced tools
Customer Ticketing module to be included in Console Connect as a Webpack federated module.
Customer Ticketing module to be included in Console Connect as a Webpack federated module.
Running the react application locally, and running it in a local copy of Console Connect.
npm install
npm run start
Then visit http://localhost:3003
(note: your port is defined in your .env file.)
This is your stand-alone react application.
Setup a local copy of the Console Connect application (portal-client-desktop)[https://github.com/ConsoleConnect/portal-client-desktop].
The modules can now be defined inside .env
file for each environment. Make sure you are using the name of your module defined in the package.json
file (e.g portal_client_react_module
). The new module development will require the following configuration:
.env.local
file as follows, values to be separated by commasCONSOLE_MODULES="portal_client_ticketing_module@http://localhost:3003/remoteEntry.js"
We've added a utility function in console connect which allows you to easily lazy load your component in the console connect app.
import { lazyLoadFederatedModule } from 'client/utils/moduleLoader';
const MyModule = lazyLoadFederatedModule('portal_client_react_module');
A second argument to this function is the scope, which defaults to ./App
. If you want to import an individual component you've exposed from the module, add the location you've defined in your module's webpack config.
const MyModule = lazyLoadFederatedModule('portal_client_react_module', './MyComponent);
You'll need to pass a baseUrl to the module so it can route properly. You'll want your baseUrl to match the route you are using to load your module.
const MyModuleComponent = () => {
<MyModule baseUrl="application/route/to/module" />
}
Include the new module component in your route
<Route path="application/route/to/module" component={MyModuleComponent} />
or component as a part of any react component.
<div>
<MyComponent />
</div>
Follow the instructions from the Console Connect application for running a local development server, and your module should be visible at the route or in the component where you defined it.
Documenting the different micro front end stories
(see README)[https://github.com/ConsoleConnect/frontend_proxy]
āāā config
ā āāā jest
ā āāā webpack
āāā public
ā āāā assets
āāā scripts - Scripts used on the command line
āāā src
āāā components - Any non-page-level component
āāā contexts - React contexts that the application uses to inject resources into components
āāā hooks - Hooks that are used by more than one component
āāā pages - page-level components
āāā routes - all public and private route declarations
āāā services - Functions used to perform tasks and retrieve information
āāā shared - Components and functions that the module exports for other modules and the main application to use
āāā styles - Module-wide scss defintions
āāā test - Functions, contants and other helper code used by automated tests
āāā types - Type definitions that don't belong to any one component or module
āāā utils - Common code used by any or all code in the module
āāā view - Presentational components
testing again one more time
FAQs
Customer Ticketing module to be included in Console Connect as a Webpack federated module.
The npm package portal_client_ticketing_module receives a total of 0 weekly downloads. As such, portal_client_ticketing_module popularity was classified as not popular.
We found that portal_client_ticketing_module demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Ā It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.