feat(finance): implement complete master batch (MB) costing suite, workflows, and BFF integration#64
Merged
Conversation
Generated ts-proto types for the MB costing suite (yarn_master + cost_product_master) and refreshed cost_product_request / buf.validate from goapps-shared-proto. Authored-By: Ilham R <ilhamram332@gmail.com> Co-Authored-By: Ilham R <me@ilramdhan.dev> Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Co-Authored-By: IT Mutugading <it@mutugading.com> Co-Authored-By: IT Mutu Gading <mutugadingapps@gmail.com>
Build the Master Batch (MB) costing frontend: - Pages: mb-recipe list + detail (composition/parameters/workflow-log tabs), mb-push-to-head, and mb-lusture / mb-param master pages. - Components: MB recipe tables/tabs/action bar, lusture and param tables with form + import dialogs, push log table + preview panel, MB head ref and RM group-head comboboxes, and the product-master unlock dialog. - BFF API routes for MB head workflow (submit/approve/validate/ unapprove/revoke/import/export/template), compositions, push (preview/execute) + push logs, workflow logs, mb-lusture, mb-param (+ options) and cost-product-master unlock. - TanStack Query hooks and API services for composition, lusture, param, push and workflow-log; MB gRPC clients and status colors. Also extend the cost-product-master parameters tab and detail client, mb-head form dialog, user-name component and menu types to support the MB flow. Authored-By: Ilham R <ilhamram332@gmail.com> Co-Authored-By: Ilham R <me@ilramdhan.dev> Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Co-Authored-By: IT Mutugading <it@mutugading.com> Co-Authored-By: IT Mutu Gading <mutugadingapps@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Pull Request ini menghadirkan suite fitur Master Batch (MB) Costing secara komprehensif pada modul Finance. Pembaruan berskala besar ini mencakup UI dan UX lengkap untuk manajemen MB Recipe (komposisi, parameter, dan log alur kerja), kapabilitas eksekusi MB Push-to-Head beserta pratinjaunya, dan halaman Master Data untuk MB Lusture dan MB Param.
Selain pengembangan antarmuka, PR ini juga membangun arsitektur lapisan BFF (Backend for Frontend) secara utuh untuk menangani siklus persetujuan (submit, approve, validate, revoke), eksekusi impor/ekspor data, serta mengintegrasikan Unlock Dialog langsung ke ekosistem Product Master. Pembaruan TypeScript proto types juga disertakan untuk sinkronisasi dengan goapps-shared-proto.
Type of Change
Module/Component Affected
Changes Made
1. MB Recipe & Workflow Management:
submit,approve,validate,unapprove, danrevoke.2. MB Push-to-Head Execution:
3. Master Data (Lusture & Param):
4. BFF API, Hooks, & Proto Sync:
5. Cross-Module UI Integrations:
MB head refdanRM group-head.UserName, menu navigasi, dan merombak form dialog padaMB Headuntuk mendukung ekosistem batch costing.Related Issues
Fixes #
Related to #
Screenshots
Before
After
Testing Performed
Manual Testing
Browser Testing
Build Verification
npm run lintpassesnpx tsc --noEmitpassesnpm run buildsucceedsAccessibility
Performance
Pre-merge Checklist
Reviewer Notes
submit->validate/approve->revoke, dsb.). Semua aksi ini sudah dipetakan dengan rute BFF masing-masing dan dilengkapi dengan loading states.