mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1609] [MERGED] Remove unused chat hook exports #5143
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1609
Author: @cha1latte
Created: 5/29/2026
Status: ✅ Merged
Merged: 5/29/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-1566-knip-chat-hook-exports📝 Commits (1)
7225cbaRemove unused chat hook exports📊 Changes
1 file changed (+0 additions, -37 deletions)
View changed files
📝
src/features/catalog/chats/hooks/use-chats.ts(+0 -37)📄 Description
Linked issue
Closes #1566
Why this change
What changed
useChats,useMarkAutonomousUnread, anduseSwipeshooks fromsrc/features/catalog/chats/hooks/use-chats.ts.MessageSwipetype import from the same file.Refactor impact
Primary owner:
catalog chat hooks (
src/features)Impact areas reviewed:
useChats,useMarkAutonomousUnread, oruseSwipes.Boundary notes:
Pressure points touched:
Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm exec knip --exports --no-config-hints --reporter compact --no-exit-codebefore editing and confirmed the target row:src/features/catalog/chats/hooks/use-chats.ts: useChats, useMarkAutonomousUnread, useSwipes.pnpm exec knip --exports --no-config-hints --reporter compact --no-exit-codeafter the change; the target row is gone.pnpm typecheck.pnpm check:architecture.pnpm check:unused.pnpm build; it passed with the existing Vite large-chunk warning.pnpm check.git diff --check; Git repeated a line-ending notice for the touched file, with no whitespace errors.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A - no visible UI behavior changed.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.