Fix file sharing load speed and move error; misc updates

- Remove recursive directory size calculations (single Seafile API call per list)
- Remove 'Used in this location' usage display
- Fix move using v2 per-type endpoints instead of broken batch endpoint
- Send entry type from frontend for correct move routing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Krao Hasanee
2026-05-13 14:20:38 -04:00
parent c9e7816e28
commit eee0885811
117 changed files with 17592 additions and 4057 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ export default function Login() {
useEffect(() => {
if (currentUser) {
navigate(currentUser.role === 'team' ? '/dashboard' : '/my-dashboard', { replace: true });
navigate(currentUser.role === 'client' ? '/my-dashboard' : '/dashboard', { replace: true });
}
}, [currentUser, navigate]);
@@ -25,8 +25,8 @@ export default function Login() {
const { error: err } = await login(email, password);
if (err) {
setError('Invalid email or password.');
setLoading(false);
}
setLoading(false);
// Navigation handled by useEffect watching currentUser
};
@@ -34,7 +34,7 @@ export default function Login() {
<div className="auth-page">
<div className="auth-card">
<div className="auth-logo">
<img src="/fourge-logo.png" alt="Fourge Branding" style={{ width: 200, marginBottom: 8 }} />
<img className="brand-logo brand-logo-auth" src="/fourge-logo.png" alt="Fourge Branding" />
<p>Client & Project Portal</p>
</div>