[PR #1611] [MERGED] Narrow lorebook form helper exports #5144

Closed
opened 2026-10-22 04:13:42 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1611
Author: @cha1latte
Created: 5/29/2026
Status: ✅ Merged
Merged: 5/29/2026
Merged by: @cha1latte

Base: refactor ← Head: cleanup/issue-1566-lorebook-form-helper-exports


📝 Commits (1)

  • 62b6426 Narrow lorebook form helper exports

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 src/features/catalog/lorebooks/components/LorebookFormFields.tsx (+3 -3)

📄 Description

Linked issue

Refs #1566

Why this change

  • Implements the Lorebook Form Helper Visibility Knip slice from the restore cleanup queue.

What changed

  • Removed public exports from insertTabAtSelection, handleTextareaTabKeyDown, and ExpandedContentModal.
  • Kept the helpers/components local to LorebookFormFields.tsx with runtime behavior unchanged.

Refactor impact

Primary owner:

catalog/lorebooks (src/features)

Impact areas reviewed:

  • src/features/catalog/lorebooks/components/LorebookFormFields.tsx
  • Knip export report
  • Focused lorebook/component tests: none present

Boundary notes:

  • Feature-lane only.
  • No engine contract cleanup.
  • No lorebook storage, schema, query hook, import, or export behavior touched.

Pressure points touched:

  • None.

Validation

  • pnpm check passes locally
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Playwright, screenshot, or recording evidence added for UI changes
  • Remote runtime smoke checked when relevant

Manual verification notes

  • Codex ran pnpm exec knip --exports --no-config-hints --reporter compact --no-exit-code; the target LorebookFormFields.tsx row was present before the change and absent after the change.
  • Codex ran pnpm typecheck.
  • Codex ran pnpm check:architecture.
  • Codex ran pnpm check:unused.
  • Codex ran pnpm build.
  • Codex ran pnpm check.
  • Codex ran git diff --check.
  • No focused lorebook/component tests were present to run.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

No docs or release notes changed.

UI evidence

N/A. This is an export-visibility cleanup with no intended UI behavior change.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/1611 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/29/2026 **Status:** ✅ Merged **Merged:** 5/29/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `cleanup/issue-1566-lorebook-form-helper-exports` --- ### 📝 Commits (1) - [`62b6426`](https://github.com/Pasta-Devs/Marinara-Engine/commit/62b6426233239d471461b2e3368574978fa44a98) Narrow lorebook form helper exports ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/features/catalog/lorebooks/components/LorebookFormFields.tsx` (+3 -3) </details> ### 📄 Description ## Linked issue Refs #1566 ## Why this change - Implements the Lorebook Form Helper Visibility Knip slice from the restore cleanup queue. ## What changed - Removed public exports from `insertTabAtSelection`, `handleTextareaTabKeyDown`, and `ExpandedContentModal`. - Kept the helpers/components local to `LorebookFormFields.tsx` with runtime behavior unchanged. ## Refactor impact Primary owner: catalog/lorebooks (`src/features`) Impact areas reviewed: - `src/features/catalog/lorebooks/components/LorebookFormFields.tsx` - Knip export report - Focused lorebook/component tests: none present Boundary notes: - Feature-lane only. - No engine contract cleanup. - No lorebook storage, schema, query hook, import, or export behavior touched. Pressure points touched: - None. ## Validation - [ ] `pnpm check` passes locally - [ ] `pnpm typecheck` passes locally - [ ] `pnpm build` passes locally - [ ] `pnpm check:architecture` passes locally - [ ] `pnpm check:docs` passes locally - [ ] `cargo check --manifest-path src-tauri/Cargo.toml --workspace` passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [ ] Browser or Tauri app manual verification completed - [ ] Playwright, screenshot, or recording evidence added for UI changes - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - Codex ran `pnpm exec knip --exports --no-config-hints --reporter compact --no-exit-code`; the target `LorebookFormFields.tsx` row was present before the change and absent after the change. - Codex ran `pnpm typecheck`. - Codex ran `pnpm check:architecture`. - Codex ran `pnpm check:unused`. - Codex ran `pnpm build`. - Codex ran `pnpm check`. - Codex ran `git diff --check`. - No focused lorebook/component tests were present to run. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [ ] Confirmed this PR does not restore old staging/package-workspace/release claims No docs or release notes changed. ## UI evidence N/A. This is an export-visibility cleanup with no intended UI behavior change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:13:42 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5144
No description provided.