Skip to content

Commit

Permalink
Merge pull request #1932 from makeplane/stage-release
Browse files Browse the repository at this point in the history
promote: stage release to master
  • Loading branch information
pablohashescobar authored Aug 21, 2023
2 parents 85a08e4 + eb50ade commit 59bdf22
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 17 deletions.
4 changes: 3 additions & 1 deletion apps/space/app/[workspace_slug]/[project_slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ const WorkspaceProjectPage = observer(() => {

const { workspace_slug, project_slug } = routerParams as { workspace_slug: string; project_slug: string };
const board =
routerSearchparams && routerSearchparams.get("board") != null && (routerSearchparams.get("board") as TIssueBoardKeys | "");
routerSearchparams &&
routerSearchparams.get("board") != null &&
(routerSearchparams.get("board") as TIssueBoardKeys | "");

// updating default board view when we are in the issues page
useEffect(() => {
Expand Down
4 changes: 2 additions & 2 deletions apps/space/next.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @type {import('next').NextConfig} */
const path = require('path')
const path = require("path");

const nextConfig = {
reactStrictMode: false,
Expand All @@ -8,7 +8,7 @@ const nextConfig = {
outputFileTracingRoot: path.join(__dirname, "../../"),
appDir: true,
},
output: 'standalone'
output: "standalone",
};

module.exports = nextConfig;
6 changes: 2 additions & 4 deletions apps/space/services/api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ import axios from "axios";
// js cookie
import Cookies from "js-cookie";

const base_url: string | null = "http://localhost:8000";

abstract class APIService {
protected baseURL: string;
protected headers: any = {};

constructor(baseURL: string) {
this.baseURL = base_url ? base_url : baseURL;
constructor(_baseURL: string) {
this.baseURL = _baseURL;
}

setRefreshToken(token: string) {
Expand Down
4 changes: 1 addition & 3 deletions apps/space/services/issue.service.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
// services
import APIService from "services/api.service";

const { NEXT_PUBLIC_API_BASE_URL } = process.env;

class IssueService extends APIService {
constructor() {
super(NEXT_PUBLIC_API_BASE_URL || "http://localhost:8000");
super(process.env.NEXT_PUBLIC_API_BASE_URL || "http://localhost:8000");
}

async getPublicIssues(workspace_slug: string, project_slug: string): Promise<any> {
Expand Down
4 changes: 1 addition & 3 deletions apps/space/services/project.service.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
// services
import APIService from "services/api.service";

const { NEXT_PUBLIC_API_BASE_URL } = process.env;

class ProjectService extends APIService {
constructor() {
super(NEXT_PUBLIC_API_BASE_URL || "http://localhost:8000");
super(process.env.NEXT_PUBLIC_API_BASE_URL || "http://localhost:8000");
}

async getProjectSettingsAsync(workspace_slug: string, project_slug: string): Promise<any> {
Expand Down
4 changes: 1 addition & 3 deletions apps/space/services/user.service.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
// services
import APIService from "services/api.service";

const { NEXT_PUBLIC_API_BASE_URL } = process.env;

class UserService extends APIService {
constructor() {
super(NEXT_PUBLIC_API_BASE_URL || "http://localhost:8000");
super(process.env.NEXT_PUBLIC_API_BASE_URL || "http://localhost:8000");
}

async currentUser(): Promise<any> {
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6558,13 +6558,20 @@ prosemirror-menu@^1.2.1:
prosemirror-history "^1.0.0"
prosemirror-state "^1.0.0"

prosemirror-model@1.18.1, prosemirror-model@^1.0.0, prosemirror-model@^1.16.0, prosemirror-model@^1.18.1, prosemirror-model@^1.19.0, prosemirror-model@^1.8.1:
prosemirror-model@^1.0.0, prosemirror-model@^1.16.0, prosemirror-model@^1.18.1, prosemirror-model@^1.8.1:
version "1.18.1"
resolved "https://registry.yarnpkg.com/prosemirror-model/-/prosemirror-model-1.18.1.tgz#1d5d6b6de7b983ee67a479dc607165fdef3935bd"
integrity sha512-IxSVBKAEMjD7s3n8cgtwMlxAXZrC7Mlag7zYsAKDndAqnDScvSmp/UdnRTV/B33lTCVU3CCm7dyAn/rVVD0mcw==
dependencies:
orderedmap "^2.0.0"

prosemirror-model@^1.19.0:
version "1.19.3"
resolved "https://registry.yarnpkg.com/prosemirror-model/-/prosemirror-model-1.19.3.tgz#f0d55285487fefd962d0ac695f716f4ec6705006"
integrity sha512-tgSnwN7BS7/UM0sSARcW+IQryx2vODKX4MI7xpqY2X+iaepJdKBPc7I4aACIsDV/LTaTjt12Z56MhDr9LsyuZQ==
dependencies:
orderedmap "^2.0.0"

prosemirror-schema-basic@^1.2.0:
version "1.2.2"
resolved "https://registry.yarnpkg.com/prosemirror-schema-basic/-/prosemirror-schema-basic-1.2.2.tgz#6695f5175e4628aab179bf62e5568628b9cfe6c7"
Expand Down

3 comments on commit 59bdf22

@vercel
Copy link

@vercel vercel bot commented on 59bdf22 Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

plane-sh-dev – ./apps/space

plane-space-dev.vercel.app
plane-sh-dev-git-master-plane.vercel.app
plane-sh-dev-plane.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 59bdf22 Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

plane – ./apps/app

plane-plane.vercel.app
plane-git-master-plane.vercel.app
plane-theta.vercel.app
app.plane.so

@vercel
Copy link

@vercel vercel bot commented on 59bdf22 Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

plane-sh – ./apps/space

plane-sh-git-master-plane.vercel.app
plane.sh
plane-deploy.vercel.app
plane-sh-plane.vercel.app

Please sign in to comment.