-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[WEB-4338] fix: incorrect error code in project retrieve API #7234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
401c1a7
fix: project error message and status code
sangeethailango b43b6ae
fix: merge preview
sangeethailango 77be274
fix: incorrect member role check
sangeethailango c0ce2ac
fix: project error message and status code
sangeethailango cda9eaa
fix: improve project permission checks and error handling in ProjectV…
dheeru0198 c6c158d
feat: enhance project settings layout with better loading strategy an…
prateekshourya29 19e3bd0
Merge branch 'preview' of github.com:makeplane/plane into fix-project…
prateekshourya29 1bfbfb9
fix: prevent rendering during project loading in ProjectAuthWrapper
prateekshourya29 2b94f3a
Merge branch 'preview' of github.com:makeplane/plane into fix-project…
prateekshourya29 7553534
refactor: adjust layout structure in ProjectDetailSettingsLayout and …
prateekshourya29 2568b11
fix: conflicts
prateekshourya29 b8c41a4
refactor: replace ProjectAccessRestriction component with updated ver…
prateekshourya29 87db8f1
fix: enhance error handling in IssueDetailsPage and remove JoinProjec…
prateekshourya29 ad233fc
fix: conflicts
prateekshourya29 96af25e
Merge branch 'preview' into fix-project-status-code
sangeethailango 932843e
Merge branch 'fix-project-status-code' of github.com:makeplane/plane …
sangeethailango File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/layout.tsx
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/layout.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| import { observer } from "mobx-react"; | ||
| import { usePathname } from "next/navigation"; | ||
| import { Outlet } from "react-router"; | ||
| // components | ||
| import { getProjectActivePath } from "@/components/settings/helper"; | ||
| import { SettingsMobileNav } from "@/components/settings/mobile"; | ||
| import { ProjectSettingsSidebar } from "@/components/settings/project/sidebar"; | ||
| // plane web imports | ||
| import { ProjectAuthWrapper } from "@/plane-web/layouts/project-wrapper"; | ||
| // types | ||
| import type { Route } from "./+types/layout"; | ||
|
|
||
| function ProjectDetailSettingsLayout({ params }: Route.ComponentProps) { | ||
| const { workspaceSlug, projectId } = params; | ||
| // router | ||
| const pathname = usePathname(); | ||
|
|
||
| return ( | ||
| <> | ||
| <SettingsMobileNav hamburgerContent={ProjectSettingsSidebar} activePath={getProjectActivePath(pathname) || ""} /> | ||
| <div className="relative flex h-full w-full"> | ||
| <div className="hidden md:block">{projectId && <ProjectSettingsSidebar />}</div> | ||
| <ProjectAuthWrapper workspaceSlug={workspaceSlug} projectId={projectId}> | ||
| <div className="w-full h-full overflow-y-scroll md:pt-page-y"> | ||
| <Outlet /> | ||
| </div> | ||
| </ProjectAuthWrapper> | ||
| </div> | ||
| </> | ||
| ); | ||
| } | ||
|
|
||
| export default observer(ProjectDetailSettingsLayout); | ||
prateekshourya29 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.