Skip to content

Commit

Permalink
removed dev log outs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-wishes committed Sep 12, 2023
1 parent 9dff0ee commit d7f5ab1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
3 changes: 0 additions & 3 deletions library/src/components/timetable/LPTimeTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ const LPTimeTableImpl = <G extends TimeTableGroup, I extends TimeSlotBooking>({
//#region calculate time slots, dates array and the final time steps size in minutes
const { slotsArray, timeFrameDay, timeSlotMinutes } = useMemo(() => {
// to avoid overflow onto the next day if the time steps are too large
console.log("TIME STEPS MINUTES", startDate, viewType, endDate)
const { timeFrameDay, slotsArray, timeSlotMinutes } =
calculateTimeSlotPropertiesForView(
startDate,
Expand All @@ -219,8 +218,6 @@ const LPTimeTableImpl = <G extends TimeTableGroup, I extends TimeSlotBooking>({
setMessage,
)

console.log("SLOTS ARRAY", slotsArray.length)

return { slotsArray, timeFrameDay, timeSlotMinutes }
}, [viewType, startDate, endDate, timeStepsMinutes, setMessage])
//#endregion
Expand Down
16 changes: 15 additions & 1 deletion showcase/public/showcase-sources.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1777,7 +1777,7 @@ const exampleEntries: TimeTableEntry<ExampleGroup, ExampleItem>[] = [
},
items: [],
},
{
/*{
group: {
title: "Group 1",
subtitle: "Group 1 description",
Expand Down Expand Up @@ -2055,6 +2055,20 @@ const exampleEntries: TimeTableEntry<ExampleGroup, ExampleItem>[] = [
title: "Item 6-2-2",
},
],
},*/
{
group: {
title: "Group 7 (Full Day)",
subtitle: "Whole Time Frame",
},
items: [
{
// this case ends after the end of the day and starts before
startDate: dayjs().startOf("day"),
endDate: dayjs().endOf("day"),
title: "Item 7-1",
},
],
},
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const exampleEntries: TimeTableEntry<ExampleGroup, ExampleItem>[] = [
},
items: [],
},
/*{
{
group: {
title: "Group 1",
subtitle: "Group 1 description",
Expand Down Expand Up @@ -323,7 +323,7 @@ const exampleEntries: TimeTableEntry<ExampleGroup, ExampleItem>[] = [
title: "Item 6-2-2",
},
],
},*/
},
{
group: {
title: "Group 7 (Full Day)",
Expand Down
2 changes: 1 addition & 1 deletion showcase/src/page/IntroPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { token } from "@atlaskit/tokens"

const releaseTag = import.meta.env.VITE_GH_RELEASE_TAG

console.log("RELEASE TAG", releaseTag)
console.log("ui-kit-ts release:", releaseTag)

const Code = styled.div`
overflow: auto;
Expand Down

0 comments on commit d7f5ab1

Please sign in to comment.