Reworked settings screens.

This commit is contained in:
Mike Cao committed 2025-05-03 00:31:37 -07:00
1 parent c1d301ffdc
commit 0a16ab38e4
58 files changed
+362 -365

No files matched your search

-1
View File
@@ -106,7 +106,6 @@ export function DateFilter({
placeholder={formatMessage(labels.selectDate)}
onSelectionChange={handleChange}
renderValue={renderValue}
style={{ width: 'auto' }}
>
{options.map(({ label, value, divider }: any) => {
return (
+1 -1
View File
@@ -22,7 +22,7 @@ export function ProfileButton() {
const handleSelect = (key: Key) => {
if (key === 'profile') {
router.push('/profile');
router.push('/settings/profile');
}
if (key === 'logout') {
router.push('/logout');
+2 -2
View File
@@ -1,6 +1,6 @@
import { Button, Icon, DialogTrigger, Popover, Column, Label } from '@umami/react-zen';
import { TimezoneSetting } from '@/app/(main)/profile/TimezoneSetting';
import { DateRangeSetting } from '@/app/(main)/profile/DateRangeSetting';
import { TimezoneSetting } from '@/app/(main)/settings/profile/TimezoneSetting';
import { DateRangeSetting } from '@/app/(main)/settings/profile/DateRangeSetting';
import { Icons } from '@/components/icons';
import { useMessages } from '@/components/hooks';