Skip to content

Commit d5bad5a

Browse files
release: v1.1.0 #7991
2 parents 63096ce + b34c9ca commit d5bad5a

File tree

2,302 files changed

+97834
-70625
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,302 files changed

+97834
-70625
lines changed

.codespellrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[codespell]
2+
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
3+
skip = .git*,*.svg,i18n,*-lock.yaml,*.css,.codespellrc,migrations,*.js,*.map,*.mjs
4+
check-hidden = true
5+
# ignore all CamelCase and camelCase
6+
ignore-regex = \b[A-Za-z][a-z]+[A-Z][a-zA-Z]+\b
7+
ignore-words-list = tread

.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,9 @@ temp/
6161
# Misc
6262
*.pem
6363
*.key
64+
65+
# React Router - https://github.com/remix-run/react-router-templates/blob/dc79b1a065f59f3bfd840d4ef75cc27689b611e6/default/.dockerignore
66+
.react-router/
67+
build/
68+
node_modules/
69+
README.md

.github/workflows/codeql.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ name: "CodeQL"
33
on:
44
workflow_dispatch:
55
push:
6-
branches: ["preview", "master"]
6+
branches: ["preview", "canary", "master"]
77
pull_request:
8-
branches: ["develop", "preview", "master"]
9-
schedule:
10-
- cron: "53 19 * * 5"
8+
branches: ["preview", "canary", "master"]
119

1210
jobs:
1311
analyze:

.github/workflows/codespell.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Codespell configuration is within .codespellrc
2+
---
3+
name: Codespell
4+
5+
on:
6+
push:
7+
branches: [preview]
8+
pull_request:
9+
branches: [preview]
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
codespell:
16+
name: Check for spelling errors
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
- name: Annotate locations with typos
23+
uses: codespell-project/codespell-problem-matcher@v1
24+
- name: Codespell
25+
uses: codespell-project/actions-codespell@v2

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ node_modules
1616
/out/
1717

1818
# Production
19-
/build
2019
dist/
2120
out/
21+
build/
22+
.react-router/
2223

2324
# Misc
2425
.DS_Store
@@ -99,3 +100,5 @@ dev-editor
99100
*.rdb.gz
100101

101102
storybook-static
103+
104+
CLAUDE.md

.mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
node = "22.18.0"

apps/admin/.eslintrc.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
module.exports = {
22
root: true,
33
extends: ["@plane/eslint-config/next.js"],
4+
rules: {
5+
"no-duplicate-imports": "off",
6+
"import/no-duplicates": ["error", { "prefer-inline": false }],
7+
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
8+
"@typescript-eslint/no-import-type-side-effects": "error",
9+
"@typescript-eslint/consistent-type-imports": [
10+
"error",
11+
{
12+
prefer: "type-imports",
13+
fixStyle: "separate-type-imports",
14+
disallowTypeAnnotations: false,
15+
},
16+
],
17+
},
418
};

apps/admin/app/(all)/(dashboard)/ai/form.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
"use client";
2-
import { FC } from "react";
2+
import type { FC } from "react";
33
import { useForm } from "react-hook-form";
44
import { Lightbulb } from "lucide-react";
5-
import { IFormattedInstanceConfiguration, TInstanceAIConfigurationKeys } from "@plane/types";
6-
import { Button, TOAST_TYPE, setToast } from "@plane/ui";
5+
import { Button } from "@plane/propel/button";
6+
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
7+
import type { IFormattedInstanceConfiguration, TInstanceAIConfigurationKeys } from "@plane/types";
78
// components
8-
import { ControllerInput, TControllerInputFormField } from "@/components/common/controller-input";
9+
import type { TControllerInputFormField } from "@/components/common/controller-input";
10+
import { ControllerInput } from "@/components/common/controller-input";
911
// hooks
1012
import { useInstance } from "@/hooks/store";
1113

apps/admin/app/(all)/(dashboard)/ai/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { ReactNode } from "react";
2-
import { Metadata } from "next";
1+
import type { ReactNode } from "react";
2+
import type { Metadata } from "next";
33

44
export const metadata: Metadata = {
55
title: "Artificial Intelligence Settings - God Mode",

apps/admin/app/(all)/(dashboard)/authentication/github/form.tsx

Lines changed: 39 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
"use client";
22

3-
import { FC, useState } from "react";
4-
import isEmpty from "lodash/isEmpty";
3+
import type { FC } from "react";
4+
import { useState } from "react";
5+
import { isEmpty } from "lodash-es";
56
import Link from "next/link";
67
import { useForm } from "react-hook-form";
8+
import { Monitor } from "lucide-react";
79
// plane internal packages
810
import { API_BASE_URL } from "@plane/constants";
9-
import { IFormattedInstanceConfiguration, TInstanceGithubAuthenticationConfigurationKeys } from "@plane/types";
10-
import { Button, TOAST_TYPE, getButtonStyling, setToast } from "@plane/ui";
11+
import { Button, getButtonStyling } from "@plane/propel/button";
12+
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
13+
import type { IFormattedInstanceConfiguration, TInstanceGithubAuthenticationConfigurationKeys } from "@plane/types";
14+
1115
import { cn } from "@plane/utils";
1216
// components
1317
import { CodeBlock } from "@/components/common/code-block";
1418
import { ConfirmDiscardModal } from "@/components/common/confirm-discard-modal";
15-
import { ControllerInput, TControllerInputFormField } from "@/components/common/controller-input";
16-
import { CopyField, TCopyField } from "@/components/common/copy-field";
19+
import type { TControllerInputFormField } from "@/components/common/controller-input";
20+
import { ControllerInput } from "@/components/common/controller-input";
21+
import type { TCopyField } from "@/components/common/copy-field";
22+
import { CopyField } from "@/components/common/copy-field";
1723
// hooks
1824
import { useInstance } from "@/hooks/store";
1925

@@ -101,7 +107,7 @@ export const InstanceGithubConfigForm: FC<Props> = (props) => {
101107
},
102108
];
103109

104-
const GITHUB_SERVICE_FIELD: TCopyField[] = [
110+
const GITHUB_COMMON_SERVICE_DETAILS: TCopyField[] = [
105111
{
106112
key: "Origin_URL",
107113
label: "Origin URL",
@@ -121,6 +127,9 @@ export const InstanceGithubConfigForm: FC<Props> = (props) => {
121127
</>
122128
),
123129
},
130+
];
131+
132+
const GITHUB_SERVICE_DETAILS: TCopyField[] = [
124133
{
125134
key: "Callback_URI",
126135
label: "Callback URI",
@@ -208,12 +217,29 @@ export const InstanceGithubConfigForm: FC<Props> = (props) => {
208217
</div>
209218
</div>
210219
</div>
211-
<div className="col-span-2 md:col-span-1">
212-
<div className="flex flex-col gap-y-4 px-6 pt-1.5 pb-4 bg-custom-background-80/60 rounded-lg">
213-
<div className="pt-2 text-xl font-medium">Plane-provided details for GitHub</div>
214-
{GITHUB_SERVICE_FIELD.map((field) => (
215-
<CopyField key={field.key} label={field.label} url={field.url} description={field.description} />
216-
))}
220+
<div className="col-span-2 md:col-span-1 flex flex-col gap-y-6">
221+
<div className="pt-2 text-xl font-medium">Plane-provided details for GitHub</div>
222+
223+
<div className="flex flex-col gap-y-4">
224+
{/* common service details */}
225+
<div className="flex flex-col gap-y-4 px-6 py-4 bg-custom-background-80 rounded-lg">
226+
{GITHUB_COMMON_SERVICE_DETAILS.map((field) => (
227+
<CopyField key={field.key} label={field.label} url={field.url} description={field.description} />
228+
))}
229+
</div>
230+
231+
{/* web service details */}
232+
<div className="flex flex-col rounded-lg overflow-hidden">
233+
<div className="px-6 py-3 bg-custom-background-80/60 font-medium text-xs uppercase flex items-center gap-x-3 text-custom-text-200">
234+
<Monitor className="w-3 h-3" />
235+
Web
236+
</div>
237+
<div className="px-6 py-4 flex flex-col gap-y-4 bg-custom-background-80">
238+
{GITHUB_SERVICE_DETAILS.map((field) => (
239+
<CopyField key={field.key} label={field.label} url={field.url} description={field.description} />
240+
))}
241+
</div>
242+
</div>
217243
</div>
218244
</div>
219245
</div>

0 commit comments

Comments
 (0)