Skip to content

Conversation

@bdenham
Copy link
Collaborator

@bdenham bdenham commented Nov 19, 2025

Company Management Documentation

Complete documentation for the Company Management B2B drop-in.

📖 Preview

Full preview with all dropins: https://commerce-docs.github.io/microsite-commerce-storefront/dropins-b2b/company-management/

📁 Files Added

  • Overview and Quick Start
  • Functions API reference
  • Events reference
  • Containers and slots
  • Styles and i18n

✅ Review Checklist

  • Technical accuracy
  • Examples tested
  • No sensitive info
  • Developer-friendly

Part of #600 - B2B Documentation Initiative

@bdenham bdenham self-assigned this Nov 19, 2025
@bdenham bdenham added the new-topic A major update published as an entirely new document label Nov 19, 2025
@bdenham bdenham force-pushed the releases/b2b-nov-release branch from fbe673a to 083a1b7 Compare November 20, 2025 23:05
@bdenham bdenham force-pushed the releases/b2b-nov-release branch from 12610e8 to e66c2d9 Compare December 7, 2025 22:56
|---|---|---|---|
| `creditHistoryParams` | `GetCompanyCreditHistoryParams` | No | Optional parameters for credit history filtering and pagination |
| `showCreditHistory` | `boolean` | No | Whether to show the credit history section |
| `creditHistoryParams` | `GetCompanyCreditHistoryParams` | No | Optional parameters for credit history filtering and pagination. |
Copy link

@KevinBKozan KevinBKozan Dec 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EDIT: You know, as I read the examples I realized they should not be visible to the end user, as it conflicts with how the container should be the one deciding what's filtered/etc based on the user's interaction. Keeping it brief is the right call 👍

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KevinBKozan
Hey Kevin, which examples are you referring to?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifically examples for what creditHistoryParams should look like; it's very much not worth adding it though

@bdenham bdenham force-pushed the b2b-docs-company-management branch from a620617 to 6778566 Compare December 10, 2025 23:55
bdenham added a commit that referenced this pull request Dec 11, 2025
KEEPING (infrastructure + merged PRs):
- Purchase Order dropin docs (merged via PR #620)
- B2B Checkout extension docs
- ALL enrichment files (104 files) - master source
- Scripts, templates, sidebar config

REMOVED (open PRs - docs live in PR branches):
- Company Management docs (PR #619 open)
- Company Switcher docs (PR open)
- Quote Management docs (PR #622 open)
- Requisition List docs (PR #623 open)
- Merchant block docs (separate PRs)

Workflow: enrichments in BOTH release + PR branches
- Release branch = master source for ALL enrichments
- PR branches = their dropin's enrichments + generated docs
@bdenham bdenham requested a review from dshevtsov as a code owner December 11, 2025 04:43
26 B2B enrichment JSON files were accidentally deleted during merges.
Restored from releases/b2b-nov-release.
These files are now in a dedicated branch for review:
- Root-level workflow documentation
- Enrichment guide files

This reduces noise in dropin-specific PRs.
@bdenham bdenham force-pushed the b2b-docs-company-management branch from 89a292f to 7a125a5 Compare December 11, 2025 20:21
bdenham added a commit that referenced this pull request Dec 11, 2025
Removed documentation for dropins pending PR review:
- company-management (PR #619 pending)
- company-switcher (PR pending)
- quote-management (PR #621 pending)
- requisition-list (PR #622 pending)

Keeping only:
- purchase-order (PR #620 merged and approved)
- All enrichment files (master source for generators)
- All infrastructure (scripts, templates, configs)
@bdenham bdenham mentioned this pull request Dec 11, 2025
4 tasks
@bdenham
Copy link
Collaborator Author

bdenham commented Dec 11, 2025

Closing in favor of #654 which has a cleaner file structure (17 files instead of 580+) for easier review. All content has been preserved and verified.

@bdenham bdenham closed this Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-topic A major update published as an entirely new document

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants