Compare commits

..

1 commit

Author SHA1 Message Date
8ffe7850ad feat: Implement settings dropdown and page components
Some checks failed
container-scan / Container Scan (pull_request) Failing after 1m17s
docker-build / docker (pull_request) Failing after 1m4s
tests / Tests (pull_request) Failing after 3m9s
- Added `SettingsDropdown` component for selecting settings sections with icons and descriptions.
- Created `SettingsPage` component to manage user settings, including account details, notifications, calendar availability, privacy, and appearance.
- Introduced `SettingsSwitcher` for selecting options within settings.
- Integrated command and dialog components for improved user interaction.
- Updated `UserDropdown` to include links for settings and logout.
- Refactored button styles and card footer layout for consistency.
- Added popover functionality for dropdown menus.
- Updated dependencies in `yarn.lock` for new components.
2025-06-30 23:33:36 +02:00

View file

@ -32,7 +32,9 @@ export default function LabeledInput({
error?: string;
} & React.InputHTMLAttributes<HTMLInputElement>) {
const [passwordVisible, setPasswordVisible] = React.useState(false);
const [inputValue, setInputValue] = React.useState(value || defaultValue || '');
const [inputValue, setInputValue] = React.useState(
value || defaultValue || '',
);
const handleInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
setInputValue(e.target.value);