Oops! The page you{`'`}re looking for isn{`'`}t live at the moment.
diff --git a/apps/app/postcss.config.js b/space/postcss.config.js
similarity index 100%
rename from apps/app/postcss.config.js
rename to space/postcss.config.js
diff --git a/apps/app/public/404.svg b/space/public/404.svg
similarity index 100%
rename from apps/app/public/404.svg
rename to space/public/404.svg
diff --git a/apps/app/public/favicon/android-chrome-192x192.png b/space/public/favicon/android-chrome-192x192.png
similarity index 100%
rename from apps/app/public/favicon/android-chrome-192x192.png
rename to space/public/favicon/android-chrome-192x192.png
diff --git a/apps/app/public/favicon/android-chrome-512x512.png b/space/public/favicon/android-chrome-512x512.png
similarity index 100%
rename from apps/app/public/favicon/android-chrome-512x512.png
rename to space/public/favicon/android-chrome-512x512.png
diff --git a/apps/app/public/favicon/apple-touch-icon.png b/space/public/favicon/apple-touch-icon.png
similarity index 100%
rename from apps/app/public/favicon/apple-touch-icon.png
rename to space/public/favicon/apple-touch-icon.png
diff --git a/apps/app/public/favicon/favicon-16x16.png b/space/public/favicon/favicon-16x16.png
similarity index 100%
rename from apps/app/public/favicon/favicon-16x16.png
rename to space/public/favicon/favicon-16x16.png
diff --git a/apps/app/public/favicon/favicon-32x32.png b/space/public/favicon/favicon-32x32.png
similarity index 100%
rename from apps/app/public/favicon/favicon-32x32.png
rename to space/public/favicon/favicon-32x32.png
diff --git a/apps/app/public/favicon/favicon.ico b/space/public/favicon/favicon.ico
similarity index 100%
rename from apps/app/public/favicon/favicon.ico
rename to space/public/favicon/favicon.ico
diff --git a/apps/app/public/favicon/site.webmanifest b/space/public/favicon/site.webmanifest
similarity index 100%
rename from apps/app/public/favicon/site.webmanifest
rename to space/public/favicon/site.webmanifest
diff --git a/space/public/logos/github-black.svg b/space/public/logos/github-black.svg
new file mode 100644
index 000000000..ad04a798e
--- /dev/null
+++ b/space/public/logos/github-black.svg
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
diff --git a/space/public/logos/github-square.svg b/space/public/logos/github-square.svg
new file mode 100644
index 000000000..a7836db8f
--- /dev/null
+++ b/space/public/logos/github-square.svg
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
diff --git a/space/public/logos/github-white.svg b/space/public/logos/github-white.svg
new file mode 100644
index 000000000..90fe34d8b
--- /dev/null
+++ b/space/public/logos/github-white.svg
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
diff --git a/space/public/plane-logo.svg b/space/public/plane-logo.svg
new file mode 100644
index 000000000..11179417c
--- /dev/null
+++ b/space/public/plane-logo.svg
@@ -0,0 +1,94 @@
+
+
+
+
diff --git a/apps/app/public/plane-logos/black-horizontal-with-blue-logo.svg b/space/public/plane-logos/black-horizontal-with-blue-logo.svg
similarity index 100%
rename from apps/app/public/plane-logos/black-horizontal-with-blue-logo.svg
rename to space/public/plane-logos/black-horizontal-with-blue-logo.svg
diff --git a/space/public/plane-logos/blue-without-text.svg b/space/public/plane-logos/blue-without-text.svg
new file mode 100644
index 000000000..715aee503
--- /dev/null
+++ b/space/public/plane-logos/blue-without-text.svg
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/app/public/plane-logos/white-horizontal-with-blue-logo.svg b/space/public/plane-logos/white-horizontal-with-blue-logo.svg
similarity index 100%
rename from apps/app/public/plane-logos/white-horizontal-with-blue-logo.svg
rename to space/public/plane-logos/white-horizontal-with-blue-logo.svg
diff --git a/apps/app/public/plane-logos/white-horizontal.svg b/space/public/plane-logos/white-horizontal.svg
similarity index 100%
rename from apps/app/public/plane-logos/white-horizontal.svg
rename to space/public/plane-logos/white-horizontal.svg
diff --git a/apps/space/public/project-not-published.svg b/space/public/project-not-published.svg
similarity index 100%
rename from apps/space/public/project-not-published.svg
rename to space/public/project-not-published.svg
diff --git a/apps/space/services/api.service.ts b/space/services/api.service.ts
similarity index 100%
rename from apps/space/services/api.service.ts
rename to space/services/api.service.ts
diff --git a/apps/space/services/authentication.service.ts b/space/services/authentication.service.ts
similarity index 100%
rename from apps/space/services/authentication.service.ts
rename to space/services/authentication.service.ts
diff --git a/apps/space/services/file.service.ts b/space/services/file.service.ts
similarity index 100%
rename from apps/space/services/file.service.ts
rename to space/services/file.service.ts
diff --git a/apps/space/services/issue.service.ts b/space/services/issue.service.ts
similarity index 100%
rename from apps/space/services/issue.service.ts
rename to space/services/issue.service.ts
diff --git a/apps/space/services/project.service.ts b/space/services/project.service.ts
similarity index 100%
rename from apps/space/services/project.service.ts
rename to space/services/project.service.ts
diff --git a/apps/space/services/user.service.ts b/space/services/user.service.ts
similarity index 100%
rename from apps/space/services/user.service.ts
rename to space/services/user.service.ts
diff --git a/apps/space/store/issue.ts b/space/store/issue.ts
similarity index 100%
rename from apps/space/store/issue.ts
rename to space/store/issue.ts
diff --git a/apps/space/store/issue_details.ts b/space/store/issue_details.ts
similarity index 100%
rename from apps/space/store/issue_details.ts
rename to space/store/issue_details.ts
diff --git a/apps/space/store/project.ts b/space/store/project.ts
similarity index 100%
rename from apps/space/store/project.ts
rename to space/store/project.ts
diff --git a/apps/space/store/root.ts b/space/store/root.ts
similarity index 100%
rename from apps/space/store/root.ts
rename to space/store/root.ts
diff --git a/apps/space/store/user.ts b/space/store/user.ts
similarity index 100%
rename from apps/space/store/user.ts
rename to space/store/user.ts
diff --git a/apps/app/styles/editor.css b/space/styles/editor.css
similarity index 100%
rename from apps/app/styles/editor.css
rename to space/styles/editor.css
diff --git a/apps/space/styles/globals.css b/space/styles/globals.css
similarity index 100%
rename from apps/space/styles/globals.css
rename to space/styles/globals.css
diff --git a/apps/space/tailwind.config.js b/space/tailwind.config.js
similarity index 100%
rename from apps/space/tailwind.config.js
rename to space/tailwind.config.js
diff --git a/apps/app/tsconfig.json b/space/tsconfig.json
similarity index 100%
rename from apps/app/tsconfig.json
rename to space/tsconfig.json
diff --git a/apps/space/types/issue.ts b/space/types/issue.ts
similarity index 100%
rename from apps/space/types/issue.ts
rename to space/types/issue.ts
diff --git a/apps/space/types/project.ts b/space/types/project.ts
similarity index 100%
rename from apps/space/types/project.ts
rename to space/types/project.ts
diff --git a/apps/space/types/theme.ts b/space/types/theme.ts
similarity index 100%
rename from apps/space/types/theme.ts
rename to space/types/theme.ts
diff --git a/apps/space/types/user.ts b/space/types/user.ts
similarity index 100%
rename from apps/space/types/user.ts
rename to space/types/user.ts
diff --git a/web/.eslintrc.js b/web/.eslintrc.js
new file mode 100644
index 000000000..38e6a5f4c
--- /dev/null
+++ b/web/.eslintrc.js
@@ -0,0 +1,7 @@
+module.exports = {
+ root: true,
+ extends: ["custom"],
+ rules: {
+ "@next/next/no-img-element": "off",
+ },
+};
diff --git a/apps/app/.prettierrc b/web/.prettierrc
similarity index 100%
rename from apps/app/.prettierrc
rename to web/.prettierrc
diff --git a/apps/app/Dockerfile.dev b/web/Dockerfile.dev
similarity index 100%
rename from apps/app/Dockerfile.dev
rename to web/Dockerfile.dev
diff --git a/apps/app/Dockerfile.web b/web/Dockerfile.web
similarity index 81%
rename from apps/app/Dockerfile.web
rename to web/Dockerfile.web
index 2b28e1fd1..6fac46c2d 100644
--- a/apps/app/Dockerfile.web
+++ b/web/Dockerfile.web
@@ -7,7 +7,7 @@ ENV NEXT_PUBLIC_API_BASE_URL=http://NEXT_PUBLIC_API_BASE_URL_PLACEHOLDER
RUN yarn global add turbo
COPY . .
-RUN turbo prune --scope=app --docker
+RUN turbo prune --scope=web --docker
# Add lockfile and package.json's of isolated subworkspace
FROM node:18-alpine AS installer
@@ -29,12 +29,12 @@ COPY replace-env-vars.sh /usr/local/bin/
USER root
RUN chmod +x /usr/local/bin/replace-env-vars.sh
-RUN yarn turbo run build --filter=app
+RUN yarn turbo run build --filter=web
ENV NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_API_BASE_URL \
BUILT_NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_API_BASE_URL
ENV NEXT_PUBLIC_DEPLOY_URL=${NEXT_PUBLIC_DEPLOY_URL}
-RUN /usr/local/bin/replace-env-vars.sh http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER ${NEXT_PUBLIC_API_BASE_URL} app
+RUN /usr/local/bin/replace-env-vars.sh http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER ${NEXT_PUBLIC_API_BASE_URL} web
FROM node:18-alpine AS runner
WORKDIR /app
@@ -44,14 +44,14 @@ RUN addgroup --system --gid 1001 plane
RUN adduser --system --uid 1001 captain
USER captain
-COPY --from=installer /app/apps/app/next.config.js .
-COPY --from=installer /app/apps/app/package.json .
+COPY --from=installer /app/web/next.config.js .
+COPY --from=installer /app/web/package.json .
# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing
-COPY --from=installer --chown=captain:plane /app/apps/app/.next/standalone ./
+COPY --from=installer --chown=captain:plane /app/web/.next/standalone ./
-COPY --from=installer --chown=captain:plane /app/apps/app/.next ./apps/app/.next
+COPY --from=installer --chown=captain:plane /app/web/.next ./web/.next
ARG NEXT_PUBLIC_API_BASE_URL=http://localhost:8000
ENV NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_API_BASE_URL \
diff --git a/apps/app/components/account/email-code-form.tsx b/web/components/account/email-code-form.tsx
similarity index 100%
rename from apps/app/components/account/email-code-form.tsx
rename to web/components/account/email-code-form.tsx
diff --git a/apps/app/components/account/email-password-form.tsx b/web/components/account/email-password-form.tsx
similarity index 100%
rename from apps/app/components/account/email-password-form.tsx
rename to web/components/account/email-password-form.tsx
diff --git a/apps/app/components/account/email-reset-password-form.tsx b/web/components/account/email-reset-password-form.tsx
similarity index 100%
rename from apps/app/components/account/email-reset-password-form.tsx
rename to web/components/account/email-reset-password-form.tsx
diff --git a/apps/app/components/account/github-login-button.tsx b/web/components/account/github-login-button.tsx
similarity index 100%
rename from apps/app/components/account/github-login-button.tsx
rename to web/components/account/github-login-button.tsx
diff --git a/apps/app/components/account/google-login.tsx b/web/components/account/google-login.tsx
similarity index 100%
rename from apps/app/components/account/google-login.tsx
rename to web/components/account/google-login.tsx
diff --git a/apps/app/components/account/index.ts b/web/components/account/index.ts
similarity index 100%
rename from apps/app/components/account/index.ts
rename to web/components/account/index.ts
diff --git a/apps/app/components/analytics/custom-analytics/create-update-analytics-modal.tsx b/web/components/analytics/custom-analytics/create-update-analytics-modal.tsx
similarity index 100%
rename from apps/app/components/analytics/custom-analytics/create-update-analytics-modal.tsx
rename to web/components/analytics/custom-analytics/create-update-analytics-modal.tsx
diff --git a/apps/app/components/analytics/custom-analytics/custom-analytics.tsx b/web/components/analytics/custom-analytics/custom-analytics.tsx
similarity index 100%
rename from apps/app/components/analytics/custom-analytics/custom-analytics.tsx
rename to web/components/analytics/custom-analytics/custom-analytics.tsx
diff --git a/apps/app/components/analytics/custom-analytics/graph/custom-tooltip.tsx b/web/components/analytics/custom-analytics/graph/custom-tooltip.tsx
similarity index 100%
rename from apps/app/components/analytics/custom-analytics/graph/custom-tooltip.tsx
rename to web/components/analytics/custom-analytics/graph/custom-tooltip.tsx
diff --git a/apps/app/components/analytics/custom-analytics/graph/index.tsx b/web/components/analytics/custom-analytics/graph/index.tsx
similarity index 100%
rename from apps/app/components/analytics/custom-analytics/graph/index.tsx
rename to web/components/analytics/custom-analytics/graph/index.tsx
diff --git a/apps/app/components/analytics/custom-analytics/index.ts b/web/components/analytics/custom-analytics/index.ts
similarity index 100%
rename from apps/app/components/analytics/custom-analytics/index.ts
rename to web/components/analytics/custom-analytics/index.ts
diff --git a/apps/app/components/analytics/custom-analytics/select-bar.tsx b/web/components/analytics/custom-analytics/select-bar.tsx
similarity index 100%
rename from apps/app/components/analytics/custom-analytics/select-bar.tsx
rename to web/components/analytics/custom-analytics/select-bar.tsx
diff --git a/apps/app/components/analytics/custom-analytics/sidebar.tsx b/web/components/analytics/custom-analytics/sidebar.tsx
similarity index 100%
rename from apps/app/components/analytics/custom-analytics/sidebar.tsx
rename to web/components/analytics/custom-analytics/sidebar.tsx
diff --git a/apps/app/components/analytics/custom-analytics/table.tsx b/web/components/analytics/custom-analytics/table.tsx
similarity index 100%
rename from apps/app/components/analytics/custom-analytics/table.tsx
rename to web/components/analytics/custom-analytics/table.tsx
diff --git a/apps/app/components/analytics/index.ts b/web/components/analytics/index.ts
similarity index 100%
rename from apps/app/components/analytics/index.ts
rename to web/components/analytics/index.ts
diff --git a/apps/app/components/analytics/project-modal.tsx b/web/components/analytics/project-modal.tsx
similarity index 100%
rename from apps/app/components/analytics/project-modal.tsx
rename to web/components/analytics/project-modal.tsx
diff --git a/apps/app/components/analytics/scope-and-demand/demand.tsx b/web/components/analytics/scope-and-demand/demand.tsx
similarity index 100%
rename from apps/app/components/analytics/scope-and-demand/demand.tsx
rename to web/components/analytics/scope-and-demand/demand.tsx
diff --git a/apps/app/components/analytics/scope-and-demand/index.ts b/web/components/analytics/scope-and-demand/index.ts
similarity index 100%
rename from apps/app/components/analytics/scope-and-demand/index.ts
rename to web/components/analytics/scope-and-demand/index.ts
diff --git a/apps/app/components/analytics/scope-and-demand/leaderboard.tsx b/web/components/analytics/scope-and-demand/leaderboard.tsx
similarity index 100%
rename from apps/app/components/analytics/scope-and-demand/leaderboard.tsx
rename to web/components/analytics/scope-and-demand/leaderboard.tsx
diff --git a/apps/app/components/analytics/scope-and-demand/scope-and-demand.tsx b/web/components/analytics/scope-and-demand/scope-and-demand.tsx
similarity index 100%
rename from apps/app/components/analytics/scope-and-demand/scope-and-demand.tsx
rename to web/components/analytics/scope-and-demand/scope-and-demand.tsx
diff --git a/apps/app/components/analytics/scope-and-demand/scope.tsx b/web/components/analytics/scope-and-demand/scope.tsx
similarity index 100%
rename from apps/app/components/analytics/scope-and-demand/scope.tsx
rename to web/components/analytics/scope-and-demand/scope.tsx
diff --git a/apps/app/components/analytics/scope-and-demand/year-wise-issues.tsx b/web/components/analytics/scope-and-demand/year-wise-issues.tsx
similarity index 100%
rename from apps/app/components/analytics/scope-and-demand/year-wise-issues.tsx
rename to web/components/analytics/scope-and-demand/year-wise-issues.tsx
diff --git a/apps/app/components/analytics/select/index.ts b/web/components/analytics/select/index.ts
similarity index 100%
rename from apps/app/components/analytics/select/index.ts
rename to web/components/analytics/select/index.ts
diff --git a/apps/app/components/analytics/select/project.tsx b/web/components/analytics/select/project.tsx
similarity index 100%
rename from apps/app/components/analytics/select/project.tsx
rename to web/components/analytics/select/project.tsx
diff --git a/apps/app/components/analytics/select/segment.tsx b/web/components/analytics/select/segment.tsx
similarity index 100%
rename from apps/app/components/analytics/select/segment.tsx
rename to web/components/analytics/select/segment.tsx
diff --git a/apps/app/components/analytics/select/x-axis.tsx b/web/components/analytics/select/x-axis.tsx
similarity index 100%
rename from apps/app/components/analytics/select/x-axis.tsx
rename to web/components/analytics/select/x-axis.tsx
diff --git a/apps/app/components/analytics/select/y-axis.tsx b/web/components/analytics/select/y-axis.tsx
similarity index 100%
rename from apps/app/components/analytics/select/y-axis.tsx
rename to web/components/analytics/select/y-axis.tsx
diff --git a/apps/app/components/auth-screens/index.ts b/web/components/auth-screens/index.ts
similarity index 100%
rename from apps/app/components/auth-screens/index.ts
rename to web/components/auth-screens/index.ts
diff --git a/apps/app/components/auth-screens/not-authorized-view.tsx b/web/components/auth-screens/not-authorized-view.tsx
similarity index 100%
rename from apps/app/components/auth-screens/not-authorized-view.tsx
rename to web/components/auth-screens/not-authorized-view.tsx
diff --git a/apps/app/components/auth-screens/project/index.ts b/web/components/auth-screens/project/index.ts
similarity index 100%
rename from apps/app/components/auth-screens/project/index.ts
rename to web/components/auth-screens/project/index.ts
diff --git a/apps/app/components/auth-screens/project/join-project.tsx b/web/components/auth-screens/project/join-project.tsx
similarity index 100%
rename from apps/app/components/auth-screens/project/join-project.tsx
rename to web/components/auth-screens/project/join-project.tsx
diff --git a/apps/app/components/auth-screens/workspace/index.ts b/web/components/auth-screens/workspace/index.ts
similarity index 100%
rename from apps/app/components/auth-screens/workspace/index.ts
rename to web/components/auth-screens/workspace/index.ts
diff --git a/apps/app/components/auth-screens/workspace/not-a-member.tsx b/web/components/auth-screens/workspace/not-a-member.tsx
similarity index 100%
rename from apps/app/components/auth-screens/workspace/not-a-member.tsx
rename to web/components/auth-screens/workspace/not-a-member.tsx
diff --git a/apps/app/components/automation/auto-archive-automation.tsx b/web/components/automation/auto-archive-automation.tsx
similarity index 100%
rename from apps/app/components/automation/auto-archive-automation.tsx
rename to web/components/automation/auto-archive-automation.tsx
diff --git a/apps/app/components/automation/auto-close-automation.tsx b/web/components/automation/auto-close-automation.tsx
similarity index 100%
rename from apps/app/components/automation/auto-close-automation.tsx
rename to web/components/automation/auto-close-automation.tsx
diff --git a/apps/app/components/automation/index.ts b/web/components/automation/index.ts
similarity index 100%
rename from apps/app/components/automation/index.ts
rename to web/components/automation/index.ts
diff --git a/apps/app/components/automation/select-month-modal.tsx b/web/components/automation/select-month-modal.tsx
similarity index 100%
rename from apps/app/components/automation/select-month-modal.tsx
rename to web/components/automation/select-month-modal.tsx
diff --git a/apps/app/components/breadcrumbs/index.tsx b/web/components/breadcrumbs/index.tsx
similarity index 100%
rename from apps/app/components/breadcrumbs/index.tsx
rename to web/components/breadcrumbs/index.tsx
diff --git a/apps/app/components/command-palette/change-interface-theme.tsx b/web/components/command-palette/change-interface-theme.tsx
similarity index 100%
rename from apps/app/components/command-palette/change-interface-theme.tsx
rename to web/components/command-palette/change-interface-theme.tsx
diff --git a/apps/app/components/command-palette/command-k.tsx b/web/components/command-palette/command-k.tsx
similarity index 100%
rename from apps/app/components/command-palette/command-k.tsx
rename to web/components/command-palette/command-k.tsx
diff --git a/apps/app/components/command-palette/command-pallette.tsx b/web/components/command-palette/command-pallette.tsx
similarity index 80%
rename from apps/app/components/command-palette/command-pallette.tsx
rename to web/components/command-palette/command-pallette.tsx
index 4dc29afec..507d8a49c 100644
--- a/apps/app/components/command-palette/command-pallette.tsx
+++ b/web/components/command-palette/command-pallette.tsx
@@ -51,7 +51,7 @@ export const CommandPalette: React.FC = observer(() => {
workspaceSlug && projectId && issueId ? ISSUE_DETAILS(issueId as string) : null,
workspaceSlug && projectId && issueId
? () =>
- issuesService.retrieve(workspaceSlug as string, projectId as string, issueId as string)
+ issuesService.retrieve(workspaceSlug as string, projectId as string, issueId as string)
: null
);
@@ -89,37 +89,37 @@ export const CommandPalette: React.FC = observer(() => {
)
return;
- if (cmdClicked) {
- if (keyPressed === "k") {
- e.preventDefault();
- setIsPaletteOpen(true);
- } else if (keyPressed === "c" && altKey) {
- e.preventDefault();
- copyIssueUrlToClipboard();
- } else if (keyPressed === "b") {
- e.preventDefault();
- store.theme.setSidebarCollapsed(!store?.theme?.sidebarCollapsed);
- }
- } else {
- if (keyPressed === "c") {
- setIsIssueModalOpen(true);
- } else if (keyPressed === "p") {
- setIsProjectModalOpen(true);
- } else if (keyPressed === "v") {
- setIsCreateViewModalOpen(true);
- } else if (keyPressed === "d") {
- setIsCreateUpdatePageModalOpen(true);
- } else if (keyPressed === "h") {
- setIsShortcutsModalOpen(true);
- } else if (keyPressed === "q") {
- setIsCreateCycleModalOpen(true);
- } else if (keyPressed === "m") {
- setIsCreateModuleModalOpen(true);
- } else if (keyPressed === "backspace" || keyPressed === "delete") {
- e.preventDefault();
- setIsBulkDeleteIssuesModalOpen(true);
- }
+ if (cmdClicked) {
+ if (keyPressed === "k") {
+ e.preventDefault();
+ setIsPaletteOpen(true);
+ } else if (keyPressed === "c" && altKey) {
+ e.preventDefault();
+ copyIssueUrlToClipboard();
+ } else if (keyPressed === "b") {
+ e.preventDefault();
+ store.theme.setSidebarCollapsed(!store?.theme?.sidebarCollapsed);
}
+ } else {
+ if (keyPressed === "c") {
+ setIsIssueModalOpen(true);
+ } else if (keyPressed === "p") {
+ setIsProjectModalOpen(true);
+ } else if (keyPressed === "v") {
+ setIsCreateViewModalOpen(true);
+ } else if (keyPressed === "d") {
+ setIsCreateUpdatePageModalOpen(true);
+ } else if (keyPressed === "h") {
+ setIsShortcutsModalOpen(true);
+ } else if (keyPressed === "q") {
+ setIsCreateCycleModalOpen(true);
+ } else if (keyPressed === "m") {
+ setIsCreateModuleModalOpen(true);
+ } else if (keyPressed === "backspace" || keyPressed === "delete") {
+ e.preventDefault();
+ setIsBulkDeleteIssuesModalOpen(true);
+ }
+ }
},
[copyIssueUrlToClipboard]
);
@@ -196,4 +196,4 @@ export const CommandPalette: React.FC = observer(() => {
/>
>
);
-})
\ No newline at end of file
+});
diff --git a/apps/app/components/command-palette/helpers.tsx b/web/components/command-palette/helpers.tsx
similarity index 100%
rename from apps/app/components/command-palette/helpers.tsx
rename to web/components/command-palette/helpers.tsx
diff --git a/apps/app/components/command-palette/index.ts b/web/components/command-palette/index.ts
similarity index 100%
rename from apps/app/components/command-palette/index.ts
rename to web/components/command-palette/index.ts
diff --git a/apps/app/components/command-palette/issue/change-issue-assignee.tsx b/web/components/command-palette/issue/change-issue-assignee.tsx
similarity index 100%
rename from apps/app/components/command-palette/issue/change-issue-assignee.tsx
rename to web/components/command-palette/issue/change-issue-assignee.tsx
diff --git a/apps/app/components/command-palette/issue/change-issue-priority.tsx b/web/components/command-palette/issue/change-issue-priority.tsx
similarity index 100%
rename from apps/app/components/command-palette/issue/change-issue-priority.tsx
rename to web/components/command-palette/issue/change-issue-priority.tsx
diff --git a/apps/app/components/command-palette/issue/change-issue-state.tsx b/web/components/command-palette/issue/change-issue-state.tsx
similarity index 100%
rename from apps/app/components/command-palette/issue/change-issue-state.tsx
rename to web/components/command-palette/issue/change-issue-state.tsx
diff --git a/apps/app/components/command-palette/issue/index.ts b/web/components/command-palette/issue/index.ts
similarity index 100%
rename from apps/app/components/command-palette/issue/index.ts
rename to web/components/command-palette/issue/index.ts
diff --git a/apps/app/components/command-palette/shortcuts-modal.tsx b/web/components/command-palette/shortcuts-modal.tsx
similarity index 100%
rename from apps/app/components/command-palette/shortcuts-modal.tsx
rename to web/components/command-palette/shortcuts-modal.tsx
diff --git a/apps/app/components/core/activity.tsx b/web/components/core/activity.tsx
similarity index 100%
rename from apps/app/components/core/activity.tsx
rename to web/components/core/activity.tsx
diff --git a/apps/app/components/core/filters/date-filter-modal.tsx b/web/components/core/filters/date-filter-modal.tsx
similarity index 100%
rename from apps/app/components/core/filters/date-filter-modal.tsx
rename to web/components/core/filters/date-filter-modal.tsx
diff --git a/apps/app/components/core/filters/date-filter-select.tsx b/web/components/core/filters/date-filter-select.tsx
similarity index 100%
rename from apps/app/components/core/filters/date-filter-select.tsx
rename to web/components/core/filters/date-filter-select.tsx
diff --git a/apps/app/components/core/filters/filters-list.tsx b/web/components/core/filters/filters-list.tsx
similarity index 100%
rename from apps/app/components/core/filters/filters-list.tsx
rename to web/components/core/filters/filters-list.tsx
diff --git a/apps/app/components/core/filters/index.ts b/web/components/core/filters/index.ts
similarity index 100%
rename from apps/app/components/core/filters/index.ts
rename to web/components/core/filters/index.ts
diff --git a/apps/app/components/core/filters/issues-view-filter.tsx b/web/components/core/filters/issues-view-filter.tsx
similarity index 100%
rename from apps/app/components/core/filters/issues-view-filter.tsx
rename to web/components/core/filters/issues-view-filter.tsx
diff --git a/apps/app/components/core/image-picker-popover.tsx b/web/components/core/image-picker-popover.tsx
similarity index 100%
rename from apps/app/components/core/image-picker-popover.tsx
rename to web/components/core/image-picker-popover.tsx
diff --git a/apps/app/components/core/index.ts b/web/components/core/index.ts
similarity index 100%
rename from apps/app/components/core/index.ts
rename to web/components/core/index.ts
diff --git a/apps/app/components/core/modals/bulk-delete-issues-modal.tsx b/web/components/core/modals/bulk-delete-issues-modal.tsx
similarity index 100%
rename from apps/app/components/core/modals/bulk-delete-issues-modal.tsx
rename to web/components/core/modals/bulk-delete-issues-modal.tsx
diff --git a/apps/app/components/core/modals/existing-issues-list-modal.tsx b/web/components/core/modals/existing-issues-list-modal.tsx
similarity index 100%
rename from apps/app/components/core/modals/existing-issues-list-modal.tsx
rename to web/components/core/modals/existing-issues-list-modal.tsx
diff --git a/apps/app/components/core/modals/gpt-assistant-modal.tsx b/web/components/core/modals/gpt-assistant-modal.tsx
similarity index 100%
rename from apps/app/components/core/modals/gpt-assistant-modal.tsx
rename to web/components/core/modals/gpt-assistant-modal.tsx
diff --git a/apps/app/components/core/modals/image-upload-modal.tsx b/web/components/core/modals/image-upload-modal.tsx
similarity index 100%
rename from apps/app/components/core/modals/image-upload-modal.tsx
rename to web/components/core/modals/image-upload-modal.tsx
diff --git a/apps/app/components/core/modals/index.ts b/web/components/core/modals/index.ts
similarity index 100%
rename from apps/app/components/core/modals/index.ts
rename to web/components/core/modals/index.ts
diff --git a/apps/app/components/core/modals/link-modal.tsx b/web/components/core/modals/link-modal.tsx
similarity index 100%
rename from apps/app/components/core/modals/link-modal.tsx
rename to web/components/core/modals/link-modal.tsx
diff --git a/apps/app/components/core/reaction-selector.tsx b/web/components/core/reaction-selector.tsx
similarity index 100%
rename from apps/app/components/core/reaction-selector.tsx
rename to web/components/core/reaction-selector.tsx
diff --git a/apps/app/components/core/sidebar/index.ts b/web/components/core/sidebar/index.ts
similarity index 100%
rename from apps/app/components/core/sidebar/index.ts
rename to web/components/core/sidebar/index.ts
diff --git a/apps/app/components/core/sidebar/links-list.tsx b/web/components/core/sidebar/links-list.tsx
similarity index 100%
rename from apps/app/components/core/sidebar/links-list.tsx
rename to web/components/core/sidebar/links-list.tsx
diff --git a/apps/app/components/core/sidebar/progress-chart.tsx b/web/components/core/sidebar/progress-chart.tsx
similarity index 100%
rename from apps/app/components/core/sidebar/progress-chart.tsx
rename to web/components/core/sidebar/progress-chart.tsx
diff --git a/apps/app/components/core/sidebar/sidebar-progress-stats.tsx b/web/components/core/sidebar/sidebar-progress-stats.tsx
similarity index 100%
rename from apps/app/components/core/sidebar/sidebar-progress-stats.tsx
rename to web/components/core/sidebar/sidebar-progress-stats.tsx
diff --git a/apps/app/components/core/sidebar/single-progress-stats.tsx b/web/components/core/sidebar/single-progress-stats.tsx
similarity index 100%
rename from apps/app/components/core/sidebar/single-progress-stats.tsx
rename to web/components/core/sidebar/single-progress-stats.tsx
diff --git a/apps/app/components/core/theme/color-picker-input.tsx b/web/components/core/theme/color-picker-input.tsx
similarity index 100%
rename from apps/app/components/core/theme/color-picker-input.tsx
rename to web/components/core/theme/color-picker-input.tsx
diff --git a/apps/app/components/core/theme/custom-theme-selector.tsx b/web/components/core/theme/custom-theme-selector.tsx
similarity index 100%
rename from apps/app/components/core/theme/custom-theme-selector.tsx
rename to web/components/core/theme/custom-theme-selector.tsx
diff --git a/apps/app/components/core/theme/index.ts b/web/components/core/theme/index.ts
similarity index 100%
rename from apps/app/components/core/theme/index.ts
rename to web/components/core/theme/index.ts
diff --git a/apps/app/components/core/theme/theme-switch.tsx b/web/components/core/theme/theme-switch.tsx
similarity index 100%
rename from apps/app/components/core/theme/theme-switch.tsx
rename to web/components/core/theme/theme-switch.tsx
diff --git a/apps/app/components/core/views/all-views.tsx b/web/components/core/views/all-views.tsx
similarity index 100%
rename from apps/app/components/core/views/all-views.tsx
rename to web/components/core/views/all-views.tsx
diff --git a/apps/app/components/core/views/board-view/all-boards.tsx b/web/components/core/views/board-view/all-boards.tsx
similarity index 100%
rename from apps/app/components/core/views/board-view/all-boards.tsx
rename to web/components/core/views/board-view/all-boards.tsx
diff --git a/apps/app/components/core/views/board-view/board-header.tsx b/web/components/core/views/board-view/board-header.tsx
similarity index 100%
rename from apps/app/components/core/views/board-view/board-header.tsx
rename to web/components/core/views/board-view/board-header.tsx
diff --git a/apps/app/components/core/views/board-view/index.ts b/web/components/core/views/board-view/index.ts
similarity index 100%
rename from apps/app/components/core/views/board-view/index.ts
rename to web/components/core/views/board-view/index.ts
diff --git a/apps/app/components/core/views/board-view/single-board.tsx b/web/components/core/views/board-view/single-board.tsx
similarity index 100%
rename from apps/app/components/core/views/board-view/single-board.tsx
rename to web/components/core/views/board-view/single-board.tsx
diff --git a/apps/app/components/core/views/board-view/single-issue.tsx b/web/components/core/views/board-view/single-issue.tsx
similarity index 100%
rename from apps/app/components/core/views/board-view/single-issue.tsx
rename to web/components/core/views/board-view/single-issue.tsx
diff --git a/apps/app/components/core/views/calendar-view/calendar-header.tsx b/web/components/core/views/calendar-view/calendar-header.tsx
similarity index 100%
rename from apps/app/components/core/views/calendar-view/calendar-header.tsx
rename to web/components/core/views/calendar-view/calendar-header.tsx
diff --git a/apps/app/components/core/views/calendar-view/calendar.tsx b/web/components/core/views/calendar-view/calendar.tsx
similarity index 100%
rename from apps/app/components/core/views/calendar-view/calendar.tsx
rename to web/components/core/views/calendar-view/calendar.tsx
diff --git a/apps/app/components/core/views/calendar-view/index.ts b/web/components/core/views/calendar-view/index.ts
similarity index 100%
rename from apps/app/components/core/views/calendar-view/index.ts
rename to web/components/core/views/calendar-view/index.ts
diff --git a/apps/app/components/core/views/calendar-view/single-date.tsx b/web/components/core/views/calendar-view/single-date.tsx
similarity index 100%
rename from apps/app/components/core/views/calendar-view/single-date.tsx
rename to web/components/core/views/calendar-view/single-date.tsx
diff --git a/apps/app/components/core/views/calendar-view/single-issue.tsx b/web/components/core/views/calendar-view/single-issue.tsx
similarity index 100%
rename from apps/app/components/core/views/calendar-view/single-issue.tsx
rename to web/components/core/views/calendar-view/single-issue.tsx
diff --git a/apps/app/components/core/views/gantt-chart-view/index.tsx b/web/components/core/views/gantt-chart-view/index.tsx
similarity index 100%
rename from apps/app/components/core/views/gantt-chart-view/index.tsx
rename to web/components/core/views/gantt-chart-view/index.tsx
diff --git a/apps/app/components/core/views/index.ts b/web/components/core/views/index.ts
similarity index 100%
rename from apps/app/components/core/views/index.ts
rename to web/components/core/views/index.ts
diff --git a/apps/app/components/core/views/issues-view.tsx b/web/components/core/views/issues-view.tsx
similarity index 100%
rename from apps/app/components/core/views/issues-view.tsx
rename to web/components/core/views/issues-view.tsx
diff --git a/apps/app/components/core/views/list-view/all-lists.tsx b/web/components/core/views/list-view/all-lists.tsx
similarity index 100%
rename from apps/app/components/core/views/list-view/all-lists.tsx
rename to web/components/core/views/list-view/all-lists.tsx
diff --git a/apps/app/components/core/views/list-view/index.ts b/web/components/core/views/list-view/index.ts
similarity index 100%
rename from apps/app/components/core/views/list-view/index.ts
rename to web/components/core/views/list-view/index.ts
diff --git a/apps/app/components/core/views/list-view/single-issue.tsx b/web/components/core/views/list-view/single-issue.tsx
similarity index 100%
rename from apps/app/components/core/views/list-view/single-issue.tsx
rename to web/components/core/views/list-view/single-issue.tsx
diff --git a/apps/app/components/core/views/list-view/single-list.tsx b/web/components/core/views/list-view/single-list.tsx
similarity index 100%
rename from apps/app/components/core/views/list-view/single-list.tsx
rename to web/components/core/views/list-view/single-list.tsx
diff --git a/apps/app/components/core/views/spreadsheet-view/index.ts b/web/components/core/views/spreadsheet-view/index.ts
similarity index 100%
rename from apps/app/components/core/views/spreadsheet-view/index.ts
rename to web/components/core/views/spreadsheet-view/index.ts
diff --git a/apps/app/components/core/views/spreadsheet-view/single-issue.tsx b/web/components/core/views/spreadsheet-view/single-issue.tsx
similarity index 100%
rename from apps/app/components/core/views/spreadsheet-view/single-issue.tsx
rename to web/components/core/views/spreadsheet-view/single-issue.tsx
diff --git a/apps/app/components/core/views/spreadsheet-view/spreadsheet-columns.tsx b/web/components/core/views/spreadsheet-view/spreadsheet-columns.tsx
similarity index 100%
rename from apps/app/components/core/views/spreadsheet-view/spreadsheet-columns.tsx
rename to web/components/core/views/spreadsheet-view/spreadsheet-columns.tsx
diff --git a/apps/app/components/core/views/spreadsheet-view/spreadsheet-issues.tsx b/web/components/core/views/spreadsheet-view/spreadsheet-issues.tsx
similarity index 100%
rename from apps/app/components/core/views/spreadsheet-view/spreadsheet-issues.tsx
rename to web/components/core/views/spreadsheet-view/spreadsheet-issues.tsx
diff --git a/apps/app/components/core/views/spreadsheet-view/spreadsheet-view.tsx b/web/components/core/views/spreadsheet-view/spreadsheet-view.tsx
similarity index 100%
rename from apps/app/components/core/views/spreadsheet-view/spreadsheet-view.tsx
rename to web/components/core/views/spreadsheet-view/spreadsheet-view.tsx
diff --git a/apps/app/components/cycles/active-cycle-details.tsx b/web/components/cycles/active-cycle-details.tsx
similarity index 100%
rename from apps/app/components/cycles/active-cycle-details.tsx
rename to web/components/cycles/active-cycle-details.tsx
diff --git a/apps/app/components/cycles/active-cycle-stats.tsx b/web/components/cycles/active-cycle-stats.tsx
similarity index 100%
rename from apps/app/components/cycles/active-cycle-stats.tsx
rename to web/components/cycles/active-cycle-stats.tsx
diff --git a/apps/app/components/cycles/cycles-list/all-cycles-list.tsx b/web/components/cycles/cycles-list/all-cycles-list.tsx
similarity index 100%
rename from apps/app/components/cycles/cycles-list/all-cycles-list.tsx
rename to web/components/cycles/cycles-list/all-cycles-list.tsx
diff --git a/apps/app/components/cycles/cycles-list/completed-cycles-list.tsx b/web/components/cycles/cycles-list/completed-cycles-list.tsx
similarity index 100%
rename from apps/app/components/cycles/cycles-list/completed-cycles-list.tsx
rename to web/components/cycles/cycles-list/completed-cycles-list.tsx
diff --git a/apps/app/components/cycles/cycles-list/draft-cycles-list.tsx b/web/components/cycles/cycles-list/draft-cycles-list.tsx
similarity index 100%
rename from apps/app/components/cycles/cycles-list/draft-cycles-list.tsx
rename to web/components/cycles/cycles-list/draft-cycles-list.tsx
diff --git a/apps/app/components/cycles/cycles-list/index.ts b/web/components/cycles/cycles-list/index.ts
similarity index 100%
rename from apps/app/components/cycles/cycles-list/index.ts
rename to web/components/cycles/cycles-list/index.ts
diff --git a/apps/app/components/cycles/cycles-list/upcoming-cycles-list.tsx b/web/components/cycles/cycles-list/upcoming-cycles-list.tsx
similarity index 100%
rename from apps/app/components/cycles/cycles-list/upcoming-cycles-list.tsx
rename to web/components/cycles/cycles-list/upcoming-cycles-list.tsx
diff --git a/apps/app/components/cycles/cycles-view.tsx b/web/components/cycles/cycles-view.tsx
similarity index 100%
rename from apps/app/components/cycles/cycles-view.tsx
rename to web/components/cycles/cycles-view.tsx
diff --git a/apps/app/components/cycles/delete-cycle-modal.tsx b/web/components/cycles/delete-cycle-modal.tsx
similarity index 100%
rename from apps/app/components/cycles/delete-cycle-modal.tsx
rename to web/components/cycles/delete-cycle-modal.tsx
diff --git a/apps/app/components/cycles/form.tsx b/web/components/cycles/form.tsx
similarity index 100%
rename from apps/app/components/cycles/form.tsx
rename to web/components/cycles/form.tsx
diff --git a/apps/app/components/cycles/gantt-chart/blocks.tsx b/web/components/cycles/gantt-chart/blocks.tsx
similarity index 100%
rename from apps/app/components/cycles/gantt-chart/blocks.tsx
rename to web/components/cycles/gantt-chart/blocks.tsx
diff --git a/apps/app/components/cycles/gantt-chart/cycle-issues-layout.tsx b/web/components/cycles/gantt-chart/cycle-issues-layout.tsx
similarity index 100%
rename from apps/app/components/cycles/gantt-chart/cycle-issues-layout.tsx
rename to web/components/cycles/gantt-chart/cycle-issues-layout.tsx
diff --git a/apps/app/components/cycles/gantt-chart/cycles-list-layout.tsx b/web/components/cycles/gantt-chart/cycles-list-layout.tsx
similarity index 100%
rename from apps/app/components/cycles/gantt-chart/cycles-list-layout.tsx
rename to web/components/cycles/gantt-chart/cycles-list-layout.tsx
diff --git a/apps/app/components/cycles/gantt-chart/index.ts b/web/components/cycles/gantt-chart/index.ts
similarity index 100%
rename from apps/app/components/cycles/gantt-chart/index.ts
rename to web/components/cycles/gantt-chart/index.ts
diff --git a/apps/app/components/cycles/index.ts b/web/components/cycles/index.ts
similarity index 100%
rename from apps/app/components/cycles/index.ts
rename to web/components/cycles/index.ts
diff --git a/apps/app/components/cycles/modal.tsx b/web/components/cycles/modal.tsx
similarity index 100%
rename from apps/app/components/cycles/modal.tsx
rename to web/components/cycles/modal.tsx
diff --git a/apps/app/components/cycles/select.tsx b/web/components/cycles/select.tsx
similarity index 100%
rename from apps/app/components/cycles/select.tsx
rename to web/components/cycles/select.tsx
diff --git a/apps/app/components/cycles/sidebar.tsx b/web/components/cycles/sidebar.tsx
similarity index 100%
rename from apps/app/components/cycles/sidebar.tsx
rename to web/components/cycles/sidebar.tsx
diff --git a/apps/app/components/cycles/single-cycle-card.tsx b/web/components/cycles/single-cycle-card.tsx
similarity index 100%
rename from apps/app/components/cycles/single-cycle-card.tsx
rename to web/components/cycles/single-cycle-card.tsx
diff --git a/apps/app/components/cycles/single-cycle-list.tsx b/web/components/cycles/single-cycle-list.tsx
similarity index 100%
rename from apps/app/components/cycles/single-cycle-list.tsx
rename to web/components/cycles/single-cycle-list.tsx
diff --git a/apps/app/components/cycles/transfer-issues-modal.tsx b/web/components/cycles/transfer-issues-modal.tsx
similarity index 100%
rename from apps/app/components/cycles/transfer-issues-modal.tsx
rename to web/components/cycles/transfer-issues-modal.tsx
diff --git a/apps/app/components/cycles/transfer-issues.tsx b/web/components/cycles/transfer-issues.tsx
similarity index 100%
rename from apps/app/components/cycles/transfer-issues.tsx
rename to web/components/cycles/transfer-issues.tsx
diff --git a/apps/app/components/dnd/StrictModeDroppable.tsx b/web/components/dnd/StrictModeDroppable.tsx
similarity index 100%
rename from apps/app/components/dnd/StrictModeDroppable.tsx
rename to web/components/dnd/StrictModeDroppable.tsx
diff --git a/apps/app/components/emoji-icon-picker/emojis.json b/web/components/emoji-icon-picker/emojis.json
similarity index 100%
rename from apps/app/components/emoji-icon-picker/emojis.json
rename to web/components/emoji-icon-picker/emojis.json
diff --git a/apps/app/components/emoji-icon-picker/helpers.ts b/web/components/emoji-icon-picker/helpers.ts
similarity index 100%
rename from apps/app/components/emoji-icon-picker/helpers.ts
rename to web/components/emoji-icon-picker/helpers.ts
diff --git a/apps/app/components/emoji-icon-picker/icons.json b/web/components/emoji-icon-picker/icons.json
similarity index 100%
rename from apps/app/components/emoji-icon-picker/icons.json
rename to web/components/emoji-icon-picker/icons.json
diff --git a/apps/app/components/emoji-icon-picker/index.tsx b/web/components/emoji-icon-picker/index.tsx
similarity index 100%
rename from apps/app/components/emoji-icon-picker/index.tsx
rename to web/components/emoji-icon-picker/index.tsx
diff --git a/apps/app/components/emoji-icon-picker/types.d.ts b/web/components/emoji-icon-picker/types.d.ts
similarity index 100%
rename from apps/app/components/emoji-icon-picker/types.d.ts
rename to web/components/emoji-icon-picker/types.d.ts
diff --git a/apps/app/components/estimates/create-update-estimate-modal.tsx b/web/components/estimates/create-update-estimate-modal.tsx
similarity index 100%
rename from apps/app/components/estimates/create-update-estimate-modal.tsx
rename to web/components/estimates/create-update-estimate-modal.tsx
diff --git a/apps/app/components/estimates/delete-estimate-modal.tsx b/web/components/estimates/delete-estimate-modal.tsx
similarity index 100%
rename from apps/app/components/estimates/delete-estimate-modal.tsx
rename to web/components/estimates/delete-estimate-modal.tsx
diff --git a/apps/app/components/estimates/index.tsx b/web/components/estimates/index.tsx
similarity index 100%
rename from apps/app/components/estimates/index.tsx
rename to web/components/estimates/index.tsx
diff --git a/apps/app/components/estimates/single-estimate.tsx b/web/components/estimates/single-estimate.tsx
similarity index 100%
rename from apps/app/components/estimates/single-estimate.tsx
rename to web/components/estimates/single-estimate.tsx
diff --git a/apps/app/components/exporter/export-modal.tsx b/web/components/exporter/export-modal.tsx
similarity index 100%
rename from apps/app/components/exporter/export-modal.tsx
rename to web/components/exporter/export-modal.tsx
diff --git a/apps/app/components/exporter/guide.tsx b/web/components/exporter/guide.tsx
similarity index 100%
rename from apps/app/components/exporter/guide.tsx
rename to web/components/exporter/guide.tsx
diff --git a/apps/app/components/exporter/index.tsx b/web/components/exporter/index.tsx
similarity index 100%
rename from apps/app/components/exporter/index.tsx
rename to web/components/exporter/index.tsx
diff --git a/apps/app/components/exporter/single-export.tsx b/web/components/exporter/single-export.tsx
similarity index 100%
rename from apps/app/components/exporter/single-export.tsx
rename to web/components/exporter/single-export.tsx
diff --git a/apps/app/components/gantt-chart/blocks/blocks-display.tsx b/web/components/gantt-chart/blocks/blocks-display.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/blocks/blocks-display.tsx
rename to web/components/gantt-chart/blocks/blocks-display.tsx
diff --git a/apps/app/components/gantt-chart/blocks/index.ts b/web/components/gantt-chart/blocks/index.ts
similarity index 100%
rename from apps/app/components/gantt-chart/blocks/index.ts
rename to web/components/gantt-chart/blocks/index.ts
diff --git a/apps/app/components/gantt-chart/chart/bi-week.tsx b/web/components/gantt-chart/chart/bi-week.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/chart/bi-week.tsx
rename to web/components/gantt-chart/chart/bi-week.tsx
diff --git a/apps/app/components/gantt-chart/chart/day.tsx b/web/components/gantt-chart/chart/day.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/chart/day.tsx
rename to web/components/gantt-chart/chart/day.tsx
diff --git a/apps/app/components/gantt-chart/chart/hours.tsx b/web/components/gantt-chart/chart/hours.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/chart/hours.tsx
rename to web/components/gantt-chart/chart/hours.tsx
diff --git a/apps/app/components/gantt-chart/chart/index.tsx b/web/components/gantt-chart/chart/index.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/chart/index.tsx
rename to web/components/gantt-chart/chart/index.tsx
diff --git a/apps/app/components/gantt-chart/chart/month.tsx b/web/components/gantt-chart/chart/month.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/chart/month.tsx
rename to web/components/gantt-chart/chart/month.tsx
diff --git a/apps/app/components/gantt-chart/chart/quarter.tsx b/web/components/gantt-chart/chart/quarter.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/chart/quarter.tsx
rename to web/components/gantt-chart/chart/quarter.tsx
diff --git a/apps/app/components/gantt-chart/chart/week.tsx b/web/components/gantt-chart/chart/week.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/chart/week.tsx
rename to web/components/gantt-chart/chart/week.tsx
diff --git a/apps/app/components/gantt-chart/chart/year.tsx b/web/components/gantt-chart/chart/year.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/chart/year.tsx
rename to web/components/gantt-chart/chart/year.tsx
diff --git a/apps/app/components/gantt-chart/contexts/index.tsx b/web/components/gantt-chart/contexts/index.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/contexts/index.tsx
rename to web/components/gantt-chart/contexts/index.tsx
diff --git a/apps/app/components/gantt-chart/data/index.ts b/web/components/gantt-chart/data/index.ts
similarity index 100%
rename from apps/app/components/gantt-chart/data/index.ts
rename to web/components/gantt-chart/data/index.ts
diff --git a/apps/app/components/gantt-chart/helpers/block-structure.tsx b/web/components/gantt-chart/helpers/block-structure.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/helpers/block-structure.tsx
rename to web/components/gantt-chart/helpers/block-structure.tsx
diff --git a/apps/app/components/gantt-chart/helpers/draggable.tsx b/web/components/gantt-chart/helpers/draggable.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/helpers/draggable.tsx
rename to web/components/gantt-chart/helpers/draggable.tsx
diff --git a/apps/app/components/gantt-chart/helpers/index.ts b/web/components/gantt-chart/helpers/index.ts
similarity index 100%
rename from apps/app/components/gantt-chart/helpers/index.ts
rename to web/components/gantt-chart/helpers/index.ts
diff --git a/apps/app/components/gantt-chart/hooks/block-update.tsx b/web/components/gantt-chart/hooks/block-update.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/hooks/block-update.tsx
rename to web/components/gantt-chart/hooks/block-update.tsx
diff --git a/apps/app/components/gantt-chart/hooks/index.tsx b/web/components/gantt-chart/hooks/index.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/hooks/index.tsx
rename to web/components/gantt-chart/hooks/index.tsx
diff --git a/apps/app/components/gantt-chart/index.ts b/web/components/gantt-chart/index.ts
similarity index 100%
rename from apps/app/components/gantt-chart/index.ts
rename to web/components/gantt-chart/index.ts
diff --git a/apps/app/components/gantt-chart/root.tsx b/web/components/gantt-chart/root.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/root.tsx
rename to web/components/gantt-chart/root.tsx
diff --git a/apps/app/components/gantt-chart/sidebar.tsx b/web/components/gantt-chart/sidebar.tsx
similarity index 100%
rename from apps/app/components/gantt-chart/sidebar.tsx
rename to web/components/gantt-chart/sidebar.tsx
diff --git a/apps/app/components/gantt-chart/types/index.ts b/web/components/gantt-chart/types/index.ts
similarity index 100%
rename from apps/app/components/gantt-chart/types/index.ts
rename to web/components/gantt-chart/types/index.ts
diff --git a/apps/app/components/gantt-chart/views/bi-week-view.ts b/web/components/gantt-chart/views/bi-week-view.ts
similarity index 100%
rename from apps/app/components/gantt-chart/views/bi-week-view.ts
rename to web/components/gantt-chart/views/bi-week-view.ts
diff --git a/apps/app/components/gantt-chart/views/day-view.ts b/web/components/gantt-chart/views/day-view.ts
similarity index 93%
rename from apps/app/components/gantt-chart/views/day-view.ts
rename to web/components/gantt-chart/views/day-view.ts
index 67f369361..246ecd8b8 100644
--- a/apps/app/components/gantt-chart/views/day-view.ts
+++ b/web/components/gantt-chart/views/day-view.ts
@@ -72,7 +72,12 @@ export const getAllDaysInMonth = (month: number, year: number) => {
dayData: weeks[date.getDay()],
weekNumber: getWeekNumberByDate(date),
title: `${weeks[date.getDay()].shortTitle} ${_day + 1}`,
- today: currentDate.getFullYear() === year && currentDate.getMonth() === month && currentDate.getDate() === (_day + 1) ? true : false,
+ today:
+ currentDate.getFullYear() === year &&
+ currentDate.getMonth() === month &&
+ currentDate.getDate() === _day + 1
+ ? true
+ : false,
});
});
@@ -180,7 +185,10 @@ export const generateMonthDataByYear = (
renderPayload.push(generateMonthDataByMonth(currentMonth, currentYear));
}
- const scrollWidth = ((renderPayload.map((monthData: any) => monthData.children.length)).reduce((partialSum: number, a: number) => partialSum + a, 0)) * monthPayload.data.width;
+ const scrollWidth =
+ renderPayload
+ .map((monthData: any) => monthData.children.length)
+ .reduce((partialSum: number, a: number) => partialSum + a, 0) * monthPayload.data.width;
return { state: renderState, payload: renderPayload, scrollWidth: scrollWidth };
-};
\ No newline at end of file
+};
diff --git a/apps/app/components/gantt-chart/views/helpers.ts b/web/components/gantt-chart/views/helpers.ts
similarity index 100%
rename from apps/app/components/gantt-chart/views/helpers.ts
rename to web/components/gantt-chart/views/helpers.ts
diff --git a/apps/app/components/gantt-chart/views/hours-view.ts b/web/components/gantt-chart/views/hours-view.ts
similarity index 93%
rename from apps/app/components/gantt-chart/views/hours-view.ts
rename to web/components/gantt-chart/views/hours-view.ts
index 67f369361..246ecd8b8 100644
--- a/apps/app/components/gantt-chart/views/hours-view.ts
+++ b/web/components/gantt-chart/views/hours-view.ts
@@ -72,7 +72,12 @@ export const getAllDaysInMonth = (month: number, year: number) => {
dayData: weeks[date.getDay()],
weekNumber: getWeekNumberByDate(date),
title: `${weeks[date.getDay()].shortTitle} ${_day + 1}`,
- today: currentDate.getFullYear() === year && currentDate.getMonth() === month && currentDate.getDate() === (_day + 1) ? true : false,
+ today:
+ currentDate.getFullYear() === year &&
+ currentDate.getMonth() === month &&
+ currentDate.getDate() === _day + 1
+ ? true
+ : false,
});
});
@@ -180,7 +185,10 @@ export const generateMonthDataByYear = (
renderPayload.push(generateMonthDataByMonth(currentMonth, currentYear));
}
- const scrollWidth = ((renderPayload.map((monthData: any) => monthData.children.length)).reduce((partialSum: number, a: number) => partialSum + a, 0)) * monthPayload.data.width;
+ const scrollWidth =
+ renderPayload
+ .map((monthData: any) => monthData.children.length)
+ .reduce((partialSum: number, a: number) => partialSum + a, 0) * monthPayload.data.width;
return { state: renderState, payload: renderPayload, scrollWidth: scrollWidth };
-};
\ No newline at end of file
+};
diff --git a/apps/app/components/gantt-chart/views/index.ts b/web/components/gantt-chart/views/index.ts
similarity index 100%
rename from apps/app/components/gantt-chart/views/index.ts
rename to web/components/gantt-chart/views/index.ts
diff --git a/apps/app/components/gantt-chart/views/month-view.ts b/web/components/gantt-chart/views/month-view.ts
similarity index 100%
rename from apps/app/components/gantt-chart/views/month-view.ts
rename to web/components/gantt-chart/views/month-view.ts
diff --git a/apps/app/components/gantt-chart/views/quater-view.ts b/web/components/gantt-chart/views/quater-view.ts
similarity index 100%
rename from apps/app/components/gantt-chart/views/quater-view.ts
rename to web/components/gantt-chart/views/quater-view.ts
diff --git a/apps/app/components/gantt-chart/views/week-view.ts b/web/components/gantt-chart/views/week-view.ts
similarity index 100%
rename from apps/app/components/gantt-chart/views/week-view.ts
rename to web/components/gantt-chart/views/week-view.ts
diff --git a/apps/app/components/gantt-chart/views/year-view.ts b/web/components/gantt-chart/views/year-view.ts
similarity index 100%
rename from apps/app/components/gantt-chart/views/year-view.ts
rename to web/components/gantt-chart/views/year-view.ts
diff --git a/apps/app/components/icons/alarm-clock-icon.tsx b/web/components/icons/alarm-clock-icon.tsx
similarity index 100%
rename from apps/app/components/icons/alarm-clock-icon.tsx
rename to web/components/icons/alarm-clock-icon.tsx
diff --git a/apps/app/components/icons/archive-icon.tsx b/web/components/icons/archive-icon.tsx
similarity index 100%
rename from apps/app/components/icons/archive-icon.tsx
rename to web/components/icons/archive-icon.tsx
diff --git a/apps/app/components/icons/arrow-right.tsx b/web/components/icons/arrow-right.tsx
similarity index 100%
rename from apps/app/components/icons/arrow-right.tsx
rename to web/components/icons/arrow-right.tsx
diff --git a/apps/app/components/icons/assignment-clipboard-icon.tsx b/web/components/icons/assignment-clipboard-icon.tsx
similarity index 100%
rename from apps/app/components/icons/assignment-clipboard-icon.tsx
rename to web/components/icons/assignment-clipboard-icon.tsx
diff --git a/apps/app/components/icons/attachment-icon.tsx b/web/components/icons/attachment-icon.tsx
similarity index 100%
rename from apps/app/components/icons/attachment-icon.tsx
rename to web/components/icons/attachment-icon.tsx
diff --git a/apps/app/components/icons/audio-file-icon.tsx b/web/components/icons/audio-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/audio-file-icon.tsx
rename to web/components/icons/audio-file-icon.tsx
index 6aff5d7a4..24ea55a23 100644
--- a/apps/app/components/icons/audio-file-icon.tsx
+++ b/web/components/icons/audio-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import AudioFileIcon from "public/attachment/audio-icon.png";
-export const AudioIcon: React.FC
= ({ width, height }) => (
+export const AudioIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/backlog-state-icon.tsx b/web/components/icons/backlog-state-icon.tsx
similarity index 100%
rename from apps/app/components/icons/backlog-state-icon.tsx
rename to web/components/icons/backlog-state-icon.tsx
diff --git a/apps/app/components/icons/bell-icon.tsx b/web/components/icons/bell-icon.tsx
similarity index 100%
rename from apps/app/components/icons/bell-icon.tsx
rename to web/components/icons/bell-icon.tsx
diff --git a/web/components/icons/blocked-icon.tsx b/web/components/icons/blocked-icon.tsx
new file mode 100644
index 000000000..b712f7698
--- /dev/null
+++ b/web/components/icons/blocked-icon.tsx
@@ -0,0 +1,25 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const BlockedIcon: React.FC = ({ width = "24", height = "24", className }) => (
+
+
+
+
+);
diff --git a/web/components/icons/blocker-icon.tsx b/web/components/icons/blocker-icon.tsx
new file mode 100644
index 000000000..b92fadaea
--- /dev/null
+++ b/web/components/icons/blocker-icon.tsx
@@ -0,0 +1,25 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const BlockerIcon: React.FC = ({ width = "24", height = "24", className }) => (
+
+
+
+
+);
diff --git a/web/components/icons/bolt-icon.tsx b/web/components/icons/bolt-icon.tsx
new file mode 100644
index 000000000..477d4e04e
--- /dev/null
+++ b/web/components/icons/bolt-icon.tsx
@@ -0,0 +1,16 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const BoltIcon: React.FC = ({ width = "24", height = "24", className }) => (
+
+
+
+);
diff --git a/apps/app/components/icons/calendar-after-icon.tsx b/web/components/icons/calendar-after-icon.tsx
similarity index 100%
rename from apps/app/components/icons/calendar-after-icon.tsx
rename to web/components/icons/calendar-after-icon.tsx
diff --git a/apps/app/components/icons/calendar-before-icon.tsx b/web/components/icons/calendar-before-icon.tsx
similarity index 100%
rename from apps/app/components/icons/calendar-before-icon.tsx
rename to web/components/icons/calendar-before-icon.tsx
diff --git a/apps/app/components/icons/calendar-month-icon.tsx b/web/components/icons/calendar-month-icon.tsx
similarity index 100%
rename from apps/app/components/icons/calendar-month-icon.tsx
rename to web/components/icons/calendar-month-icon.tsx
diff --git a/web/components/icons/cancel-icon.tsx b/web/components/icons/cancel-icon.tsx
new file mode 100644
index 000000000..a57425de1
--- /dev/null
+++ b/web/components/icons/cancel-icon.tsx
@@ -0,0 +1,16 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const CancelIcon: React.FC = ({ width, height, className }) => (
+
+
+
+);
diff --git a/apps/app/components/icons/cancelled-state-icon.tsx b/web/components/icons/cancelled-state-icon.tsx
similarity index 100%
rename from apps/app/components/icons/cancelled-state-icon.tsx
rename to web/components/icons/cancelled-state-icon.tsx
diff --git a/apps/app/components/icons/check.tsx b/web/components/icons/check.tsx
similarity index 100%
rename from apps/app/components/icons/check.tsx
rename to web/components/icons/check.tsx
diff --git a/web/components/icons/clipboard-icon.tsx b/web/components/icons/clipboard-icon.tsx
new file mode 100644
index 000000000..a3feaf7af
--- /dev/null
+++ b/web/components/icons/clipboard-icon.tsx
@@ -0,0 +1,19 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const ClipboardIcon: React.FC = ({ width = "24", height = "24", className }) => (
+
+
+
+);
diff --git a/apps/app/components/icons/clock-icon.tsx b/web/components/icons/clock-icon.tsx
similarity index 100%
rename from apps/app/components/icons/clock-icon.tsx
rename to web/components/icons/clock-icon.tsx
diff --git a/apps/app/components/icons/cloud-upload.tsx b/web/components/icons/cloud-upload.tsx
similarity index 100%
rename from apps/app/components/icons/cloud-upload.tsx
rename to web/components/icons/cloud-upload.tsx
diff --git a/apps/app/components/icons/cmd-icon.tsx b/web/components/icons/cmd-icon.tsx
similarity index 100%
rename from apps/app/components/icons/cmd-icon.tsx
rename to web/components/icons/cmd-icon.tsx
diff --git a/apps/app/components/icons/cog.tsx b/web/components/icons/cog.tsx
similarity index 100%
rename from apps/app/components/icons/cog.tsx
rename to web/components/icons/cog.tsx
diff --git a/apps/app/components/icons/color-pallette-icon.tsx b/web/components/icons/color-pallette-icon.tsx
similarity index 100%
rename from apps/app/components/icons/color-pallette-icon.tsx
rename to web/components/icons/color-pallette-icon.tsx
diff --git a/apps/app/components/icons/color-picker-icon.tsx b/web/components/icons/color-picker-icon.tsx
similarity index 100%
rename from apps/app/components/icons/color-picker-icon.tsx
rename to web/components/icons/color-picker-icon.tsx
diff --git a/apps/app/components/icons/command-icon.tsx b/web/components/icons/command-icon.tsx
similarity index 100%
rename from apps/app/components/icons/command-icon.tsx
rename to web/components/icons/command-icon.tsx
diff --git a/web/components/icons/comment-icon.tsx b/web/components/icons/comment-icon.tsx
new file mode 100644
index 000000000..8619abd34
--- /dev/null
+++ b/web/components/icons/comment-icon.tsx
@@ -0,0 +1,16 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const CommentIcon: React.FC = ({ width = "24", height = "24", className }) => (
+
+
+
+);
diff --git a/web/components/icons/completed-cycle-icon.tsx b/web/components/icons/completed-cycle-icon.tsx
new file mode 100644
index 000000000..77d30b24b
--- /dev/null
+++ b/web/components/icons/completed-cycle-icon.tsx
@@ -0,0 +1,17 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const CompletedCycleIcon: React.FC = ({
+ width = "24",
+ height = "24",
+ className,
+ color = "black",
+}) => (
+
+
+
+);
diff --git a/apps/app/components/icons/completed-state-icon.tsx b/web/components/icons/completed-state-icon.tsx
similarity index 100%
rename from apps/app/components/icons/completed-state-icon.tsx
rename to web/components/icons/completed-state-icon.tsx
diff --git a/apps/app/components/icons/contrast-icon.tsx b/web/components/icons/contrast-icon.tsx
similarity index 100%
rename from apps/app/components/icons/contrast-icon.tsx
rename to web/components/icons/contrast-icon.tsx
diff --git a/apps/app/components/icons/css-file-icon.tsx b/web/components/icons/css-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/css-file-icon.tsx
rename to web/components/icons/css-file-icon.tsx
index 54b563d37..a753ead73 100644
--- a/apps/app/components/icons/css-file-icon.tsx
+++ b/web/components/icons/css-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import CssFileIcon from "public/attachment/css-icon.png";
-export const CssIcon: React.FC = ({ width, height }) => (
+export const CssIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/csv-file-icon.tsx b/web/components/icons/csv-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/csv-file-icon.tsx
rename to web/components/icons/csv-file-icon.tsx
index 63f01205e..d25aca262 100644
--- a/apps/app/components/icons/csv-file-icon.tsx
+++ b/web/components/icons/csv-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import CSVFileIcon from "public/attachment/csv-icon.png";
-export const CsvIcon: React.FC = ({ width , height }) => (
+export const CsvIcon: React.FC = ({ width, height }) => (
);
diff --git a/web/components/icons/current-cycle-icon.tsx b/web/components/icons/current-cycle-icon.tsx
new file mode 100644
index 000000000..57b376780
--- /dev/null
+++ b/web/components/icons/current-cycle-icon.tsx
@@ -0,0 +1,17 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const CurrentCycleIcon: React.FC = ({
+ width = "24",
+ height = "24",
+ className,
+ color = "black",
+}) => (
+
+
+
+);
diff --git a/apps/app/components/icons/cycle-icon.tsx b/web/components/icons/cycle-icon.tsx
similarity index 100%
rename from apps/app/components/icons/cycle-icon.tsx
rename to web/components/icons/cycle-icon.tsx
diff --git a/apps/app/components/icons/default-file-icon.tsx b/web/components/icons/default-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/default-file-icon.tsx
rename to web/components/icons/default-file-icon.tsx
index 5323d8e07..3bc1948e3 100644
--- a/apps/app/components/icons/default-file-icon.tsx
+++ b/web/components/icons/default-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import DefaultFileIcon from "public/attachment/default-icon.png";
-export const DefaultIcon: React.FC = ({ width, height }) => (
+export const DefaultIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/discord-icon.tsx b/web/components/icons/discord-icon.tsx
similarity index 100%
rename from apps/app/components/icons/discord-icon.tsx
rename to web/components/icons/discord-icon.tsx
diff --git a/apps/app/components/icons/doc-file-icon.tsx b/web/components/icons/doc-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/doc-file-icon.tsx
rename to web/components/icons/doc-file-icon.tsx
index 173d40df1..a4367ef7c 100644
--- a/apps/app/components/icons/doc-file-icon.tsx
+++ b/web/components/icons/doc-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import DocFileIcon from "public/attachment/doc-icon.png";
-export const DocIcon: React.FC = ({ width , height }) => (
+export const DocIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/document-icon.tsx b/web/components/icons/document-icon.tsx
similarity index 82%
rename from apps/app/components/icons/document-icon.tsx
rename to web/components/icons/document-icon.tsx
index a9c599578..b84dd4c39 100644
--- a/apps/app/components/icons/document-icon.tsx
+++ b/web/components/icons/document-icon.tsx
@@ -2,17 +2,23 @@ import React from "react";
import type { Props } from "./types";
-export const DocumentIcon: React.FC = ({ width = "24", height = "24", className, color }) => (
-
+export const DocumentIcon: React.FC = ({
+ width = "24",
+ height = "24",
+ className,
+ color,
+}) => (
+
-
- );
+ d="M7.27051 14.792H12.7288C12.9094 14.792 13.0587 14.733 13.1768 14.6149C13.2948 14.4969 13.3538 14.3475 13.3538 14.167C13.3538 13.9864 13.2948 13.8371 13.1768 13.7191C13.0587 13.601 12.9094 13.542 12.7288 13.542H7.27051C7.08995 13.542 6.94065 13.601 6.82259 13.7191C6.70454 13.8371 6.64551 13.9864 6.64551 14.167C6.64551 14.3475 6.70454 14.4969 6.82259 14.6149C6.94065 14.733 7.08995 14.792 7.27051 14.792ZM7.27051 11.2503H12.7288C12.9094 11.2503 13.0587 11.1913 13.1768 11.0732C13.2948 10.9552 13.3538 10.8059 13.3538 10.6253C13.3538 10.4448 13.2948 10.2955 13.1768 10.1774C13.0587 10.0594 12.9094 10.0003 12.7288 10.0003H7.27051C7.08995 10.0003 6.94065 10.0594 6.82259 10.1774C6.70454 10.2955 6.64551 10.4448 6.64551 10.6253C6.64551 10.8059 6.70454 10.9552 6.82259 11.0732C6.94065 11.1913 7.08995 11.2503 7.27051 11.2503ZM4.58301 18.3337C4.24967 18.3337 3.95801 18.2087 3.70801 17.9587C3.45801 17.7087 3.33301 17.417 3.33301 17.0837V2.91699C3.33301 2.58366 3.45801 2.29199 3.70801 2.04199C3.95801 1.79199 4.24967 1.66699 4.58301 1.66699H11.583C11.7497 1.66699 11.9129 1.70171 12.0726 1.77116C12.2323 1.8406 12.3677 1.93088 12.4788 2.04199L16.2913 5.85449C16.4025 5.9656 16.4927 6.10102 16.5622 6.26074C16.6316 6.42046 16.6663 6.58366 16.6663 6.75033V17.0837C16.6663 17.417 16.5413 17.7087 16.2913 17.9587C16.0413 18.2087 15.7497 18.3337 15.4163 18.3337H4.58301ZM11.4788 6.16699V2.91699H4.58301V17.0837H15.4163V6.79199H12.1038C11.9233 6.79199 11.774 6.73296 11.6559 6.61491C11.5379 6.49685 11.4788 6.34755 11.4788 6.16699ZM4.58301 2.91699V6.79199V2.91699V17.0837V2.91699Z"
+ />
+
+);
diff --git a/web/components/icons/edit-icon.tsx b/web/components/icons/edit-icon.tsx
new file mode 100644
index 000000000..6b1ea2785
--- /dev/null
+++ b/web/components/icons/edit-icon.tsx
@@ -0,0 +1,19 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const EditIcon: React.FC = ({ width, height, className }) => (
+
+
+
+);
diff --git a/web/components/icons/ellipsis-horizontal-icon.tsx b/web/components/icons/ellipsis-horizontal-icon.tsx
new file mode 100644
index 000000000..26979f9a5
--- /dev/null
+++ b/web/components/icons/ellipsis-horizontal-icon.tsx
@@ -0,0 +1,19 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const EllipsisHorizontalIcon: React.FC = ({ width, height, className }) => (
+
+
+
+);
diff --git a/apps/app/components/icons/exclamation-icon.tsx b/web/components/icons/exclamation-icon.tsx
similarity index 100%
rename from apps/app/components/icons/exclamation-icon.tsx
rename to web/components/icons/exclamation-icon.tsx
diff --git a/apps/app/components/icons/external-link-icon.tsx b/web/components/icons/external-link-icon.tsx
similarity index 100%
rename from apps/app/components/icons/external-link-icon.tsx
rename to web/components/icons/external-link-icon.tsx
diff --git a/apps/app/components/icons/figma-file-icon.tsx b/web/components/icons/figma-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/figma-file-icon.tsx
rename to web/components/icons/figma-file-icon.tsx
index 7ff9f6ac0..fc7b74f73 100644
--- a/apps/app/components/icons/figma-file-icon.tsx
+++ b/web/components/icons/figma-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import FigmaFileIcon from "public/attachment/figma-icon.png";
-export const FigmaIcon: React.FC = ({ width , height }) => (
+export const FigmaIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/github-icon.tsx b/web/components/icons/github-icon.tsx
similarity index 100%
rename from apps/app/components/icons/github-icon.tsx
rename to web/components/icons/github-icon.tsx
diff --git a/apps/app/components/icons/grid-view-icons.tsx b/web/components/icons/grid-view-icons.tsx
similarity index 100%
rename from apps/app/components/icons/grid-view-icons.tsx
rename to web/components/icons/grid-view-icons.tsx
diff --git a/apps/app/components/icons/heartbeat-icon.tsx b/web/components/icons/heartbeat-icon.tsx
similarity index 100%
rename from apps/app/components/icons/heartbeat-icon.tsx
rename to web/components/icons/heartbeat-icon.tsx
diff --git a/apps/app/components/icons/html-file-icon.tsx b/web/components/icons/html-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/html-file-icon.tsx
rename to web/components/icons/html-file-icon.tsx
index 9de4080b0..4eddb323b 100644
--- a/apps/app/components/icons/html-file-icon.tsx
+++ b/web/components/icons/html-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import HtmlFileIcon from "public/attachment/html-icon.png";
-export const HtmlIcon: React.FC = ({ width, height }) => (
+export const HtmlIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/img-file-icon.tsx b/web/components/icons/img-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/img-file-icon.tsx
rename to web/components/icons/img-file-icon.tsx
index 1333957c1..0c58fa101 100644
--- a/apps/app/components/icons/img-file-icon.tsx
+++ b/web/components/icons/img-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import ImgFileIcon from "public/attachment/img-icon.png";
-export const ImgIcon: React.FC = ({ width , height }) => (
+export const ImgIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/import-layers.tsx b/web/components/icons/import-layers.tsx
similarity index 100%
rename from apps/app/components/icons/import-layers.tsx
rename to web/components/icons/import-layers.tsx
diff --git a/apps/app/components/icons/inbox-icon.tsx b/web/components/icons/inbox-icon.tsx
similarity index 100%
rename from apps/app/components/icons/inbox-icon.tsx
rename to web/components/icons/inbox-icon.tsx
diff --git a/apps/app/components/icons/index.ts b/web/components/icons/index.ts
similarity index 100%
rename from apps/app/components/icons/index.ts
rename to web/components/icons/index.ts
diff --git a/apps/app/components/icons/jpg-file-icon.tsx b/web/components/icons/jpg-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/jpg-file-icon.tsx
rename to web/components/icons/jpg-file-icon.tsx
index e88f0e47f..26d3af373 100644
--- a/apps/app/components/icons/jpg-file-icon.tsx
+++ b/web/components/icons/jpg-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import JpgFileIcon from "public/attachment/jpg-icon.png";
-export const JpgIcon: React.FC = ({ width, height }) => (
+export const JpgIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/js-file-icon.tsx b/web/components/icons/js-file-icon.tsx
similarity index 97%
rename from apps/app/components/icons/js-file-icon.tsx
rename to web/components/icons/js-file-icon.tsx
index 9f879ba6b..67cfa05d4 100644
--- a/apps/app/components/icons/js-file-icon.tsx
+++ b/web/components/icons/js-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import JsFileIcon from "public/attachment/js-icon.png";
-export const JavaScriptIcon: React.FC = ({ width, height }) => (
+export const JavaScriptIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/layer-diagonal-icon.tsx b/web/components/icons/layer-diagonal-icon.tsx
similarity index 100%
rename from apps/app/components/icons/layer-diagonal-icon.tsx
rename to web/components/icons/layer-diagonal-icon.tsx
diff --git a/web/components/icons/lock-icon.tsx b/web/components/icons/lock-icon.tsx
new file mode 100644
index 000000000..2892011df
--- /dev/null
+++ b/web/components/icons/lock-icon.tsx
@@ -0,0 +1,16 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const LockIcon: React.FC = ({ width = "24", height = "24", className }) => (
+
+
+
+);
diff --git a/web/components/icons/menu-icon.tsx b/web/components/icons/menu-icon.tsx
new file mode 100644
index 000000000..3b5e033d8
--- /dev/null
+++ b/web/components/icons/menu-icon.tsx
@@ -0,0 +1,19 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const MenuIcon: React.FC = ({ width = "24", height = "24", className }) => (
+
+
+
+);
diff --git a/apps/app/components/icons/module/backlog.tsx b/web/components/icons/module/backlog.tsx
similarity index 100%
rename from apps/app/components/icons/module/backlog.tsx
rename to web/components/icons/module/backlog.tsx
diff --git a/apps/app/components/icons/module/cancelled.tsx b/web/components/icons/module/cancelled.tsx
similarity index 100%
rename from apps/app/components/icons/module/cancelled.tsx
rename to web/components/icons/module/cancelled.tsx
diff --git a/apps/app/components/icons/module/completed.tsx b/web/components/icons/module/completed.tsx
similarity index 100%
rename from apps/app/components/icons/module/completed.tsx
rename to web/components/icons/module/completed.tsx
diff --git a/apps/app/components/icons/module/in-progress.tsx b/web/components/icons/module/in-progress.tsx
similarity index 100%
rename from apps/app/components/icons/module/in-progress.tsx
rename to web/components/icons/module/in-progress.tsx
diff --git a/apps/app/components/icons/module/index.ts b/web/components/icons/module/index.ts
similarity index 100%
rename from apps/app/components/icons/module/index.ts
rename to web/components/icons/module/index.ts
diff --git a/apps/app/components/icons/module/module-status-icon.tsx b/web/components/icons/module/module-status-icon.tsx
similarity index 100%
rename from apps/app/components/icons/module/module-status-icon.tsx
rename to web/components/icons/module/module-status-icon.tsx
diff --git a/apps/app/components/icons/module/paused.tsx b/web/components/icons/module/paused.tsx
similarity index 100%
rename from apps/app/components/icons/module/paused.tsx
rename to web/components/icons/module/paused.tsx
diff --git a/apps/app/components/icons/module/planned.tsx b/web/components/icons/module/planned.tsx
similarity index 100%
rename from apps/app/components/icons/module/planned.tsx
rename to web/components/icons/module/planned.tsx
diff --git a/apps/app/components/icons/pdf-file-icon.tsx b/web/components/icons/pdf-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/pdf-file-icon.tsx
rename to web/components/icons/pdf-file-icon.tsx
index 5467f0812..cb2014ee0 100644
--- a/apps/app/components/icons/pdf-file-icon.tsx
+++ b/web/components/icons/pdf-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import PDFFileIcon from "public/attachment/pdf-icon.png";
-export const PdfIcon: React.FC = ({ width , height }) => (
+export const PdfIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/pencil-scribble-icon.tsx b/web/components/icons/pencil-scribble-icon.tsx
similarity index 100%
rename from apps/app/components/icons/pencil-scribble-icon.tsx
rename to web/components/icons/pencil-scribble-icon.tsx
diff --git a/apps/app/components/icons/people-group-icon.tsx b/web/components/icons/people-group-icon.tsx
similarity index 100%
rename from apps/app/components/icons/people-group-icon.tsx
rename to web/components/icons/people-group-icon.tsx
diff --git a/apps/app/components/icons/person-running-icon.tsx b/web/components/icons/person-running-icon.tsx
similarity index 100%
rename from apps/app/components/icons/person-running-icon.tsx
rename to web/components/icons/person-running-icon.tsx
diff --git a/web/components/icons/plus-icon.tsx b/web/components/icons/plus-icon.tsx
new file mode 100644
index 000000000..25489a4fd
--- /dev/null
+++ b/web/components/icons/plus-icon.tsx
@@ -0,0 +1,19 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const PlusIcon: React.FC = ({ width = "24", height = "24", className }) => (
+
+
+
+);
diff --git a/apps/app/components/icons/png-file-icon.tsx b/web/components/icons/png-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/png-file-icon.tsx
rename to web/components/icons/png-file-icon.tsx
index 21b5dc116..fb64ed824 100644
--- a/apps/app/components/icons/png-file-icon.tsx
+++ b/web/components/icons/png-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import PngFileIcon from "public/attachment/png-icon.png";
-export const PngIcon: React.FC = ({ width, height }) => (
+export const PngIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/priority-icon.tsx b/web/components/icons/priority-icon.tsx
similarity index 100%
rename from apps/app/components/icons/priority-icon.tsx
rename to web/components/icons/priority-icon.tsx
diff --git a/web/components/icons/question-mark-circle-icon.tsx b/web/components/icons/question-mark-circle-icon.tsx
new file mode 100644
index 000000000..f4abd903f
--- /dev/null
+++ b/web/components/icons/question-mark-circle-icon.tsx
@@ -0,0 +1,20 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const QuestionMarkCircleIcon: React.FC = ({
+ width = "24",
+ height = "24",
+ className,
+}) => (
+
+
+
+);
diff --git a/apps/app/components/icons/setting-icon.tsx b/web/components/icons/setting-icon.tsx
similarity index 100%
rename from apps/app/components/icons/setting-icon.tsx
rename to web/components/icons/setting-icon.tsx
diff --git a/apps/app/components/icons/sheet-file-icon.tsx b/web/components/icons/sheet-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/sheet-file-icon.tsx
rename to web/components/icons/sheet-file-icon.tsx
index 9e57ce71c..dd4eee8ec 100644
--- a/apps/app/components/icons/sheet-file-icon.tsx
+++ b/web/components/icons/sheet-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import SheetFileIcon from "public/attachment/excel-icon.png";
-export const SheetIcon: React.FC = ({ width, height }) => (
+export const SheetIcon: React.FC = ({ width, height }) => (
);
diff --git a/web/components/icons/signal-cellular-icon.tsx b/web/components/icons/signal-cellular-icon.tsx
new file mode 100644
index 000000000..bb7d108fe
--- /dev/null
+++ b/web/components/icons/signal-cellular-icon.tsx
@@ -0,0 +1,19 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const SignalCellularIcon: React.FC = ({ width = "24", height = "24", className }) => (
+
+
+
+);
diff --git a/apps/app/components/icons/single-comment-icon.tsx b/web/components/icons/single-comment-icon.tsx
similarity index 100%
rename from apps/app/components/icons/single-comment-icon.tsx
rename to web/components/icons/single-comment-icon.tsx
diff --git a/apps/app/components/icons/sort-icon.tsx b/web/components/icons/sort-icon.tsx
similarity index 100%
rename from apps/app/components/icons/sort-icon.tsx
rename to web/components/icons/sort-icon.tsx
diff --git a/apps/app/components/icons/stacked-layers-horizontal-icon.tsx b/web/components/icons/stacked-layers-horizontal-icon.tsx
similarity index 100%
rename from apps/app/components/icons/stacked-layers-horizontal-icon.tsx
rename to web/components/icons/stacked-layers-horizontal-icon.tsx
diff --git a/apps/app/components/icons/stacked-layers-icon.tsx b/web/components/icons/stacked-layers-icon.tsx
similarity index 100%
rename from apps/app/components/icons/stacked-layers-icon.tsx
rename to web/components/icons/stacked-layers-icon.tsx
diff --git a/apps/app/components/icons/started-state-icon.tsx b/web/components/icons/started-state-icon.tsx
similarity index 100%
rename from apps/app/components/icons/started-state-icon.tsx
rename to web/components/icons/started-state-icon.tsx
diff --git a/apps/app/components/icons/state-group-icon.tsx b/web/components/icons/state-group-icon.tsx
similarity index 100%
rename from apps/app/components/icons/state-group-icon.tsx
rename to web/components/icons/state-group-icon.tsx
diff --git a/apps/app/components/icons/svg-file-icon.tsx b/web/components/icons/svg-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/svg-file-icon.tsx
rename to web/components/icons/svg-file-icon.tsx
index d04ae3167..043f41aeb 100644
--- a/apps/app/components/icons/svg-file-icon.tsx
+++ b/web/components/icons/svg-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import SvgFileIcon from "public/attachment/svg-icon.png";
-export const SvgIcon: React.FC = ({ width, height }) => (
+export const SvgIcon: React.FC = ({ width, height }) => (
);
diff --git a/web/components/icons/tag-icon.tsx b/web/components/icons/tag-icon.tsx
new file mode 100644
index 000000000..d907aabce
--- /dev/null
+++ b/web/components/icons/tag-icon.tsx
@@ -0,0 +1,24 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const TagIcon: React.FC = ({
+ width = "24",
+ height = "24",
+ className,
+ color = "black",
+}) => (
+
+
+
+);
diff --git a/apps/app/components/icons/target-icon.tsx b/web/components/icons/target-icon.tsx
similarity index 100%
rename from apps/app/components/icons/target-icon.tsx
rename to web/components/icons/target-icon.tsx
diff --git a/apps/app/components/icons/tick-mark-icon.tsx b/web/components/icons/tick-mark-icon.tsx
similarity index 100%
rename from apps/app/components/icons/tick-mark-icon.tsx
rename to web/components/icons/tick-mark-icon.tsx
diff --git a/web/components/icons/transfer-icon.tsx b/web/components/icons/transfer-icon.tsx
new file mode 100644
index 000000000..dfb3f8c05
--- /dev/null
+++ b/web/components/icons/transfer-icon.tsx
@@ -0,0 +1,19 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const TransferIcon: React.FC = ({ width, height, className, color }) => (
+
+
+
+);
diff --git a/apps/app/components/icons/triangle-exclamation-icon.tsx b/web/components/icons/triangle-exclamation-icon.tsx
similarity index 100%
rename from apps/app/components/icons/triangle-exclamation-icon.tsx
rename to web/components/icons/triangle-exclamation-icon.tsx
diff --git a/web/components/icons/tune-icon.tsx b/web/components/icons/tune-icon.tsx
new file mode 100644
index 000000000..baa2dcd72
--- /dev/null
+++ b/web/components/icons/tune-icon.tsx
@@ -0,0 +1,19 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const TuneIcon: React.FC = ({ width = "24", height = "24", className }) => (
+
+
+
+);
diff --git a/apps/app/components/icons/txt-file-icon.tsx b/web/components/icons/txt-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/txt-file-icon.tsx
rename to web/components/icons/txt-file-icon.tsx
index f0150a4cd..2fbfaee32 100644
--- a/apps/app/components/icons/txt-file-icon.tsx
+++ b/web/components/icons/txt-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import TxtFileIcon from "public/attachment/txt-icon.png";
-export const TxtIcon: React.FC = ({ width, height }) => (
+export const TxtIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/types.d.ts b/web/components/icons/types.d.ts
similarity index 100%
rename from apps/app/components/icons/types.d.ts
rename to web/components/icons/types.d.ts
diff --git a/apps/app/components/icons/unstarted-state-icon.tsx b/web/components/icons/unstarted-state-icon.tsx
similarity index 100%
rename from apps/app/components/icons/unstarted-state-icon.tsx
rename to web/components/icons/unstarted-state-icon.tsx
diff --git a/web/components/icons/upcoming-cycle-icon.tsx b/web/components/icons/upcoming-cycle-icon.tsx
new file mode 100644
index 000000000..e9bad7a42
--- /dev/null
+++ b/web/components/icons/upcoming-cycle-icon.tsx
@@ -0,0 +1,17 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const UpcomingCycleIcon: React.FC = ({
+ width = "24",
+ height = "24",
+ className,
+ color = "black",
+}) => (
+
+
+
+);
diff --git a/apps/app/components/icons/user-group-icon.tsx b/web/components/icons/user-group-icon.tsx
similarity index 100%
rename from apps/app/components/icons/user-group-icon.tsx
rename to web/components/icons/user-group-icon.tsx
diff --git a/web/components/icons/user-icon-circle.tsx b/web/components/icons/user-icon-circle.tsx
new file mode 100644
index 000000000..ffc88be3b
--- /dev/null
+++ b/web/components/icons/user-icon-circle.tsx
@@ -0,0 +1,16 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const UserCircleIcon: React.FC = ({ width = "24", height = "24", className }) => (
+
+
+
+);
diff --git a/web/components/icons/user-icon.tsx b/web/components/icons/user-icon.tsx
new file mode 100644
index 000000000..dedea1bae
--- /dev/null
+++ b/web/components/icons/user-icon.tsx
@@ -0,0 +1,19 @@
+import React from "react";
+
+import type { Props } from "./types";
+
+export const UserIcon: React.FC = ({ width = "24", height = "24", className }) => (
+
+
+
+);
diff --git a/apps/app/components/icons/users.tsx b/web/components/icons/users.tsx
similarity index 100%
rename from apps/app/components/icons/users.tsx
rename to web/components/icons/users.tsx
diff --git a/apps/app/components/icons/video-file-icon.tsx b/web/components/icons/video-file-icon.tsx
similarity index 78%
rename from apps/app/components/icons/video-file-icon.tsx
rename to web/components/icons/video-file-icon.tsx
index 8deb7a80b..961aba1e6 100644
--- a/apps/app/components/icons/video-file-icon.tsx
+++ b/web/components/icons/video-file-icon.tsx
@@ -4,6 +4,6 @@ import Image from "next/image";
import type { Props } from "./types";
import VideoFileIcon from "public/attachment/video-icon.png";
-export const VideoIcon: React.FC = ({ width, height }) => (
+export const VideoIcon: React.FC = ({ width, height }) => (
);
diff --git a/apps/app/components/icons/view-list-icon.tsx b/web/components/icons/view-list-icon.tsx
similarity index 100%
rename from apps/app/components/icons/view-list-icon.tsx
rename to web/components/icons/view-list-icon.tsx
diff --git a/apps/app/components/icons/water-drop-icon.tsx b/web/components/icons/water-drop-icon.tsx
similarity index 100%
rename from apps/app/components/icons/water-drop-icon.tsx
rename to web/components/icons/water-drop-icon.tsx
diff --git a/apps/app/components/icons/x-mark-icon.tsx b/web/components/icons/x-mark-icon.tsx
similarity index 100%
rename from apps/app/components/icons/x-mark-icon.tsx
rename to web/components/icons/x-mark-icon.tsx
diff --git a/apps/app/components/inbox/accept-issue-modal.tsx b/web/components/inbox/accept-issue-modal.tsx
similarity index 100%
rename from apps/app/components/inbox/accept-issue-modal.tsx
rename to web/components/inbox/accept-issue-modal.tsx
diff --git a/apps/app/components/inbox/decline-issue-modal.tsx b/web/components/inbox/decline-issue-modal.tsx
similarity index 100%
rename from apps/app/components/inbox/decline-issue-modal.tsx
rename to web/components/inbox/decline-issue-modal.tsx
diff --git a/apps/app/components/inbox/delete-issue-modal.tsx b/web/components/inbox/delete-issue-modal.tsx
similarity index 100%
rename from apps/app/components/inbox/delete-issue-modal.tsx
rename to web/components/inbox/delete-issue-modal.tsx
diff --git a/apps/app/components/inbox/filters-dropdown.tsx b/web/components/inbox/filters-dropdown.tsx
similarity index 100%
rename from apps/app/components/inbox/filters-dropdown.tsx
rename to web/components/inbox/filters-dropdown.tsx
diff --git a/apps/app/components/inbox/filters-list.tsx b/web/components/inbox/filters-list.tsx
similarity index 100%
rename from apps/app/components/inbox/filters-list.tsx
rename to web/components/inbox/filters-list.tsx
diff --git a/apps/app/components/inbox/inbox-action-headers.tsx b/web/components/inbox/inbox-action-headers.tsx
similarity index 100%
rename from apps/app/components/inbox/inbox-action-headers.tsx
rename to web/components/inbox/inbox-action-headers.tsx
diff --git a/apps/app/components/inbox/inbox-issue-activity.tsx b/web/components/inbox/inbox-issue-activity.tsx
similarity index 100%
rename from apps/app/components/inbox/inbox-issue-activity.tsx
rename to web/components/inbox/inbox-issue-activity.tsx
diff --git a/apps/app/components/inbox/inbox-issue-card.tsx b/web/components/inbox/inbox-issue-card.tsx
similarity index 100%
rename from apps/app/components/inbox/inbox-issue-card.tsx
rename to web/components/inbox/inbox-issue-card.tsx
diff --git a/apps/app/components/inbox/inbox-main-content.tsx b/web/components/inbox/inbox-main-content.tsx
similarity index 100%
rename from apps/app/components/inbox/inbox-main-content.tsx
rename to web/components/inbox/inbox-main-content.tsx
diff --git a/apps/app/components/inbox/index.ts b/web/components/inbox/index.ts
similarity index 100%
rename from apps/app/components/inbox/index.ts
rename to web/components/inbox/index.ts
diff --git a/apps/app/components/inbox/issues-list-sidebar.tsx b/web/components/inbox/issues-list-sidebar.tsx
similarity index 100%
rename from apps/app/components/inbox/issues-list-sidebar.tsx
rename to web/components/inbox/issues-list-sidebar.tsx
diff --git a/apps/app/components/inbox/select-duplicate.tsx b/web/components/inbox/select-duplicate.tsx
similarity index 100%
rename from apps/app/components/inbox/select-duplicate.tsx
rename to web/components/inbox/select-duplicate.tsx
diff --git a/apps/app/components/integration/delete-import-modal.tsx b/web/components/integration/delete-import-modal.tsx
similarity index 100%
rename from apps/app/components/integration/delete-import-modal.tsx
rename to web/components/integration/delete-import-modal.tsx
diff --git a/apps/app/components/integration/github/auth.tsx b/web/components/integration/github/auth.tsx
similarity index 100%
rename from apps/app/components/integration/github/auth.tsx
rename to web/components/integration/github/auth.tsx
diff --git a/apps/app/components/integration/github/import-configure.tsx b/web/components/integration/github/import-configure.tsx
similarity index 100%
rename from apps/app/components/integration/github/import-configure.tsx
rename to web/components/integration/github/import-configure.tsx
diff --git a/apps/app/components/integration/github/import-confirm.tsx b/web/components/integration/github/import-confirm.tsx
similarity index 100%
rename from apps/app/components/integration/github/import-confirm.tsx
rename to web/components/integration/github/import-confirm.tsx
diff --git a/apps/app/components/integration/github/import-data.tsx b/web/components/integration/github/import-data.tsx
similarity index 100%
rename from apps/app/components/integration/github/import-data.tsx
rename to web/components/integration/github/import-data.tsx
diff --git a/apps/app/components/integration/github/import-users.tsx b/web/components/integration/github/import-users.tsx
similarity index 100%
rename from apps/app/components/integration/github/import-users.tsx
rename to web/components/integration/github/import-users.tsx
diff --git a/apps/app/components/integration/github/index.ts b/web/components/integration/github/index.ts
similarity index 100%
rename from apps/app/components/integration/github/index.ts
rename to web/components/integration/github/index.ts
diff --git a/apps/app/components/integration/github/repo-details.tsx b/web/components/integration/github/repo-details.tsx
similarity index 100%
rename from apps/app/components/integration/github/repo-details.tsx
rename to web/components/integration/github/repo-details.tsx
diff --git a/apps/app/components/integration/github/root.tsx b/web/components/integration/github/root.tsx
similarity index 100%
rename from apps/app/components/integration/github/root.tsx
rename to web/components/integration/github/root.tsx
diff --git a/apps/app/components/integration/github/select-repository.tsx b/web/components/integration/github/select-repository.tsx
similarity index 100%
rename from apps/app/components/integration/github/select-repository.tsx
rename to web/components/integration/github/select-repository.tsx
diff --git a/apps/app/components/integration/github/single-user-select.tsx b/web/components/integration/github/single-user-select.tsx
similarity index 100%
rename from apps/app/components/integration/github/single-user-select.tsx
rename to web/components/integration/github/single-user-select.tsx
diff --git a/apps/app/components/integration/guide.tsx b/web/components/integration/guide.tsx
similarity index 100%
rename from apps/app/components/integration/guide.tsx
rename to web/components/integration/guide.tsx
diff --git a/apps/app/components/integration/index.ts b/web/components/integration/index.ts
similarity index 100%
rename from apps/app/components/integration/index.ts
rename to web/components/integration/index.ts
diff --git a/apps/app/components/integration/jira/confirm-import.tsx b/web/components/integration/jira/confirm-import.tsx
similarity index 100%
rename from apps/app/components/integration/jira/confirm-import.tsx
rename to web/components/integration/jira/confirm-import.tsx
diff --git a/apps/app/components/integration/jira/give-details.tsx b/web/components/integration/jira/give-details.tsx
similarity index 100%
rename from apps/app/components/integration/jira/give-details.tsx
rename to web/components/integration/jira/give-details.tsx
diff --git a/apps/app/components/integration/jira/import-users.tsx b/web/components/integration/jira/import-users.tsx
similarity index 100%
rename from apps/app/components/integration/jira/import-users.tsx
rename to web/components/integration/jira/import-users.tsx
diff --git a/apps/app/components/integration/jira/index.ts b/web/components/integration/jira/index.ts
similarity index 100%
rename from apps/app/components/integration/jira/index.ts
rename to web/components/integration/jira/index.ts
diff --git a/apps/app/components/integration/jira/jira-project-detail.tsx b/web/components/integration/jira/jira-project-detail.tsx
similarity index 99%
rename from apps/app/components/integration/jira/jira-project-detail.tsx
rename to web/components/integration/jira/jira-project-detail.tsx
index 88803727c..f651ad89c 100644
--- a/apps/app/components/integration/jira/jira-project-detail.tsx
+++ b/web/components/integration/jira/jira-project-detail.tsx
@@ -20,7 +20,7 @@ import { IJiraImporterForm, IJiraMetadata } from "types";
// components
import { Spinner, ToggleSwitch } from "components/ui";
-import type { IJiraIntegrationData, TJiraIntegrationSteps } from "./";
+import type { IJiraIntegrationData, TJiraIntegrationSteps } from ".";
type Props = {
setCurrentStep: React.Dispatch>;
diff --git a/apps/app/components/integration/jira/root.tsx b/web/components/integration/jira/root.tsx
similarity index 99%
rename from apps/app/components/integration/jira/root.tsx
rename to web/components/integration/jira/root.tsx
index b5c086431..451c23709 100644
--- a/apps/app/components/integration/jira/root.tsx
+++ b/web/components/integration/jira/root.tsx
@@ -31,7 +31,7 @@ import {
jiraFormDefaultValues,
TJiraIntegrationSteps,
IJiraIntegrationData,
-} from "./";
+} from ".";
import JiraLogo from "public/services/jira.png";
diff --git a/apps/app/components/integration/single-import.tsx b/web/components/integration/single-import.tsx
similarity index 100%
rename from apps/app/components/integration/single-import.tsx
rename to web/components/integration/single-import.tsx
diff --git a/apps/app/components/integration/single-integration-card.tsx b/web/components/integration/single-integration-card.tsx
similarity index 100%
rename from apps/app/components/integration/single-integration-card.tsx
rename to web/components/integration/single-integration-card.tsx
diff --git a/web/components/integration/slack/index.ts b/web/components/integration/slack/index.ts
new file mode 100644
index 000000000..4ea6cd1e4
--- /dev/null
+++ b/web/components/integration/slack/index.ts
@@ -0,0 +1 @@
+export * from "./select-channel";
diff --git a/apps/app/components/integration/slack/select-channel.tsx b/web/components/integration/slack/select-channel.tsx
similarity index 100%
rename from apps/app/components/integration/slack/select-channel.tsx
rename to web/components/integration/slack/select-channel.tsx
diff --git a/apps/app/components/issues/activity.tsx b/web/components/issues/activity.tsx
similarity index 100%
rename from apps/app/components/issues/activity.tsx
rename to web/components/issues/activity.tsx
diff --git a/apps/app/components/issues/attachment/attachment-upload.tsx b/web/components/issues/attachment/attachment-upload.tsx
similarity index 100%
rename from apps/app/components/issues/attachment/attachment-upload.tsx
rename to web/components/issues/attachment/attachment-upload.tsx
diff --git a/apps/app/components/issues/attachment/attachments.tsx b/web/components/issues/attachment/attachments.tsx
similarity index 100%
rename from apps/app/components/issues/attachment/attachments.tsx
rename to web/components/issues/attachment/attachments.tsx
diff --git a/apps/app/components/issues/attachment/delete-attachment-modal.tsx b/web/components/issues/attachment/delete-attachment-modal.tsx
similarity index 100%
rename from apps/app/components/issues/attachment/delete-attachment-modal.tsx
rename to web/components/issues/attachment/delete-attachment-modal.tsx
diff --git a/apps/app/components/issues/attachment/index.ts b/web/components/issues/attachment/index.ts
similarity index 100%
rename from apps/app/components/issues/attachment/index.ts
rename to web/components/issues/attachment/index.ts
diff --git a/apps/app/components/issues/comment/add-comment.tsx b/web/components/issues/comment/add-comment.tsx
similarity index 100%
rename from apps/app/components/issues/comment/add-comment.tsx
rename to web/components/issues/comment/add-comment.tsx
diff --git a/apps/app/components/issues/comment/comment-card.tsx b/web/components/issues/comment/comment-card.tsx
similarity index 100%
rename from apps/app/components/issues/comment/comment-card.tsx
rename to web/components/issues/comment/comment-card.tsx
diff --git a/apps/app/components/issues/comment/comment-reaction.tsx b/web/components/issues/comment/comment-reaction.tsx
similarity index 100%
rename from apps/app/components/issues/comment/comment-reaction.tsx
rename to web/components/issues/comment/comment-reaction.tsx
diff --git a/apps/app/components/issues/comment/index.ts b/web/components/issues/comment/index.ts
similarity index 100%
rename from apps/app/components/issues/comment/index.ts
rename to web/components/issues/comment/index.ts
diff --git a/apps/app/components/issues/delete-issue-modal.tsx b/web/components/issues/delete-issue-modal.tsx
similarity index 100%
rename from apps/app/components/issues/delete-issue-modal.tsx
rename to web/components/issues/delete-issue-modal.tsx
diff --git a/apps/app/components/issues/description-form.tsx b/web/components/issues/description-form.tsx
similarity index 100%
rename from apps/app/components/issues/description-form.tsx
rename to web/components/issues/description-form.tsx
diff --git a/apps/app/components/issues/form.tsx b/web/components/issues/form.tsx
similarity index 100%
rename from apps/app/components/issues/form.tsx
rename to web/components/issues/form.tsx
diff --git a/apps/app/components/issues/gantt-chart/blocks.tsx b/web/components/issues/gantt-chart/blocks.tsx
similarity index 100%
rename from apps/app/components/issues/gantt-chart/blocks.tsx
rename to web/components/issues/gantt-chart/blocks.tsx
diff --git a/apps/app/components/issues/gantt-chart/index.ts b/web/components/issues/gantt-chart/index.ts
similarity index 100%
rename from apps/app/components/issues/gantt-chart/index.ts
rename to web/components/issues/gantt-chart/index.ts
diff --git a/apps/app/components/issues/gantt-chart/layout.tsx b/web/components/issues/gantt-chart/layout.tsx
similarity index 100%
rename from apps/app/components/issues/gantt-chart/layout.tsx
rename to web/components/issues/gantt-chart/layout.tsx
diff --git a/apps/app/components/issues/index.ts b/web/components/issues/index.ts
similarity index 100%
rename from apps/app/components/issues/index.ts
rename to web/components/issues/index.ts
diff --git a/apps/app/components/issues/issue-reaction.tsx b/web/components/issues/issue-reaction.tsx
similarity index 100%
rename from apps/app/components/issues/issue-reaction.tsx
rename to web/components/issues/issue-reaction.tsx
diff --git a/apps/app/components/issues/label.tsx b/web/components/issues/label.tsx
similarity index 100%
rename from apps/app/components/issues/label.tsx
rename to web/components/issues/label.tsx
diff --git a/apps/app/components/issues/main-content.tsx b/web/components/issues/main-content.tsx
similarity index 100%
rename from apps/app/components/issues/main-content.tsx
rename to web/components/issues/main-content.tsx
diff --git a/apps/app/components/issues/modal.tsx b/web/components/issues/modal.tsx
similarity index 100%
rename from apps/app/components/issues/modal.tsx
rename to web/components/issues/modal.tsx
diff --git a/apps/app/components/issues/my-issues/index.ts b/web/components/issues/my-issues/index.ts
similarity index 100%
rename from apps/app/components/issues/my-issues/index.ts
rename to web/components/issues/my-issues/index.ts
diff --git a/apps/app/components/issues/my-issues/my-issues-select-filters.tsx b/web/components/issues/my-issues/my-issues-select-filters.tsx
similarity index 100%
rename from apps/app/components/issues/my-issues/my-issues-select-filters.tsx
rename to web/components/issues/my-issues/my-issues-select-filters.tsx
diff --git a/apps/app/components/issues/my-issues/my-issues-view-options.tsx b/web/components/issues/my-issues/my-issues-view-options.tsx
similarity index 100%
rename from apps/app/components/issues/my-issues/my-issues-view-options.tsx
rename to web/components/issues/my-issues/my-issues-view-options.tsx
diff --git a/apps/app/components/issues/my-issues/my-issues-view.tsx b/web/components/issues/my-issues/my-issues-view.tsx
similarity index 100%
rename from apps/app/components/issues/my-issues/my-issues-view.tsx
rename to web/components/issues/my-issues/my-issues-view.tsx
diff --git a/apps/app/components/issues/parent-issues-list-modal.tsx b/web/components/issues/parent-issues-list-modal.tsx
similarity index 100%
rename from apps/app/components/issues/parent-issues-list-modal.tsx
rename to web/components/issues/parent-issues-list-modal.tsx
diff --git a/apps/app/components/issues/peek-overview/full-screen-peek-view.tsx b/web/components/issues/peek-overview/full-screen-peek-view.tsx
similarity index 100%
rename from apps/app/components/issues/peek-overview/full-screen-peek-view.tsx
rename to web/components/issues/peek-overview/full-screen-peek-view.tsx
diff --git a/apps/app/components/issues/peek-overview/header.tsx b/web/components/issues/peek-overview/header.tsx
similarity index 100%
rename from apps/app/components/issues/peek-overview/header.tsx
rename to web/components/issues/peek-overview/header.tsx
diff --git a/apps/app/components/issues/peek-overview/index.ts b/web/components/issues/peek-overview/index.ts
similarity index 100%
rename from apps/app/components/issues/peek-overview/index.ts
rename to web/components/issues/peek-overview/index.ts
diff --git a/apps/app/components/issues/peek-overview/issue-activity.tsx b/web/components/issues/peek-overview/issue-activity.tsx
similarity index 100%
rename from apps/app/components/issues/peek-overview/issue-activity.tsx
rename to web/components/issues/peek-overview/issue-activity.tsx
diff --git a/apps/app/components/issues/peek-overview/issue-details.tsx b/web/components/issues/peek-overview/issue-details.tsx
similarity index 100%
rename from apps/app/components/issues/peek-overview/issue-details.tsx
rename to web/components/issues/peek-overview/issue-details.tsx
diff --git a/apps/app/components/issues/peek-overview/issue-properties.tsx b/web/components/issues/peek-overview/issue-properties.tsx
similarity index 100%
rename from apps/app/components/issues/peek-overview/issue-properties.tsx
rename to web/components/issues/peek-overview/issue-properties.tsx
diff --git a/apps/app/components/issues/peek-overview/layout.tsx b/web/components/issues/peek-overview/layout.tsx
similarity index 100%
rename from apps/app/components/issues/peek-overview/layout.tsx
rename to web/components/issues/peek-overview/layout.tsx
diff --git a/apps/app/components/issues/peek-overview/side-peek-view.tsx b/web/components/issues/peek-overview/side-peek-view.tsx
similarity index 100%
rename from apps/app/components/issues/peek-overview/side-peek-view.tsx
rename to web/components/issues/peek-overview/side-peek-view.tsx
diff --git a/apps/app/components/issues/select/assignee.tsx b/web/components/issues/select/assignee.tsx
similarity index 100%
rename from apps/app/components/issues/select/assignee.tsx
rename to web/components/issues/select/assignee.tsx
diff --git a/apps/app/components/issues/select/date.tsx b/web/components/issues/select/date.tsx
similarity index 100%
rename from apps/app/components/issues/select/date.tsx
rename to web/components/issues/select/date.tsx
diff --git a/apps/app/components/issues/select/estimate.tsx b/web/components/issues/select/estimate.tsx
similarity index 100%
rename from apps/app/components/issues/select/estimate.tsx
rename to web/components/issues/select/estimate.tsx
diff --git a/apps/app/components/issues/select/index.ts b/web/components/issues/select/index.ts
similarity index 100%
rename from apps/app/components/issues/select/index.ts
rename to web/components/issues/select/index.ts
diff --git a/apps/app/components/issues/select/label.tsx b/web/components/issues/select/label.tsx
similarity index 100%
rename from apps/app/components/issues/select/label.tsx
rename to web/components/issues/select/label.tsx
diff --git a/apps/app/components/issues/select/priority.tsx b/web/components/issues/select/priority.tsx
similarity index 100%
rename from apps/app/components/issues/select/priority.tsx
rename to web/components/issues/select/priority.tsx
diff --git a/apps/app/components/issues/select/project.tsx b/web/components/issues/select/project.tsx
similarity index 100%
rename from apps/app/components/issues/select/project.tsx
rename to web/components/issues/select/project.tsx
diff --git a/apps/app/components/issues/select/state.tsx b/web/components/issues/select/state.tsx
similarity index 100%
rename from apps/app/components/issues/select/state.tsx
rename to web/components/issues/select/state.tsx
diff --git a/apps/app/components/issues/sidebar-select/assignee.tsx b/web/components/issues/sidebar-select/assignee.tsx
similarity index 100%
rename from apps/app/components/issues/sidebar-select/assignee.tsx
rename to web/components/issues/sidebar-select/assignee.tsx
diff --git a/apps/app/components/issues/sidebar-select/blocked.tsx b/web/components/issues/sidebar-select/blocked.tsx
similarity index 100%
rename from apps/app/components/issues/sidebar-select/blocked.tsx
rename to web/components/issues/sidebar-select/blocked.tsx
diff --git a/apps/app/components/issues/sidebar-select/blocker.tsx b/web/components/issues/sidebar-select/blocker.tsx
similarity index 100%
rename from apps/app/components/issues/sidebar-select/blocker.tsx
rename to web/components/issues/sidebar-select/blocker.tsx
diff --git a/apps/app/components/issues/sidebar-select/cycle.tsx b/web/components/issues/sidebar-select/cycle.tsx
similarity index 100%
rename from apps/app/components/issues/sidebar-select/cycle.tsx
rename to web/components/issues/sidebar-select/cycle.tsx
diff --git a/apps/app/components/issues/sidebar-select/estimate.tsx b/web/components/issues/sidebar-select/estimate.tsx
similarity index 100%
rename from apps/app/components/issues/sidebar-select/estimate.tsx
rename to web/components/issues/sidebar-select/estimate.tsx
diff --git a/apps/app/components/issues/sidebar-select/index.ts b/web/components/issues/sidebar-select/index.ts
similarity index 100%
rename from apps/app/components/issues/sidebar-select/index.ts
rename to web/components/issues/sidebar-select/index.ts
diff --git a/apps/app/components/issues/sidebar-select/label.tsx b/web/components/issues/sidebar-select/label.tsx
similarity index 100%
rename from apps/app/components/issues/sidebar-select/label.tsx
rename to web/components/issues/sidebar-select/label.tsx
diff --git a/apps/app/components/issues/sidebar-select/module.tsx b/web/components/issues/sidebar-select/module.tsx
similarity index 100%
rename from apps/app/components/issues/sidebar-select/module.tsx
rename to web/components/issues/sidebar-select/module.tsx
diff --git a/apps/app/components/issues/sidebar-select/parent.tsx b/web/components/issues/sidebar-select/parent.tsx
similarity index 100%
rename from apps/app/components/issues/sidebar-select/parent.tsx
rename to web/components/issues/sidebar-select/parent.tsx
diff --git a/apps/app/components/issues/sidebar-select/priority.tsx b/web/components/issues/sidebar-select/priority.tsx
similarity index 100%
rename from apps/app/components/issues/sidebar-select/priority.tsx
rename to web/components/issues/sidebar-select/priority.tsx
diff --git a/apps/app/components/issues/sidebar-select/state.tsx b/web/components/issues/sidebar-select/state.tsx
similarity index 100%
rename from apps/app/components/issues/sidebar-select/state.tsx
rename to web/components/issues/sidebar-select/state.tsx
diff --git a/apps/app/components/issues/sidebar.tsx b/web/components/issues/sidebar.tsx
similarity index 100%
rename from apps/app/components/issues/sidebar.tsx
rename to web/components/issues/sidebar.tsx
diff --git a/apps/app/components/issues/sub-issues-list.tsx b/web/components/issues/sub-issues-list.tsx
similarity index 100%
rename from apps/app/components/issues/sub-issues-list.tsx
rename to web/components/issues/sub-issues-list.tsx
diff --git a/apps/app/components/issues/view-select/assignee.tsx b/web/components/issues/view-select/assignee.tsx
similarity index 100%
rename from apps/app/components/issues/view-select/assignee.tsx
rename to web/components/issues/view-select/assignee.tsx
diff --git a/apps/app/components/issues/view-select/due-date.tsx b/web/components/issues/view-select/due-date.tsx
similarity index 100%
rename from apps/app/components/issues/view-select/due-date.tsx
rename to web/components/issues/view-select/due-date.tsx
diff --git a/apps/app/components/issues/view-select/estimate.tsx b/web/components/issues/view-select/estimate.tsx
similarity index 100%
rename from apps/app/components/issues/view-select/estimate.tsx
rename to web/components/issues/view-select/estimate.tsx
diff --git a/apps/app/components/issues/view-select/index.ts b/web/components/issues/view-select/index.ts
similarity index 100%
rename from apps/app/components/issues/view-select/index.ts
rename to web/components/issues/view-select/index.ts
diff --git a/apps/app/components/issues/view-select/label.tsx b/web/components/issues/view-select/label.tsx
similarity index 100%
rename from apps/app/components/issues/view-select/label.tsx
rename to web/components/issues/view-select/label.tsx
diff --git a/apps/app/components/issues/view-select/priority.tsx b/web/components/issues/view-select/priority.tsx
similarity index 100%
rename from apps/app/components/issues/view-select/priority.tsx
rename to web/components/issues/view-select/priority.tsx
diff --git a/apps/app/components/issues/view-select/start-date.tsx b/web/components/issues/view-select/start-date.tsx
similarity index 100%
rename from apps/app/components/issues/view-select/start-date.tsx
rename to web/components/issues/view-select/start-date.tsx
diff --git a/apps/app/components/issues/view-select/state.tsx b/web/components/issues/view-select/state.tsx
similarity index 100%
rename from apps/app/components/issues/view-select/state.tsx
rename to web/components/issues/view-select/state.tsx
diff --git a/apps/app/components/labels/create-label-modal.tsx b/web/components/labels/create-label-modal.tsx
similarity index 100%
rename from apps/app/components/labels/create-label-modal.tsx
rename to web/components/labels/create-label-modal.tsx
diff --git a/apps/app/components/labels/create-update-label-inline.tsx b/web/components/labels/create-update-label-inline.tsx
similarity index 100%
rename from apps/app/components/labels/create-update-label-inline.tsx
rename to web/components/labels/create-update-label-inline.tsx
diff --git a/apps/app/components/labels/delete-label-modal.tsx b/web/components/labels/delete-label-modal.tsx
similarity index 100%
rename from apps/app/components/labels/delete-label-modal.tsx
rename to web/components/labels/delete-label-modal.tsx
diff --git a/apps/app/components/labels/index.ts b/web/components/labels/index.ts
similarity index 100%
rename from apps/app/components/labels/index.ts
rename to web/components/labels/index.ts
diff --git a/apps/app/components/labels/labels-list-modal.tsx b/web/components/labels/labels-list-modal.tsx
similarity index 100%
rename from apps/app/components/labels/labels-list-modal.tsx
rename to web/components/labels/labels-list-modal.tsx
diff --git a/apps/app/components/labels/single-label-group.tsx b/web/components/labels/single-label-group.tsx
similarity index 100%
rename from apps/app/components/labels/single-label-group.tsx
rename to web/components/labels/single-label-group.tsx
diff --git a/apps/app/components/labels/single-label.tsx b/web/components/labels/single-label.tsx
similarity index 100%
rename from apps/app/components/labels/single-label.tsx
rename to web/components/labels/single-label.tsx
diff --git a/apps/app/components/modules/delete-module-modal.tsx b/web/components/modules/delete-module-modal.tsx
similarity index 100%
rename from apps/app/components/modules/delete-module-modal.tsx
rename to web/components/modules/delete-module-modal.tsx
diff --git a/apps/app/components/modules/form.tsx b/web/components/modules/form.tsx
similarity index 100%
rename from apps/app/components/modules/form.tsx
rename to web/components/modules/form.tsx
diff --git a/apps/app/components/modules/gantt-chart/blocks.tsx b/web/components/modules/gantt-chart/blocks.tsx
similarity index 100%
rename from apps/app/components/modules/gantt-chart/blocks.tsx
rename to web/components/modules/gantt-chart/blocks.tsx
diff --git a/apps/app/components/modules/gantt-chart/index.ts b/web/components/modules/gantt-chart/index.ts
similarity index 100%
rename from apps/app/components/modules/gantt-chart/index.ts
rename to web/components/modules/gantt-chart/index.ts
diff --git a/apps/app/components/modules/gantt-chart/module-issues-layout.tsx b/web/components/modules/gantt-chart/module-issues-layout.tsx
similarity index 100%
rename from apps/app/components/modules/gantt-chart/module-issues-layout.tsx
rename to web/components/modules/gantt-chart/module-issues-layout.tsx
diff --git a/apps/app/components/modules/gantt-chart/modules-list-layout.tsx b/web/components/modules/gantt-chart/modules-list-layout.tsx
similarity index 100%
rename from apps/app/components/modules/gantt-chart/modules-list-layout.tsx
rename to web/components/modules/gantt-chart/modules-list-layout.tsx
diff --git a/apps/app/components/modules/index.ts b/web/components/modules/index.ts
similarity index 100%
rename from apps/app/components/modules/index.ts
rename to web/components/modules/index.ts
diff --git a/apps/app/components/modules/modal.tsx b/web/components/modules/modal.tsx
similarity index 100%
rename from apps/app/components/modules/modal.tsx
rename to web/components/modules/modal.tsx
diff --git a/apps/app/components/modules/select/index.ts b/web/components/modules/select/index.ts
similarity index 100%
rename from apps/app/components/modules/select/index.ts
rename to web/components/modules/select/index.ts
diff --git a/apps/app/components/modules/select/lead.tsx b/web/components/modules/select/lead.tsx
similarity index 100%
rename from apps/app/components/modules/select/lead.tsx
rename to web/components/modules/select/lead.tsx
diff --git a/apps/app/components/modules/select/members.tsx b/web/components/modules/select/members.tsx
similarity index 100%
rename from apps/app/components/modules/select/members.tsx
rename to web/components/modules/select/members.tsx
diff --git a/apps/app/components/modules/select/status.tsx b/web/components/modules/select/status.tsx
similarity index 100%
rename from apps/app/components/modules/select/status.tsx
rename to web/components/modules/select/status.tsx
diff --git a/apps/app/components/modules/sidebar-select/index.ts b/web/components/modules/sidebar-select/index.ts
similarity index 100%
rename from apps/app/components/modules/sidebar-select/index.ts
rename to web/components/modules/sidebar-select/index.ts
diff --git a/apps/app/components/modules/sidebar-select/select-lead.tsx b/web/components/modules/sidebar-select/select-lead.tsx
similarity index 100%
rename from apps/app/components/modules/sidebar-select/select-lead.tsx
rename to web/components/modules/sidebar-select/select-lead.tsx
diff --git a/apps/app/components/modules/sidebar-select/select-members.tsx b/web/components/modules/sidebar-select/select-members.tsx
similarity index 100%
rename from apps/app/components/modules/sidebar-select/select-members.tsx
rename to web/components/modules/sidebar-select/select-members.tsx
diff --git a/apps/app/components/modules/sidebar-select/select-status.tsx b/web/components/modules/sidebar-select/select-status.tsx
similarity index 100%
rename from apps/app/components/modules/sidebar-select/select-status.tsx
rename to web/components/modules/sidebar-select/select-status.tsx
diff --git a/apps/app/components/modules/sidebar.tsx b/web/components/modules/sidebar.tsx
similarity index 100%
rename from apps/app/components/modules/sidebar.tsx
rename to web/components/modules/sidebar.tsx
diff --git a/apps/app/components/modules/single-module-card.tsx b/web/components/modules/single-module-card.tsx
similarity index 100%
rename from apps/app/components/modules/single-module-card.tsx
rename to web/components/modules/single-module-card.tsx
diff --git a/apps/app/components/notifications/index.ts b/web/components/notifications/index.ts
similarity index 100%
rename from apps/app/components/notifications/index.ts
rename to web/components/notifications/index.ts
diff --git a/apps/app/components/notifications/notification-card.tsx b/web/components/notifications/notification-card.tsx
similarity index 99%
rename from apps/app/components/notifications/notification-card.tsx
rename to web/components/notifications/notification-card.tsx
index 9bb0715a8..29fe579a8 100644
--- a/apps/app/components/notifications/notification-card.tsx
+++ b/web/components/notifications/notification-card.tsx
@@ -210,7 +210,7 @@ export const NotificationCard: React.FC = (props) => {
{
+ menuButtonOnClick={(e: { stopPropagation: () => void }) => {
e.stopPropagation();
}}
customButton={
diff --git a/apps/app/components/notifications/notification-header.tsx b/web/components/notifications/notification-header.tsx
similarity index 100%
rename from apps/app/components/notifications/notification-header.tsx
rename to web/components/notifications/notification-header.tsx
diff --git a/apps/app/components/notifications/notification-popover.tsx b/web/components/notifications/notification-popover.tsx
similarity index 100%
rename from apps/app/components/notifications/notification-popover.tsx
rename to web/components/notifications/notification-popover.tsx
diff --git a/apps/app/components/notifications/select-snooze-till-modal.tsx b/web/components/notifications/select-snooze-till-modal.tsx
similarity index 100%
rename from apps/app/components/notifications/select-snooze-till-modal.tsx
rename to web/components/notifications/select-snooze-till-modal.tsx
diff --git a/apps/app/components/onboarding/index.ts b/web/components/onboarding/index.ts
similarity index 100%
rename from apps/app/components/onboarding/index.ts
rename to web/components/onboarding/index.ts
diff --git a/apps/app/components/onboarding/invite-members.tsx b/web/components/onboarding/invite-members.tsx
similarity index 100%
rename from apps/app/components/onboarding/invite-members.tsx
rename to web/components/onboarding/invite-members.tsx
diff --git a/apps/app/components/onboarding/join-workspaces.tsx b/web/components/onboarding/join-workspaces.tsx
similarity index 100%
rename from apps/app/components/onboarding/join-workspaces.tsx
rename to web/components/onboarding/join-workspaces.tsx
diff --git a/apps/app/components/onboarding/tour/index.ts b/web/components/onboarding/tour/index.ts
similarity index 100%
rename from apps/app/components/onboarding/tour/index.ts
rename to web/components/onboarding/tour/index.ts
diff --git a/apps/app/components/onboarding/tour/root.tsx b/web/components/onboarding/tour/root.tsx
similarity index 100%
rename from apps/app/components/onboarding/tour/root.tsx
rename to web/components/onboarding/tour/root.tsx
diff --git a/apps/app/components/onboarding/tour/sidebar.tsx b/web/components/onboarding/tour/sidebar.tsx
similarity index 100%
rename from apps/app/components/onboarding/tour/sidebar.tsx
rename to web/components/onboarding/tour/sidebar.tsx
diff --git a/apps/app/components/onboarding/user-details.tsx b/web/components/onboarding/user-details.tsx
similarity index 100%
rename from apps/app/components/onboarding/user-details.tsx
rename to web/components/onboarding/user-details.tsx
diff --git a/apps/app/components/onboarding/workspace.tsx b/web/components/onboarding/workspace.tsx
similarity index 100%
rename from apps/app/components/onboarding/workspace.tsx
rename to web/components/onboarding/workspace.tsx
diff --git a/apps/app/components/pages/create-block.tsx b/web/components/pages/create-block.tsx
similarity index 100%
rename from apps/app/components/pages/create-block.tsx
rename to web/components/pages/create-block.tsx
diff --git a/apps/app/components/pages/create-update-block-inline.tsx b/web/components/pages/create-update-block-inline.tsx
similarity index 100%
rename from apps/app/components/pages/create-update-block-inline.tsx
rename to web/components/pages/create-update-block-inline.tsx
diff --git a/apps/app/components/pages/create-update-page-modal.tsx b/web/components/pages/create-update-page-modal.tsx
similarity index 100%
rename from apps/app/components/pages/create-update-page-modal.tsx
rename to web/components/pages/create-update-page-modal.tsx
diff --git a/apps/app/components/pages/delete-page-modal.tsx b/web/components/pages/delete-page-modal.tsx
similarity index 100%
rename from apps/app/components/pages/delete-page-modal.tsx
rename to web/components/pages/delete-page-modal.tsx
diff --git a/apps/app/components/pages/index.ts b/web/components/pages/index.ts
similarity index 100%
rename from apps/app/components/pages/index.ts
rename to web/components/pages/index.ts
diff --git a/apps/app/components/pages/page-form.tsx b/web/components/pages/page-form.tsx
similarity index 100%
rename from apps/app/components/pages/page-form.tsx
rename to web/components/pages/page-form.tsx
diff --git a/apps/app/components/pages/pages-list/all-pages-list.tsx b/web/components/pages/pages-list/all-pages-list.tsx
similarity index 100%
rename from apps/app/components/pages/pages-list/all-pages-list.tsx
rename to web/components/pages/pages-list/all-pages-list.tsx
diff --git a/apps/app/components/pages/pages-list/favorite-pages-list.tsx b/web/components/pages/pages-list/favorite-pages-list.tsx
similarity index 100%
rename from apps/app/components/pages/pages-list/favorite-pages-list.tsx
rename to web/components/pages/pages-list/favorite-pages-list.tsx
diff --git a/apps/app/components/pages/pages-list/index.ts b/web/components/pages/pages-list/index.ts
similarity index 100%
rename from apps/app/components/pages/pages-list/index.ts
rename to web/components/pages/pages-list/index.ts
diff --git a/apps/app/components/pages/pages-list/my-pages-list.tsx b/web/components/pages/pages-list/my-pages-list.tsx
similarity index 100%
rename from apps/app/components/pages/pages-list/my-pages-list.tsx
rename to web/components/pages/pages-list/my-pages-list.tsx
diff --git a/apps/app/components/pages/pages-list/other-pages-list.tsx b/web/components/pages/pages-list/other-pages-list.tsx
similarity index 100%
rename from apps/app/components/pages/pages-list/other-pages-list.tsx
rename to web/components/pages/pages-list/other-pages-list.tsx
diff --git a/apps/app/components/pages/pages-list/recent-pages-list.tsx b/web/components/pages/pages-list/recent-pages-list.tsx
similarity index 100%
rename from apps/app/components/pages/pages-list/recent-pages-list.tsx
rename to web/components/pages/pages-list/recent-pages-list.tsx
diff --git a/apps/app/components/pages/pages-list/types.ts b/web/components/pages/pages-list/types.ts
similarity index 100%
rename from apps/app/components/pages/pages-list/types.ts
rename to web/components/pages/pages-list/types.ts
diff --git a/apps/app/components/pages/pages-view.tsx b/web/components/pages/pages-view.tsx
similarity index 100%
rename from apps/app/components/pages/pages-view.tsx
rename to web/components/pages/pages-view.tsx
diff --git a/apps/app/components/pages/single-page-block.tsx b/web/components/pages/single-page-block.tsx
similarity index 100%
rename from apps/app/components/pages/single-page-block.tsx
rename to web/components/pages/single-page-block.tsx
diff --git a/apps/app/components/pages/single-page-detailed-item.tsx b/web/components/pages/single-page-detailed-item.tsx
similarity index 100%
rename from apps/app/components/pages/single-page-detailed-item.tsx
rename to web/components/pages/single-page-detailed-item.tsx
diff --git a/apps/app/components/pages/single-page-list-item.tsx b/web/components/pages/single-page-list-item.tsx
similarity index 100%
rename from apps/app/components/pages/single-page-list-item.tsx
rename to web/components/pages/single-page-list-item.tsx
diff --git a/apps/app/components/profile/index.ts b/web/components/profile/index.ts
similarity index 100%
rename from apps/app/components/profile/index.ts
rename to web/components/profile/index.ts
diff --git a/apps/app/components/profile/navbar.tsx b/web/components/profile/navbar.tsx
similarity index 100%
rename from apps/app/components/profile/navbar.tsx
rename to web/components/profile/navbar.tsx
diff --git a/apps/app/components/profile/overview/activity.tsx b/web/components/profile/overview/activity.tsx
similarity index 100%
rename from apps/app/components/profile/overview/activity.tsx
rename to web/components/profile/overview/activity.tsx
diff --git a/apps/app/components/profile/overview/index.ts b/web/components/profile/overview/index.ts
similarity index 100%
rename from apps/app/components/profile/overview/index.ts
rename to web/components/profile/overview/index.ts
diff --git a/apps/app/components/profile/overview/priority-distribution.tsx b/web/components/profile/overview/priority-distribution.tsx
similarity index 100%
rename from apps/app/components/profile/overview/priority-distribution.tsx
rename to web/components/profile/overview/priority-distribution.tsx
diff --git a/apps/app/components/profile/overview/state-distribution.tsx b/web/components/profile/overview/state-distribution.tsx
similarity index 100%
rename from apps/app/components/profile/overview/state-distribution.tsx
rename to web/components/profile/overview/state-distribution.tsx
diff --git a/apps/app/components/profile/overview/stats.tsx b/web/components/profile/overview/stats.tsx
similarity index 100%
rename from apps/app/components/profile/overview/stats.tsx
rename to web/components/profile/overview/stats.tsx
diff --git a/apps/app/components/profile/overview/workload.tsx b/web/components/profile/overview/workload.tsx
similarity index 100%
rename from apps/app/components/profile/overview/workload.tsx
rename to web/components/profile/overview/workload.tsx
diff --git a/apps/app/components/profile/profile-issues-view-options.tsx b/web/components/profile/profile-issues-view-options.tsx
similarity index 100%
rename from apps/app/components/profile/profile-issues-view-options.tsx
rename to web/components/profile/profile-issues-view-options.tsx
diff --git a/apps/app/components/profile/profile-issues-view.tsx b/web/components/profile/profile-issues-view.tsx
similarity index 100%
rename from apps/app/components/profile/profile-issues-view.tsx
rename to web/components/profile/profile-issues-view.tsx
diff --git a/apps/app/components/profile/sidebar.tsx b/web/components/profile/sidebar.tsx
similarity index 100%
rename from apps/app/components/profile/sidebar.tsx
rename to web/components/profile/sidebar.tsx
diff --git a/apps/app/components/project/confirm-project-member-remove.tsx b/web/components/project/confirm-project-member-remove.tsx
similarity index 100%
rename from apps/app/components/project/confirm-project-member-remove.tsx
rename to web/components/project/confirm-project-member-remove.tsx
diff --git a/apps/app/components/project/create-project-modal.tsx b/web/components/project/create-project-modal.tsx
similarity index 100%
rename from apps/app/components/project/create-project-modal.tsx
rename to web/components/project/create-project-modal.tsx
diff --git a/apps/app/components/project/delete-project-modal.tsx b/web/components/project/delete-project-modal.tsx
similarity index 100%
rename from apps/app/components/project/delete-project-modal.tsx
rename to web/components/project/delete-project-modal.tsx
diff --git a/apps/app/components/project/index.ts b/web/components/project/index.ts
similarity index 87%
rename from apps/app/components/project/index.ts
rename to web/components/project/index.ts
index e5ece3955..a2fed74b8 100644
--- a/apps/app/components/project/index.ts
+++ b/web/components/project/index.ts
@@ -1,7 +1,7 @@
export * from "./create-project-modal";
export * from "./delete-project-modal";
export * from "./sidebar-list";
-export * from "./settings-header"
+export * from "./settings-header";
export * from "./single-integration-card";
export * from "./single-project-card";
export * from "./single-sidebar-project";
diff --git a/apps/app/components/project/join-project-modal.tsx b/web/components/project/join-project-modal.tsx
similarity index 100%
rename from apps/app/components/project/join-project-modal.tsx
rename to web/components/project/join-project-modal.tsx
diff --git a/apps/app/components/project/publish-project/modal.tsx b/web/components/project/publish-project/modal.tsx
similarity index 100%
rename from apps/app/components/project/publish-project/modal.tsx
rename to web/components/project/publish-project/modal.tsx
diff --git a/apps/app/components/project/publish-project/popover.tsx b/web/components/project/publish-project/popover.tsx
similarity index 100%
rename from apps/app/components/project/publish-project/popover.tsx
rename to web/components/project/publish-project/popover.tsx
diff --git a/apps/app/components/project/send-project-invitation-modal.tsx b/web/components/project/send-project-invitation-modal.tsx
similarity index 100%
rename from apps/app/components/project/send-project-invitation-modal.tsx
rename to web/components/project/send-project-invitation-modal.tsx
diff --git a/apps/app/components/project/settings-header.tsx b/web/components/project/settings-header.tsx
similarity index 100%
rename from apps/app/components/project/settings-header.tsx
rename to web/components/project/settings-header.tsx
diff --git a/apps/app/components/project/settings/single-label.tsx b/web/components/project/settings/single-label.tsx
similarity index 100%
rename from apps/app/components/project/settings/single-label.tsx
rename to web/components/project/settings/single-label.tsx
diff --git a/apps/app/components/project/sidebar-list.tsx b/web/components/project/sidebar-list.tsx
similarity index 100%
rename from apps/app/components/project/sidebar-list.tsx
rename to web/components/project/sidebar-list.tsx
diff --git a/apps/app/components/project/single-integration-card.tsx b/web/components/project/single-integration-card.tsx
similarity index 100%
rename from apps/app/components/project/single-integration-card.tsx
rename to web/components/project/single-integration-card.tsx
diff --git a/apps/app/components/project/single-project-card.tsx b/web/components/project/single-project-card.tsx
similarity index 100%
rename from apps/app/components/project/single-project-card.tsx
rename to web/components/project/single-project-card.tsx
diff --git a/apps/app/components/project/single-sidebar-project.tsx b/web/components/project/single-sidebar-project.tsx
similarity index 100%
rename from apps/app/components/project/single-sidebar-project.tsx
rename to web/components/project/single-sidebar-project.tsx
diff --git a/apps/app/components/search-listbox/index.tsx b/web/components/search-listbox/index.tsx
similarity index 100%
rename from apps/app/components/search-listbox/index.tsx
rename to web/components/search-listbox/index.tsx
diff --git a/apps/app/components/search-listbox/types.d.ts b/web/components/search-listbox/types.d.ts
similarity index 100%
rename from apps/app/components/search-listbox/types.d.ts
rename to web/components/search-listbox/types.d.ts
diff --git a/apps/app/components/states/create-state-modal.tsx b/web/components/states/create-state-modal.tsx
similarity index 100%
rename from apps/app/components/states/create-state-modal.tsx
rename to web/components/states/create-state-modal.tsx
diff --git a/apps/app/components/states/create-update-state-inline.tsx b/web/components/states/create-update-state-inline.tsx
similarity index 100%
rename from apps/app/components/states/create-update-state-inline.tsx
rename to web/components/states/create-update-state-inline.tsx
diff --git a/apps/app/components/states/delete-state-modal.tsx b/web/components/states/delete-state-modal.tsx
similarity index 100%
rename from apps/app/components/states/delete-state-modal.tsx
rename to web/components/states/delete-state-modal.tsx
diff --git a/apps/app/components/states/index.ts b/web/components/states/index.ts
similarity index 100%
rename from apps/app/components/states/index.ts
rename to web/components/states/index.ts
diff --git a/apps/app/components/states/single-state.tsx b/web/components/states/single-state.tsx
similarity index 100%
rename from apps/app/components/states/single-state.tsx
rename to web/components/states/single-state.tsx
diff --git a/apps/app/components/tiptap/bubble-menu/index.tsx b/web/components/tiptap/bubble-menu/index.tsx
similarity index 91%
rename from apps/app/components/tiptap/bubble-menu/index.tsx
rename to web/components/tiptap/bubble-menu/index.tsx
index 7e72963b6..217317ea1 100644
--- a/apps/app/components/tiptap/bubble-menu/index.tsx
+++ b/web/components/tiptap/bubble-menu/index.tsx
@@ -77,14 +77,16 @@ export const EditorBubbleMenu: FC = (props: any) => {
{...bubbleMenuProps}
className="flex w-fit divide-x divide-custom-border-300 rounded border border-custom-border-300 bg-custom-background-100 shadow-xl"
>
- {!props.editor.isActive("table") && {
- setIsNodeSelectorOpen(!isNodeSelectorOpen);
- setIsLinkSelectorOpen(false);
- }}
- />}
+ {!props.editor.isActive("table") && (
+ {
+ setIsNodeSelectorOpen(!isNodeSelectorOpen);
+ setIsLinkSelectorOpen(false);
+ }}
+ />
+ )}
>;
}
-
export const LinkSelector: FC = ({ editor, isOpen, setIsOpen }) => {
const inputRef = useRef(null);
@@ -52,7 +51,8 @@ export const LinkSelector: FC = ({ editor, isOpen, setIsOpen
className="fixed top-full z-[99999] mt-1 flex w-60 overflow-hidden rounded border border-custom-border-300 bg-custom-background-100 dow-xl animate-in fade-in slide-in-from-top-1"
onKeyDown={(e) => {
if (e.key === "Enter") {
- e.preventDefault(); onLinkSubmit();
+ e.preventDefault();
+ onLinkSubmit();
}
}}
>
@@ -75,7 +75,9 @@ export const LinkSelector: FC = ({ editor, isOpen, setIsOpen
) : (
- {
onLinkSubmit();
}}
diff --git a/apps/space/components/tiptap/bubble-menu/node-selector.tsx b/web/components/tiptap/bubble-menu/node-selector.tsx
similarity index 98%
rename from apps/space/components/tiptap/bubble-menu/node-selector.tsx
rename to web/components/tiptap/bubble-menu/node-selector.tsx
index f6f1f18dc..34d40ec06 100644
--- a/apps/space/components/tiptap/bubble-menu/node-selector.tsx
+++ b/web/components/tiptap/bubble-menu/node-selector.tsx
@@ -13,7 +13,7 @@ import {
} from "lucide-react";
import { Dispatch, FC, SetStateAction } from "react";
-import { BubbleMenuItem } from "../bubble-menu";
+import { BubbleMenuItem } from ".";
import { cn } from "../utils";
interface NodeSelectorProps {
diff --git a/apps/space/components/tiptap/bubble-menu/utils/link-validator.tsx b/web/components/tiptap/bubble-menu/utils/link-validator.tsx
similarity index 99%
rename from apps/space/components/tiptap/bubble-menu/utils/link-validator.tsx
rename to web/components/tiptap/bubble-menu/utils/link-validator.tsx
index 5b05811d6..9af366c02 100644
--- a/apps/space/components/tiptap/bubble-menu/utils/link-validator.tsx
+++ b/web/components/tiptap/bubble-menu/utils/link-validator.tsx
@@ -9,4 +9,3 @@ export default function isValidHttpUrl(string: string): boolean {
return url.protocol === "http:" || url.protocol === "https:";
}
-
diff --git a/apps/space/components/tiptap/extensions/image-resize.tsx b/web/components/tiptap/extensions/image-resize.tsx
similarity index 78%
rename from apps/space/components/tiptap/extensions/image-resize.tsx
rename to web/components/tiptap/extensions/image-resize.tsx
index 7b2d1a2d3..448b8811c 100644
--- a/apps/space/components/tiptap/extensions/image-resize.tsx
+++ b/web/components/tiptap/extensions/image-resize.tsx
@@ -3,9 +3,7 @@ import Moveable from "react-moveable";
export const ImageResizer = ({ editor }: { editor: Editor }) => {
const updateMediaSize = () => {
- const imageInfo = document.querySelector(
- ".ProseMirror-selectednode",
- ) as HTMLImageElement;
+ const imageInfo = document.querySelector(".ProseMirror-selectednode") as HTMLImageElement;
if (imageInfo) {
const selection = editor.state.selection;
editor.commands.setImage({
@@ -28,13 +26,7 @@ export const ImageResizer = ({ editor }: { editor: Editor }) => {
keepRatio={true}
resizable={true}
throttleResize={0}
- onResize={({
- target,
- width,
- height,
- delta,
- }:
- any) => {
+ onResize={({ target, width, height, delta }: any) => {
delta[0] && (target!.style.width = `${width}px`);
delta[1] && (target!.style.height = `${height}px`);
}}
@@ -43,15 +35,10 @@ export const ImageResizer = ({ editor }: { editor: Editor }) => {
}}
scalable={true}
renderDirections={["w", "e"]}
- onScale={({
- target,
- transform,
- }:
- any) => {
+ onScale={({ target, transform }: any) => {
target!.style.transform = transform;
}}
/>
>
);
};
-
diff --git a/apps/app/components/tiptap/extensions/index.tsx b/web/components/tiptap/extensions/index.tsx
similarity index 94%
rename from apps/app/components/tiptap/extensions/index.tsx
rename to web/components/tiptap/extensions/index.tsx
index fa257b20a..ea5d421a6 100644
--- a/apps/app/components/tiptap/extensions/index.tsx
+++ b/web/components/tiptap/extensions/index.tsx
@@ -13,7 +13,7 @@ import CodeBlockLowlight from "@tiptap/extension-code-block-lowlight";
import { lowlight } from "lowlight/lib/core";
import SlashCommand from "../slash-command";
import { InputRule } from "@tiptap/core";
-import Gapcursor from '@tiptap/extension-gapcursor'
+import Gapcursor from "@tiptap/extension-gapcursor";
import ts from "highlight.js/lib/languages/typescript";
@@ -28,7 +28,10 @@ import { TableRow } from "@tiptap/extension-table-row";
lowlight.registerLanguage("ts", ts);
-export const TiptapExtensions = (workspaceSlug: string, setIsSubmitting?: (isSubmitting: "submitting" | "submitted" | "saved") => void) => [
+export const TiptapExtensions = (
+ workspaceSlug: string,
+ setIsSubmitting?: (isSubmitting: "submitting" | "submitted" | "saved") => void
+) => [
StarterKit.configure({
bulletList: {
HTMLAttributes: {
@@ -111,7 +114,7 @@ export const TiptapExtensions = (workspaceSlug: string, setIsSubmitting?: (isSub
return `Heading ${node.attrs.level}`;
}
if (node.type.name === "image" || node.type.name === "table") {
- return ""
+ return "";
}
return "Press '/' for commands...";
@@ -146,5 +149,5 @@ export const TiptapExtensions = (workspaceSlug: string, setIsSubmitting?: (isSub
Table,
TableHeader,
CustomTableCell,
- TableRow
+ TableRow,
];
diff --git a/apps/app/components/tiptap/extensions/table/table-cell.ts b/web/components/tiptap/extensions/table/table-cell.ts
similarity index 67%
rename from apps/app/components/tiptap/extensions/table/table-cell.ts
rename to web/components/tiptap/extensions/table/table-cell.ts
index 94c5aced2..643cb8c64 100644
--- a/apps/app/components/tiptap/extensions/table/table-cell.ts
+++ b/web/components/tiptap/extensions/table/table-cell.ts
@@ -6,8 +6,12 @@ export const CustomTableCell = TableCell.extend({
...this.parent?.(),
isHeader: {
default: false,
- parseHTML: (element) => { isHeader: element.tagName === "TD" },
- renderHTML: (attributes) => { tag: attributes.isHeader ? "th" : "td" }
+ parseHTML: (element) => {
+ isHeader: element.tagName === "TD";
+ },
+ renderHTML: (attributes) => {
+ tag: attributes.isHeader ? "th" : "td";
+ },
},
};
},
@@ -19,10 +23,7 @@ export const CustomTableCell = TableCell.extend({
...HTMLAttributes,
class: `relative ${HTMLAttributes.class}`,
},
- [
- "span",
- { class: "absolute top-0 right-0" },
- ],
+ ["span", { class: "absolute top-0 right-0" }],
0,
];
}
diff --git a/apps/app/components/tiptap/extensions/table/table-header.ts b/web/components/tiptap/extensions/table/table-header.ts
similarity index 86%
rename from apps/app/components/tiptap/extensions/table/table-header.ts
rename to web/components/tiptap/extensions/table/table-header.ts
index d04fe85d3..f23aa93ef 100644
--- a/apps/app/components/tiptap/extensions/table/table-header.ts
+++ b/web/components/tiptap/extensions/table/table-header.ts
@@ -1,7 +1,7 @@
import { TableHeader as BaseTableHeader } from "@tiptap/extension-table-header";
const TableHeader = BaseTableHeader.extend({
- content: "paragraph"
+ content: "paragraph",
});
export { TableHeader };
diff --git a/apps/app/components/tiptap/extensions/table/table.ts b/web/components/tiptap/extensions/table/table.ts
similarity index 83%
rename from apps/app/components/tiptap/extensions/table/table.ts
rename to web/components/tiptap/extensions/table/table.ts
index b05dedb3b..9b727bb51 100644
--- a/apps/app/components/tiptap/extensions/table/table.ts
+++ b/web/components/tiptap/extensions/table/table.ts
@@ -3,7 +3,7 @@ import { Table as BaseTable } from "@tiptap/extension-table";
const Table = BaseTable.configure({
resizable: true,
cellMinWidth: 100,
- allowTableNodeSelection: true
+ allowTableNodeSelection: true,
});
export { Table };
diff --git a/apps/space/components/tiptap/extensions/updated-image.tsx b/web/components/tiptap/extensions/updated-image.tsx
similarity index 95%
rename from apps/space/components/tiptap/extensions/updated-image.tsx
rename to web/components/tiptap/extensions/updated-image.tsx
index 01648dcd7..b62050953 100644
--- a/apps/space/components/tiptap/extensions/updated-image.tsx
+++ b/web/components/tiptap/extensions/updated-image.tsx
@@ -10,7 +10,7 @@ const UpdatedImage = Image.extend({
return {
...this.parent?.(),
width: {
- default: '35%',
+ default: "35%",
},
height: {
default: null,
diff --git a/apps/app/components/tiptap/index.tsx b/web/components/tiptap/index.tsx
similarity index 96%
rename from apps/app/components/tiptap/index.tsx
rename to web/components/tiptap/index.tsx
index 2ab6bf288..82304bfb0 100644
--- a/apps/app/components/tiptap/index.tsx
+++ b/web/components/tiptap/index.tsx
@@ -76,8 +76,8 @@ const Tiptap = (props: ITipTapRichTextEditor) => {
const editorClassNames = `relative w-full max-w-full sm:rounded-lg mt-2 p-3 relative focus:outline-none rounded-md
${noBorder ? "" : "border border-custom-border-200"} ${
- borderOnFocus ? "focus:border border-custom-border-300" : "focus:border-0"
- } ${customClassName}`;
+ borderOnFocus ? "focus:border border-custom-border-300" : "focus:border-0"
+ } ${customClassName}`;
if (!editor) return null;
editorRef.current = editor;
diff --git a/apps/app/components/tiptap/plugins/delete-image.tsx b/web/components/tiptap/plugins/delete-image.tsx
similarity index 90%
rename from apps/app/components/tiptap/plugins/delete-image.tsx
rename to web/components/tiptap/plugins/delete-image.tsx
index 262a3f591..568e4b748 100644
--- a/apps/app/components/tiptap/plugins/delete-image.tsx
+++ b/web/components/tiptap/plugins/delete-image.tsx
@@ -1,5 +1,5 @@
import { Plugin, PluginKey } from "@tiptap/pm/state";
-import { Node as ProseMirrorNode } from '@tiptap/pm/model';
+import { Node as ProseMirrorNode } from "@tiptap/pm/model";
import fileService from "services/file.service";
const deleteKey = new PluginKey("delete-image");
@@ -14,14 +14,14 @@ const TrackImageDeletionPlugin = () =>
const removedImages: ProseMirrorNode[] = [];
oldState.doc.descendants((oldNode, oldPos) => {
- if (oldNode.type.name !== 'image') return;
+ if (oldNode.type.name !== "image") return;
if (oldPos < 0 || oldPos > newState.doc.content.size) return;
if (!newState.doc.resolve(oldPos).parent) return;
const newNode = newState.doc.nodeAt(oldPos);
// Check if the node has been deleted or replaced
- if (!newNode || newNode.type.name !== 'image') {
+ if (!newNode || newNode.type.name !== "image") {
// Check if the node still exists elsewhere in the document
let nodeExists = false;
newState.doc.descendants((node) => {
diff --git a/apps/app/components/tiptap/plugins/upload-image.tsx b/web/components/tiptap/plugins/upload-image.tsx
similarity index 90%
rename from apps/app/components/tiptap/plugins/upload-image.tsx
rename to web/components/tiptap/plugins/upload-image.tsx
index a13f8e18a..499a00455 100644
--- a/apps/app/components/tiptap/plugins/upload-image.tsx
+++ b/web/components/tiptap/plugins/upload-image.tsx
@@ -22,10 +22,7 @@ const UploadImagesPlugin = () =>
const placeholder = document.createElement("div");
placeholder.setAttribute("class", "img-placeholder");
const image = document.createElement("img");
- image.setAttribute(
- "class",
- "opacity-10 rounded-lg border border-custom-border-300",
- );
+ image.setAttribute("class", "opacity-10 rounded-lg border border-custom-border-300");
image.src = src;
placeholder.appendChild(image);
const deco = Decoration.widget(pos + 1, placeholder, {
@@ -57,7 +54,13 @@ function findPlaceholder(state: EditorState, id: {}) {
return found.length ? found[0].from : null;
}
-export async function startImageUpload(file: File, view: EditorView, pos: number, workspaceSlug: string, setIsSubmitting?: (isSubmitting: "submitting" | "submitted" | "saved") => void) {
+export async function startImageUpload(
+ file: File,
+ view: EditorView,
+ pos: number,
+ workspaceSlug: string,
+ setIsSubmitting?: (isSubmitting: "submitting" | "submitted" | "saved") => void
+) {
if (!file.type.includes("image/")) {
return;
}
@@ -83,7 +86,7 @@ export async function startImageUpload(file: File, view: EditorView, pos: number
if (!workspaceSlug) {
return;
}
- setIsSubmitting?.("submitting")
+ setIsSubmitting?.("submitting");
const src = await UploadImageHandler(file, workspaceSlug);
const { schema } = view.state;
pos = findPlaceholder(view.state, id);
diff --git a/apps/app/components/tiptap/props.tsx b/web/components/tiptap/props.tsx
similarity index 83%
rename from apps/app/components/tiptap/props.tsx
rename to web/components/tiptap/props.tsx
index 69cddca1f..8233e3ab4 100644
--- a/apps/app/components/tiptap/props.tsx
+++ b/web/components/tiptap/props.tsx
@@ -2,7 +2,10 @@ import { EditorProps } from "@tiptap/pm/view";
import { startImageUpload } from "./plugins/upload-image";
import { findTableAncestor } from "./table-menu";
-export function TiptapEditorProps(workspaceSlug: string, setIsSubmitting?: (isSubmitting: "submitting" | "submitted" | "saved") => void): EditorProps {
+export function TiptapEditorProps(
+ workspaceSlug: string,
+ setIsSubmitting?: (isSubmitting: "submitting" | "submitted" | "saved") => void
+): EditorProps {
return {
attributes: {
class: `prose prose-brand max-w-full prose-headings:font-display font-default focus:outline-none`,
@@ -28,11 +31,7 @@ export function TiptapEditorProps(workspaceSlug: string, setIsSubmitting?: (isSu
}
}
}
- if (
- event.clipboardData &&
- event.clipboardData.files &&
- event.clipboardData.files[0]
- ) {
+ if (event.clipboardData && event.clipboardData.files && event.clipboardData.files[0]) {
event.preventDefault();
const file = event.clipboardData.files[0];
const pos = view.state.selection.from;
@@ -51,12 +50,7 @@ export function TiptapEditorProps(workspaceSlug: string, setIsSubmitting?: (isSu
}
}
}
- if (
- !moved &&
- event.dataTransfer &&
- event.dataTransfer.files &&
- event.dataTransfer.files[0]
- ) {
+ if (!moved && event.dataTransfer && event.dataTransfer.files && event.dataTransfer.files[0]) {
event.preventDefault();
const file = event.dataTransfer.files[0];
const coordinates = view.posAtCoords({
diff --git a/apps/app/components/tiptap/slash-command/index.tsx b/web/components/tiptap/slash-command/index.tsx
similarity index 52%
rename from apps/app/components/tiptap/slash-command/index.tsx
rename to web/components/tiptap/slash-command/index.tsx
index c843f0762..46bf5ea5a 100644
--- a/apps/app/components/tiptap/slash-command/index.tsx
+++ b/web/components/tiptap/slash-command/index.tsx
@@ -56,143 +56,153 @@ const Command = Extension.create({
},
});
-const getSuggestionItems = (workspaceSlug: string, setIsSubmitting?: (isSubmitting: "submitting" | "submitted" | "saved") => void) => ({ query }: { query: string }) =>
- [
- {
- title: "Text",
- description: "Just start typing with plain text.",
- searchTerms: ["p", "paragraph"],
- icon: ,
- command: ({ editor, range }: CommandProps) => {
- editor.chain().focus().deleteRange(range).toggleNode("paragraph", "paragraph").run();
+const getSuggestionItems =
+ (
+ workspaceSlug: string,
+ setIsSubmitting?: (isSubmitting: "submitting" | "submitted" | "saved") => void
+ ) =>
+ ({ query }: { query: string }) =>
+ [
+ {
+ title: "Text",
+ description: "Just start typing with plain text.",
+ searchTerms: ["p", "paragraph"],
+ icon: ,
+ command: ({ editor, range }: CommandProps) => {
+ editor.chain().focus().deleteRange(range).toggleNode("paragraph", "paragraph").run();
+ },
},
- },
- {
- title: "Heading 1",
- description: "Big section heading.",
- searchTerms: ["title", "big", "large"],
- icon: ,
- command: ({ editor, range }: CommandProps) => {
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 1 }).run();
+ {
+ title: "Heading 1",
+ description: "Big section heading.",
+ searchTerms: ["title", "big", "large"],
+ icon: ,
+ command: ({ editor, range }: CommandProps) => {
+ editor.chain().focus().deleteRange(range).setNode("heading", { level: 1 }).run();
+ },
},
- },
- {
- title: "Heading 2",
- description: "Medium section heading.",
- searchTerms: ["subtitle", "medium"],
- icon: ,
- command: ({ editor, range }: CommandProps) => {
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 2 }).run();
+ {
+ title: "Heading 2",
+ description: "Medium section heading.",
+ searchTerms: ["subtitle", "medium"],
+ icon: ,
+ command: ({ editor, range }: CommandProps) => {
+ editor.chain().focus().deleteRange(range).setNode("heading", { level: 2 }).run();
+ },
},
- },
- {
- title: "Heading 3",
- description: "Small section heading.",
- searchTerms: ["subtitle", "small"],
- icon: ,
- command: ({ editor, range }: CommandProps) => {
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 3 }).run();
+ {
+ title: "Heading 3",
+ description: "Small section heading.",
+ searchTerms: ["subtitle", "small"],
+ icon: ,
+ command: ({ editor, range }: CommandProps) => {
+ editor.chain().focus().deleteRange(range).setNode("heading", { level: 3 }).run();
+ },
},
- },
- {
- title: "To-do List",
- description: "Track tasks with a to-do list.",
- searchTerms: ["todo", "task", "list", "check", "checkbox"],
- icon: ,
- command: ({ editor, range }: CommandProps) => {
- editor.chain().focus().deleteRange(range).toggleTaskList().run();
+ {
+ title: "To-do List",
+ description: "Track tasks with a to-do list.",
+ searchTerms: ["todo", "task", "list", "check", "checkbox"],
+ icon: ,
+ command: ({ editor, range }: CommandProps) => {
+ editor.chain().focus().deleteRange(range).toggleTaskList().run();
+ },
},
- },
- {
- title: "Bullet List",
- description: "Create a simple bullet list.",
- searchTerms: ["unordered", "point"],
- icon:
,
- command: ({ editor, range }: CommandProps) => {
- editor.chain().focus().deleteRange(range).toggleBulletList().run();
+ {
+ title: "Bullet List",
+ description: "Create a simple bullet list.",
+ searchTerms: ["unordered", "point"],
+ icon:
,
+ command: ({ editor, range }: CommandProps) => {
+ editor.chain().focus().deleteRange(range).toggleBulletList().run();
+ },
},
- },
- {
- title: "Divider",
- description: "Visually divide blocks",
- searchTerms: ["line", "divider", "horizontal", "rule", "separate"],
- icon: ,
- command: ({ editor, range }: CommandProps) => {
- editor.chain().focus().deleteRange(range).setHorizontalRule().run();
+ {
+ title: "Divider",
+ description: "Visually divide blocks",
+ searchTerms: ["line", "divider", "horizontal", "rule", "separate"],
+ icon: ,
+ command: ({ editor, range }: CommandProps) => {
+ editor.chain().focus().deleteRange(range).setHorizontalRule().run();
+ },
},
- },
- {
- title: "Table",
- description: "Create a Table",
- searchTerms: ["table", "cell", "db", "data", "tabular"],
- icon: ,
- command: ({ editor, range }: CommandProps) => {
- editor.chain().focus().deleteRange(range).insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run();
+ {
+ title: "Table",
+ description: "Create a Table",
+ searchTerms: ["table", "cell", "db", "data", "tabular"],
+ icon: ,
+ command: ({ editor, range }: CommandProps) => {
+ editor
+ .chain()
+ .focus()
+ .deleteRange(range)
+ .insertTable({ rows: 3, cols: 3, withHeaderRow: true })
+ .run();
+ },
},
- },
- {
- title: "Numbered List",
- description: "Create a list with numbering.",
- searchTerms: ["ordered"],
- icon: ,
- command: ({ editor, range }: CommandProps) => {
- editor.chain().focus().deleteRange(range).toggleOrderedList().run();
+ {
+ title: "Numbered List",
+ description: "Create a list with numbering.",
+ searchTerms: ["ordered"],
+ icon: ,
+ command: ({ editor, range }: CommandProps) => {
+ editor.chain().focus().deleteRange(range).toggleOrderedList().run();
+ },
},
- },
- {
- title: "Quote",
- description: "Capture a quote.",
- searchTerms: ["blockquote"],
- icon: ,
- command: ({ editor, range }: CommandProps) =>
- editor
- .chain()
- .focus()
- .deleteRange(range)
- .toggleNode("paragraph", "paragraph")
- .toggleBlockquote()
- .run(),
- },
- {
- title: "Code",
- description: "Capture a code snippet.",
- searchTerms: ["codeblock"],
- icon:
,
- command: ({ editor, range }: CommandProps) =>
- editor.chain().focus().deleteRange(range).toggleCodeBlock().run(),
- },
- {
- title: "Image",
- description: "Upload an image from your computer.",
- searchTerms: ["photo", "picture", "media"],
- icon: ,
- command: ({ editor, range }: CommandProps) => {
- editor.chain().focus().deleteRange(range).run();
- // upload image
- const input = document.createElement("input");
- input.type = "file";
- input.accept = "image/*";
- input.onchange = async () => {
- if (input.files?.length) {
- const file = input.files[0];
- const pos = editor.view.state.selection.from;
- startImageUpload(file, editor.view, pos, workspaceSlug, setIsSubmitting);
- }
- };
- input.click();
+ {
+ title: "Quote",
+ description: "Capture a quote.",
+ searchTerms: ["blockquote"],
+ icon: ,
+ command: ({ editor, range }: CommandProps) =>
+ editor
+ .chain()
+ .focus()
+ .deleteRange(range)
+ .toggleNode("paragraph", "paragraph")
+ .toggleBlockquote()
+ .run(),
},
- },
- ].filter((item) => {
- if (typeof query === "string" && query.length > 0) {
- const search = query.toLowerCase();
- return (
- item.title.toLowerCase().includes(search) ||
- item.description.toLowerCase().includes(search) ||
- (item.searchTerms && item.searchTerms.some((term: string) => term.includes(search)))
- );
- }
- return true;
- });
+ {
+ title: "Code",
+ description: "Capture a code snippet.",
+ searchTerms: ["codeblock"],
+ icon:
,
+ command: ({ editor, range }: CommandProps) =>
+ editor.chain().focus().deleteRange(range).toggleCodeBlock().run(),
+ },
+ {
+ title: "Image",
+ description: "Upload an image from your computer.",
+ searchTerms: ["photo", "picture", "media"],
+ icon: ,
+ command: ({ editor, range }: CommandProps) => {
+ editor.chain().focus().deleteRange(range).run();
+ // upload image
+ const input = document.createElement("input");
+ input.type = "file";
+ input.accept = "image/*";
+ input.onchange = async () => {
+ if (input.files?.length) {
+ const file = input.files[0];
+ const pos = editor.view.state.selection.from;
+ startImageUpload(file, editor.view, pos, workspaceSlug, setIsSubmitting);
+ }
+ };
+ input.click();
+ },
+ },
+ ].filter((item) => {
+ if (typeof query === "string" && query.length > 0) {
+ const search = query.toLowerCase();
+ return (
+ item.title.toLowerCase().includes(search) ||
+ item.description.toLowerCase().includes(search) ||
+ (item.searchTerms && item.searchTerms.some((term: string) => term.includes(search)))
+ );
+ }
+ return true;
+ });
export const updateScrollView = (container: HTMLElement, item: HTMLElement) => {
const containerHeight = container.offsetHeight;
@@ -341,7 +351,10 @@ const renderItems = () => {
};
};
-export const SlashCommand = (workspaceSlug: string, setIsSubmitting?: (isSubmitting: "submitting" | "submitted" | "saved") => void) =>
+export const SlashCommand = (
+ workspaceSlug: string,
+ setIsSubmitting?: (isSubmitting: "submitting" | "submitted" | "saved") => void
+) =>
Command.configure({
suggestion: {
items: getSuggestionItems(workspaceSlug, setIsSubmitting),
diff --git a/web/components/tiptap/table-menu/InsertBottomTableIcon.tsx b/web/components/tiptap/table-menu/InsertBottomTableIcon.tsx
new file mode 100644
index 000000000..0e42ba648
--- /dev/null
+++ b/web/components/tiptap/table-menu/InsertBottomTableIcon.tsx
@@ -0,0 +1,16 @@
+const InsertBottomTableIcon = (props: any) => (
+
+
+
+);
+
+export default InsertBottomTableIcon;
diff --git a/web/components/tiptap/table-menu/InsertLeftTableIcon.tsx b/web/components/tiptap/table-menu/InsertLeftTableIcon.tsx
new file mode 100644
index 000000000..1fd75fe87
--- /dev/null
+++ b/web/components/tiptap/table-menu/InsertLeftTableIcon.tsx
@@ -0,0 +1,15 @@
+const InsertLeftTableIcon = (props: any) => (
+
+
+
+);
+export default InsertLeftTableIcon;
diff --git a/web/components/tiptap/table-menu/InsertRightTableIcon.tsx b/web/components/tiptap/table-menu/InsertRightTableIcon.tsx
new file mode 100644
index 000000000..1a6570969
--- /dev/null
+++ b/web/components/tiptap/table-menu/InsertRightTableIcon.tsx
@@ -0,0 +1,16 @@
+const InsertRightTableIcon = (props: any) => (
+
+
+
+);
+
+export default InsertRightTableIcon;
diff --git a/web/components/tiptap/table-menu/InsertTopTableIcon.tsx b/web/components/tiptap/table-menu/InsertTopTableIcon.tsx
new file mode 100644
index 000000000..8f04f4f61
--- /dev/null
+++ b/web/components/tiptap/table-menu/InsertTopTableIcon.tsx
@@ -0,0 +1,15 @@
+const InsertTopTableIcon = (props: any) => (
+
+
+
+);
+export default InsertTopTableIcon;
diff --git a/apps/app/components/tiptap/table-menu/index.tsx b/web/components/tiptap/table-menu/index.tsx
similarity index 97%
rename from apps/app/components/tiptap/table-menu/index.tsx
rename to web/components/tiptap/table-menu/index.tsx
index e6513fc43..94f9c0f8d 100644
--- a/apps/app/components/tiptap/table-menu/index.tsx
+++ b/web/components/tiptap/table-menu/index.tsx
@@ -115,8 +115,9 @@ export const TableMenu = ({ editor }: { editor: any }) => {
return (
= ({ data, noTooltip=false }) => {
+export const LinearProgressIndicator: React.FC = ({ data, noTooltip = false }) => {
const total = data.reduce((acc: any, cur: any) => acc + cur.value, 0);
let progress = 0;
@@ -17,12 +17,13 @@ export const LinearProgressIndicator: React.FC = ({ data, noTooltip=false
backgroundColor: item.color,
};
progress += item.value;
- if (noTooltip) return
- else return (
-
-
-
- );
+ if (noTooltip) return
;
+ else
+ return (
+
+
+
+ );
});
return (
diff --git a/apps/space/components/ui/loader.tsx b/web/components/ui/loader.tsx
similarity index 100%
rename from apps/space/components/ui/loader.tsx
rename to web/components/ui/loader.tsx
diff --git a/apps/app/components/ui/markdown-to-component.tsx b/web/components/ui/markdown-to-component.tsx
similarity index 100%
rename from apps/app/components/ui/markdown-to-component.tsx
rename to web/components/ui/markdown-to-component.tsx
diff --git a/apps/app/components/ui/multi-level-dropdown.tsx b/web/components/ui/multi-level-dropdown.tsx
similarity index 100%
rename from apps/app/components/ui/multi-level-dropdown.tsx
rename to web/components/ui/multi-level-dropdown.tsx
diff --git a/apps/app/components/ui/multi-level-select.tsx b/web/components/ui/multi-level-select.tsx
similarity index 100%
rename from apps/app/components/ui/multi-level-select.tsx
rename to web/components/ui/multi-level-select.tsx
diff --git a/apps/app/components/ui/product-updates-modal.tsx b/web/components/ui/product-updates-modal.tsx
similarity index 100%
rename from apps/app/components/ui/product-updates-modal.tsx
rename to web/components/ui/product-updates-modal.tsx
diff --git a/apps/app/components/ui/profile-empty-state.tsx b/web/components/ui/profile-empty-state.tsx
similarity index 100%
rename from apps/app/components/ui/profile-empty-state.tsx
rename to web/components/ui/profile-empty-state.tsx
diff --git a/apps/app/components/ui/progress-bar.tsx b/web/components/ui/progress-bar.tsx
similarity index 100%
rename from apps/app/components/ui/progress-bar.tsx
rename to web/components/ui/progress-bar.tsx
diff --git a/apps/app/components/ui/range-datepicker.tsx b/web/components/ui/range-datepicker.tsx
similarity index 100%
rename from apps/app/components/ui/range-datepicker.tsx
rename to web/components/ui/range-datepicker.tsx
diff --git a/apps/app/components/ui/spinner.tsx b/web/components/ui/spinner.tsx
similarity index 100%
rename from apps/app/components/ui/spinner.tsx
rename to web/components/ui/spinner.tsx
diff --git a/apps/app/components/ui/text-area/index.tsx b/web/components/ui/text-area/index.tsx
similarity index 100%
rename from apps/app/components/ui/text-area/index.tsx
rename to web/components/ui/text-area/index.tsx
diff --git a/apps/app/components/ui/text-area/types.d.ts b/web/components/ui/text-area/types.d.ts
similarity index 100%
rename from apps/app/components/ui/text-area/types.d.ts
rename to web/components/ui/text-area/types.d.ts
diff --git a/apps/app/components/ui/toggle-switch.tsx b/web/components/ui/toggle-switch.tsx
similarity index 100%
rename from apps/app/components/ui/toggle-switch.tsx
rename to web/components/ui/toggle-switch.tsx
diff --git a/apps/app/components/ui/tooltip.tsx b/web/components/ui/tooltip.tsx
similarity index 100%
rename from apps/app/components/ui/tooltip.tsx
rename to web/components/ui/tooltip.tsx
diff --git a/apps/app/components/views/delete-view-modal.tsx b/web/components/views/delete-view-modal.tsx
similarity index 97%
rename from apps/app/components/views/delete-view-modal.tsx
rename to web/components/views/delete-view-modal.tsx
index 61c627430..c65f7ba29 100644
--- a/apps/app/components/views/delete-view-modal.tsx
+++ b/web/components/views/delete-view-modal.tsx
@@ -46,8 +46,9 @@ export const DeleteViewModal: React.FC = ({ isOpen, data, setIsOpen, user
await viewsService
.deleteView(workspaceSlug as string, projectId as string, data.id, user)
.then(() => {
- mutate(VIEWS_LIST(projectId as string), (views) =>
- views?.filter((view) => view.id !== data.id)
+ mutate(
+ VIEWS_LIST(projectId as string),
+ (views) => views?.filter((view) => view.id !== data.id)
);
handleClose();
diff --git a/apps/app/components/views/form.tsx b/web/components/views/form.tsx
similarity index 100%
rename from apps/app/components/views/form.tsx
rename to web/components/views/form.tsx
diff --git a/apps/app/components/views/gantt-chart.tsx b/web/components/views/gantt-chart.tsx
similarity index 100%
rename from apps/app/components/views/gantt-chart.tsx
rename to web/components/views/gantt-chart.tsx
diff --git a/apps/app/components/views/index.ts b/web/components/views/index.ts
similarity index 100%
rename from apps/app/components/views/index.ts
rename to web/components/views/index.ts
diff --git a/apps/app/components/views/modal.tsx b/web/components/views/modal.tsx
similarity index 100%
rename from apps/app/components/views/modal.tsx
rename to web/components/views/modal.tsx
diff --git a/apps/app/components/views/select-filters.tsx b/web/components/views/select-filters.tsx
similarity index 100%
rename from apps/app/components/views/select-filters.tsx
rename to web/components/views/select-filters.tsx
diff --git a/apps/app/components/views/single-view-item.tsx b/web/components/views/single-view-item.tsx
similarity index 100%
rename from apps/app/components/views/single-view-item.tsx
rename to web/components/views/single-view-item.tsx
diff --git a/apps/app/components/workspace/activity-graph.tsx b/web/components/workspace/activity-graph.tsx
similarity index 100%
rename from apps/app/components/workspace/activity-graph.tsx
rename to web/components/workspace/activity-graph.tsx
diff --git a/apps/app/components/workspace/completed-issues-graph.tsx b/web/components/workspace/completed-issues-graph.tsx
similarity index 100%
rename from apps/app/components/workspace/completed-issues-graph.tsx
rename to web/components/workspace/completed-issues-graph.tsx
diff --git a/apps/app/components/workspace/confirm-workspace-member-remove.tsx b/web/components/workspace/confirm-workspace-member-remove.tsx
similarity index 100%
rename from apps/app/components/workspace/confirm-workspace-member-remove.tsx
rename to web/components/workspace/confirm-workspace-member-remove.tsx
diff --git a/apps/app/components/workspace/create-workspace-form.tsx b/web/components/workspace/create-workspace-form.tsx
similarity index 100%
rename from apps/app/components/workspace/create-workspace-form.tsx
rename to web/components/workspace/create-workspace-form.tsx
diff --git a/apps/app/components/workspace/delete-workspace-modal.tsx b/web/components/workspace/delete-workspace-modal.tsx
similarity index 97%
rename from apps/app/components/workspace/delete-workspace-modal.tsx
rename to web/components/workspace/delete-workspace-modal.tsx
index 7ba8c0eff..80cf08cd1 100644
--- a/apps/app/components/workspace/delete-workspace-modal.tsx
+++ b/web/components/workspace/delete-workspace-modal.tsx
@@ -68,8 +68,9 @@ export const DeleteWorkspaceModal: React.FC = ({ isOpen, data, onClose, u
router.push("/");
- mutate(USER_WORKSPACES, (prevData) =>
- prevData?.filter((workspace) => workspace.id !== data.id)
+ mutate(
+ USER_WORKSPACES,
+ (prevData) => prevData?.filter((workspace) => workspace.id !== data.id)
);
setToastAlert({
diff --git a/apps/app/components/workspace/help-section.tsx b/web/components/workspace/help-section.tsx
similarity index 100%
rename from apps/app/components/workspace/help-section.tsx
rename to web/components/workspace/help-section.tsx
diff --git a/apps/app/components/workspace/index.ts b/web/components/workspace/index.ts
similarity index 100%
rename from apps/app/components/workspace/index.ts
rename to web/components/workspace/index.ts
diff --git a/apps/app/components/workspace/issues-list.tsx b/web/components/workspace/issues-list.tsx
similarity index 100%
rename from apps/app/components/workspace/issues-list.tsx
rename to web/components/workspace/issues-list.tsx
diff --git a/apps/app/components/workspace/issues-pie-chart.tsx b/web/components/workspace/issues-pie-chart.tsx
similarity index 100%
rename from apps/app/components/workspace/issues-pie-chart.tsx
rename to web/components/workspace/issues-pie-chart.tsx
diff --git a/apps/app/components/workspace/issues-stats.tsx b/web/components/workspace/issues-stats.tsx
similarity index 100%
rename from apps/app/components/workspace/issues-stats.tsx
rename to web/components/workspace/issues-stats.tsx
diff --git a/apps/app/components/workspace/send-workspace-invitation-modal.tsx b/web/components/workspace/send-workspace-invitation-modal.tsx
similarity index 100%
rename from apps/app/components/workspace/send-workspace-invitation-modal.tsx
rename to web/components/workspace/send-workspace-invitation-modal.tsx
diff --git a/apps/app/components/workspace/settings-header.tsx b/web/components/workspace/settings-header.tsx
similarity index 100%
rename from apps/app/components/workspace/settings-header.tsx
rename to web/components/workspace/settings-header.tsx
diff --git a/apps/app/components/workspace/sidebar-dropdown.tsx b/web/components/workspace/sidebar-dropdown.tsx
similarity index 100%
rename from apps/app/components/workspace/sidebar-dropdown.tsx
rename to web/components/workspace/sidebar-dropdown.tsx
diff --git a/apps/app/components/workspace/sidebar-menu.tsx b/web/components/workspace/sidebar-menu.tsx
similarity index 100%
rename from apps/app/components/workspace/sidebar-menu.tsx
rename to web/components/workspace/sidebar-menu.tsx
diff --git a/apps/app/components/workspace/sidebar-quick-action.tsx b/web/components/workspace/sidebar-quick-action.tsx
similarity index 100%
rename from apps/app/components/workspace/sidebar-quick-action.tsx
rename to web/components/workspace/sidebar-quick-action.tsx
diff --git a/apps/app/components/workspace/single-invitation.tsx b/web/components/workspace/single-invitation.tsx
similarity index 100%
rename from apps/app/components/workspace/single-invitation.tsx
rename to web/components/workspace/single-invitation.tsx
diff --git a/apps/app/constants/analytics.ts b/web/constants/analytics.ts
similarity index 100%
rename from apps/app/constants/analytics.ts
rename to web/constants/analytics.ts
diff --git a/apps/app/constants/calendar.ts b/web/constants/calendar.ts
similarity index 100%
rename from apps/app/constants/calendar.ts
rename to web/constants/calendar.ts
diff --git a/apps/app/constants/crisp.tsx b/web/constants/crisp.tsx
similarity index 100%
rename from apps/app/constants/crisp.tsx
rename to web/constants/crisp.tsx
diff --git a/apps/app/constants/fetch-keys.ts b/web/constants/fetch-keys.ts
similarity index 99%
rename from apps/app/constants/fetch-keys.ts
rename to web/constants/fetch-keys.ts
index 14d34a96a..ac0bc8009 100644
--- a/apps/app/constants/fetch-keys.ts
+++ b/web/constants/fetch-keys.ts
@@ -285,9 +285,7 @@ export const ANALYTICS = (workspaceSlug: string, params: IAnalyticsParams) =>
params.segment
}_${params.project?.toString()}`;
export const DEFAULT_ANALYTICS = (workspaceSlug: string, params?: Partial) =>
- `DEFAULT_ANALYTICS_${workspaceSlug.toUpperCase()}_${params?.project?.toString()}_${
- params?.cycle
- }_${params?.module}`;
+ `DEFAULT_ANALYTICS_${workspaceSlug.toUpperCase()}_${params?.project?.toString()}_${params?.cycle}_${params?.module}`;
// notifications
export const USER_WORKSPACE_NOTIFICATIONS = (
diff --git a/apps/app/constants/filters.ts b/web/constants/filters.ts
similarity index 100%
rename from apps/app/constants/filters.ts
rename to web/constants/filters.ts
diff --git a/apps/app/constants/graph.ts b/web/constants/graph.ts
similarity index 100%
rename from apps/app/constants/graph.ts
rename to web/constants/graph.ts
diff --git a/apps/app/constants/inbox.ts b/web/constants/inbox.ts
similarity index 100%
rename from apps/app/constants/inbox.ts
rename to web/constants/inbox.ts
diff --git a/apps/app/constants/issue.ts b/web/constants/issue.ts
similarity index 100%
rename from apps/app/constants/issue.ts
rename to web/constants/issue.ts
diff --git a/apps/app/constants/label.ts b/web/constants/label.ts
similarity index 100%
rename from apps/app/constants/label.ts
rename to web/constants/label.ts
diff --git a/apps/app/constants/module.ts b/web/constants/module.ts
similarity index 100%
rename from apps/app/constants/module.ts
rename to web/constants/module.ts
diff --git a/apps/app/constants/notification.ts b/web/constants/notification.ts
similarity index 100%
rename from apps/app/constants/notification.ts
rename to web/constants/notification.ts
diff --git a/apps/app/constants/project.ts b/web/constants/project.ts
similarity index 100%
rename from apps/app/constants/project.ts
rename to web/constants/project.ts
diff --git a/apps/app/constants/seo-variables.ts b/web/constants/seo-variables.ts
similarity index 100%
rename from apps/app/constants/seo-variables.ts
rename to web/constants/seo-variables.ts
diff --git a/apps/app/constants/spreadsheet.ts b/web/constants/spreadsheet.ts
similarity index 100%
rename from apps/app/constants/spreadsheet.ts
rename to web/constants/spreadsheet.ts
diff --git a/apps/app/constants/state.ts b/web/constants/state.ts
similarity index 100%
rename from apps/app/constants/state.ts
rename to web/constants/state.ts
diff --git a/apps/app/constants/themes.ts b/web/constants/themes.ts
similarity index 100%
rename from apps/app/constants/themes.ts
rename to web/constants/themes.ts
diff --git a/apps/app/constants/timezones.ts b/web/constants/timezones.ts
similarity index 100%
rename from apps/app/constants/timezones.ts
rename to web/constants/timezones.ts
diff --git a/apps/app/constants/workspace.ts b/web/constants/workspace.ts
similarity index 100%
rename from apps/app/constants/workspace.ts
rename to web/constants/workspace.ts
diff --git a/apps/app/contexts/inbox-view-context.tsx b/web/contexts/inbox-view-context.tsx
similarity index 100%
rename from apps/app/contexts/inbox-view-context.tsx
rename to web/contexts/inbox-view-context.tsx
diff --git a/apps/app/contexts/issue-view.context.tsx b/web/contexts/issue-view.context.tsx
similarity index 100%
rename from apps/app/contexts/issue-view.context.tsx
rename to web/contexts/issue-view.context.tsx
diff --git a/apps/app/contexts/profile-issues-context.tsx b/web/contexts/profile-issues-context.tsx
similarity index 100%
rename from apps/app/contexts/profile-issues-context.tsx
rename to web/contexts/profile-issues-context.tsx
diff --git a/apps/app/contexts/project-member.context.tsx b/web/contexts/project-member.context.tsx
similarity index 100%
rename from apps/app/contexts/project-member.context.tsx
rename to web/contexts/project-member.context.tsx
diff --git a/apps/app/contexts/theme.context.tsx b/web/contexts/theme.context.tsx
similarity index 100%
rename from apps/app/contexts/theme.context.tsx
rename to web/contexts/theme.context.tsx
diff --git a/apps/app/contexts/toast.context.tsx b/web/contexts/toast.context.tsx
similarity index 100%
rename from apps/app/contexts/toast.context.tsx
rename to web/contexts/toast.context.tsx
diff --git a/apps/app/contexts/user-notification-context.tsx b/web/contexts/user-notification-context.tsx
similarity index 100%
rename from apps/app/contexts/user-notification-context.tsx
rename to web/contexts/user-notification-context.tsx
diff --git a/apps/app/contexts/user.context.tsx b/web/contexts/user.context.tsx
similarity index 100%
rename from apps/app/contexts/user.context.tsx
rename to web/contexts/user.context.tsx
diff --git a/apps/app/contexts/workspace-member.context.tsx b/web/contexts/workspace-member.context.tsx
similarity index 100%
rename from apps/app/contexts/workspace-member.context.tsx
rename to web/contexts/workspace-member.context.tsx
diff --git a/apps/app/contexts/workspace.context.tsx b/web/contexts/workspace.context.tsx
similarity index 100%
rename from apps/app/contexts/workspace.context.tsx
rename to web/contexts/workspace.context.tsx
diff --git a/apps/app/google.d.ts b/web/google.d.ts
similarity index 100%
rename from apps/app/google.d.ts
rename to web/google.d.ts
diff --git a/apps/app/helpers/analytics.helper.ts b/web/helpers/analytics.helper.ts
similarity index 100%
rename from apps/app/helpers/analytics.helper.ts
rename to web/helpers/analytics.helper.ts
diff --git a/apps/app/helpers/array.helper.ts b/web/helpers/array.helper.ts
similarity index 100%
rename from apps/app/helpers/array.helper.ts
rename to web/helpers/array.helper.ts
diff --git a/apps/app/helpers/attachment.helper.ts b/web/helpers/attachment.helper.ts
similarity index 100%
rename from apps/app/helpers/attachment.helper.ts
rename to web/helpers/attachment.helper.ts
diff --git a/apps/app/helpers/calendar.helper.ts b/web/helpers/calendar.helper.ts
similarity index 100%
rename from apps/app/helpers/calendar.helper.ts
rename to web/helpers/calendar.helper.ts
diff --git a/apps/app/helpers/color.helper.ts b/web/helpers/color.helper.ts
similarity index 100%
rename from apps/app/helpers/color.helper.ts
rename to web/helpers/color.helper.ts
diff --git a/apps/app/helpers/common.helper.ts b/web/helpers/common.helper.ts
similarity index 100%
rename from apps/app/helpers/common.helper.ts
rename to web/helpers/common.helper.ts
diff --git a/apps/app/helpers/date-time.helper.ts b/web/helpers/date-time.helper.ts
similarity index 100%
rename from apps/app/helpers/date-time.helper.ts
rename to web/helpers/date-time.helper.ts
diff --git a/apps/app/helpers/emoji.helper.tsx b/web/helpers/emoji.helper.tsx
similarity index 77%
rename from apps/app/helpers/emoji.helper.tsx
rename to web/helpers/emoji.helper.tsx
index 06bf8ba15..7c9f3cfcb 100644
--- a/apps/app/helpers/emoji.helper.tsx
+++ b/web/helpers/emoji.helper.tsx
@@ -41,13 +41,16 @@ export const groupReactions: (reactions: any[], key: string) => { [key: string]:
reactions: any,
key: string
) => {
- const groupedReactions = reactions.reduce((acc: any, reaction: any) => {
- if (!acc[reaction[key]]) {
- acc[reaction[key]] = [];
- }
- acc[reaction[key]].push(reaction);
- return acc;
- }, {} as { [key: string]: any[] });
+ const groupedReactions = reactions.reduce(
+ (acc: any, reaction: any) => {
+ if (!acc[reaction[key]]) {
+ acc[reaction[key]] = [];
+ }
+ acc[reaction[key]].push(reaction);
+ return acc;
+ },
+ {} as { [key: string]: any[] }
+ );
return groupedReactions;
};
diff --git a/apps/app/helpers/graph.helper.ts b/web/helpers/graph.helper.ts
similarity index 100%
rename from apps/app/helpers/graph.helper.ts
rename to web/helpers/graph.helper.ts
diff --git a/apps/app/helpers/state.helper.ts b/web/helpers/state.helper.ts
similarity index 100%
rename from apps/app/helpers/state.helper.ts
rename to web/helpers/state.helper.ts
diff --git a/apps/app/helpers/string.helper.ts b/web/helpers/string.helper.ts
similarity index 100%
rename from apps/app/helpers/string.helper.ts
rename to web/helpers/string.helper.ts
diff --git a/apps/app/helpers/theme.helper.ts b/web/helpers/theme.helper.ts
similarity index 100%
rename from apps/app/helpers/theme.helper.ts
rename to web/helpers/theme.helper.ts
diff --git a/apps/app/hooks/gantt-chart/cycle-issues-view.tsx b/web/hooks/gantt-chart/cycle-issues-view.tsx
similarity index 100%
rename from apps/app/hooks/gantt-chart/cycle-issues-view.tsx
rename to web/hooks/gantt-chart/cycle-issues-view.tsx
diff --git a/apps/app/hooks/gantt-chart/issue-view.tsx b/web/hooks/gantt-chart/issue-view.tsx
similarity index 100%
rename from apps/app/hooks/gantt-chart/issue-view.tsx
rename to web/hooks/gantt-chart/issue-view.tsx
diff --git a/apps/app/hooks/gantt-chart/module-issues-view.tsx b/web/hooks/gantt-chart/module-issues-view.tsx
similarity index 100%
rename from apps/app/hooks/gantt-chart/module-issues-view.tsx
rename to web/hooks/gantt-chart/module-issues-view.tsx
diff --git a/apps/app/hooks/gantt-chart/view-issues-view.tsx b/web/hooks/gantt-chart/view-issues-view.tsx
similarity index 100%
rename from apps/app/hooks/gantt-chart/view-issues-view.tsx
rename to web/hooks/gantt-chart/view-issues-view.tsx
diff --git a/apps/app/hooks/my-issues/use-my-issues-filter.tsx b/web/hooks/my-issues/use-my-issues-filter.tsx
similarity index 100%
rename from apps/app/hooks/my-issues/use-my-issues-filter.tsx
rename to web/hooks/my-issues/use-my-issues-filter.tsx
diff --git a/apps/app/hooks/my-issues/use-my-issues.tsx b/web/hooks/my-issues/use-my-issues.tsx
similarity index 100%
rename from apps/app/hooks/my-issues/use-my-issues.tsx
rename to web/hooks/my-issues/use-my-issues.tsx
diff --git a/apps/app/hooks/use-calendar-issues-view.tsx b/web/hooks/use-calendar-issues-view.tsx
similarity index 100%
rename from apps/app/hooks/use-calendar-issues-view.tsx
rename to web/hooks/use-calendar-issues-view.tsx
diff --git a/apps/app/hooks/use-comment-reaction.tsx b/web/hooks/use-comment-reaction.tsx
similarity index 100%
rename from apps/app/hooks/use-comment-reaction.tsx
rename to web/hooks/use-comment-reaction.tsx
diff --git a/apps/app/hooks/use-debounce.tsx b/web/hooks/use-debounce.tsx
similarity index 100%
rename from apps/app/hooks/use-debounce.tsx
rename to web/hooks/use-debounce.tsx
diff --git a/apps/app/hooks/use-estimate-option.tsx b/web/hooks/use-estimate-option.tsx
similarity index 100%
rename from apps/app/hooks/use-estimate-option.tsx
rename to web/hooks/use-estimate-option.tsx
diff --git a/apps/app/hooks/use-inbox-view.tsx b/web/hooks/use-inbox-view.tsx
similarity index 100%
rename from apps/app/hooks/use-inbox-view.tsx
rename to web/hooks/use-inbox-view.tsx
diff --git a/apps/app/hooks/use-integration-popup.tsx b/web/hooks/use-integration-popup.tsx
similarity index 100%
rename from apps/app/hooks/use-integration-popup.tsx
rename to web/hooks/use-integration-popup.tsx
diff --git a/apps/app/hooks/use-issue-notification-subscription.tsx b/web/hooks/use-issue-notification-subscription.tsx
similarity index 100%
rename from apps/app/hooks/use-issue-notification-subscription.tsx
rename to web/hooks/use-issue-notification-subscription.tsx
diff --git a/apps/app/hooks/use-issue-properties.tsx b/web/hooks/use-issue-properties.tsx
similarity index 98%
rename from apps/app/hooks/use-issue-properties.tsx
rename to web/hooks/use-issue-properties.tsx
index d5d1072ce..6f4f093e0 100644
--- a/apps/app/hooks/use-issue-properties.tsx
+++ b/web/hooks/use-issue-properties.tsx
@@ -68,7 +68,7 @@ const useIssuesProperties = (workspaceSlug?: string, projectId?: string) => {
({
...prev,
properties: { ...prev?.properties, [key]: !prev?.properties?.[key] },
- } as IssuePriorities),
+ }) as IssuePriorities,
false
);
if (Object.keys(issueProperties).length > 0) {
diff --git a/apps/app/hooks/use-issue-reaction.tsx b/web/hooks/use-issue-reaction.tsx
similarity index 100%
rename from apps/app/hooks/use-issue-reaction.tsx
rename to web/hooks/use-issue-reaction.tsx
diff --git a/apps/app/hooks/use-issues-view.tsx b/web/hooks/use-issues-view.tsx
similarity index 100%
rename from apps/app/hooks/use-issues-view.tsx
rename to web/hooks/use-issues-view.tsx
diff --git a/apps/app/hooks/use-local-storage.tsx b/web/hooks/use-local-storage.tsx
similarity index 100%
rename from apps/app/hooks/use-local-storage.tsx
rename to web/hooks/use-local-storage.tsx
diff --git a/apps/app/hooks/use-outside-click-detector.tsx b/web/hooks/use-outside-click-detector.tsx
similarity index 100%
rename from apps/app/hooks/use-outside-click-detector.tsx
rename to web/hooks/use-outside-click-detector.tsx
diff --git a/apps/app/hooks/use-profile-issues.tsx b/web/hooks/use-profile-issues.tsx
similarity index 100%
rename from apps/app/hooks/use-profile-issues.tsx
rename to web/hooks/use-profile-issues.tsx
diff --git a/apps/app/hooks/use-project-details.tsx b/web/hooks/use-project-details.tsx
similarity index 100%
rename from apps/app/hooks/use-project-details.tsx
rename to web/hooks/use-project-details.tsx
diff --git a/apps/app/hooks/use-project-members.tsx b/web/hooks/use-project-members.tsx
similarity index 100%
rename from apps/app/hooks/use-project-members.tsx
rename to web/hooks/use-project-members.tsx
diff --git a/apps/app/hooks/use-projects.tsx b/web/hooks/use-projects.tsx
similarity index 100%
rename from apps/app/hooks/use-projects.tsx
rename to web/hooks/use-projects.tsx
diff --git a/apps/app/hooks/use-reload-confirmation.tsx b/web/hooks/use-reload-confirmation.tsx
similarity index 100%
rename from apps/app/hooks/use-reload-confirmation.tsx
rename to web/hooks/use-reload-confirmation.tsx
diff --git a/apps/app/hooks/use-spreadsheet-issues-view.tsx b/web/hooks/use-spreadsheet-issues-view.tsx
similarity index 100%
rename from apps/app/hooks/use-spreadsheet-issues-view.tsx
rename to web/hooks/use-spreadsheet-issues-view.tsx
diff --git a/apps/app/hooks/use-sub-issue.tsx b/web/hooks/use-sub-issue.tsx
similarity index 100%
rename from apps/app/hooks/use-sub-issue.tsx
rename to web/hooks/use-sub-issue.tsx
diff --git a/apps/app/hooks/use-theme.tsx b/web/hooks/use-theme.tsx
similarity index 100%
rename from apps/app/hooks/use-theme.tsx
rename to web/hooks/use-theme.tsx
diff --git a/apps/space/hooks/use-timer.tsx b/web/hooks/use-timer.tsx
similarity index 100%
rename from apps/space/hooks/use-timer.tsx
rename to web/hooks/use-timer.tsx
diff --git a/apps/space/hooks/use-toast.tsx b/web/hooks/use-toast.tsx
similarity index 100%
rename from apps/space/hooks/use-toast.tsx
rename to web/hooks/use-toast.tsx
diff --git a/apps/app/hooks/use-user-auth.tsx b/web/hooks/use-user-auth.tsx
similarity index 100%
rename from apps/app/hooks/use-user-auth.tsx
rename to web/hooks/use-user-auth.tsx
diff --git a/apps/app/hooks/use-user-notifications.tsx b/web/hooks/use-user-notifications.tsx
similarity index 100%
rename from apps/app/hooks/use-user-notifications.tsx
rename to web/hooks/use-user-notifications.tsx
diff --git a/apps/app/hooks/use-user.tsx b/web/hooks/use-user.tsx
similarity index 100%
rename from apps/app/hooks/use-user.tsx
rename to web/hooks/use-user.tsx
diff --git a/apps/app/hooks/use-workspace-details.tsx b/web/hooks/use-workspace-details.tsx
similarity index 100%
rename from apps/app/hooks/use-workspace-details.tsx
rename to web/hooks/use-workspace-details.tsx
diff --git a/apps/app/hooks/use-workspace-members.tsx b/web/hooks/use-workspace-members.tsx
similarity index 100%
rename from apps/app/hooks/use-workspace-members.tsx
rename to web/hooks/use-workspace-members.tsx
diff --git a/apps/app/hooks/use-workspaces.tsx b/web/hooks/use-workspaces.tsx
similarity index 100%
rename from apps/app/hooks/use-workspaces.tsx
rename to web/hooks/use-workspaces.tsx
diff --git a/apps/app/layouts/app-layout/app-header.tsx b/web/layouts/app-layout/app-header.tsx
similarity index 100%
rename from apps/app/layouts/app-layout/app-header.tsx
rename to web/layouts/app-layout/app-header.tsx
diff --git a/apps/app/layouts/app-layout/app-sidebar.tsx b/web/layouts/app-layout/app-sidebar.tsx
similarity index 100%
rename from apps/app/layouts/app-layout/app-sidebar.tsx
rename to web/layouts/app-layout/app-sidebar.tsx
diff --git a/apps/app/layouts/auth-layout/index.ts b/web/layouts/auth-layout/index.ts
similarity index 100%
rename from apps/app/layouts/auth-layout/index.ts
rename to web/layouts/auth-layout/index.ts
diff --git a/apps/app/layouts/auth-layout/project-authorization-wrapper.tsx b/web/layouts/auth-layout/project-authorization-wrapper.tsx
similarity index 100%
rename from apps/app/layouts/auth-layout/project-authorization-wrapper.tsx
rename to web/layouts/auth-layout/project-authorization-wrapper.tsx
diff --git a/apps/app/layouts/auth-layout/user-authorization-wrapper.tsx b/web/layouts/auth-layout/user-authorization-wrapper.tsx
similarity index 100%
rename from apps/app/layouts/auth-layout/user-authorization-wrapper.tsx
rename to web/layouts/auth-layout/user-authorization-wrapper.tsx
diff --git a/apps/app/layouts/auth-layout/workspace-authorization-wrapper.tsx b/web/layouts/auth-layout/workspace-authorization-wrapper.tsx
similarity index 100%
rename from apps/app/layouts/auth-layout/workspace-authorization-wrapper.tsx
rename to web/layouts/auth-layout/workspace-authorization-wrapper.tsx
diff --git a/apps/app/layouts/default-layout/index.tsx b/web/layouts/default-layout/index.tsx
similarity index 100%
rename from apps/app/layouts/default-layout/index.tsx
rename to web/layouts/default-layout/index.tsx
diff --git a/apps/app/layouts/profile-layout.tsx b/web/layouts/profile-layout.tsx
similarity index 100%
rename from apps/app/layouts/profile-layout.tsx
rename to web/layouts/profile-layout.tsx
diff --git a/apps/app/layouts/settings-navbar.tsx b/web/layouts/settings-navbar.tsx
similarity index 100%
rename from apps/app/layouts/settings-navbar.tsx
rename to web/layouts/settings-navbar.tsx
diff --git a/apps/app/lib/auth.ts b/web/lib/auth.ts
similarity index 100%
rename from apps/app/lib/auth.ts
rename to web/lib/auth.ts
diff --git a/apps/app/lib/cookie.ts b/web/lib/cookie.ts
similarity index 100%
rename from apps/app/lib/cookie.ts
rename to web/lib/cookie.ts
diff --git a/apps/app/lib/mobx/store-init.tsx b/web/lib/mobx/store-init.tsx
similarity index 100%
rename from apps/app/lib/mobx/store-init.tsx
rename to web/lib/mobx/store-init.tsx
diff --git a/apps/space/lib/mobx/store-provider.tsx b/web/lib/mobx/store-provider.tsx
similarity index 100%
rename from apps/space/lib/mobx/store-provider.tsx
rename to web/lib/mobx/store-provider.tsx
diff --git a/apps/app/lib/redirect.ts b/web/lib/redirect.ts
similarity index 100%
rename from apps/app/lib/redirect.ts
rename to web/lib/redirect.ts
diff --git a/apps/app/manifest.json b/web/manifest.json
similarity index 100%
rename from apps/app/manifest.json
rename to web/manifest.json
diff --git a/apps/app/next-env.d.ts b/web/next-env.d.ts
similarity index 100%
rename from apps/app/next-env.d.ts
rename to web/next-env.d.ts
diff --git a/apps/app/next.config.js b/web/next.config.js
similarity index 94%
rename from apps/app/next.config.js
rename to web/next.config.js
index 646504a54..b50066f86 100644
--- a/apps/app/next.config.js
+++ b/web/next.config.js
@@ -23,7 +23,7 @@ const nextConfig = {
output: "standalone",
experimental: {
// this includes files from the monorepo base two directories up
- outputFileTracingRoot: path.join(__dirname, "../../"),
+ outputFileTracingRoot: path.join(__dirname, "../"),
},
};
diff --git a/apps/app/package.json b/web/package.json
similarity index 99%
rename from apps/app/package.json
rename to web/package.json
index b9f3bf25e..1743e4b6c 100644
--- a/apps/app/package.json
+++ b/web/package.json
@@ -1,5 +1,5 @@
{
- "name": "app",
+ "name": "web",
"version": "0.1.0",
"private": true,
"scripts": {
diff --git a/apps/app/pages/404.tsx b/web/pages/404.tsx
similarity index 100%
rename from apps/app/pages/404.tsx
rename to web/pages/404.tsx
diff --git a/apps/app/pages/[workspaceSlug]/analytics.tsx b/web/pages/[workspaceSlug]/analytics.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/analytics.tsx
rename to web/pages/[workspaceSlug]/analytics.tsx
diff --git a/apps/app/pages/[workspaceSlug]/editor.tsx b/web/pages/[workspaceSlug]/editor.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/editor.tsx
rename to web/pages/[workspaceSlug]/editor.tsx
diff --git a/apps/app/pages/[workspaceSlug]/index.tsx b/web/pages/[workspaceSlug]/index.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/index.tsx
rename to web/pages/[workspaceSlug]/index.tsx
diff --git a/apps/app/pages/[workspaceSlug]/me/my-issues.tsx b/web/pages/[workspaceSlug]/me/my-issues.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/me/my-issues.tsx
rename to web/pages/[workspaceSlug]/me/my-issues.tsx
diff --git a/apps/app/pages/[workspaceSlug]/me/profile/activity.tsx b/web/pages/[workspaceSlug]/me/profile/activity.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/me/profile/activity.tsx
rename to web/pages/[workspaceSlug]/me/profile/activity.tsx
diff --git a/apps/app/pages/[workspaceSlug]/me/profile/index.tsx b/web/pages/[workspaceSlug]/me/profile/index.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/me/profile/index.tsx
rename to web/pages/[workspaceSlug]/me/profile/index.tsx
diff --git a/apps/app/pages/[workspaceSlug]/me/profile/preferences.tsx b/web/pages/[workspaceSlug]/me/profile/preferences.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/me/profile/preferences.tsx
rename to web/pages/[workspaceSlug]/me/profile/preferences.tsx
diff --git a/apps/app/pages/[workspaceSlug]/profile/[userId]/assigned.tsx b/web/pages/[workspaceSlug]/profile/[userId]/assigned.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/profile/[userId]/assigned.tsx
rename to web/pages/[workspaceSlug]/profile/[userId]/assigned.tsx
diff --git a/apps/app/pages/[workspaceSlug]/profile/[userId]/created.tsx b/web/pages/[workspaceSlug]/profile/[userId]/created.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/profile/[userId]/created.tsx
rename to web/pages/[workspaceSlug]/profile/[userId]/created.tsx
diff --git a/apps/app/pages/[workspaceSlug]/profile/[userId]/index.tsx b/web/pages/[workspaceSlug]/profile/[userId]/index.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/profile/[userId]/index.tsx
rename to web/pages/[workspaceSlug]/profile/[userId]/index.tsx
diff --git a/apps/app/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx b/web/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx
rename to web/pages/[workspaceSlug]/profile/[userId]/subscribed.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/archived-issues/[archivedIssueId].tsx b/web/pages/[workspaceSlug]/projects/[projectId]/archived-issues/[archivedIssueId].tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/archived-issues/[archivedIssueId].tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/archived-issues/[archivedIssueId].tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/archived-issues/index.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/archived-issues/index.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/archived-issues/index.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/archived-issues/index.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/cycles/[cycleId].tsx b/web/pages/[workspaceSlug]/projects/[projectId]/cycles/[cycleId].tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/cycles/[cycleId].tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/cycles/[cycleId].tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/cycles/index.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/cycles/index.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/cycles/index.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/cycles/index.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/inbox/[inboxId].tsx b/web/pages/[workspaceSlug]/projects/[projectId]/inbox/[inboxId].tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/inbox/[inboxId].tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/inbox/[inboxId].tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/issues/[issueId].tsx b/web/pages/[workspaceSlug]/projects/[projectId]/issues/[issueId].tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/issues/[issueId].tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/issues/[issueId].tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/issues/index.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/issues/index.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/issues/index.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/issues/index.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/modules/[moduleId].tsx b/web/pages/[workspaceSlug]/projects/[projectId]/modules/[moduleId].tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/modules/[moduleId].tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/modules/[moduleId].tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/modules/index.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/modules/index.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/modules/index.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/modules/index.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx b/web/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/index.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/pages/index.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/index.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/pages/index.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/automations.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/settings/automations.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/automations.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/settings/automations.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/control.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/settings/control.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/control.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/settings/control.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/estimates.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/settings/estimates.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/estimates.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/settings/estimates.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/features.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/settings/features.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/features.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/settings/features.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/index.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/settings/index.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/index.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/settings/index.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/integrations.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/settings/integrations.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/integrations.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/settings/integrations.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/labels.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/settings/labels.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/labels.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/settings/labels.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/members.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/settings/members.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/members.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/settings/members.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/states.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/settings/states.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/states.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/settings/states.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/views/[viewId].tsx b/web/pages/[workspaceSlug]/projects/[projectId]/views/[viewId].tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/views/[viewId].tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/views/[viewId].tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/views/index.tsx b/web/pages/[workspaceSlug]/projects/[projectId]/views/index.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/[projectId]/views/index.tsx
rename to web/pages/[workspaceSlug]/projects/[projectId]/views/index.tsx
diff --git a/apps/app/pages/[workspaceSlug]/projects/index.tsx b/web/pages/[workspaceSlug]/projects/index.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/projects/index.tsx
rename to web/pages/[workspaceSlug]/projects/index.tsx
diff --git a/apps/app/pages/[workspaceSlug]/settings/billing.tsx b/web/pages/[workspaceSlug]/settings/billing.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/settings/billing.tsx
rename to web/pages/[workspaceSlug]/settings/billing.tsx
diff --git a/apps/app/pages/[workspaceSlug]/settings/exports.tsx b/web/pages/[workspaceSlug]/settings/exports.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/settings/exports.tsx
rename to web/pages/[workspaceSlug]/settings/exports.tsx
diff --git a/apps/app/pages/[workspaceSlug]/settings/imports.tsx b/web/pages/[workspaceSlug]/settings/imports.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/settings/imports.tsx
rename to web/pages/[workspaceSlug]/settings/imports.tsx
diff --git a/apps/app/pages/[workspaceSlug]/settings/index.tsx b/web/pages/[workspaceSlug]/settings/index.tsx
similarity index 97%
rename from apps/app/pages/[workspaceSlug]/settings/index.tsx
rename to web/pages/[workspaceSlug]/settings/index.tsx
index 4fb341762..407f9b402 100644
--- a/apps/app/pages/[workspaceSlug]/settings/index.tsx
+++ b/web/pages/[workspaceSlug]/settings/index.tsx
@@ -90,8 +90,9 @@ const WorkspaceSettings: NextPage = () => {
await workspaceService
.updateWorkspace(activeWorkspace.slug, payload, user)
.then((res) => {
- mutate(USER_WORKSPACES, (prevData) =>
- prevData?.map((workspace) => (workspace.id === res.id ? res : workspace))
+ mutate(
+ USER_WORKSPACES,
+ (prevData) => prevData?.map((workspace) => (workspace.id === res.id ? res : workspace))
);
mutate(WORKSPACE_DETAILS(workspaceSlug as string), (prevData) => {
if (!prevData) return prevData;
@@ -124,8 +125,9 @@ const WorkspaceSettings: NextPage = () => {
title: "Success!",
message: "Workspace picture removed successfully.",
});
- mutate(USER_WORKSPACES, (prevData) =>
- prevData?.map((workspace) => (workspace.id === res.id ? res : workspace))
+ mutate(
+ USER_WORKSPACES,
+ (prevData) => prevData?.map((workspace) => (workspace.id === res.id ? res : workspace))
);
mutate(WORKSPACE_DETAILS(workspaceSlug as string), (prevData) => {
if (!prevData) return prevData;
diff --git a/apps/app/pages/[workspaceSlug]/settings/integrations.tsx b/web/pages/[workspaceSlug]/settings/integrations.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/settings/integrations.tsx
rename to web/pages/[workspaceSlug]/settings/integrations.tsx
diff --git a/apps/app/pages/[workspaceSlug]/settings/members.tsx b/web/pages/[workspaceSlug]/settings/members.tsx
similarity index 100%
rename from apps/app/pages/[workspaceSlug]/settings/members.tsx
rename to web/pages/[workspaceSlug]/settings/members.tsx
diff --git a/apps/app/pages/_app.tsx b/web/pages/_app.tsx
similarity index 100%
rename from apps/app/pages/_app.tsx
rename to web/pages/_app.tsx
diff --git a/apps/app/pages/_document.tsx b/web/pages/_document.tsx
similarity index 100%
rename from apps/app/pages/_document.tsx
rename to web/pages/_document.tsx
diff --git a/apps/app/pages/_error.tsx b/web/pages/_error.tsx
similarity index 100%
rename from apps/app/pages/_error.tsx
rename to web/pages/_error.tsx
diff --git a/apps/app/pages/api/slack-redirect.ts b/web/pages/api/slack-redirect.ts
similarity index 94%
rename from apps/app/pages/api/slack-redirect.ts
rename to web/pages/api/slack-redirect.ts
index e4a220bd5..d9382f055 100644
--- a/apps/app/pages/api/slack-redirect.ts
+++ b/web/pages/api/slack-redirect.ts
@@ -18,6 +18,6 @@ export default async function handleSlackAuthorize(req: NextApiRequest, res: Nex
});
// if (response?.data?.ok)
- res.status(200).json(response.data);
+ res.status(200).json(response.data);
// else res.status(404).json(response.data);
}
diff --git a/apps/app/pages/api/track-event.ts b/web/pages/api/track-event.ts
similarity index 100%
rename from apps/app/pages/api/track-event.ts
rename to web/pages/api/track-event.ts
diff --git a/apps/app/pages/api/unsplash.ts b/web/pages/api/unsplash.ts
similarity index 100%
rename from apps/app/pages/api/unsplash.ts
rename to web/pages/api/unsplash.ts
diff --git a/apps/app/pages/create-workspace.tsx b/web/pages/create-workspace.tsx
similarity index 100%
rename from apps/app/pages/create-workspace.tsx
rename to web/pages/create-workspace.tsx
diff --git a/apps/app/pages/error.tsx b/web/pages/error.tsx
similarity index 100%
rename from apps/app/pages/error.tsx
rename to web/pages/error.tsx
diff --git a/apps/app/pages/index.tsx b/web/pages/index.tsx
similarity index 100%
rename from apps/app/pages/index.tsx
rename to web/pages/index.tsx
diff --git a/apps/app/pages/installations/[provider]/index.tsx b/web/pages/installations/[provider]/index.tsx
similarity index 100%
rename from apps/app/pages/installations/[provider]/index.tsx
rename to web/pages/installations/[provider]/index.tsx
diff --git a/apps/app/pages/invitations.tsx b/web/pages/invitations.tsx
similarity index 100%
rename from apps/app/pages/invitations.tsx
rename to web/pages/invitations.tsx
diff --git a/apps/app/pages/magic-sign-in.tsx b/web/pages/magic-sign-in.tsx
similarity index 100%
rename from apps/app/pages/magic-sign-in.tsx
rename to web/pages/magic-sign-in.tsx
diff --git a/apps/app/pages/onboarding.tsx b/web/pages/onboarding.tsx
similarity index 100%
rename from apps/app/pages/onboarding.tsx
rename to web/pages/onboarding.tsx
diff --git a/apps/app/pages/reset-password.tsx b/web/pages/reset-password.tsx
similarity index 100%
rename from apps/app/pages/reset-password.tsx
rename to web/pages/reset-password.tsx
diff --git a/apps/app/pages/sign-up.tsx b/web/pages/sign-up.tsx
similarity index 100%
rename from apps/app/pages/sign-up.tsx
rename to web/pages/sign-up.tsx
diff --git a/apps/app/pages/workspace-member-invitation.tsx b/web/pages/workspace-member-invitation.tsx
similarity index 100%
rename from apps/app/pages/workspace-member-invitation.tsx
rename to web/pages/workspace-member-invitation.tsx
diff --git a/apps/space/postcss.config.js b/web/postcss.config.js
similarity index 100%
rename from apps/space/postcss.config.js
rename to web/postcss.config.js
diff --git a/apps/space/public/404.svg b/web/public/404.svg
similarity index 100%
rename from apps/space/public/404.svg
rename to web/public/404.svg
diff --git a/apps/app/public/animated-icons/uploading.json b/web/public/animated-icons/uploading.json
similarity index 100%
rename from apps/app/public/animated-icons/uploading.json
rename to web/public/animated-icons/uploading.json
diff --git a/apps/app/public/attachment/audio-icon.png b/web/public/attachment/audio-icon.png
similarity index 100%
rename from apps/app/public/attachment/audio-icon.png
rename to web/public/attachment/audio-icon.png
diff --git a/apps/app/public/attachment/css-icon.png b/web/public/attachment/css-icon.png
similarity index 100%
rename from apps/app/public/attachment/css-icon.png
rename to web/public/attachment/css-icon.png
diff --git a/apps/app/public/attachment/csv-icon.png b/web/public/attachment/csv-icon.png
similarity index 100%
rename from apps/app/public/attachment/csv-icon.png
rename to web/public/attachment/csv-icon.png
diff --git a/apps/app/public/attachment/default-icon.png b/web/public/attachment/default-icon.png
similarity index 100%
rename from apps/app/public/attachment/default-icon.png
rename to web/public/attachment/default-icon.png
diff --git a/apps/app/public/attachment/doc-icon.png b/web/public/attachment/doc-icon.png
similarity index 100%
rename from apps/app/public/attachment/doc-icon.png
rename to web/public/attachment/doc-icon.png
diff --git a/apps/app/public/attachment/excel-icon.png b/web/public/attachment/excel-icon.png
similarity index 100%
rename from apps/app/public/attachment/excel-icon.png
rename to web/public/attachment/excel-icon.png
diff --git a/apps/app/public/attachment/figma-icon.png b/web/public/attachment/figma-icon.png
similarity index 100%
rename from apps/app/public/attachment/figma-icon.png
rename to web/public/attachment/figma-icon.png
diff --git a/apps/app/public/attachment/html-icon.png b/web/public/attachment/html-icon.png
similarity index 100%
rename from apps/app/public/attachment/html-icon.png
rename to web/public/attachment/html-icon.png
diff --git a/apps/app/public/attachment/img-icon.png b/web/public/attachment/img-icon.png
similarity index 100%
rename from apps/app/public/attachment/img-icon.png
rename to web/public/attachment/img-icon.png
diff --git a/apps/app/public/attachment/jpg-icon.png b/web/public/attachment/jpg-icon.png
similarity index 100%
rename from apps/app/public/attachment/jpg-icon.png
rename to web/public/attachment/jpg-icon.png
diff --git a/apps/app/public/attachment/js-icon.png b/web/public/attachment/js-icon.png
similarity index 100%
rename from apps/app/public/attachment/js-icon.png
rename to web/public/attachment/js-icon.png
diff --git a/apps/app/public/attachment/pdf-icon.png b/web/public/attachment/pdf-icon.png
similarity index 100%
rename from apps/app/public/attachment/pdf-icon.png
rename to web/public/attachment/pdf-icon.png
diff --git a/apps/app/public/attachment/png-icon.png b/web/public/attachment/png-icon.png
similarity index 100%
rename from apps/app/public/attachment/png-icon.png
rename to web/public/attachment/png-icon.png
diff --git a/apps/app/public/attachment/svg-icon.png b/web/public/attachment/svg-icon.png
similarity index 100%
rename from apps/app/public/attachment/svg-icon.png
rename to web/public/attachment/svg-icon.png
diff --git a/apps/app/public/attachment/txt-icon.png b/web/public/attachment/txt-icon.png
similarity index 100%
rename from apps/app/public/attachment/txt-icon.png
rename to web/public/attachment/txt-icon.png
diff --git a/apps/app/public/attachment/video-icon.png b/web/public/attachment/video-icon.png
similarity index 100%
rename from apps/app/public/attachment/video-icon.png
rename to web/public/attachment/video-icon.png
diff --git a/apps/app/public/auth/project-not-authorized.svg b/web/public/auth/project-not-authorized.svg
similarity index 100%
rename from apps/app/public/auth/project-not-authorized.svg
rename to web/public/auth/project-not-authorized.svg
diff --git a/apps/app/public/auth/workspace-not-authorized.svg b/web/public/auth/workspace-not-authorized.svg
similarity index 100%
rename from apps/app/public/auth/workspace-not-authorized.svg
rename to web/public/auth/workspace-not-authorized.svg
diff --git a/apps/app/public/empty-state/analytics.svg b/web/public/empty-state/analytics.svg
similarity index 100%
rename from apps/app/public/empty-state/analytics.svg
rename to web/public/empty-state/analytics.svg
diff --git a/apps/app/public/empty-state/cycle.svg b/web/public/empty-state/cycle.svg
similarity index 100%
rename from apps/app/public/empty-state/cycle.svg
rename to web/public/empty-state/cycle.svg
diff --git a/apps/app/public/empty-state/dashboard.svg b/web/public/empty-state/dashboard.svg
similarity index 100%
rename from apps/app/public/empty-state/dashboard.svg
rename to web/public/empty-state/dashboard.svg
diff --git a/apps/app/public/empty-state/empty_bar_graph.svg b/web/public/empty-state/empty_bar_graph.svg
similarity index 100%
rename from apps/app/public/empty-state/empty_bar_graph.svg
rename to web/public/empty-state/empty_bar_graph.svg
diff --git a/apps/app/public/empty-state/empty_graph.svg b/web/public/empty-state/empty_graph.svg
similarity index 100%
rename from apps/app/public/empty-state/empty_graph.svg
rename to web/public/empty-state/empty_graph.svg
diff --git a/apps/app/public/empty-state/empty_users.svg b/web/public/empty-state/empty_users.svg
similarity index 100%
rename from apps/app/public/empty-state/empty_users.svg
rename to web/public/empty-state/empty_users.svg
diff --git a/apps/app/public/empty-state/estimate.svg b/web/public/empty-state/estimate.svg
similarity index 100%
rename from apps/app/public/empty-state/estimate.svg
rename to web/public/empty-state/estimate.svg
diff --git a/apps/app/public/empty-state/integration.svg b/web/public/empty-state/integration.svg
similarity index 100%
rename from apps/app/public/empty-state/integration.svg
rename to web/public/empty-state/integration.svg
diff --git a/apps/app/public/empty-state/invitation.svg b/web/public/empty-state/invitation.svg
similarity index 100%
rename from apps/app/public/empty-state/invitation.svg
rename to web/public/empty-state/invitation.svg
diff --git a/apps/app/public/empty-state/issue-archive.svg b/web/public/empty-state/issue-archive.svg
similarity index 100%
rename from apps/app/public/empty-state/issue-archive.svg
rename to web/public/empty-state/issue-archive.svg
diff --git a/apps/app/public/empty-state/issue.svg b/web/public/empty-state/issue.svg
similarity index 100%
rename from apps/app/public/empty-state/issue.svg
rename to web/public/empty-state/issue.svg
diff --git a/apps/app/public/empty-state/label.svg b/web/public/empty-state/label.svg
similarity index 100%
rename from apps/app/public/empty-state/label.svg
rename to web/public/empty-state/label.svg
diff --git a/apps/app/public/empty-state/module.svg b/web/public/empty-state/module.svg
similarity index 100%
rename from apps/app/public/empty-state/module.svg
rename to web/public/empty-state/module.svg
diff --git a/apps/app/public/empty-state/my-issues.svg b/web/public/empty-state/my-issues.svg
similarity index 100%
rename from apps/app/public/empty-state/my-issues.svg
rename to web/public/empty-state/my-issues.svg
diff --git a/apps/app/public/empty-state/notification.svg b/web/public/empty-state/notification.svg
similarity index 100%
rename from apps/app/public/empty-state/notification.svg
rename to web/public/empty-state/notification.svg
diff --git a/apps/app/public/empty-state/page.svg b/web/public/empty-state/page.svg
similarity index 100%
rename from apps/app/public/empty-state/page.svg
rename to web/public/empty-state/page.svg
diff --git a/apps/app/public/empty-state/project.svg b/web/public/empty-state/project.svg
similarity index 100%
rename from apps/app/public/empty-state/project.svg
rename to web/public/empty-state/project.svg
diff --git a/apps/app/public/empty-state/recent_activity.svg b/web/public/empty-state/recent_activity.svg
similarity index 100%
rename from apps/app/public/empty-state/recent_activity.svg
rename to web/public/empty-state/recent_activity.svg
diff --git a/apps/app/public/empty-state/state_graph.svg b/web/public/empty-state/state_graph.svg
similarity index 100%
rename from apps/app/public/empty-state/state_graph.svg
rename to web/public/empty-state/state_graph.svg
diff --git a/apps/app/public/empty-state/view.svg b/web/public/empty-state/view.svg
similarity index 100%
rename from apps/app/public/empty-state/view.svg
rename to web/public/empty-state/view.svg
diff --git a/apps/space/public/favicon/android-chrome-192x192.png b/web/public/favicon/android-chrome-192x192.png
similarity index 100%
rename from apps/space/public/favicon/android-chrome-192x192.png
rename to web/public/favicon/android-chrome-192x192.png
diff --git a/apps/space/public/favicon/android-chrome-512x512.png b/web/public/favicon/android-chrome-512x512.png
similarity index 100%
rename from apps/space/public/favicon/android-chrome-512x512.png
rename to web/public/favicon/android-chrome-512x512.png
diff --git a/apps/space/public/favicon/apple-touch-icon.png b/web/public/favicon/apple-touch-icon.png
similarity index 100%
rename from apps/space/public/favicon/apple-touch-icon.png
rename to web/public/favicon/apple-touch-icon.png
diff --git a/apps/space/public/favicon/favicon-16x16.png b/web/public/favicon/favicon-16x16.png
similarity index 100%
rename from apps/space/public/favicon/favicon-16x16.png
rename to web/public/favicon/favicon-16x16.png
diff --git a/apps/space/public/favicon/favicon-32x32.png b/web/public/favicon/favicon-32x32.png
similarity index 100%
rename from apps/space/public/favicon/favicon-32x32.png
rename to web/public/favicon/favicon-32x32.png
diff --git a/apps/space/public/favicon/favicon.ico b/web/public/favicon/favicon.ico
similarity index 100%
rename from apps/space/public/favicon/favicon.ico
rename to web/public/favicon/favicon.ico
diff --git a/apps/space/public/favicon/site.webmanifest b/web/public/favicon/site.webmanifest
similarity index 100%
rename from apps/space/public/favicon/site.webmanifest
rename to web/public/favicon/site.webmanifest
diff --git a/apps/app/public/logos/github-black.png b/web/public/logos/github-black.png
similarity index 100%
rename from apps/app/public/logos/github-black.png
rename to web/public/logos/github-black.png
diff --git a/apps/app/public/logos/github-square.png b/web/public/logos/github-square.png
similarity index 100%
rename from apps/app/public/logos/github-square.png
rename to web/public/logos/github-square.png
diff --git a/apps/app/public/logos/github-white.png b/web/public/logos/github-white.png
similarity index 100%
rename from apps/app/public/logos/github-white.png
rename to web/public/logos/github-white.png
diff --git a/apps/app/public/mac-command.svg b/web/public/mac-command.svg
similarity index 100%
rename from apps/app/public/mac-command.svg
rename to web/public/mac-command.svg
diff --git a/apps/app/public/onboarding/cycles.svg b/web/public/onboarding/cycles.svg
similarity index 100%
rename from apps/app/public/onboarding/cycles.svg
rename to web/public/onboarding/cycles.svg
diff --git a/apps/app/public/onboarding/cycles.webp b/web/public/onboarding/cycles.webp
similarity index 100%
rename from apps/app/public/onboarding/cycles.webp
rename to web/public/onboarding/cycles.webp
diff --git a/apps/app/public/onboarding/issues.svg b/web/public/onboarding/issues.svg
similarity index 100%
rename from apps/app/public/onboarding/issues.svg
rename to web/public/onboarding/issues.svg
diff --git a/apps/app/public/onboarding/issues.webp b/web/public/onboarding/issues.webp
similarity index 100%
rename from apps/app/public/onboarding/issues.webp
rename to web/public/onboarding/issues.webp
diff --git a/apps/app/public/onboarding/modules.svg b/web/public/onboarding/modules.svg
similarity index 100%
rename from apps/app/public/onboarding/modules.svg
rename to web/public/onboarding/modules.svg
diff --git a/apps/app/public/onboarding/modules.webp b/web/public/onboarding/modules.webp
similarity index 100%
rename from apps/app/public/onboarding/modules.webp
rename to web/public/onboarding/modules.webp
diff --git a/apps/app/public/onboarding/pages.svg b/web/public/onboarding/pages.svg
similarity index 100%
rename from apps/app/public/onboarding/pages.svg
rename to web/public/onboarding/pages.svg
diff --git a/apps/app/public/onboarding/pages.webp b/web/public/onboarding/pages.webp
similarity index 100%
rename from apps/app/public/onboarding/pages.webp
rename to web/public/onboarding/pages.webp
diff --git a/apps/app/public/onboarding/views.svg b/web/public/onboarding/views.svg
similarity index 100%
rename from apps/app/public/onboarding/views.svg
rename to web/public/onboarding/views.svg
diff --git a/apps/app/public/onboarding/views.webp b/web/public/onboarding/views.webp
similarity index 100%
rename from apps/app/public/onboarding/views.webp
rename to web/public/onboarding/views.webp
diff --git a/apps/space/public/plane-logos/black-horizontal-with-blue-logo.svg b/web/public/plane-logos/black-horizontal-with-blue-logo.svg
similarity index 100%
rename from apps/space/public/plane-logos/black-horizontal-with-blue-logo.svg
rename to web/public/plane-logos/black-horizontal-with-blue-logo.svg
diff --git a/apps/app/public/plane-logos/blue-without-text.png b/web/public/plane-logos/blue-without-text.png
similarity index 100%
rename from apps/app/public/plane-logos/blue-without-text.png
rename to web/public/plane-logos/blue-without-text.png
diff --git a/apps/space/public/plane-logos/white-horizontal-with-blue-logo.svg b/web/public/plane-logos/white-horizontal-with-blue-logo.svg
similarity index 100%
rename from apps/space/public/plane-logos/white-horizontal-with-blue-logo.svg
rename to web/public/plane-logos/white-horizontal-with-blue-logo.svg
diff --git a/apps/space/public/plane-logos/white-horizontal.svg b/web/public/plane-logos/white-horizontal.svg
similarity index 100%
rename from apps/space/public/plane-logos/white-horizontal.svg
rename to web/public/plane-logos/white-horizontal.svg
diff --git a/apps/app/public/services/csv.svg b/web/public/services/csv.svg
similarity index 100%
rename from apps/app/public/services/csv.svg
rename to web/public/services/csv.svg
diff --git a/apps/app/public/services/excel.svg b/web/public/services/excel.svg
similarity index 100%
rename from apps/app/public/services/excel.svg
rename to web/public/services/excel.svg
diff --git a/apps/app/public/services/github.png b/web/public/services/github.png
similarity index 100%
rename from apps/app/public/services/github.png
rename to web/public/services/github.png
diff --git a/apps/app/public/services/jira.png b/web/public/services/jira.png
similarity index 100%
rename from apps/app/public/services/jira.png
rename to web/public/services/jira.png
diff --git a/apps/app/public/services/json.svg b/web/public/services/json.svg
similarity index 100%
rename from apps/app/public/services/json.svg
rename to web/public/services/json.svg
diff --git a/apps/app/public/services/slack.png b/web/public/services/slack.png
similarity index 100%
rename from apps/app/public/services/slack.png
rename to web/public/services/slack.png
diff --git a/apps/app/public/site.webmanifest.json b/web/public/site.webmanifest.json
similarity index 100%
rename from apps/app/public/site.webmanifest.json
rename to web/public/site.webmanifest.json
diff --git a/apps/app/public/sw.js b/web/public/sw.js
similarity index 100%
rename from apps/app/public/sw.js
rename to web/public/sw.js
diff --git a/apps/app/public/sw.js.map b/web/public/sw.js.map
similarity index 100%
rename from apps/app/public/sw.js.map
rename to web/public/sw.js.map
diff --git a/apps/app/public/user.png b/web/public/user.png
similarity index 100%
rename from apps/app/public/user.png
rename to web/public/user.png
diff --git a/apps/app/public/workbox-7805bd61.js b/web/public/workbox-7805bd61.js
similarity index 100%
rename from apps/app/public/workbox-7805bd61.js
rename to web/public/workbox-7805bd61.js
diff --git a/apps/app/public/workbox-7805bd61.js.map b/web/public/workbox-7805bd61.js.map
similarity index 100%
rename from apps/app/public/workbox-7805bd61.js.map
rename to web/public/workbox-7805bd61.js.map
diff --git a/apps/app/sentry.client.config.js b/web/sentry.client.config.js
similarity index 100%
rename from apps/app/sentry.client.config.js
rename to web/sentry.client.config.js
diff --git a/apps/app/sentry.edge.config.js b/web/sentry.edge.config.js
similarity index 100%
rename from apps/app/sentry.edge.config.js
rename to web/sentry.edge.config.js
diff --git a/apps/app/sentry.properties b/web/sentry.properties
similarity index 100%
rename from apps/app/sentry.properties
rename to web/sentry.properties
diff --git a/apps/app/sentry.server.config.js b/web/sentry.server.config.js
similarity index 100%
rename from apps/app/sentry.server.config.js
rename to web/sentry.server.config.js
diff --git a/apps/app/services/ai.service.ts b/web/services/ai.service.ts
similarity index 100%
rename from apps/app/services/ai.service.ts
rename to web/services/ai.service.ts
diff --git a/apps/app/services/analytics.service.ts b/web/services/analytics.service.ts
similarity index 100%
rename from apps/app/services/analytics.service.ts
rename to web/services/analytics.service.ts
diff --git a/apps/app/services/api.service.ts b/web/services/api.service.ts
similarity index 100%
rename from apps/app/services/api.service.ts
rename to web/services/api.service.ts
diff --git a/apps/app/services/app-installations.service.ts b/web/services/app-installations.service.ts
similarity index 77%
rename from apps/app/services/app-installations.service.ts
rename to web/services/app-installations.service.ts
index 8ee04dcfe..dea6fa421 100644
--- a/apps/app/services/app-installations.service.ts
+++ b/web/services/app-installations.service.ts
@@ -17,7 +17,12 @@ class AppInstallationsService extends APIService {
});
}
- async addSlackChannel(workspaceSlug: string, projectId: string, integrationId: string | null | undefined, data: any): Promise {
+ async addSlackChannel(
+ workspaceSlug: string,
+ projectId: string,
+ integrationId: string | null | undefined,
+ data: any
+ ): Promise {
return this.post(
`/api/workspaces/${workspaceSlug}/projects/${projectId}/workspace-integrations/${integrationId}/project-slack-sync/`,
data
@@ -28,7 +33,11 @@ class AppInstallationsService extends APIService {
});
}
- async getSlackChannelDetail(workspaceSlug: string, projectId: string, integrationId: string | null | undefined): Promise {
+ async getSlackChannelDetail(
+ workspaceSlug: string,
+ projectId: string,
+ integrationId: string | null | undefined
+ ): Promise {
return this.get(
`/api/workspaces/${workspaceSlug}/projects/${projectId}/workspace-integrations/${integrationId}/project-slack-sync/`
)
@@ -38,7 +47,12 @@ class AppInstallationsService extends APIService {
});
}
- async removeSlackChannel(workspaceSlug: string, projectId: string, integrationId: string | null | undefined, slackSyncId: string | undefined): Promise {
+ async removeSlackChannel(
+ workspaceSlug: string,
+ projectId: string,
+ integrationId: string | null | undefined,
+ slackSyncId: string | undefined
+ ): Promise {
return this.delete(
`/api/workspaces/${workspaceSlug}/projects/${projectId}/workspace-integrations/${integrationId}/project-slack-sync/${slackSyncId}`
)
diff --git a/apps/app/services/authentication.service.ts b/web/services/authentication.service.ts
similarity index 100%
rename from apps/app/services/authentication.service.ts
rename to web/services/authentication.service.ts
diff --git a/apps/app/services/cycles.service.ts b/web/services/cycles.service.ts
similarity index 100%
rename from apps/app/services/cycles.service.ts
rename to web/services/cycles.service.ts
diff --git a/apps/app/services/estimates.service.ts b/web/services/estimates.service.ts
similarity index 100%
rename from apps/app/services/estimates.service.ts
rename to web/services/estimates.service.ts
diff --git a/apps/app/services/file.service.ts b/web/services/file.service.ts
similarity index 100%
rename from apps/app/services/file.service.ts
rename to web/services/file.service.ts
diff --git a/apps/app/services/inbox.service.ts b/web/services/inbox.service.ts
similarity index 100%
rename from apps/app/services/inbox.service.ts
rename to web/services/inbox.service.ts
diff --git a/apps/app/services/integration/csv.services.ts b/web/services/integration/csv.services.ts
similarity index 100%
rename from apps/app/services/integration/csv.services.ts
rename to web/services/integration/csv.services.ts
diff --git a/apps/app/services/integration/github.service.ts b/web/services/integration/github.service.ts
similarity index 100%
rename from apps/app/services/integration/github.service.ts
rename to web/services/integration/github.service.ts
diff --git a/apps/app/services/integration/index.ts b/web/services/integration/index.ts
similarity index 100%
rename from apps/app/services/integration/index.ts
rename to web/services/integration/index.ts
diff --git a/apps/app/services/integration/jira.service.ts b/web/services/integration/jira.service.ts
similarity index 100%
rename from apps/app/services/integration/jira.service.ts
rename to web/services/integration/jira.service.ts
diff --git a/apps/app/services/issues.service.ts b/web/services/issues.service.ts
similarity index 100%
rename from apps/app/services/issues.service.ts
rename to web/services/issues.service.ts
diff --git a/apps/app/services/modules.service.ts b/web/services/modules.service.ts
similarity index 98%
rename from apps/app/services/modules.service.ts
rename to web/services/modules.service.ts
index c70066a1e..0e3b5cfe2 100644
--- a/apps/app/services/modules.service.ts
+++ b/web/services/modules.service.ts
@@ -221,17 +221,16 @@ class ProjectIssuesServices extends APIService {
metadata: any;
title: string;
url: string;
- },
-
+ }
): Promise {
return this.patch(
`/api/workspaces/${workspaceSlug}/projects/${projectId}/modules/${moduleId}/module-links/${linkId}/`,
data
)
- .then((response) => response?.data)
- .catch((error) => {
- throw error?.response;
- });
+ .then((response) => response?.data)
+ .catch((error) => {
+ throw error?.response;
+ });
}
async deleteModuleLink(
diff --git a/apps/app/services/notifications.service.ts b/web/services/notifications.service.ts
similarity index 100%
rename from apps/app/services/notifications.service.ts
rename to web/services/notifications.service.ts
diff --git a/apps/app/services/pages.service.ts b/web/services/pages.service.ts
similarity index 100%
rename from apps/app/services/pages.service.ts
rename to web/services/pages.service.ts
diff --git a/apps/app/services/project-publish.service.ts b/web/services/project-publish.service.ts
similarity index 100%
rename from apps/app/services/project-publish.service.ts
rename to web/services/project-publish.service.ts
diff --git a/apps/app/services/project.service.ts b/web/services/project.service.ts
similarity index 100%
rename from apps/app/services/project.service.ts
rename to web/services/project.service.ts
diff --git a/apps/app/services/reaction.service.ts b/web/services/reaction.service.ts
similarity index 100%
rename from apps/app/services/reaction.service.ts
rename to web/services/reaction.service.ts
diff --git a/apps/app/services/state.service.ts b/web/services/state.service.ts
similarity index 100%
rename from apps/app/services/state.service.ts
rename to web/services/state.service.ts
diff --git a/apps/app/services/track-event.service.ts b/web/services/track-event.service.ts
similarity index 100%
rename from apps/app/services/track-event.service.ts
rename to web/services/track-event.service.ts
diff --git a/apps/app/services/user.service.ts b/web/services/user.service.ts
similarity index 100%
rename from apps/app/services/user.service.ts
rename to web/services/user.service.ts
diff --git a/apps/app/services/views.service.ts b/web/services/views.service.ts
similarity index 100%
rename from apps/app/services/views.service.ts
rename to web/services/views.service.ts
diff --git a/apps/app/services/web-waitlist.service.ts b/web/services/web-waitlist.service.ts
similarity index 100%
rename from apps/app/services/web-waitlist.service.ts
rename to web/services/web-waitlist.service.ts
diff --git a/apps/app/services/workspace.service.ts b/web/services/workspace.service.ts
similarity index 100%
rename from apps/app/services/workspace.service.ts
rename to web/services/workspace.service.ts
diff --git a/apps/app/store/issues.ts b/web/store/issues.ts
similarity index 100%
rename from apps/app/store/issues.ts
rename to web/store/issues.ts
diff --git a/apps/app/store/project-publish.tsx b/web/store/project-publish.tsx
similarity index 100%
rename from apps/app/store/project-publish.tsx
rename to web/store/project-publish.tsx
diff --git a/apps/app/store/root.ts b/web/store/root.ts
similarity index 100%
rename from apps/app/store/root.ts
rename to web/store/root.ts
diff --git a/apps/app/store/theme.ts b/web/store/theme.ts
similarity index 100%
rename from apps/app/store/theme.ts
rename to web/store/theme.ts
diff --git a/apps/app/store/user.ts b/web/store/user.ts
similarity index 100%
rename from apps/app/store/user.ts
rename to web/store/user.ts
diff --git a/apps/app/styles/command-pallette.css b/web/styles/command-pallette.css
similarity index 100%
rename from apps/app/styles/command-pallette.css
rename to web/styles/command-pallette.css
diff --git a/apps/space/styles/editor.css b/web/styles/editor.css
similarity index 100%
rename from apps/space/styles/editor.css
rename to web/styles/editor.css
diff --git a/apps/app/styles/globals.css b/web/styles/globals.css
similarity index 100%
rename from apps/app/styles/globals.css
rename to web/styles/globals.css
diff --git a/apps/app/styles/nprogress.css b/web/styles/nprogress.css
similarity index 100%
rename from apps/app/styles/nprogress.css
rename to web/styles/nprogress.css
diff --git a/apps/app/styles/react-datepicker.css b/web/styles/react-datepicker.css
similarity index 100%
rename from apps/app/styles/react-datepicker.css
rename to web/styles/react-datepicker.css
diff --git a/apps/app/tailwind.config.js b/web/tailwind.config.js
similarity index 100%
rename from apps/app/tailwind.config.js
rename to web/tailwind.config.js
diff --git a/web/tsconfig.json b/web/tsconfig.json
new file mode 100644
index 000000000..63c95575d
--- /dev/null
+++ b/web/tsconfig.json
@@ -0,0 +1,9 @@
+{
+ "extends": "tsconfig/nextjs.json",
+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
+ "exclude": ["node_modules"],
+ "compilerOptions": {
+ "baseUrl": ".",
+ "jsx": "preserve"
+ }
+}
diff --git a/apps/app/types/ai.d.ts b/web/types/ai.d.ts
similarity index 100%
rename from apps/app/types/ai.d.ts
rename to web/types/ai.d.ts
diff --git a/apps/app/types/analytics.d.ts b/web/types/analytics.d.ts
similarity index 100%
rename from apps/app/types/analytics.d.ts
rename to web/types/analytics.d.ts
diff --git a/apps/app/types/calendar.ts b/web/types/calendar.ts
similarity index 100%
rename from apps/app/types/calendar.ts
rename to web/types/calendar.ts
diff --git a/apps/app/types/cycles.d.ts b/web/types/cycles.d.ts
similarity index 100%
rename from apps/app/types/cycles.d.ts
rename to web/types/cycles.d.ts
diff --git a/apps/app/types/estimate.d.ts b/web/types/estimate.d.ts
similarity index 100%
rename from apps/app/types/estimate.d.ts
rename to web/types/estimate.d.ts
diff --git a/apps/app/types/importer/github-importer.d.ts b/web/types/importer/github-importer.d.ts
similarity index 100%
rename from apps/app/types/importer/github-importer.d.ts
rename to web/types/importer/github-importer.d.ts
diff --git a/apps/app/types/importer/index.ts b/web/types/importer/index.ts
similarity index 100%
rename from apps/app/types/importer/index.ts
rename to web/types/importer/index.ts
diff --git a/apps/app/types/importer/jira-importer.d.ts b/web/types/importer/jira-importer.d.ts
similarity index 100%
rename from apps/app/types/importer/jira-importer.d.ts
rename to web/types/importer/jira-importer.d.ts
diff --git a/apps/app/types/inbox.d.ts b/web/types/inbox.d.ts
similarity index 100%
rename from apps/app/types/inbox.d.ts
rename to web/types/inbox.d.ts
diff --git a/apps/app/types/index.d.ts b/web/types/index.d.ts
similarity index 99%
rename from apps/app/types/index.d.ts
rename to web/types/index.d.ts
index 8c9592917..dbd314826 100644
--- a/apps/app/types/index.d.ts
+++ b/web/types/index.d.ts
@@ -19,7 +19,6 @@ export * from "./notifications";
export * from "./waitlist";
export * from "./reaction";
-
export type NestedKeyOf = {
[Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object
? ObjectType[Key] extends { pop: any; push: any }
diff --git a/apps/app/types/integration.d.ts b/web/types/integration.d.ts
similarity index 100%
rename from apps/app/types/integration.d.ts
rename to web/types/integration.d.ts
diff --git a/apps/app/types/issues.d.ts b/web/types/issues.d.ts
similarity index 100%
rename from apps/app/types/issues.d.ts
rename to web/types/issues.d.ts
diff --git a/apps/app/types/modules.d.ts b/web/types/modules.d.ts
similarity index 100%
rename from apps/app/types/modules.d.ts
rename to web/types/modules.d.ts
diff --git a/apps/app/types/notifications.d.ts b/web/types/notifications.d.ts
similarity index 100%
rename from apps/app/types/notifications.d.ts
rename to web/types/notifications.d.ts
diff --git a/apps/app/types/pages.d.ts b/web/types/pages.d.ts
similarity index 100%
rename from apps/app/types/pages.d.ts
rename to web/types/pages.d.ts
diff --git a/apps/app/types/projects.d.ts b/web/types/projects.d.ts
similarity index 99%
rename from apps/app/types/projects.d.ts
rename to web/types/projects.d.ts
index 78ef4d953..590fe5023 100644
--- a/apps/app/types/projects.d.ts
+++ b/web/types/projects.d.ts
@@ -8,7 +8,7 @@ import type {
TIssueOrderByOptions,
TIssueViewOptions,
TStateGroups,
-} from "./";
+} from ".";
export interface IProject {
archive_in: number;
diff --git a/apps/app/types/reaction.d.ts b/web/types/reaction.d.ts
similarity index 100%
rename from apps/app/types/reaction.d.ts
rename to web/types/reaction.d.ts
diff --git a/apps/app/types/state.d.ts b/web/types/state.d.ts
similarity index 100%
rename from apps/app/types/state.d.ts
rename to web/types/state.d.ts
diff --git a/apps/app/types/users.d.ts b/web/types/users.d.ts
similarity index 99%
rename from apps/app/types/users.d.ts
rename to web/types/users.d.ts
index 55c95e5f3..8440922d1 100644
--- a/apps/app/types/users.d.ts
+++ b/web/types/users.d.ts
@@ -7,7 +7,7 @@ import {
NestedKeyOf,
Properties,
TStateGroups,
-} from "./";
+} from ".";
export interface IUser {
avatar: string;
diff --git a/apps/app/types/views.d.ts b/web/types/views.d.ts
similarity index 100%
rename from apps/app/types/views.d.ts
rename to web/types/views.d.ts
diff --git a/apps/app/types/waitlist.d.ts b/web/types/waitlist.d.ts
similarity index 100%
rename from apps/app/types/waitlist.d.ts
rename to web/types/waitlist.d.ts
diff --git a/apps/app/types/workspace.d.ts b/web/types/workspace.d.ts
similarity index 100%
rename from apps/app/types/workspace.d.ts
rename to web/types/workspace.d.ts
diff --git a/yarn.lock b/yarn.lock
index 60cba9408..1aa8e5bde 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1367,14 +1367,7 @@
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.14.7.tgz#95bed2487bf59632125a13b8eb8f4c21e460afec"
integrity sha512-sCWTUNElBPgB30iLvWe3PU7SIlTKZNf6/E/sko85iHVeHCM6WPkDw+y89CrZYjhFNmPqt2fIQM/pZu+rP2lFLA==
-"@mui/icons-material@^5.14.1":
- version "5.14.7"
- resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.14.7.tgz#d7f6bd188fe38adf35c89d9343b8a529c2306383"
- integrity sha512-mWp4DwMa8c1Gx9yOEtPgxM4b+e6hAbtZyzfSubdBwrnEE6G5D2rbAJ5MB+If6kfI48JaYaJ5j8+zAdmZLuZc0A==
- dependencies:
- "@babel/runtime" "^7.22.10"
-
-"@mui/icons-material@^5.14.7":
+"@mui/icons-material@^5.14.1", "@mui/icons-material@^5.14.7":
version "5.14.7"
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.14.7.tgz#d7f6bd188fe38adf35c89d9343b8a529c2306383"
integrity sha512-mWp4DwMa8c1Gx9yOEtPgxM4b+e6hAbtZyzfSubdBwrnEE6G5D2rbAJ5MB+If6kfI48JaYaJ5j8+zAdmZLuZc0A==
@@ -2542,9 +2535,9 @@
integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==
"@types/node@*":
- version "20.5.7"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.7.tgz#4b8ecac87fbefbc92f431d09c30e176fc0a7c377"
- integrity sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==
+ version "20.5.8"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.8.tgz#fb171fd22d37ca6e2ea97fde88e6a13ee14bc327"
+ integrity sha512-eajsR9aeljqNhK028VG0Wuw+OaY5LLxYmxeoXynIoE6jannr9/Ucd1LL0hSSoafk5LTYG+FfqsyGt81Q6Zkybw==
"@types/node@18.0.6":
version "18.0.6"
@@ -4478,6 +4471,14 @@ file-entry-cache@^6.0.1:
dependencies:
flat-cache "^3.0.4"
+file-loader@^6.2.0:
+ version "6.2.0"
+ resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-6.2.0.tgz#baef7cf8e1840df325e4390b4484879480eebe4d"
+ integrity sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==
+ dependencies:
+ loader-utils "^2.0.0"
+ schema-utils "^3.0.0"
+
file-selector@^0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/file-selector/-/file-selector-0.6.0.tgz#fa0a8d9007b829504db4d07dd4de0310b65287dc"
@@ -4570,9 +4571,9 @@ format@^0.2.0:
integrity sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==
fraction.js@^4.2.0:
- version "4.3.4"
- resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.3.4.tgz#b2bac8249a610c3396106da97c5a71da75b94b1c"
- integrity sha512-pwiTgt0Q7t+GHZA4yaLjObx4vXmmdcS0iSJ19o8d/goUGgItX9UZWKWNnLHehxviD8wU2IWRsnR8cD5+yOJP2Q==
+ version "4.3.6"
+ resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.3.6.tgz#e9e3acec6c9a28cf7bc36cbe35eea4ceb2c5c92d"
+ integrity sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==
framework-utils@^1.1.0:
version "1.1.0"
@@ -5926,7 +5927,7 @@ mime-db@1.52.0:
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==
-mime-types@^2.1.12:
+mime-types@^2.1.12, mime-types@^2.1.27:
version "2.1.35"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"
integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==
@@ -6025,6 +6026,14 @@ natural-compare@^1.4.0:
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
+next-images@^1.8.5:
+ version "1.8.5"
+ resolved "https://registry.yarnpkg.com/next-images/-/next-images-1.8.5.tgz#2eb5535bb1d6c58a5c4e03bc3be6c72c8a053a45"
+ integrity sha512-YLBERp92v+Nu2EVxI9+wa32KRuxyxTC8ItbiHUWVPlatUoTl0yRqsNtP39c2vYv27VRvY4LlYcUGjNRBSMUIZA==
+ dependencies:
+ file-loader "^6.2.0"
+ url-loader "^4.1.0"
+
next-pwa@^5.6.0:
version "5.6.0"
resolved "https://registry.yarnpkg.com/next-pwa/-/next-pwa-5.6.0.tgz#f7b1960c4fdd7be4253eb9b41b612ac773392bf4"
@@ -6534,9 +6543,9 @@ prop-types@^15.0.0, prop-types@^15.5.10, prop-types@^15.6.1, prop-types@^15.6.2,
react-is "^16.13.1"
property-information@^6.0.0:
- version "6.2.0"
- resolved "https://registry.yarnpkg.com/property-information/-/property-information-6.2.0.tgz#b74f522c31c097b5149e3c3cb8d7f3defd986a1d"
- integrity sha512-kma4U7AFCTwpqq5twzC1YVIDXSqg6qQK6JN0smOw8fgRy1OkMi0CYSzFmsy6dnqSenamAtj0CyXMUJ1Mf6oROg==
+ version "6.3.0"
+ resolved "https://registry.yarnpkg.com/property-information/-/property-information-6.3.0.tgz#ba4a06ec6b4e1e90577df9931286953cdf4282c3"
+ integrity sha512-gVNZ74nqhRMiIUYWGQdosYetaKc83x8oT41a0LlV3AAFCAZwCpg4vmGkq8t34+cUhp3cnM4XDiU/7xlgK7HGrg==
prosemirror-changeset@^2.2.0:
version "2.2.1"
@@ -7225,7 +7234,7 @@ schema-utils@^2.6.5:
ajv "^6.12.4"
ajv-keywords "^3.5.2"
-schema-utils@^3.1.1:
+schema-utils@^3.0.0, schema-utils@^3.1.1:
version "3.3.0"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe"
integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==
@@ -8116,6 +8125,15 @@ uri-js@^4.2.2:
dependencies:
punycode "^2.1.0"
+url-loader@^4.1.0:
+ version "4.1.1"
+ resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-4.1.1.tgz#28505e905cae158cf07c92ca622d7f237e70a4e2"
+ integrity sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA==
+ dependencies:
+ loader-utils "^2.0.0"
+ mime-types "^2.1.27"
+ schema-utils "^3.0.0"
+
use-callback-ref@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5"