shibamudi
1b96325fea
Adds pathname to effect dependencies
...
Ensures the effect hook updates correctly when the pathname changes,
improving synchronization with route-based state changes.
2026-01-30 00:02:26 +09:00
shibamudi
19dd4e287f
Uses dynamic API endpoint for URL parsing
...
Replaces hardcoded API path with a dynamic endpoint resolver to support flexible deployments and ensure correct API routing in different environments.
2026-01-30 00:02:26 +09:00
shibamudi
699767f392
Uses dynamic API base path for model fetch
...
Replaces the hardcoded API endpoint with a function that retrieves
the correct base path for server model requests. Improves compatibility
with deployments where the API is not served from the root path.
2026-01-30 00:02:26 +09:00
shibamudi
feeb9ec0c5
Refactors image component to support ref forwarding
...
Enables ref forwarding for improved integration with parent components
and libraries that require direct DOM access. Enhances flexibility and
maintainability by switching to a forwardRef implementation.
2026-01-30 00:02:26 +09:00
十八亩地 and Copilot
f1a3044224
Update components/image-with-basepath.tsx
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-30 00:02:26 +09:00
十八亩地 and Copilot
71a1d02e28
Update components/chat-panel.tsx
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-30 00:02:26 +09:00
十八亩地 and Copilot
2d17963b2a
Update components/image-with-basepath.tsx
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-30 00:02:26 +09:00
十八亩地 and Copilot
3721b16d18
Update components/image-with-basepath.tsx
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-30 00:02:26 +09:00
十八亩地
cbde35fb54
Update import path for getAssetUrl function
2026-01-30 00:02:26 +09:00
十八亩地 and Copilot
f098e557fc
Update components/image-with-basepath.tsx
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-30 00:02:26 +09:00
十八亩地 and Copilot
a245dcb150
Update components/image-with-basepath.tsx
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-30 00:02:26 +09:00
shibamudi
f2f5ac907d
fix: update image imports to use custom Image component with base path handling
2026-01-30 00:02:26 +09:00
shibamudi
0a79536002
fix(chat-panel): update path handling with usePathname for URL management
...
When `basePath` is set, using `window.location.pathname` causes the `basePath` to be duplicated.
2026-01-30 00:02:25 +09:00