Wired controls reference

Custom control components matched in ApiTablesModals

Router file: ./ApiTables/table-modals/ApiTablesModals.tsx

Matching uses customControlAction.url.api.includes(...) or url.web.includes(...).

Row custom controls (active)

URL matchComponent
/announces/batchesEditAnnouncements
/announces/slidesEditAnnounceSlide
bank-transfer/approvalBankTransferApproval
reward-points/add (web)AddRewardPoints
/plans/assign?account_idChangeUserPlan
/upload-account-documentUploadNewCustomerDoc
bank-accounts/update-status/ApproveBankDetails
update_parcelsEditPieces
pending-shipping-awbs/update/EditPendingAwbForm
update_carrierEditCarrier
packing/materialsUpdateMaterial
withdrawal-requests/storeWithdrawalRowAction
affiliation-program/add-user-referralAddReferral
cl/productsEditProduct
cl/categoriesEditCategory

Bulk custom modals

TriggerComponent
selectedBulkAction.action_key === "create_withdrawal_bulk"AddToCreditBulkModal

Imported but not rendered

These are imported in ./ApiTables/table-modals/ApiTablesModals.tsx but have no JSX branch (dead imports as of last review):

  • LinkProductWithHubSlot
  • LinkSlotToProduct
  • ModifyTote
  • AssignOrderToPicker

Remove or wire when needed.

On disk, not in modals router

Likely legacy — wire before use:

  • ./ApiTables/table-modals/custom-controls/EditUser.tsx
  • ./ApiTables/table-modals/custom-controls/EditPendingOrder.tsx
  • ./ApiTables/table-modals/custom-controls/EditLineItems.tsx
  • ./ApiTables/table-modals/custom-controls/SendToEmail.tsx

Special row response (not custom_control)

API includesComponent
/new_features_announcements/show_detailsAnnouncementSingle in response popup

On this page