Feature batch: Projects, Recurrence, Group settings, Bug fixes
- Projects CRUD API + invite members - Task recurrence (daily/weekly/monthly) with auto-creation - Group time zones + GPS locations settings - i18n fallback fix (no more undefined labels) - UX: action buttons in one row - Chat/Calendar: relative API URLs - DB: task_assignments, projects tables, recurrence column Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -27,6 +27,18 @@ export default function BottomNav() {
|
||||
</svg>
|
||||
),
|
||||
},
|
||||
{
|
||||
href: "/projects",
|
||||
label: t("nav.projects"),
|
||||
icon: (
|
||||
<svg className="w-6 h-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={1.5}>
|
||||
<path strokeLinecap="round" strokeLinejoin="round" d="M2 12.5V3.5C2 2.67 2.67 2 3.5 2H8.5C9.33 2 10 2.67 10 3.5V12.5C10 13.33 9.33 14 8.5 14H3.5C2.67 14 2 13.33 2 12.5Z" />
|
||||
<path strokeLinecap="round" strokeLinejoin="round" d="M14 20.5V11.5C14 10.67 14.67 10 15.5 10H20.5C21.33 10 22 10.67 22 11.5V20.5C22 21.33 21.33 22 20.5 22H15.5C14.67 22 14 21.33 14 20.5Z" />
|
||||
<path strokeLinecap="round" strokeLinejoin="round" d="M14 5.5V3.5C14 2.67 14.67 2 15.5 2H20.5C21.33 2 22 2.67 22 3.5V5.5C22 6.33 21.33 7 20.5 7H15.5C14.67 7 14 6.33 14 5.5Z" />
|
||||
<path strokeLinecap="round" strokeLinejoin="round" d="M2 20.5V18.5C2 17.67 2.67 17 3.5 17H8.5C9.33 17 10 17.67 10 18.5V20.5C10 21.33 9.33 22 8.5 22H3.5C2.67 22 2 21.33 2 20.5Z" />
|
||||
</svg>
|
||||
),
|
||||
},
|
||||
{
|
||||
href: "/goals",
|
||||
label: t("nav.goals"),
|
||||
@@ -45,16 +57,6 @@ export default function BottomNav() {
|
||||
</svg>
|
||||
),
|
||||
},
|
||||
{
|
||||
href: "/settings",
|
||||
label: t("nav.settings"),
|
||||
icon: (
|
||||
<svg className="w-6 h-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={1.5}>
|
||||
<path strokeLinecap="round" strokeLinejoin="round" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.066 2.573c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.573 1.066c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.066-2.573c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />
|
||||
<path strokeLinecap="round" strokeLinejoin="round" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
|
||||
</svg>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
@@ -66,7 +68,7 @@ export default function BottomNav() {
|
||||
<Link
|
||||
key={item.href}
|
||||
href={item.href}
|
||||
className={`flex flex-col items-center justify-center gap-0.5 flex-1 h-full min-w-[64px] min-h-[48px] rounded-lg transition-colors ${
|
||||
className={`flex flex-col items-center justify-center gap-0.5 flex-1 h-full min-w-[56px] min-h-[48px] rounded-lg transition-colors ${
|
||||
isActive
|
||||
? "text-blue-600 dark:text-blue-400"
|
||||
: "text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-300"
|
||||
|
||||
Reference in New Issue
Block a user