chore(ui): remove dead forge exports and unused useForgeProvider hook

- Remove useForgeProvider React hook (dead; only imperative
  getForgeProviderForDirectory was used, by tests)
- Remove toLookupOptions export from useForgeLookup (only used
  within file)
- Remove ForgeEditForm barrel re-export from forge/actions/index
  (imported directly by ForgeEntityActions)
- Strip forge/index.ts barrel to only actually-consumed exports
  (buildForgeProvider, ForgeIssue, ForgeCommit, ForgeFileChange,
  mapGithubPr)
- Remove ForgeTimelineSection/ForgeChecksSection from views barrel
  (imported directly by ForgeEntityDetailView)
This commit is contained in:
2026-08-18 19:26:49 +00:00
parent 0bd532afbc
commit bf8893f3c5
5 changed files with 7 additions and 105 deletions
@@ -14,6 +14,5 @@ export { ForgeStateActions } from './ForgeStateActions';
export { ForgeReviewActions } from './ForgeReviewActions';
export { ForgeDraftToggle } from './ForgeDraftToggle';
export { ForgeMetadataEditor } from './ForgeMetadataEditor';
export { ForgeEditForm } from './ForgeEditForm';
export { ForgeEntityActions } from './ForgeEntityActions';
export { ForgeCreateIssueDialog } from './ForgeCreateIssueDialog';
@@ -22,7 +22,7 @@ export interface ForgeLookupOption {
}
/** Resolve the dropdown option shape for a given provider/kind result. */
export const toLookupOptions = (
const toLookupOptions = (
kind: ForgeLookupKind,
users: ForgeUser[],
labels: ForgeLabel[],
@@ -8,6 +8,4 @@
export { ForgeMetadataChips } from './ForgeMetadataChips';
export { ForgeCommitsSection } from './ForgeCommitsSection';
export { ForgeFilesDiffSection } from './ForgeFilesDiffSection';
export { ForgeTimelineSection } from './ForgeTimelineSection';
export { ForgeChecksSection } from './ForgeChecksSection';
export { ForgeEntityDetailView } from './ForgeEntityDetailView';