feat: rename login to foodsharing manager

Use the application name consistently in the login view and its test.
This commit is contained in:
2026-08-06 15:12:47 +02:00
parent fb6bc6addd
commit fcbf6bb949
3 changed files with 4 additions and 5 deletions

View File

@@ -1,4 +1,3 @@
fix: refresh invalid last pickup timestamps feat: rename login to foodsharing manager
Force an immediate member refresh for legacy epoch timestamps so they are Use the application name consistently in the login view and its test.
replaced by the correct no-pickup status without waiting for the weekly check.

View File

@@ -3,6 +3,6 @@ import App from './App';
test('zeigt das Login-Formular an, wenn keine Session aktiv ist', () => { test('zeigt das Login-Formular an, wenn keine Session aktiv ist', () => {
render(<App />); render(<App />);
expect(screen.getByText(/Pickup Config Login/i)).toBeInTheDocument(); expect(screen.getByText(/Foodsharing Manager Login/i)).toBeInTheDocument();
expect(screen.getByLabelText(/E-Mail/i)).toBeInTheDocument(); expect(screen.getByLabelText(/E-Mail/i)).toBeInTheDocument();
}); });

View File

@@ -16,7 +16,7 @@ const LoginView = ({ credentials, onCredentialsChange, error, loading, initializ
}} }}
> >
<div> <div>
<h1 className="text-2xl font-bold mb-2 text-center text-gray-800">Pickup Config Login</h1> <h1 className="text-2xl font-bold mb-2 text-center text-gray-800">Foodsharing Manager Login</h1>
<p className="text-sm text-gray-500 text-center"> <p className="text-sm text-gray-500 text-center">
Die Anwendung authentifiziert sich direkt bei foodsharing.de. Bitte verwende deine persönlichen Login-Daten. Die Anwendung authentifiziert sich direkt bei foodsharing.de. Bitte verwende deine persönlichen Login-Daten.
</p> </p>