-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: refact timesheet * fix: cspell * fix: setCalendarTimeSheet is defined but never used. * improv: timesheet
- v0.94.0
- v0.93.5
- v0.93.4
- v0.93.3
- v0.93.2
- v0.93.1
- v0.93.0
- v0.92.11
- v0.92.10
- v0.92.9
- v0.92.8
- v0.92.7
- v0.92.6
- v0.92.5
- v0.92.4
- v0.92.3
- v0.92.2
- v0.92.1
- v0.92.0
- v0.91.20
- v0.91.19
- v0.91.18
- v0.91.17
- v0.91.16
- v0.91.15
- v0.91.14
- v0.91.13
- v0.91.12
- v0.91.11
- v0.91.10
- v0.91.9
- v0.91.8
- v0.91.7
- v0.91.6
- v0.91.5
- v0.91.4
- v0.91.3
- v0.91.2
- v0.91.1
- v0.91.0
- v0.90.15
- v0.90.14
- v0.90.13
- v0.90.12
- v0.90.11
- v0.90.10
- v0.90.9
- v0.90.8
- v0.90.7
- v0.90.6
- v0.90.5
- v0.90.4
- v0.90.3
- v0.90.2
- v0.90.1
- v0.90.0
- v0.89.12
- v0.89.11
- v0.89.10
- v0.89.9
- v0.89.8
- v0.89.7
- v0.89.6
- v0.89.5
- v0.89.4
- v0.89.3
- v0.89.2
- v0.89.1
- v0.89.0
- v0.88.48
- v0.88.47
- v0.88.46
- v0.88.45
- v0.88.44
- v0.88.43
- v0.88.42
- v0.88.41
- v0.88.40
- v0.88.39
- v0.88.38
- v0.88.37
- v0.88.36
- v0.88.35
- v0.88.34
- v0.88.33
- v0.88.32
- v0.88.31
- v0.88.30
- v0.88.29
- v0.88.28
- v0.88.27
- v0.88.26
- v0.88.25
- v0.88.24
- v0.88.23
- v0.88.22
- v0.88.21
- v0.88.20
- v0.88.19
- v0.88.18
- v0.88.17
- v0.88.16
- v0.88.15
- v0.88.14
- v0.88.13
- v0.88.12
- v0.88.11
- v0.88.10
- v0.88.9
- v0.88.8
- v0.88.7
- v0.88.6
- v0.88.5
- v0.88.4
- v0.88.3
- v0.88.2
- v0.88.1
- v0.88.0
- v0.87.11
- v0.87.10
- v0.87.9
- v0.87.8
- v0.87.7
- v0.87.6
- v0.87.5
- v0.87.4
- v0.87.3
- v0.87.2
- v0.87.1
- v0.87.0
- v0.86.4
- v0.86.3
- v0.86.2
- v0.86.1
- v0.86.0
- v0.85.42
- v0.85.41
- v0.85.40
- v0.85.39
- v0.85.38
- v0.85.37
- v0.85.36
- v0.85.35
- v0.85.34
- v0.85.33
- v0.85.32
- v0.85.31
- v0.85.30
- v0.85.29
- v0.85.28
- v0.85.27
- v0.85.26
- v0.85.25
- v0.85.24
- v0.85.23
- v0.85.22
- v0.85.21
- v0.85.20
- v0.85.19
- v0.85.18
- v0.85.17
- v0.85.16
- v0.85.15
- v0.85.14
- v0.85.13
- v0.85.12
- v0.85.11
- v0.85.10
- v0.85.9
- v0.85.8
- v0.85.7
- v0.85.6
- v0.85.5
- v0.85.4
- v0.85.3
- v0.85.2
- v0.85.1
- v0.85.0
- v0.84.7
- v0.84.6
- v0.84.5
- v0.84.4
- v0.84.3
- v0.84.2
- v0.84.1
- v0.84.0
- v0.83.6
- v0.83.5
- v0.83.4
- v0.83.3
- v0.83.2
- v0.83.1
- v0.83.0
- v0.82.3
- v0.82.2
- v0.82.1
- v0.82.0
- v0.81.3
- v0.81.2
- v0.81.1
- v0.81.0
- v0.80.2
- v0.80.1
- v0.80.0
- v0.79.9
- v0.79.8
- v0.79.7
- v0.79.6
- v0.79.5
- v0.79.4
- v0.79.3
- v0.79.2
- v0.79.1
- v0.79.0
- v0.78.1
- v0.78.0
- v0.77.7
- v0.77.6
- v0.77.5
- v0.77.4
- v0.77.3
- v0.77.2
- v0.77.1
- v0.77.0
- v0.76.21
- v0.76.20
- v0.76.19
- v0.76.18
- v0.76.17
- v0.76.16
- v0.76.15
- v0.76.14
- v0.76.13
- v0.76.12
- v0.76.11
- v0.76.10
- v0.76.9
- v0.76.8
- v0.76.7
- v0.76.6
- v0.76.5
- v0.76.4
- v0.76.3
- v0.76.2
- v0.76.1
- v0.76.0
- v0.75.4
- v0.75.3
- v0.75.2
- v0.75.1
- v0.75.0
- v0.74.13
- v0.74.12
- v0.74.11
- v0.74.10
- v0.74.9
- v0.74.8
- v0.74.7
- v0.74.6
- v0.74.5
- v0.74.4
- v0.74.3
- v0.74.2
- v0.74.1
- v0.74.0
- v0.73.0
- v0.72.3
- v0.72.2
- v0.72.1
1 parent
85619f1
commit b3c0138
Showing
11 changed files
with
365 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ | |
"Bowser", | ||
"Btns", | ||
"Konviser", | ||
"Ruslan", | ||
"Bugsnag", | ||
"buildjet", | ||
"cacheable", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import * as React from "react" | ||
import { cva, type VariantProps } from "class-variance-authority" | ||
|
||
import { cn } from "lib/utils" | ||
|
||
const badgeVariants = cva( | ||
"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", | ||
{ | ||
variants: { | ||
variant: { | ||
default: | ||
"border-transparent bg-primary text-primary-foreground hover:bg-primary/80", | ||
secondary: | ||
"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80", | ||
destructive: | ||
"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80", | ||
outline: "text-foreground", | ||
}, | ||
}, | ||
defaultVariants: { | ||
variant: "default", | ||
}, | ||
} | ||
) | ||
|
||
export interface BadgeProps | ||
extends React.HTMLAttributes<HTMLDivElement>, | ||
VariantProps<typeof badgeVariants> {} | ||
|
||
function Badge({ className, variant, ...props }: BadgeProps) { | ||
return ( | ||
<div className={cn(badgeVariants({ variant }), className)} {...props} /> | ||
) | ||
} | ||
|
||
export { Badge, badgeVariants } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
91 changes: 91 additions & 0 deletions
91
apps/web/lib/features/integrations/calendar/helper-calendar.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,92 @@ | ||
export type timesheetCalendar = 'TimeSheet' | 'Calendar'; | ||
|
||
export const statusOptions = [ | ||
{ value: "Approved", label: "Approved" }, | ||
{ value: "Pending", label: "Pending" }, | ||
{ value: "Rejected", label: "Rejected" }, | ||
]; | ||
|
||
export type TimeSheet = { | ||
id: number, | ||
task: string, | ||
name: string, | ||
description: string, | ||
employee: string, | ||
status: "Approved" | "Pending" | "Rejected", | ||
time: string | ||
} | ||
|
||
export const dataSourceTimeSheet: TimeSheet[] = [ | ||
{ | ||
id: 1, | ||
task: "chore(deps-dev): bump karma from 5.2.3 to 6.3.16chore", | ||
name: "Gauzy Platform SaaS", | ||
description: "Members count 11", | ||
employee: "Ruslan Konviser", | ||
status: "Approved", | ||
time: '08:00h' | ||
}, | ||
{ | ||
id: 2, | ||
task: "chore(deps-dev): bump karma from 5.2.3 to 6.3.16chore", | ||
name: "Gauzy Platform SaaS", | ||
description: "Members count 11", | ||
employee: "Ruslan Konviser", | ||
status: "Pending", | ||
time: '08:00h' | ||
}, | ||
{ | ||
id: 3, | ||
task: "chore(deps-dev): bump karma from 5.2.3 to 6.3.16chore", | ||
name: "Gauzy Platform SaaS", | ||
description: "Members count 11", | ||
employee: "Ruslan Konviser", | ||
status: "Approved", | ||
time: '08:00h' | ||
}, | ||
{ | ||
id: 4, | ||
task: "chore(deps-dev): bump karma from 5.2.3 to 6.3.16chore", | ||
name: "Gauzy Platform SaaS", | ||
description: "Members count 11", | ||
employee: "Ruslan Konviser", | ||
status: "Pending", | ||
time: '08:00h' | ||
}, | ||
{ | ||
id: 5, | ||
task: "chore(deps-dev): bump karma from 5.2.3 to 6.3.16chore", | ||
name: "Gauzy Platform SaaS", | ||
description: "Members count 11", | ||
employee: "Ruslan Konviser", | ||
status: "Rejected", | ||
time: '06:00h' | ||
}, | ||
{ | ||
id: 6, | ||
task: "chore(deps-dev): bump karma from 5.2.3 to 6.3.16chore", | ||
name: "Gauzy Platform SaaS", | ||
description: "Members count 11", | ||
employee: "Ruslan Konviser", | ||
status: "Pending", | ||
time: '06:00h' | ||
}, | ||
{ | ||
id: 7, | ||
task: "chore(deps-dev): bump karma from 5.2.3 to 6.3.16chore", | ||
name: "Gauzy Platform SaaS", | ||
description: "Members count 11", | ||
employee: "Ruslan Konviser", | ||
status: "Approved", | ||
time: '06:00h' | ||
}, | ||
{ | ||
id: 8, | ||
task: "chore(deps-dev): bump karma from 5.2.3 to 6.3.16chore", | ||
name: "Gauzy Platform SaaS", | ||
description: "Members count 11", | ||
employee: "Ruslan Konviser", | ||
status: "Approved", | ||
time: '06:00h' | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters