Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/development/common-change-recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ Do not edit recurring behavior from one layer only.

## Change A Shared Hotkey Dialog (Day + Week)

Use this for overlays mounted in both `CalendarView` and `DayViewContent` (for example Dedication).
Use this for overlays mounted in both `WeekView` and `DayViewContent` (for example Dedication).

1. Update the shared dialog component in `packages/web/src/views/Calendar/components/Dedication/Dedication.tsx`.
1. Update the shared dialog component in `packages/web/src/views/Week/components/Dedication/Dedication.tsx`.
2. Confirm both mount points still render it:
- `packages/web/src/views/Calendar/Calendar.tsx`
- `packages/web/src/views/Week/WeekView.tsx`
- `packages/web/src/views/Day/view/DayViewContent.tsx`
3. Keep keyboard behavior aligned:
- toggle hotkey (`ctrl+shift+0`)
Expand Down
21 changes: 12 additions & 9 deletions docs/development/feature-file-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Use this document to find the first files to inspect for common Compass changes.
- Router config: `packages/web/src/routers/index.tsx`
- Router loaders: `packages/web/src/routers/loaders.ts`
- Client version polling: `packages/web/src/common/hooks/useVersionCheck.ts`
- Update CTA wiring: `packages/web/src/views/Calendar/components/Sidebar/SidebarIconRow/SidebarIconRow.tsx`
- Update CTA wiring: `packages/web/src/views/Week/components/Sidebar/SidebarIconRow/SidebarIconRow.tsx`

## Authentication And Session

Expand Down Expand Up @@ -50,21 +50,24 @@ Use this document to find the first files to inspect for common Compass changes.
- Shared responsive sidebar state hook (`xl` breakpoint behavior): `packages/web/src/common/hooks/useSidebarState.ts`
- Day keyboard shortcuts (includes `[` toggle): `packages/web/src/views/Day/hooks/shortcuts/useDayViewShortcuts.ts`
- Day view hooks: `packages/web/src/views/Day/hooks`
- Week/calendar view: `packages/web/src/views/Calendar`
- Week view: `packages/web/src/views/Week`
- Now view: `packages/web/src/views/Now`
- Now keyboard shortcuts (includes `[` toggle): `packages/web/src/views/Now/shortcuts/useNowShortcuts.ts`
- Dedication dialog implementation (native `dialog` + hotkeys): `packages/web/src/views/Calendar/components/Dedication/Dedication.tsx`
- Dedication dialog implementation (native `dialog` + hotkeys): `packages/web/src/views/Week/components/Dedication/Dedication.tsx`
- Dedication dialog mount points:
- week view: `packages/web/src/views/Calendar/Calendar.tsx`
- week view: `packages/web/src/views/Week/WeekView.tsx`
- day view: `packages/web/src/views/Day/view/DayViewContent.tsx`

## Calendar Sidebar
## Week Sidebar

- Sidebar shell and tab rendering: `packages/web/src/views/Calendar/components/Sidebar/Sidebar.tsx`
- Footer icon row actions (tasks/month, command palette, sync/update): `packages/web/src/views/Calendar/components/Sidebar/SidebarIconRow/SidebarIconRow.tsx`
- Sidebar layout constants and icon group styling: `packages/web/src/views/Calendar/components/Sidebar/styled.ts`
- Sidebar shell and tab rendering: `packages/web/src/views/Week/components/Sidebar/Sidebar.tsx`
- Someday tab rendering: `packages/web/src/views/Week/components/Sidebar/SomedayTab/SomedayTab.tsx`
- Someday week section: `packages/web/src/views/Week/components/Sidebar/SomedayTab/SomedayWeekSection/SomedayWeekSection.tsx`
- Someday month section: `packages/web/src/views/Week/components/Sidebar/SomedayTab/SomedayMonthSection/SomedayMonthSection.tsx`
- Footer icon row actions (tasks/month, command palette, sync/update): `packages/web/src/views/Week/components/Sidebar/SidebarIconRow/SidebarIconRow.tsx`
- Sidebar layout constants and icon group styling: `packages/web/src/views/Week/components/Sidebar/styled.ts`
- Google connection/status UI contract for sidebar + command palette: `packages/web/src/auth/hooks/google/useConnectGoogle/useConnectGoogle.ts`
- Sidebar icon row behavior tests: `packages/web/src/views/Calendar/components/Sidebar/SidebarIconRow/SidebarIconRow.test.tsx`
- Sidebar icon row behavior tests: `packages/web/src/views/Week/components/Sidebar/SidebarIconRow/SidebarIconRow.test.tsx`

## Offline Storage

Expand Down
19 changes: 11 additions & 8 deletions docs/frontend/frontend-runtime-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Responsibilities:
Files:

- `packages/web/src/common/hooks/useVersionCheck.ts`
- `packages/web/src/views/Calendar/components/Sidebar/SidebarIconRow/SidebarIconRow.tsx`
- `packages/web/src/views/Week/components/Sidebar/SidebarIconRow/SidebarIconRow.tsx`

Runtime behavior:

Expand All @@ -111,13 +111,16 @@ Runtime behavior:

When the server version differs from `BUILD_VERSION`, `isUpdateAvailable` becomes `true` and the sidebar shows a refresh action that triggers `window.location.reload()`.

## Calendar Sidebar Footer Controls
## Week Sidebar Footer Controls

Files:

- `packages/web/src/views/Calendar/components/Sidebar/Sidebar.tsx`
- `packages/web/src/views/Calendar/components/Sidebar/SidebarIconRow/SidebarIconRow.tsx`
- `packages/web/src/views/Calendar/components/Sidebar/styled.ts`
- `packages/web/src/views/Week/components/Sidebar/Sidebar.tsx`
- `packages/web/src/views/Week/components/Sidebar/SomedayTab/SomedayTab.tsx`
- `packages/web/src/views/Week/components/Sidebar/SomedayTab/SomedayWeekSection/SomedayWeekSection.tsx`
- `packages/web/src/views/Week/components/Sidebar/SomedayTab/SomedayMonthSection/SomedayMonthSection.tsx`
- `packages/web/src/views/Week/components/Sidebar/SidebarIconRow/SidebarIconRow.tsx`
- `packages/web/src/views/Week/components/Sidebar/styled.ts`
- `packages/web/src/auth/hooks/google/useConnectGoogle/useConnectGoogle.ts`

Layout contract:
Expand Down Expand Up @@ -148,8 +151,8 @@ Icon state constraints:

Files:

- `packages/web/src/views/Calendar/components/Dedication/Dedication.tsx`
- `packages/web/src/views/Calendar/Calendar.tsx`
- `packages/web/src/views/Week/components/Dedication/Dedication.tsx`
- `packages/web/src/views/Week/WeekView.tsx`
- `packages/web/src/views/Day/view/DayViewContent.tsx`

Runtime behavior:
Expand Down Expand Up @@ -326,7 +329,7 @@ Files:

- `packages/web/src/auth/hooks/google/useConnectGoogle/useConnectGoogle.ts`
- `packages/web/src/auth/google/google.auth.util.ts`
- `packages/web/src/views/Calendar/components/Sidebar/SidebarIconRow/SidebarIconRow.tsx`
- `packages/web/src/views/Week/components/Sidebar/SidebarIconRow/SidebarIconRow.tsx`

UI state comes from a single server-enriched metadata field (`google.connectionState`) plus one client-only loading state:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from "@core/__mocks__/v1/events/events.misc";
import { Status } from "@core/errors/status.codes";
import { ENV_WEB } from "@web/common/constants/env.constants";
import { freshenEventStartEndDate } from "@web/views/Calendar/calendar.render.test.utils";
import { freshenEventStartEndDate } from "@web/views/Week/week-view.render.test.utils";

export const globalHandlers = [
rest.get("http://localhost/version.json", (_req, res, ctx) => {
Expand Down
12 changes: 6 additions & 6 deletions packages/web/src/__tests__/utils/state/draft.test.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import { renderHook } from "@web/__tests__/__mocks__/mock.render";
import { type Schema_WebEvent } from "@web/common/types/web.event.types";
import { assembleGridEvent } from "@web/common/utils/event/event.util";
import { draftSlice } from "@web/ducks/events/slices/draft.slice";
import { useDraftActions } from "@web/views/Calendar/components/Draft/hooks/actions/useDraftActions";
import { useDraftState } from "@web/views/Calendar/components/Draft/hooks/state/useDraftState";
import { useDateCalcs } from "@web/views/Calendar/hooks/grid/useDateCalcs";
import { useGridLayout } from "@web/views/Calendar/hooks/grid/useGridLayout";
import { useToday } from "@web/views/Calendar/hooks/useToday";
import { useWeek } from "@web/views/Calendar/hooks/useWeek";
import { useDraftActions } from "@web/views/Week/components/Draft/hooks/actions/useDraftActions";
import { useDraftState } from "@web/views/Week/components/Draft/hooks/state/useDraftState";
import { useDateCalcs } from "@web/views/Week/hooks/grid/useDateCalcs";
import { useGridLayout } from "@web/views/Week/hooks/grid/useGridLayout";
import { useToday } from "@web/views/Week/hooks/useToday";
import { useWeek } from "@web/views/Week/hooks/useWeek";

export function setupDraftState(event: Schema_WebEvent) {
const draft = assembleGridEvent(event);
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/common/parsers/view.parser.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import dayjs, { type Dayjs } from "@core/util/date/dayjs";
import { type Schema_WebEvent } from "@web/common/types/web.event.types";
import { type WeekNavigationSource } from "@web/views/Calendar/hooks/useWeek";
import { type WeekNavigationSource } from "@web/views/Week/hooks/useWeek";

export class EventInViewParser {
private readonly event: Schema_WebEvent;
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/common/utils/datetime/web.date.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { theme } from "@web/common/styles/theme";
import { type Option_Time } from "@web/common/types/util.types";
import { type Schema_SelectedDates } from "@web/common/types/web.event.types";
import { roundToNext } from "@web/common/utils/round/round.util";
import { GRID_TIME_STEP } from "@web/views/Calendar/layout.constants";
import { GRID_TIME_STEP } from "@web/views/Week/layout.constants";

export const dateIsValid = (date: string) => {
const notNaN = !Number.isNaN(new Date(date).getTime());
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/common/utils/draft/draft.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import { getElemById } from "@web/common/utils/grid/grid.util";
import { roundToNext } from "@web/common/utils/round/round.util";
import { draftSlice } from "@web/ducks/events/slices/draft.slice";
import { type Activity_DraftEvent } from "@web/ducks/events/slices/draft.slice.types";
import { type DateCalcs } from "@web/views/Calendar/hooks/grid/useDateCalcs";
import { type DateCalcs } from "@web/views/Week/hooks/grid/useDateCalcs";
import {
DRAFT_DURATION_MIN,
GRID_TIME_STEP,
} from "@web/views/Calendar/layout.constants";
} from "@web/views/Week/layout.constants";

export const assembleAlldayDraft = async (
e: MouseEvent,
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/common/utils/grid/grid.util.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
FLEX_EQUAL,
FLEX_TMRW,
FLEX_TODAY,
} from "@web/views/Calendar/layout.constants";
} from "@web/views/Week/layout.constants";
import { getFlexBasis, getLineClamp, getPrevDayWidth } from "./grid.util";

describe("getLineClamp", () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/common/utils/grid/grid.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
FLEX_EQUAL,
FLEX_TMRW,
FLEX_TODAY,
} from "@web/views/Calendar/layout.constants";
} from "@web/views/Week/layout.constants";

export const assignEventToRow = (
eventDays: number[],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import {
GRID_MARGIN_LEFT,
TIMED_EVENT_COLUMN_INSET,
} from "@web/views/Calendar/layout.constants";
} from "@web/views/Week/layout.constants";

const createTimedEvent = (
overrides: Partial<Schema_GridEvent> = {},
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/common/utils/position/position.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import dayjs, { type Dayjs } from "@core/util/date/dayjs";
import { ACCEPTED_TIMES } from "@web/common/constants/web.constants";
import { type Schema_GridEvent } from "@web/common/types/web.event.types";
import { Category } from "@web/ducks/events/event.types";
import { type Measurements_Grid } from "@web/views/Calendar/hooks/grid/useGridLayout";
import { type Measurements_Grid } from "@web/views/Week/hooks/grid/useGridLayout";
import {
DRAFT_PADDING_BOTTOM,
EVENT_ALLDAY_HEIGHT,
EVENT_ALLDAY_ROW_HEIGHT,
EVENT_PADDING_RIGHT,
GRID_MARGIN_LEFT,
TIMED_EVENT_COLUMN_INSET,
} from "@web/views/Calendar/layout.constants";
} from "@web/views/Week/layout.constants";

export const getAbsoluteLeftPosition = (
category: Category,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { DNDContext } from "@web/components/DND/DNDContext";
import { DNDOverlay } from "@web/components/DND/DNDOverlay";
import { IconProvider } from "@web/components/IconProvider/IconProvider";
import { store } from "@web/store";
import { useGlobalShortcuts } from "@web/views/Calendar/hooks/shortcuts/useGlobalShortcuts";
import { useGlobalShortcuts } from "@web/views/Week/hooks/shortcuts/useGlobalShortcuts";

/**
* Mount once under {@link HotkeysProvider} and inside React Router so
Expand Down
33 changes: 15 additions & 18 deletions packages/web/src/components/ContextMenu/ContextMenuItems.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,24 @@ const mockSetDraft = mock();
const mockSubmit = mock();
const mockOnDelete = mock();

mock.module(
"@web/views/Calendar/components/Draft/context/useDraftContext",
() => ({
useDraftContext: () => ({
actions: {
openForm: mockOpenForm,
duplicateEvent: mockDuplicateEvent,
submit: mockSubmit,
},
setters: {
setDraft: mockSetDraft,
},
confirmation: {
onDelete: mockOnDelete,
},
}),
mock.module("@web/views/Week/components/Draft/context/useDraftContext", () => ({
useDraftContext: () => ({
actions: {
openForm: mockOpenForm,
duplicateEvent: mockDuplicateEvent,
submit: mockSubmit,
},
setters: {
setDraft: mockSetDraft,
},
confirmation: {
onDelete: mockOnDelete,
},
}),
);
}));

mock.module(
"@web/views/Calendar/components/Draft/sidebar/context/useSidebarContext",
"@web/views/Week/components/Draft/sidebar/context/useSidebarContext",
() => ({
useSidebarContext: () => null,
}),
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/components/ContextMenu/ContextMenuItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import {
import IconButton from "@web/components/IconButton/IconButton";
import { selectIsEventPending } from "@web/ducks/events/selectors/pending.selectors";
import { useAppSelector } from "@web/store/store.hooks";
import { useDraftContext } from "@web/views/Calendar/components/Draft/context/useDraftContext";
import { useSidebarContext } from "@web/views/Calendar/components/Draft/sidebar/context/useSidebarContext";
import { useDraftContext } from "@web/views/Week/components/Draft/context/useDraftContext";
import { useSidebarContext } from "@web/views/Week/components/Draft/sidebar/context/useSidebarContext";

export interface ContextMenuAction {
id: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/components/DatePicker/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { brighten, darken, isDark } from "@core/util/color.utils";
import { theme } from "@web/common/styles/theme";
import { Flex } from "@web/components/Flex";
import { Text } from "@web/components/Text";
import { SIDEBAR_MONTH_HEIGHT } from "@web/views/Calendar/layout.constants";
import { SIDEBAR_MONTH_HEIGHT } from "@web/views/Week/layout.constants";

const _hoverStyle = `
background-color: ${theme.color.fg.primary};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import {
useFloatingOpenAtCursor,
} from "@web/common/hooks/useOpenAtCursor";
import { eventsStore, setDraft } from "@web/store/events";
import { useDraft } from "@web/views/Calendar/components/Draft/context/useDraft";
import { EventForm } from "@web/views/Forms/EventForm/EventForm";
import { useCloseEventForm } from "@web/views/Forms/hooks/useCloseEventForm";
import { useDeleteEvent } from "@web/views/Forms/hooks/useDeleteEvent";
import { useDuplicateEvent } from "@web/views/Forms/hooks/useDuplicateEvent";
import { useSaveEventForm } from "@web/views/Forms/hooks/useSaveEventForm";
import { useDraft } from "@web/views/Week/components/Draft/context/useDraft";

export function FloatingEventForm({
floating,
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/ducks/events/sagas/event.sagas.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const { getWeekEventsSlice } = await import(
);
const { sagas } = await import("@web/store/sagas");
const { OnSubmitParser } = await import(
"@web/views/Calendar/components/Draft/hooks/actions/submit.parser"
"@web/views/Week/components/Draft/hooks/actions/submit.parser"
);

global.alert = mockAlert as typeof global.alert;
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/routers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ export const router = createBrowserRouter(
{
path: ROOT_ROUTES.WEEK,
lazy: async () =>
import(/* webpackChunkName: "week" */ "@web/views/Calendar").then(
import(/* webpackChunkName: "week" */ "@web/views/Week").then(
(module) => ({
Component: module.CalendarView,
Component: module.WeekView,
}),
),
},
Expand Down
3 changes: 0 additions & 3 deletions packages/web/src/views/Calendar/index.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion packages/web/src/views/CmdPalette/CmdPalette.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { draftSlice } from "@web/ducks/events/slices/draft.slice";
import { selectIsCmdPaletteOpen } from "@web/ducks/settings/selectors/settings.selectors";
import { settingsSlice } from "@web/ducks/settings/slices/settings.slice";
import { useAppDispatch, useAppSelector } from "@web/store/store.hooks";
import { type ShortcutProps } from "@web/views/Calendar/hooks/shortcuts/useWeekShortcuts";
import { type ShortcutProps } from "@web/views/Week/hooks/shortcuts/useWeekShortcuts";

const CommandPalette = resolveDefaultExport(_CommandPalette);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import { Droppable } from "@web/components/DND/Droppable";
import { selectPendingEventIds } from "@web/ducks/events/selectors/pending.selectors";
import { allDayEvents$ } from "@web/store/events";
import { useAppSelector } from "@web/store/store.hooks";
import { useDraft } from "@web/views/Calendar/components/Draft/context/useDraft";
import { DraggableAllDayAgendaEvent } from "@web/views/Day/components/Agenda/Events/AllDayAgendaEvent/DraggableAllDayAgendaEvent";
import { useOpenEventForm } from "@web/views/Forms/hooks/useOpenEventForm";
import { useDraft } from "@web/views/Week/components/Draft/context/useDraft";

const AllDayAgendaEventsComponent = ({
interactions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ import {
import { selectPendingEventIds } from "@web/ducks/events/selectors/pending.selectors";
import { timedEvents$ } from "@web/store/events";
import { useAppSelector } from "@web/store/store.hooks";
import { useDraft } from "@web/views/Calendar/components/Draft/context/useDraft";
import { AgendaSkeleton } from "@web/views/Day/components/Agenda/AgendaSkeleton/AgendaSkeleton";
import { DraggableTimedAgendaEvent } from "@web/views/Day/components/Agenda/Events/TimedAgendaEvent/DraggableTimedAgendaEvent";
import { useOpenEventForm } from "@web/views/Forms/hooks/useOpenEventForm";
import { useDraft } from "@web/views/Week/components/Draft/context/useDraft";

export const TimedAgendaEvents = memo(
({ interactions }: { interactions: UseInteractionsReturn }) => {
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/views/Day/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { HeaderInfoIcon } from "@web/components/HeaderInfoIcon/HeaderInfoIcon";
import { SidebarIcon } from "@web/components/Icons/Sidebar";
import { SelectView } from "@web/components/SelectView/SelectView";
import { TooltipWrapper } from "@web/components/Tooltip/TooltipWrapper";
import { Reminder } from "@web/views/Calendar/components/Header/Reminder/Reminder";
import { useReminderHotkey } from "@web/views/Calendar/hooks/shortcuts/useFocusHotkey";
import { Reminder } from "@web/views/Week/components/Header/Reminder/Reminder";
import { useReminderHotkey } from "@web/views/Week/hooks/shortcuts/useFocusHotkey";

interface Props {
showReminder?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { DotsSixVerticalIcon } from "@phosphor-icons/react";
import classNames from "classnames";
import { useLayoutEffect, useRef } from "react";
import { type Task as ITask } from "@web/common/types/task.types";
import { getStyle } from "@web/views/Calendar/components/Sidebar/SomedayTab/SomedayEvents/SomedayEvent/styled";
import { Task } from "@web/views/Day/components/Task/Task";
import { type useTasks } from "@web/views/Day/hooks/tasks/useTasks";
import { getStyle } from "@web/views/Week/components/Sidebar/SomedayTab/SomedayEvents/SomedayEvent/styled";

function getFiniteFloatingStyles(
styles: ReturnType<typeof useFloating>["floatingStyles"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import dayjs from "@core/util/date/dayjs";
import { ArrowButton } from "@web/components/Button/ArrowButton";
import { SelectView } from "@web/components/SelectView/SelectView";
import { TooltipWrapper } from "@web/components/Tooltip/TooltipWrapper";
import { TodayButton } from "@web/views/Calendar/components/TodayButton/TodayButton";
import { useDateInView } from "@web/views/Day/hooks/navigation/useDateInView";
import { useDateNavigation } from "@web/views/Day/hooks/navigation/useDateNavigation";
import { TodayButton } from "@web/views/Week/components/TodayButton/TodayButton";

export const DAY_HEADING_FORMAT = "dddd";
export const DAY_SUBHEADING_FORMAT = "MMMM D";
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/views/Day/components/Tasks/Tasks.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { DragDropContext, Droppable } from "@hello-pangea/dnd";
import { DropZone } from "@web/views/Calendar/components/Sidebar/SomedayTab/SomedayEvents/SomedayEventsContainer/Dropzone";
import { DraggableTask } from "@web/views/Day/components/Task/DraggableTask";
import { useDNDTasksContext } from "@web/views/Day/hooks/tasks/useDNDTasks";
import { useTasks } from "@web/views/Day/hooks/tasks/useTasks";
import { DropZone } from "@web/views/Week/components/Sidebar/SomedayTab/SomedayEvents/SomedayEventsContainer/Dropzone";

export const Tasks = () => {
const tasksProps = useTasks();
Expand Down
Loading
Loading