Skip to content

Commit

Permalink
Merge pull request #638 from panoratech/hris-vertical
Browse files Browse the repository at this point in the history
🗃️ HRIS Vertical
  • Loading branch information
naelob authored Aug 13, 2024
2 parents 0985fd5 + 48290bb commit a3d4132
Show file tree
Hide file tree
Showing 269 changed files with 33,186 additions and 4,628 deletions.
6 changes: 0 additions & 6 deletions apps/webapp/src/components/Nav/main-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,11 @@ export function MainNav({
);
}

const navIconClassName = "text-gray-400 w-5";
const navItems: Omit<NavLinkProps, 'onClick' | 'isSelected'>[] = [
{
name: 'connections',
content: (
<>
<Share2 className={navIconClassName} />
Connections
</>
),
Expand All @@ -97,7 +95,6 @@ const navItems: Omit<NavLinkProps, 'onClick' | 'isSelected'>[] = [
name: 'events',
content: (
<>
<SquareGantt className={navIconClassName} />
Events
</>
),
Expand All @@ -106,7 +103,6 @@ const navItems: Omit<NavLinkProps, 'onClick' | 'isSelected'>[] = [
name: 'configuration',
content: (
<>
<Settings2 className={navIconClassName} />
Configuration
</>
),
Expand All @@ -115,7 +111,6 @@ const navItems: Omit<NavLinkProps, 'onClick' | 'isSelected'>[] = [
name: 'api-keys',
content: (
<>
<KeyRound className={navIconClassName} />
API Keys
</>
),
Expand All @@ -124,7 +119,6 @@ const navItems: Omit<NavLinkProps, 'onClick' | 'isSelected'>[] = [
name: 'docs',
content: (
<>
<BookOpen className={navIconClassName} />
<p className="pr-2">Docs</p>
</>
),
Expand Down
4 changes: 2 additions & 2 deletions apps/webapp/src/components/shared/team-switcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const projectFormSchema = z.object({
type PopoverTriggerProps = React.ComponentPropsWithoutRef<typeof PopoverTrigger>

interface TeamSwitcherProps extends PopoverTriggerProps {
projects:Project[]
projects: Project[]
}

interface ModalObj {
Expand All @@ -88,7 +88,7 @@ export default function TeamSwitcher({ className ,projects}: TeamSwitcherProps)
const { profile } = useProfileStore();

const { idProject, setIdProject } = useProjectStore();
const {mutate : refreshAccessToken} = useRefreshAccessTokenMutation()
const { mutate : refreshAccessToken } = useRefreshAccessTokenMutation()

const handleOpenChange = (open: boolean) => {
setShowNewDialog(prevState => ({ ...prevState, open }));
Expand Down
40 changes: 20 additions & 20 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ services:
FACTORIAL_HRIS_CLOUD_CLIENT_SECRET: ${FACTORIAL_ATS_CLOUD_CLIENT_SECRET}
PAYFIT_HRIS_CLOUD_CLIENT_ID: ${PAYFIT_HRIS_CLOUD_CLIENT_ID}
PAYFIT_HRIS_CLOUD_CLIENT_SECRET: ${PAYFIT_HRIS_CLOUD_CLIENT_SECRET}
NOTION_MANAGEMENT_CLOUD_CLIENT_ID: ${NOTION_MANAGEMENT_CLOUD_CLIENT_ID}
NOTION_MANAGEMENT_CLOUD_CLIENT_SECRET: ${NOTION_MANAGEMENT_CLOUD_CLIENT_SECRET}
SLACK_MANAGEMENT_CLOUD_CLIENT_ID: ${SLACK_MANAGEMENT_CLOUD_CLIENT_ID}
SLACK_MANAGEMENT_CLOUD_CLIENT_SECRET: ${SLACK_MANAGEMENT_CLOUD_CLIENT_SECRET}
NOTION_PRODUCTIVITY_CLOUD_CLIENT_ID: ${NOTION_PRODUCTIVITY_CLOUD_CLIENT_ID}
NOTION_PRODUCTIVITY_CLOUD_CLIENT_SECRET: ${NOTION_PRODUCTIVITY_CLOUD_CLIENT_SECRET}
SLACK_PRODUCTIVITY_CLOUD_CLIENT_ID: ${SLACK_PRODUCTIVITY_CLOUD_CLIENT_ID}
SLACK_PRODUCTIVITY_CLOUD_CLIENT_SECRET: ${SLACK_PRODUCTIVITY_CLOUD_CLIENT_SECRET}
NAMELY_HRIS_CLOUD_CLIENT_ID: ${NAMELY_HRIS_CLOUD_CLIENT_ID}
NAMELY_HRIS_CLOUD_CLIENT_SECRET: ${NAMELY_HRIS_CLOUD_CLIENT_SECRET}
NAMELY_HRIS_CLOUD_SUBDOMAIN: ${NAMELY_HRIS_CLOUD_SUBDOMAIN}
Expand Down Expand Up @@ -276,22 +276,22 @@ services:
# volumes:
# - pgadmin-data:/var/lib/pgadmin

ngrok:
image: ngrok/ngrok:latest
restart: always
command:
- "start"
- "--all"
- "--config"
- "/etc/ngrok.yml"
volumes:
- ./ngrok.yml:/etc/ngrok.yml
ports:
- 4040:4040
depends_on:
api:
condition: service_healthy
network_mode: "host"
# ngrok:
# image: ngrok/ngrok:latest
# restart: always
# command:
# - "start"
# - "--all"
# - "--config"
# - "/etc/ngrok.yml"
# volumes:
# - ./ngrok.yml:/etc/ngrok.yml
# ports:
# - 4040:4040
# depends_on:
# api:
# condition: service_healthy
# network_mode: "host"

docs:
build:
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ services:
FACTORIAL_HRIS_CLOUD_CLIENT_SECRET: ${FACTORIAL_ATS_CLOUD_CLIENT_SECRET}
PAYFIT_HRIS_CLOUD_CLIENT_ID: ${PAYFIT_HRIS_CLOUD_CLIENT_ID}
PAYFIT_HRIS_CLOUD_CLIENT_SECRET: ${PAYFIT_HRIS_CLOUD_CLIENT_SECRET}
NOTION_MANAGEMENT_CLOUD_CLIENT_ID: ${NOTION_MANAGEMENT_CLOUD_CLIENT_ID}
NOTION_MANAGEMENT_CLOUD_CLIENT_SECRET: ${NOTION_MANAGEMENT_CLOUD_CLIENT_SECRET}
SLACK_MANAGEMENT_CLOUD_CLIENT_ID: ${SLACK_MANAGEMENT_CLOUD_CLIENT_ID}
SLACK_MANAGEMENT_CLOUD_CLIENT_SECRET: ${SLACK_MANAGEMENT_CLOUD_CLIENT_SECRET}
NOTION_PRODUCTIVITY_CLOUD_CLIENT_ID: ${NOTION_PRODUCTIVITY_CLOUD_CLIENT_ID}
NOTION_PRODUCTIVITY_CLOUD_CLIENT_SECRET: ${NOTION_PRODUCTIVITY_CLOUD_CLIENT_SECRET}
SLACK_PRODUCTIVITY_CLOUD_CLIENT_ID: ${SLACK_PRODUCTIVITY_CLOUD_CLIENT_ID}
SLACK_PRODUCTIVITY_CLOUD_CLIENT_SECRET: ${SLACK_PRODUCTIVITY_CLOUD_CLIENT_SECRET}
NAMELY_HRIS_CLOUD_CLIENT_ID: ${NAMELY_HRIS_CLOUD_CLIENT_ID}
NAMELY_HRIS_CLOUD_CLIENT_SECRET: ${NAMELY_HRIS_CLOUD_CLIENT_SECRET}
NAMELY_HRIS_CLOUD_SUBDOMAIN: ${NAMELY_HRIS_CLOUD_SUBDOMAIN}
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ services:
FACTORIAL_HRIS_CLOUD_CLIENT_SECRET: ${FACTORIAL_ATS_CLOUD_CLIENT_SECRET}
PAYFIT_HRIS_CLOUD_CLIENT_ID: ${PAYFIT_HRIS_CLOUD_CLIENT_ID}
PAYFIT_HRIS_CLOUD_CLIENT_SECRET: ${PAYFIT_HRIS_CLOUD_CLIENT_SECRET}
NOTION_MANAGEMENT_CLOUD_CLIENT_ID: ${NOTION_MANAGEMENT_CLOUD_CLIENT_ID}
NOTION_MANAGEMENT_CLOUD_CLIENT_SECRET: ${NOTION_MANAGEMENT_CLOUD_CLIENT_SECRET}
SLACK_MANAGEMENT_CLOUD_CLIENT_ID: ${SLACK_MANAGEMENT_CLOUD_CLIENT_ID}
SLACK_MANAGEMENT_CLOUD_CLIENT_SECRET: ${SLACK_MANAGEMENT_CLOUD_CLIENT_SECRET}
NOTION_PRODUCTIVITY_CLOUD_CLIENT_ID: ${NOTION_PRODUCTIVITY_CLOUD_CLIENT_ID}
NOTION_PRODUCTIVITY_CLOUD_CLIENT_SECRET: ${NOTION_PRODUCTIVITY_CLOUD_CLIENT_SECRET}
SLACK_PRODUCTIVITY_CLOUD_CLIENT_ID: ${SLACK_PRODUCTIVITY_CLOUD_CLIENT_ID}
SLACK_PRODUCTIVITY_CLOUD_CLIENT_SECRET: ${SLACK_PRODUCTIVITY_CLOUD_CLIENT_SECRET}
NAMELY_HRIS_CLOUD_CLIENT_ID: ${NAMELY_HRIS_CLOUD_CLIENT_ID}
NAMELY_HRIS_CLOUD_CLIENT_SECRET: ${NAMELY_HRIS_CLOUD_CLIENT_SECRET}
NAMELY_HRIS_CLOUD_SUBDOMAIN: ${NAMELY_HRIS_CLOUD_SUBDOMAIN}
Expand Down
8 changes: 4 additions & 4 deletions docs/open-source/self_hosting/envVariables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ description: ""
| MAILCHIMP_MARKETINGAUTOMATION_CLOUD_CLIENT_SECRET | | |
| KLAVIYO_TICKETING_CLOUD_CLIENT_ID | | |
| KLAVIYO_TICKETING_CLOUD_CLIENT_SECRET | | |
| NOTION_MANAGEMENT_CLOUD_CLIENT_ID | | |
| NOTION_MANAGEMENT_CLOUD_CLIENT_SECRET | | |
| SLACK_MANAGEMENT_CLOUD_CLIENT_ID | | |
| SLACK_MANAGEMENT_CLOUD_CLIENT_SECRET | | |
| NOTION_PRODUCTIVITY_CLOUD_CLIENT_ID | | |
| NOTION_PRODUCTIVITY_CLOUD_CLIENT_SECRET | | |
| SLACK_PRODUCTIVITY_CLOUD_CLIENT_ID | | |
| SLACK_PRODUCTIVITY_CLOUD_CLIENT_SECRET | | |
| GREENHOUSE_ATS_CLOUD_CLIENT_ID | | |
| GREENHOUSE_ATS_CLOUD_CLIENT_SECRET | | |
| JOBADDER_ATS_CLOUD_CLIENT_ID | | |
Expand Down
2 changes: 1 addition & 1 deletion docs/syncwithCode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ grep '^|' ../packages/api/src/ats/README.md > snippets/ats-catalog.mdx
# File Storage
grep '^|' ../packages/api/src/filestorage/README.md > snippets/filestorage-catalog.mdx

# File Storage
# Ecommerce
grep '^|' ../packages/api/src/ecommerce/README.md > snippets/ecommerce-catalog.mdx

npx @mintlify/scraping@latest openapi-file openapi-with-code-samples.yaml -o objects
Expand Down
Loading

0 comments on commit a3d4132

Please sign in to comment.