Closed emoss08 closed 1 month ago
This pull request introduces a new Kafka client using the franz-go library, adds new handlers for various operations, fixes several bugs related to parameter ordering in handlers, and enhances logging and maintainability by replacing hardcoded strings with constants. Additionally, it refactors frontend components to use a custom Icon component and updates the Docker Compose configuration to remove unused services.
Files | Changes |
---|---|
internal/api/handlers/commenttype.handler.go internal/api/handlers/user.handler.go internal/api/handlers/accessorialcharge.handler.go internal/api/handlers/tractor.handler.go internal/api/handlers/shipment.handler.go internal/api/handlers/commodity.handler.go internal/api/handlers/customer.handler.go internal/api/handlers/trailer.handler.go internal/api/handlers/chargetype.handler.go internal/api/handlers/delaycode.handler.go internal/api/handlers/divisioncode.handler.go internal/api/handlers/documentclassification.handler.go internal/api/handlers/equipmentmanufacturer.handler.go |
Replaced hardcoded strings with constants and fixed parameter ordering in various handlers. |
web/frontend/src/components/layout/site-search.tsx web/frontend/src/components/ui/button.tsx web/frontend/src/lib/nav-links.tsx web/frontend/src/components/ui/autocomplete.tsx web/frontend/src/components/common/fields/select-components.tsx web/frontend/src/components/ui/command.tsx |
Refactored frontend components to use a custom Icon component. |
.docker/docker-compose.yml |
Updated Docker Compose configuration to remove unused services. |
@sourcery-ai review
@sourcery-ai review
@sourcery-ai review
Summary by Sourcery
This pull request introduces a new Kafka client using the franz-go library, adds support for manual and auto-commit styles, and refactors the KafkaListener to use the new client. It also includes various enhancements, bug fixes, and cleanup tasks across multiple files.
GetByID
handler forCommentType
andAccessorialCharge
entities.ts_ms
field in Debezium payloads was incorrectly namedTSMs
.MatchesSubscription
method.KafkaListener
to use the new Kafka client and updated the message consumption logic.MatchesSubscription
method to provide more detailed information.Button
component to use a customIcon
component instead ofFontAwesomeIcon
.SiteSearch
component to remove unused code and improve readability.GetTopics
method in the Kafka client to use the franz-go library for metadata requests.pg-admin
andmeilisearch
services from the Docker Compose configuration.countries.ts
file from thephone-input
component directory.