emoss08 / Trenova

An Open Source AI-driven asset based transportation management system
http://trenova.app
Other
24 stars 5 forks source link

😊(release): 0.0.2 #272

Closed emoss08 closed 1 month ago

emoss08 commented 1 month ago

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.

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

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.

File-Level Changes

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.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.
emoss08 commented 1 month ago

@sourcery-ai review

emoss08 commented 1 month ago

@sourcery-ai review

emoss08 commented 1 month ago

@sourcery-ai review