mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1729] [MERGED] Type BotBrowser provider responses #5240
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#5240
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/1729
Author: @Xelvanis
Created: 5/31/2026
Status: ✅ Merged
Merged: 5/31/2026
Merged by: @Xelvanis
Base:
refactor← Head:chore/bot-browser-any-slice📝 Commits (4)
0e5051cType BotBrowser provider responses1a254c6Merge remote-tracking branch 'origin/refactor' into chore/bot-browser-any-slice4bf33a8Fix BotBrowser total count and CI checks470c6daMerge remote-tracking branch 'origin/refactor' into chore/bot-browser-any-slice📊 Changes
2 files changed (+357 additions, -64 deletions)
View changed files
📝
src/features/shell/bot-browser/components/BotBrowserView.tsx(+92 -64)➕
src/features/shell/bot-browser/types/provider-responses.ts(+265 -0)📄 Description
Linked issue
No linked issue; this continues the local explicit-
anycleanup chore.Why this change
anyresponse casts, which blocked a futureno-explicit-anylint gate and made provider mapping drift harder to review.What changed
anycasts with those DTOs.Refactor impact
Primary owner:
Shell Bot Browser feature.
Impact areas reviewed:
Boundary notes:
src/features/shell/bot-browser.botBrowserGet/botBrowserPostwrapper path remains intact.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 checkpassed after the final diff.pnpm typecheckpassed.pnpm test src/features/shell/bot-browser/components/BotBrowserView.test.tsxpassed, 4 tests.pnpm check:architecturepassed.pnpm exec eslint src/features/shell/bot-browser/components/BotBrowserView.tsx src/features/shell/bot-browser/types/provider-responses.tspassed.pnpm exec prettier --check src/features/shell/bot-browser/components/BotBrowserView.tsx src/features/shell/bot-browser/types/provider-responses.tspassed.rg -n ": any|as any|<any>|any\[\]" src/features/shell/bot-browser/components/BotBrowserView.tsx src/features/shell/bot-browser/types/provider-responses.tsreturned no matches.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs or release-note changes were made; this is an internal type cleanup.
UI evidence
Not applicable; no visible UI change intended.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.