2022-11-19 14:21:26 +00:00
|
|
|
import { useRouter } from "next/router";
|
2023-03-28 09:19:27 +00:00
|
|
|
import React, { useCallback, useEffect, useState } from "react";
|
|
|
|
import useSWR, { mutate } from "swr";
|
2023-02-03 10:33:27 +00:00
|
|
|
|
2023-03-28 09:19:27 +00:00
|
|
|
// icons
|
|
|
|
import {
|
|
|
|
ArrowRightIcon,
|
|
|
|
ChartBarIcon,
|
2023-03-29 06:23:09 +00:00
|
|
|
ChatBubbleOvalLeftEllipsisIcon,
|
2023-03-30 08:24:18 +00:00
|
|
|
DocumentTextIcon,
|
2023-03-28 09:19:27 +00:00
|
|
|
FolderPlusIcon,
|
2023-03-30 08:24:18 +00:00
|
|
|
LinkIcon,
|
2023-03-28 09:19:27 +00:00
|
|
|
MagnifyingGlassIcon,
|
2023-03-30 08:24:18 +00:00
|
|
|
RocketLaunchIcon,
|
2023-03-28 09:19:27 +00:00
|
|
|
Squares2X2Icon,
|
|
|
|
TrashIcon,
|
|
|
|
UserMinusIcon,
|
|
|
|
UserPlusIcon,
|
|
|
|
UsersIcon,
|
|
|
|
} from "@heroicons/react/24/outline";
|
|
|
|
import {
|
|
|
|
AssignmentClipboardIcon,
|
|
|
|
ContrastIcon,
|
|
|
|
DiscordIcon,
|
|
|
|
DocumentIcon,
|
|
|
|
GithubIcon,
|
|
|
|
LayerDiagonalIcon,
|
|
|
|
PeopleGroupIcon,
|
|
|
|
SettingIcon,
|
|
|
|
ViewListIcon,
|
|
|
|
} from "components/icons";
|
2023-02-03 10:33:27 +00:00
|
|
|
// headless ui
|
2023-03-28 09:19:27 +00:00
|
|
|
import { Dialog, Transition } from "@headlessui/react";
|
|
|
|
// cmdk
|
|
|
|
import { Command } from "cmdk";
|
2023-02-03 10:33:27 +00:00
|
|
|
// hooks
|
2023-01-26 18:12:20 +00:00
|
|
|
import useTheme from "hooks/use-theme";
|
|
|
|
import useToast from "hooks/use-toast";
|
|
|
|
import useUser from "hooks/use-user";
|
2023-03-28 19:21:47 +00:00
|
|
|
import useDebounce from "hooks/use-debounce";
|
2022-11-19 14:21:26 +00:00
|
|
|
// components
|
2023-03-28 09:19:27 +00:00
|
|
|
import {
|
|
|
|
ShortcutsModal,
|
|
|
|
ChangeIssueState,
|
|
|
|
ChangeIssuePriority,
|
|
|
|
ChangeIssueAssignee,
|
2023-04-20 08:11:24 +00:00
|
|
|
ChangeInterfaceTheme,
|
2023-03-28 09:19:27 +00:00
|
|
|
} from "components/command-palette";
|
2023-02-03 10:33:27 +00:00
|
|
|
import { BulkDeleteIssuesModal } from "components/core";
|
2023-02-20 05:53:04 +00:00
|
|
|
import { CreateUpdateCycleModal } from "components/cycles";
|
2023-03-28 09:19:27 +00:00
|
|
|
import { CreateUpdateIssueModal, DeleteIssueModal } from "components/issues";
|
2023-02-02 12:34:13 +00:00
|
|
|
import { CreateUpdateModuleModal } from "components/modules";
|
2023-03-28 09:19:27 +00:00
|
|
|
import { CreateProjectModal } from "components/project";
|
|
|
|
import { CreateUpdateViewModal } from "components/views";
|
2023-04-03 08:53:50 +00:00
|
|
|
import { CreateUpdatePageModal } from "components/pages";
|
|
|
|
|
2023-03-28 19:21:47 +00:00
|
|
|
import { Spinner } from "components/ui";
|
2023-01-26 18:12:20 +00:00
|
|
|
// helpers
|
2023-03-28 09:19:27 +00:00
|
|
|
import {
|
|
|
|
capitalizeFirstLetter,
|
|
|
|
copyTextToClipboard,
|
|
|
|
replaceUnderscoreIfSnakeCase,
|
|
|
|
} from "helpers/string.helper";
|
|
|
|
// services
|
|
|
|
import issuesService from "services/issues.service";
|
2023-03-28 19:21:47 +00:00
|
|
|
import workspaceService from "services/workspace.service";
|
2022-11-19 14:21:26 +00:00
|
|
|
// types
|
2023-03-28 09:19:27 +00:00
|
|
|
import { IIssue, IWorkspaceSearchResults } from "types";
|
|
|
|
// fetch keys
|
|
|
|
import { ISSUE_DETAILS, PROJECT_ISSUES_ACTIVITY } from "constants/fetch-keys";
|
2022-11-29 14:19:39 +00:00
|
|
|
|
2023-02-10 12:32:18 +00:00
|
|
|
export const CommandPalette: React.FC = () => {
|
2022-11-19 14:21:26 +00:00
|
|
|
const [isPaletteOpen, setIsPaletteOpen] = useState(false);
|
|
|
|
const [isIssueModalOpen, setIsIssueModalOpen] = useState(false);
|
|
|
|
const [isProjectModalOpen, setIsProjectModalOpen] = useState(false);
|
|
|
|
const [isShortcutsModalOpen, setIsShortcutsModalOpen] = useState(false);
|
|
|
|
const [isCreateCycleModalOpen, setIsCreateCycleModalOpen] = useState(false);
|
2023-03-28 09:19:27 +00:00
|
|
|
const [isCreateViewModalOpen, setIsCreateViewModalOpen] = useState(false);
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
const [isCreateModuleModalOpen, setIsCreateModuleModalOpen] = useState(false);
|
2022-12-22 16:19:46 +00:00
|
|
|
const [isBulkDeleteIssuesModalOpen, setIsBulkDeleteIssuesModalOpen] = useState(false);
|
2023-03-28 09:19:27 +00:00
|
|
|
const [deleteIssueModal, setDeleteIssueModal] = useState(false);
|
2023-04-03 08:53:50 +00:00
|
|
|
const [isCreateUpdatePageModalOpen, setIsCreateUpdatePageModalOpen] = useState(false);
|
2023-03-28 09:19:27 +00:00
|
|
|
|
|
|
|
const [searchTerm, setSearchTerm] = React.useState<string>("");
|
|
|
|
const [results, setResults] = useState<IWorkspaceSearchResults>({
|
|
|
|
results: {
|
|
|
|
workspace: [],
|
|
|
|
project: [],
|
|
|
|
issue: [],
|
|
|
|
cycle: [],
|
|
|
|
module: [],
|
|
|
|
issue_view: [],
|
|
|
|
page: [],
|
|
|
|
},
|
|
|
|
});
|
2023-03-28 19:21:47 +00:00
|
|
|
const [resultsCount, setResultsCount] = useState(0);
|
|
|
|
const [isLoading, setIsLoading] = useState(false);
|
|
|
|
const [isSearching, setIsSearching] = useState(false);
|
2023-03-28 09:19:27 +00:00
|
|
|
const debouncedSearchTerm = useDebounce(searchTerm, 500);
|
|
|
|
const [placeholder, setPlaceholder] = React.useState("Type a command or search...");
|
|
|
|
const [pages, setPages] = React.useState<string[]>([]);
|
|
|
|
const page = pages[pages.length - 1];
|
2022-11-19 14:21:26 +00:00
|
|
|
|
2022-12-06 14:38:28 +00:00
|
|
|
const router = useRouter();
|
2023-03-28 09:19:27 +00:00
|
|
|
const { workspaceSlug, projectId, issueId } = router.query;
|
2022-11-19 14:21:26 +00:00
|
|
|
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
const { user } = useUser();
|
|
|
|
const { setToastAlert } = useToast();
|
2022-11-19 14:21:26 +00:00
|
|
|
const { toggleCollapsed } = useTheme();
|
|
|
|
|
2023-03-28 09:19:27 +00:00
|
|
|
const { data: issueDetails } = useSWR<IIssue | undefined>(
|
|
|
|
workspaceSlug && projectId && issueId ? ISSUE_DETAILS(issueId as string) : null,
|
|
|
|
workspaceSlug && projectId && issueId
|
|
|
|
? () =>
|
|
|
|
issuesService.retrieve(workspaceSlug as string, projectId as string, issueId as string)
|
|
|
|
: null
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
);
|
2022-11-23 15:10:19 +00:00
|
|
|
|
2023-03-28 09:19:27 +00:00
|
|
|
const updateIssue = useCallback(
|
|
|
|
async (formData: Partial<IIssue>) => {
|
|
|
|
if (!workspaceSlug || !projectId || !issueId) return;
|
|
|
|
|
2023-05-30 13:44:35 +00:00
|
|
|
mutate<IIssue>(
|
2023-03-28 09:19:27 +00:00
|
|
|
ISSUE_DETAILS(issueId as string),
|
2023-05-30 13:44:35 +00:00
|
|
|
|
|
|
|
(prevData) => {
|
|
|
|
if (!prevData) return prevData;
|
|
|
|
|
|
|
|
return {
|
|
|
|
...prevData,
|
|
|
|
...formData,
|
|
|
|
};
|
|
|
|
},
|
2023-03-28 09:19:27 +00:00
|
|
|
false
|
|
|
|
);
|
|
|
|
|
|
|
|
const payload = { ...formData };
|
|
|
|
await issuesService
|
|
|
|
.patchIssue(workspaceSlug as string, projectId as string, issueId as string, payload)
|
|
|
|
.then(() => {
|
|
|
|
mutate(PROJECT_ISSUES_ACTIVITY(issueId as string));
|
|
|
|
mutate(ISSUE_DETAILS(issueId as string));
|
|
|
|
})
|
|
|
|
.catch((e) => {
|
|
|
|
console.error(e);
|
|
|
|
});
|
2022-11-19 14:21:26 +00:00
|
|
|
},
|
2023-03-28 09:19:27 +00:00
|
|
|
[workspaceSlug, issueId, projectId]
|
|
|
|
);
|
|
|
|
|
|
|
|
const handleIssueAssignees = (assignee: string) => {
|
|
|
|
if (!issueDetails) return;
|
2022-11-19 14:21:26 +00:00
|
|
|
|
|
|
|
setIsPaletteOpen(false);
|
2023-03-28 09:19:27 +00:00
|
|
|
const updatedAssignees = issueDetails.assignees ?? [];
|
|
|
|
|
|
|
|
if (updatedAssignees.includes(assignee)) {
|
|
|
|
updatedAssignees.splice(updatedAssignees.indexOf(assignee), 1);
|
|
|
|
} else {
|
|
|
|
updatedAssignees.push(assignee);
|
|
|
|
}
|
|
|
|
updateIssue({ assignees_list: updatedAssignees });
|
2022-11-19 14:21:26 +00:00
|
|
|
};
|
|
|
|
|
2023-03-28 09:19:27 +00:00
|
|
|
const copyIssueUrlToClipboard = useCallback(() => {
|
|
|
|
if (!router.query.issueId) return;
|
|
|
|
|
|
|
|
const url = new URL(window.location.href);
|
|
|
|
copyTextToClipboard(url.href)
|
|
|
|
.then(() => {
|
|
|
|
setToastAlert({
|
|
|
|
type: "success",
|
|
|
|
title: "Copied to clipboard",
|
|
|
|
});
|
|
|
|
})
|
|
|
|
.catch(() => {
|
|
|
|
setToastAlert({
|
|
|
|
type: "error",
|
|
|
|
title: "Some error occurred",
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}, [router, setToastAlert]);
|
|
|
|
|
2022-11-19 14:21:26 +00:00
|
|
|
const handleKeyDown = useCallback(
|
|
|
|
(e: KeyboardEvent) => {
|
2023-04-07 11:31:52 +00:00
|
|
|
const singleShortcutKeys = ["p", "v", "d", "h", "q", "m"];
|
|
|
|
const { key, ctrlKey, metaKey, altKey, shiftKey } = e;
|
2023-04-12 13:31:19 +00:00
|
|
|
if (!key) return;
|
2023-04-07 11:31:52 +00:00
|
|
|
const keyPressed = key.toLowerCase();
|
2023-01-30 14:07:25 +00:00
|
|
|
if (
|
|
|
|
!(e.target instanceof HTMLTextAreaElement) &&
|
|
|
|
!(e.target instanceof HTMLInputElement) &&
|
|
|
|
!(e.target as Element).classList?.contains("remirror-editor")
|
|
|
|
) {
|
2023-04-07 11:31:52 +00:00
|
|
|
if ((ctrlKey || metaKey) && keyPressed === "k") {
|
2023-01-30 14:07:25 +00:00
|
|
|
e.preventDefault();
|
|
|
|
setIsPaletteOpen(true);
|
2023-04-07 11:31:52 +00:00
|
|
|
} else if ((ctrlKey || metaKey) && keyPressed === "c") {
|
|
|
|
if (altKey) {
|
2023-02-01 15:01:40 +00:00
|
|
|
e.preventDefault();
|
2023-03-28 09:19:27 +00:00
|
|
|
copyIssueUrlToClipboard();
|
2023-02-01 15:01:40 +00:00
|
|
|
}
|
2023-04-07 11:31:52 +00:00
|
|
|
} else if (keyPressed === "c") {
|
2023-01-30 14:07:25 +00:00
|
|
|
e.preventDefault();
|
|
|
|
setIsIssueModalOpen(true);
|
2023-04-07 11:31:52 +00:00
|
|
|
} else if ((ctrlKey || metaKey) && keyPressed === "b") {
|
2023-01-30 14:07:25 +00:00
|
|
|
e.preventDefault();
|
2023-04-07 11:31:52 +00:00
|
|
|
toggleCollapsed();
|
|
|
|
} else if (key === "Delete") {
|
2023-04-03 08:53:50 +00:00
|
|
|
e.preventDefault();
|
2023-04-07 11:31:52 +00:00
|
|
|
setIsBulkDeleteIssuesModalOpen(true);
|
|
|
|
} else if (
|
|
|
|
singleShortcutKeys.includes(keyPressed) &&
|
|
|
|
(ctrlKey || metaKey || altKey || shiftKey)
|
|
|
|
) {
|
2023-04-03 08:53:50 +00:00
|
|
|
e.preventDefault();
|
2023-04-07 11:31:52 +00:00
|
|
|
} else if (keyPressed === "p") {
|
|
|
|
setIsProjectModalOpen(true);
|
|
|
|
} else if (keyPressed === "v") {
|
|
|
|
setIsCreateViewModalOpen(true);
|
|
|
|
} else if (keyPressed === "d") {
|
2023-04-03 08:53:50 +00:00
|
|
|
setIsCreateUpdatePageModalOpen(true);
|
2023-04-07 11:31:52 +00:00
|
|
|
} else if (keyPressed === "h") {
|
2023-01-30 14:07:25 +00:00
|
|
|
setIsShortcutsModalOpen(true);
|
2023-04-07 11:31:52 +00:00
|
|
|
} else if (keyPressed === "q") {
|
2023-01-30 14:07:25 +00:00
|
|
|
setIsCreateCycleModalOpen(true);
|
2023-04-07 11:31:52 +00:00
|
|
|
} else if (keyPressed === "m") {
|
2023-01-30 14:07:25 +00:00
|
|
|
setIsCreateModuleModalOpen(true);
|
2023-01-31 12:39:11 +00:00
|
|
|
}
|
2022-11-19 14:21:26 +00:00
|
|
|
}
|
|
|
|
},
|
2023-03-28 09:19:27 +00:00
|
|
|
[toggleCollapsed, copyIssueUrlToClipboard]
|
2022-11-19 14:21:26 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
useEffect(() => {
|
|
|
|
document.addEventListener("keydown", handleKeyDown);
|
|
|
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
|
|
}, [handleKeyDown]);
|
|
|
|
|
2023-03-28 09:19:27 +00:00
|
|
|
useEffect(
|
|
|
|
() => {
|
|
|
|
if (!workspaceSlug || !projectId) return;
|
|
|
|
|
2023-03-28 19:21:47 +00:00
|
|
|
setIsLoading(true);
|
|
|
|
// this is done prevent subsequent api request
|
2023-03-28 09:19:27 +00:00
|
|
|
// or searchTerm has not been updated within last 500ms.
|
|
|
|
if (debouncedSearchTerm) {
|
2023-03-28 19:21:47 +00:00
|
|
|
setIsSearching(true);
|
2023-03-28 09:19:27 +00:00
|
|
|
workspaceService
|
|
|
|
.searchWorkspace(workspaceSlug as string, projectId as string, debouncedSearchTerm)
|
|
|
|
.then((results) => {
|
|
|
|
setResults(results);
|
2023-03-28 19:21:47 +00:00
|
|
|
const count = Object.keys(results.results).reduce(
|
|
|
|
(accumulator, key) => (results.results as any)[key].length + accumulator,
|
|
|
|
0
|
|
|
|
);
|
|
|
|
setResultsCount(count);
|
|
|
|
})
|
|
|
|
.finally(() => {
|
|
|
|
setIsLoading(false);
|
|
|
|
setIsSearching(false);
|
2023-03-28 09:19:27 +00:00
|
|
|
});
|
|
|
|
} else {
|
2023-03-28 19:21:47 +00:00
|
|
|
setResults({
|
|
|
|
results: {
|
|
|
|
workspace: [],
|
|
|
|
project: [],
|
|
|
|
issue: [],
|
|
|
|
cycle: [],
|
|
|
|
module: [],
|
|
|
|
issue_view: [],
|
|
|
|
page: [],
|
|
|
|
},
|
|
|
|
});
|
|
|
|
setIsLoading(false);
|
|
|
|
setIsSearching(false);
|
2023-03-28 09:19:27 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
[debouncedSearchTerm, workspaceSlug, projectId] // Only call effect if debounced search term changes
|
|
|
|
);
|
|
|
|
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
if (!user) return null;
|
|
|
|
|
2023-03-28 09:19:27 +00:00
|
|
|
const createNewWorkspace = () => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
router.push("/create-workspace");
|
|
|
|
};
|
|
|
|
|
|
|
|
const createNewProject = () => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
setIsProjectModalOpen(true);
|
|
|
|
};
|
|
|
|
|
|
|
|
const createNewIssue = () => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
setIsIssueModalOpen(true);
|
|
|
|
};
|
|
|
|
|
|
|
|
const createNewCycle = () => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
setIsCreateCycleModalOpen(true);
|
|
|
|
};
|
|
|
|
|
|
|
|
const createNewView = () => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
setIsCreateViewModalOpen(true);
|
|
|
|
};
|
|
|
|
|
2023-04-12 13:31:19 +00:00
|
|
|
const createNewPage = () => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
setIsCreateUpdatePageModalOpen(true);
|
|
|
|
};
|
|
|
|
|
2023-03-28 09:19:27 +00:00
|
|
|
const createNewModule = () => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
setIsCreateModuleModalOpen(true);
|
|
|
|
};
|
|
|
|
|
|
|
|
const deleteIssue = () => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
setDeleteIssueModal(true);
|
|
|
|
};
|
|
|
|
|
|
|
|
const goToSettings = (path: string = "") => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
router.push(`/${workspaceSlug}/settings/${path}`);
|
|
|
|
};
|
|
|
|
|
2022-11-19 14:21:26 +00:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<ShortcutsModal isOpen={isShortcutsModalOpen} setIsOpen={setIsShortcutsModalOpen} />
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
{workspaceSlug && (
|
|
|
|
<CreateProjectModal isOpen={isProjectModalOpen} setIsOpen={setIsProjectModalOpen} />
|
|
|
|
)}
|
|
|
|
{projectId && (
|
2022-12-16 16:20:09 +00:00
|
|
|
<>
|
|
|
|
<CreateUpdateCycleModal
|
|
|
|
isOpen={isCreateCycleModalOpen}
|
2023-02-20 05:53:04 +00:00
|
|
|
handleClose={() => setIsCreateCycleModalOpen(false)}
|
2022-12-16 16:20:09 +00:00
|
|
|
/>
|
|
|
|
<CreateUpdateModuleModal
|
|
|
|
isOpen={isCreateModuleModalOpen}
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
setIsOpen={setIsCreateModuleModalOpen}
|
2022-12-16 16:20:09 +00:00
|
|
|
/>
|
2023-03-28 09:19:27 +00:00
|
|
|
<CreateUpdateViewModal
|
|
|
|
handleClose={() => setIsCreateViewModalOpen(false)}
|
|
|
|
isOpen={isCreateViewModalOpen}
|
|
|
|
/>
|
2023-04-03 08:53:50 +00:00
|
|
|
<CreateUpdatePageModal
|
|
|
|
isOpen={isCreateUpdatePageModalOpen}
|
|
|
|
handleClose={() => setIsCreateUpdatePageModalOpen(false)}
|
|
|
|
/>
|
2022-12-16 16:20:09 +00:00
|
|
|
</>
|
2022-11-19 14:21:26 +00:00
|
|
|
)}
|
2023-03-28 09:19:27 +00:00
|
|
|
{issueId && issueDetails && (
|
|
|
|
<DeleteIssueModal
|
|
|
|
handleClose={() => setDeleteIssueModal(false)}
|
|
|
|
isOpen={deleteIssueModal}
|
|
|
|
data={issueDetails}
|
|
|
|
/>
|
|
|
|
)}
|
|
|
|
|
2023-01-26 18:12:20 +00:00
|
|
|
<CreateUpdateIssueModal
|
2022-11-19 14:21:26 +00:00
|
|
|
isOpen={isIssueModalOpen}
|
2023-01-26 18:12:20 +00:00
|
|
|
handleClose={() => setIsIssueModalOpen(false)}
|
2022-11-19 14:21:26 +00:00
|
|
|
/>
|
2022-12-22 16:19:46 +00:00
|
|
|
<BulkDeleteIssuesModal
|
|
|
|
isOpen={isBulkDeleteIssuesModalOpen}
|
|
|
|
setIsOpen={setIsBulkDeleteIssuesModalOpen}
|
|
|
|
/>
|
2022-11-19 14:21:26 +00:00
|
|
|
<Transition.Root
|
|
|
|
show={isPaletteOpen}
|
2023-03-28 09:19:27 +00:00
|
|
|
afterLeave={() => {
|
|
|
|
setSearchTerm("");
|
|
|
|
}}
|
2022-11-19 14:21:26 +00:00
|
|
|
as={React.Fragment}
|
|
|
|
>
|
2023-03-28 09:19:27 +00:00
|
|
|
<Dialog as="div" className="relative z-30" onClose={() => setIsPaletteOpen(false)}>
|
2022-11-19 14:21:26 +00:00
|
|
|
<Transition.Child
|
|
|
|
as={React.Fragment}
|
|
|
|
enter="ease-out duration-300"
|
|
|
|
enterFrom="opacity-0"
|
|
|
|
enterTo="opacity-100"
|
|
|
|
leave="ease-in duration-200"
|
|
|
|
leaveFrom="opacity-100"
|
|
|
|
leaveTo="opacity-0"
|
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="fixed inset-0 bg-[#131313] bg-opacity-50 transition-opacity" />
|
2022-11-19 14:21:26 +00:00
|
|
|
</Transition.Child>
|
|
|
|
|
2023-03-28 09:19:27 +00:00
|
|
|
<div className="fixed inset-0 z-30 overflow-y-auto p-4 sm:p-6 md:p-20">
|
2022-11-19 14:21:26 +00:00
|
|
|
<Transition.Child
|
|
|
|
as={React.Fragment}
|
|
|
|
enter="ease-out duration-300"
|
2023-03-28 09:19:27 +00:00
|
|
|
enterFrom="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
|
|
|
|
enterTo="opacity-100 translate-y-0 sm:scale-100"
|
2022-11-19 14:21:26 +00:00
|
|
|
leave="ease-in duration-200"
|
2023-03-28 09:19:27 +00:00
|
|
|
leaveFrom="opacity-100 translate-y-0 sm:scale-100"
|
|
|
|
leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
|
2022-11-19 14:21:26 +00:00
|
|
|
>
|
2023-04-28 13:22:53 +00:00
|
|
|
<Dialog.Panel className="relative mx-auto max-w-2xl transform divide-y divide-brand-base divide-opacity-10 rounded-xl border border-brand-base bg-brand-surface-2 shadow-2xl transition-all">
|
2023-03-28 09:19:27 +00:00
|
|
|
<Command
|
|
|
|
filter={(value, search) => {
|
|
|
|
if (value.toLowerCase().includes(search.toLowerCase())) return 1;
|
|
|
|
return 0;
|
|
|
|
}}
|
|
|
|
onKeyDown={(e) => {
|
|
|
|
// when seach is empty and page is undefined
|
|
|
|
// when user tries to close the modal with esc
|
|
|
|
if (e.key === "Escape" && !page && !searchTerm) {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
}
|
|
|
|
// Escape goes to previous page
|
|
|
|
// Backspace goes to previous page when search is empty
|
|
|
|
if (e.key === "Escape" || (e.key === "Backspace" && !searchTerm)) {
|
|
|
|
e.preventDefault();
|
|
|
|
setPages((pages) => pages.slice(0, -1));
|
|
|
|
setPlaceholder("Type a command or search...");
|
|
|
|
}
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
}}
|
|
|
|
>
|
2023-03-28 09:19:27 +00:00
|
|
|
{issueId && issueDetails && (
|
2023-03-28 19:21:47 +00:00
|
|
|
<div className="flex p-3">
|
2023-04-20 08:11:24 +00:00
|
|
|
<p className="overflow-hidden truncate rounded-md bg-brand-surface-1 p-1 px-2 text-xs font-medium text-brand-secondary">
|
2023-03-28 09:19:27 +00:00
|
|
|
{issueDetails.project_detail?.identifier}-{issueDetails.sequence_id}{" "}
|
|
|
|
{issueDetails?.name}
|
2023-03-28 19:21:47 +00:00
|
|
|
</p>
|
2023-03-28 09:19:27 +00:00
|
|
|
</div>
|
|
|
|
)}
|
|
|
|
<div className="relative">
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
<MagnifyingGlassIcon
|
2023-04-20 08:11:24 +00:00
|
|
|
className="pointer-events-none absolute top-3.5 left-4 h-5 w-5 text-brand-secondary"
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
aria-hidden="true"
|
|
|
|
/>
|
2023-03-28 09:19:27 +00:00
|
|
|
<Command.Input
|
2023-04-20 08:11:24 +00:00
|
|
|
className="w-full border-0 border-b border-brand-base bg-transparent p-4 pl-11 text-brand-base placeholder-gray-500 outline-none focus:ring-0 sm:text-sm"
|
2023-03-28 09:19:27 +00:00
|
|
|
placeholder={placeholder}
|
|
|
|
value={searchTerm}
|
|
|
|
onValueChange={(e) => {
|
|
|
|
setSearchTerm(e);
|
|
|
|
}}
|
|
|
|
autoFocus
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
/>
|
|
|
|
</div>
|
2023-03-28 09:19:27 +00:00
|
|
|
<Command.List className="max-h-96 overflow-scroll p-2">
|
2023-03-28 19:21:47 +00:00
|
|
|
{!isLoading &&
|
|
|
|
resultsCount === 0 &&
|
|
|
|
searchTerm !== "" &&
|
|
|
|
debouncedSearchTerm !== "" && (
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="my-4 text-center text-brand-secondary">
|
|
|
|
No results found.
|
|
|
|
</div>
|
2023-03-28 19:21:47 +00:00
|
|
|
)}
|
|
|
|
|
|
|
|
{(isLoading || isSearching) && (
|
|
|
|
<Command.Loading>
|
|
|
|
<div className="flex h-full w-full items-center justify-center py-8">
|
|
|
|
<Spinner />
|
|
|
|
</div>
|
|
|
|
</Command.Loading>
|
|
|
|
)}
|
2022-11-29 14:19:39 +00:00
|
|
|
|
2023-03-28 09:19:27 +00:00
|
|
|
{debouncedSearchTerm !== "" && (
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
<>
|
2023-03-28 09:19:27 +00:00
|
|
|
{Object.keys(results.results).map((key) => {
|
|
|
|
const section = (results.results as any)[key];
|
|
|
|
if (section.length > 0) {
|
|
|
|
return (
|
|
|
|
<Command.Group
|
|
|
|
heading={capitalizeFirstLetter(replaceUnderscoreIfSnakeCase(key))}
|
|
|
|
key={key}
|
2022-11-19 14:21:26 +00:00
|
|
|
>
|
2023-03-28 09:19:27 +00:00
|
|
|
{section.map((item: any) => {
|
|
|
|
let path = "";
|
|
|
|
let value = item.name;
|
|
|
|
let Icon: any = ArrowRightIcon;
|
|
|
|
|
|
|
|
if (key === "workspace") {
|
|
|
|
path = `/${item.slug}`;
|
|
|
|
Icon = FolderPlusIcon;
|
|
|
|
} else if (key == "project") {
|
|
|
|
path = `/${item.workspace__slug}/projects/${item.id}/issues`;
|
|
|
|
Icon = AssignmentClipboardIcon;
|
|
|
|
} else if (key === "issue") {
|
|
|
|
path = `/${item.workspace__slug}/projects/${item.project_id}/issues/${item.id}`;
|
2023-03-28 19:21:47 +00:00
|
|
|
// user can search id-num idnum or issue name
|
|
|
|
value = `${item.project__identifier}-${item.sequence_id} ${item.project__identifier}${item.sequence_id} ${item.name}`;
|
2023-03-28 09:19:27 +00:00
|
|
|
Icon = LayerDiagonalIcon;
|
|
|
|
} else if (key === "issue_view") {
|
|
|
|
path = `/${item.workspace__slug}/projects/${item.project_id}/views/${item.id}`;
|
|
|
|
Icon = ViewListIcon;
|
|
|
|
} else if (key === "module") {
|
|
|
|
path = `/${item.workspace__slug}/projects/${item.project_id}/modules/${item.id}`;
|
|
|
|
Icon = PeopleGroupIcon;
|
|
|
|
} else if (key === "page") {
|
|
|
|
path = `/${item.workspace__slug}/projects/${item.project_id}/pages/${item.id}`;
|
2023-03-30 08:24:18 +00:00
|
|
|
Icon = DocumentTextIcon;
|
2023-03-28 09:19:27 +00:00
|
|
|
} else if (key === "cycle") {
|
|
|
|
path = `/${item.workspace__slug}/projects/${item.project_id}/cycles/${item.id}`;
|
|
|
|
Icon = ContrastIcon;
|
|
|
|
}
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Command.Item
|
|
|
|
key={item.id}
|
|
|
|
onSelect={() => {
|
|
|
|
router.push(path);
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
}}
|
|
|
|
value={value}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 overflow-hidden text-brand-secondary">
|
|
|
|
<Icon
|
|
|
|
className="h-4 w-4 text-brand-secondary"
|
|
|
|
color="#6b7280"
|
|
|
|
/>
|
2023-03-28 19:21:47 +00:00
|
|
|
<p className="block flex-1 truncate">{item.name}</p>
|
2023-03-28 09:19:27 +00:00
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
);
|
|
|
|
})}
|
|
|
|
</Command.Group>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
})}
|
|
|
|
</>
|
|
|
|
)}
|
|
|
|
|
|
|
|
{!page && (
|
|
|
|
<>
|
|
|
|
{issueId && (
|
|
|
|
<>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => {
|
|
|
|
setPlaceholder("Change state...");
|
|
|
|
setSearchTerm("");
|
|
|
|
setPages([...pages, "change-issue-state"]);
|
|
|
|
}}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<Squares2X2Icon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Change state...
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => {
|
|
|
|
setPlaceholder("Change priority...");
|
|
|
|
setSearchTerm("");
|
|
|
|
setPages([...pages, "change-issue-priority"]);
|
|
|
|
}}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<ChartBarIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Change priority...
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => {
|
|
|
|
setPlaceholder("Assign to...");
|
|
|
|
setSearchTerm("");
|
|
|
|
setPages([...pages, "change-issue-assignee"]);
|
|
|
|
}}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<UsersIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Assign to...
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => {
|
|
|
|
handleIssueAssignees(user.id);
|
|
|
|
setSearchTerm("");
|
|
|
|
}}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
2023-03-28 09:19:27 +00:00
|
|
|
{issueDetails?.assignees.includes(user.id) ? (
|
|
|
|
<>
|
2023-04-20 08:11:24 +00:00
|
|
|
<UserMinusIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Un-assign from me
|
|
|
|
</>
|
|
|
|
) : (
|
|
|
|
<>
|
2023-04-20 08:11:24 +00:00
|
|
|
<UserPlusIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Assign to me
|
2022-11-19 14:21:26 +00:00
|
|
|
</>
|
|
|
|
)}
|
2023-03-28 09:19:27 +00:00
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
|
2023-04-03 13:34:11 +00:00
|
|
|
<Command.Item onSelect={deleteIssue} className="focus:outline-none">
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<TrashIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Delete issue
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
copyIssueUrlToClipboard();
|
|
|
|
}}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<LinkIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Copy issue URL to clipboard
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
</>
|
|
|
|
)}
|
|
|
|
<Command.Group heading="Issue">
|
2023-04-20 08:11:24 +00:00
|
|
|
<Command.Item
|
|
|
|
onSelect={createNewIssue}
|
|
|
|
className="focus:bg-brand-surface-2"
|
|
|
|
>
|
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
2023-03-30 08:24:18 +00:00
|
|
|
<LayerDiagonalIcon className="h-4 w-4" color="#6b7280" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Create new issue
|
|
|
|
</div>
|
|
|
|
<kbd>C</kbd>
|
|
|
|
</Command.Item>
|
|
|
|
</Command.Group>
|
|
|
|
|
|
|
|
{workspaceSlug && (
|
|
|
|
<Command.Group heading="Project">
|
|
|
|
<Command.Item
|
|
|
|
onSelect={createNewProject}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
2023-03-30 08:24:18 +00:00
|
|
|
<AssignmentClipboardIcon className="h-4 w-4" color="#6b7280" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Create new project
|
|
|
|
</div>
|
|
|
|
<kbd>P</kbd>
|
|
|
|
</Command.Item>
|
|
|
|
</Command.Group>
|
|
|
|
)}
|
|
|
|
|
|
|
|
{projectId && (
|
|
|
|
<>
|
|
|
|
<Command.Group heading="Cycle">
|
|
|
|
<Command.Item
|
|
|
|
onSelect={createNewCycle}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
2023-03-30 08:24:18 +00:00
|
|
|
<ContrastIcon className="h-4 w-4" color="#6b7280" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Create new cycle
|
|
|
|
</div>
|
|
|
|
<kbd>Q</kbd>
|
|
|
|
</Command.Item>
|
|
|
|
</Command.Group>
|
|
|
|
|
|
|
|
<Command.Group heading="Module">
|
|
|
|
<Command.Item
|
|
|
|
onSelect={createNewModule}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
2023-03-30 08:24:18 +00:00
|
|
|
<PeopleGroupIcon className="h-4 w-4" color="#6b7280" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Create new module
|
|
|
|
</div>
|
|
|
|
<kbd>M</kbd>
|
|
|
|
</Command.Item>
|
|
|
|
</Command.Group>
|
|
|
|
|
|
|
|
<Command.Group heading="View">
|
2023-04-03 13:34:11 +00:00
|
|
|
<Command.Item onSelect={createNewView} className="focus:outline-none">
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
2023-03-30 08:24:18 +00:00
|
|
|
<ViewListIcon className="h-4 w-4" color="#6b7280" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Create new view
|
|
|
|
</div>
|
2023-04-12 13:31:19 +00:00
|
|
|
<kbd>V</kbd>
|
|
|
|
</Command.Item>
|
|
|
|
</Command.Group>
|
|
|
|
|
|
|
|
<Command.Group heading="Page">
|
|
|
|
<Command.Item onSelect={createNewPage} className="focus:outline-none">
|
2023-04-28 13:22:53 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
2023-04-12 13:31:19 +00:00
|
|
|
<DocumentTextIcon className="h-4 w-4" color="#6b7280" />
|
|
|
|
Create new page
|
|
|
|
</div>
|
|
|
|
<kbd>D</kbd>
|
2023-03-28 09:19:27 +00:00
|
|
|
</Command.Item>
|
|
|
|
</Command.Group>
|
|
|
|
</>
|
|
|
|
)}
|
|
|
|
|
|
|
|
<Command.Group heading="Workspace Settings">
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => {
|
|
|
|
setPlaceholder("Search workspace settings...");
|
|
|
|
setSearchTerm("");
|
|
|
|
setPages([...pages, "settings"]);
|
|
|
|
}}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
2023-03-30 08:24:18 +00:00
|
|
|
<SettingIcon className="h-4 w-4" color="#6b7280" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Search settings...
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
</Command.Group>
|
|
|
|
<Command.Group heading="Account">
|
|
|
|
<Command.Item
|
|
|
|
onSelect={createNewWorkspace}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<FolderPlusIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Create new workspace
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
2023-04-20 08:11:24 +00:00
|
|
|
<Command.Item
|
|
|
|
onSelect={() => {
|
|
|
|
setPlaceholder("Change interface theme...");
|
|
|
|
setSearchTerm("");
|
|
|
|
setPages([...pages, "change-interface-theme"]);
|
|
|
|
}}
|
|
|
|
className="focus:outline-none"
|
|
|
|
>
|
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<SettingIcon className="h-4 w-4 text-brand-secondary" />
|
|
|
|
Change interface theme...
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
2023-03-28 09:19:27 +00:00
|
|
|
</Command.Group>
|
|
|
|
<Command.Group heading="Help">
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
const e = new KeyboardEvent("keydown", {
|
|
|
|
key: "h",
|
|
|
|
});
|
|
|
|
document.dispatchEvent(e);
|
|
|
|
}}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<RocketLaunchIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Open keyboard shortcuts
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
window.open("https://docs.plane.so/", "_blank");
|
|
|
|
}}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<DocumentIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Open Plane documentation
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
window.open("https://discord.com/invite/A92xrEGCge", "_blank");
|
|
|
|
}}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
2023-03-30 08:24:18 +00:00
|
|
|
<DiscordIcon className="h-4 w-4" color="#6b7280" />
|
|
|
|
Join our Discord
|
2023-03-28 09:19:27 +00:00
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => {
|
|
|
|
setIsPaletteOpen(false);
|
|
|
|
window.open(
|
|
|
|
"https://github.com/makeplane/plane/issues/new/choose",
|
|
|
|
"_blank"
|
|
|
|
);
|
|
|
|
}}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
2023-03-30 08:24:18 +00:00
|
|
|
<GithubIcon className="h-4 w-4" color="#6b7280" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Report a bug
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => {
|
|
|
|
setIsPaletteOpen(false);
|
2023-03-29 06:23:09 +00:00
|
|
|
(window as any).$crisp.push(["do", "chat:open"]);
|
2023-03-28 09:19:27 +00:00
|
|
|
}}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<ChatBubbleOvalLeftEllipsisIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-29 06:23:09 +00:00
|
|
|
Chat with us
|
2023-03-28 09:19:27 +00:00
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
</Command.Group>
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
</>
|
|
|
|
)}
|
2022-11-19 14:21:26 +00:00
|
|
|
|
2023-03-28 09:19:27 +00:00
|
|
|
{page === "settings" && workspaceSlug && (
|
|
|
|
<>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => goToSettings()}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<SettingIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
General
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => goToSettings("members")}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<SettingIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Members
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => goToSettings("billing")}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<SettingIcon className="h-4 w-4 text-brand-secondary" />
|
2023-05-05 10:16:05 +00:00
|
|
|
Billing and Plans
|
2023-03-28 09:19:27 +00:00
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => goToSettings("integrations")}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<SettingIcon className="h-4 w-4 text-brand-secondary" />
|
2023-03-28 09:19:27 +00:00
|
|
|
Integrations
|
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
<Command.Item
|
|
|
|
onSelect={() => goToSettings("import-export")}
|
2023-04-03 13:34:11 +00:00
|
|
|
className="focus:outline-none"
|
2023-03-28 09:19:27 +00:00
|
|
|
>
|
2023-04-20 08:11:24 +00:00
|
|
|
<div className="flex items-center gap-2 text-brand-secondary">
|
|
|
|
<SettingIcon className="h-4 w-4 text-brand-secondary" />
|
2023-05-05 10:16:05 +00:00
|
|
|
Import/ Export
|
2023-03-28 09:19:27 +00:00
|
|
|
</div>
|
|
|
|
</Command.Item>
|
|
|
|
</>
|
|
|
|
)}
|
|
|
|
{page === "change-issue-state" && issueDetails && (
|
|
|
|
<>
|
|
|
|
<ChangeIssueState
|
|
|
|
issue={issueDetails}
|
|
|
|
setIsPaletteOpen={setIsPaletteOpen}
|
|
|
|
/>
|
|
|
|
</>
|
|
|
|
)}
|
|
|
|
{page === "change-issue-priority" && issueDetails && (
|
|
|
|
<ChangeIssuePriority
|
|
|
|
issue={issueDetails}
|
|
|
|
setIsPaletteOpen={setIsPaletteOpen}
|
dev: promote stage release to production (#155)
* refractor: removed modules from user.context
* refractor: removed cycles from user context
* refractor: removed state from user context
* feat: implement channel protocol for tracking issue-activites
* refactor: remove blocking code and add todo
* refactor: refactor the consumer with function modules
* feat: add columns for identifiers for easier redirection
* style: minor padding, coloring and consistency changes
* feat: track blocker issues
* feat: track issue after creation
* feat: add runworker in procfile
* refractor: moved all context provider to _app for more clarity
* dev: added our icons
* refractor: removed issues from user context
* refactor: rename db names to plural and remove admin register file
* refactor: integrate permission layer in endpoints
* feat: create product email html templates
* refractor: changed to getServerSide from getInitialProps, removed unused component imports and minor refractoring
* feat: remirror added
* feat: workspace member user details endpoint
* fix: resolved build issue
* refactor: remove www
* feat: workspace details on user endpoint
* feat: added authorization in project settings
refractor: improved code readability
* fix: removed hard-coded workspace slug value, and added workspace in user interface
* refactor: invitation workflow for already existing users
* feat: modified remirror, fix: issue details sidebar
* fix: merge conflicts
* fix: merge conflicts
* fix: added missing dependencies
* refactor: remove user dependency from invitations
* refactor: issue description context is updated with manager
* dev: redis instance rewrite for ssl settings and remove REDIS_TLS env variable
* chore: upgrade python package requirements
* dev: added new migrations for changes
* dev: ssl config for django channels redis connection
* chore: upgrade channels requirements
* refactor: better function for connecting with redis ssl django channels
* chore: cleanup on manifest file
* revert: user endpoint changes
* build: setup asgi
* refactor: update invitation endpoint to do bulk operations
* style: cycles page, custom listbox, issue details page
* refractor: removed folder that were moved to workspaceSlug
* dev: uvicorn in requirements
* Update index.tsx
* refactor: get workspace slug on user endpoint
* fix: workspace slug redirections and slug value in user context
* fix: user context bugs, drag and drop in cycles and modules
* fix: merge conflicts
* fix: user context and create issue modal
* refactor: add extra columns for json and html description and script for back migrating old issues
* refactor: move all 500 errors to 400
* refractor: removed active project, active workspace, projects, and workspaces from user context
* refractor: change from /home to /, added home page redirection logic
added explict GET method on fetch request, and fixed invitation page not fetching all invitations
* fix: passing project id in command palette
* style: home page, feat: image in remirror
* fix: bugs
* chore: remove test_runner workflow from github actions
* dev: update Procfile worker count and python runtime upgrade
* refactor: update response from 404 to 403
* feat: filtering using both name and issue identifier in command palette
showing my issues instead of project issue in command palette, hiding again according to route in command palette
* fix: mutation on different CRUD operations
* fix: redirection in my issues pages
* feat: added authorization in workspace settings, moved command palette to app-layout
* feat: endpoint and column to store my issue props
* style: authorization new design,
fix: made whole button on authorization page clickable, lib/auth on unsuccessful api call redirecting to error page
* feat: return project details on modules and cycles
* fix: create cycle and state coming below issue modal, showing loader for rich text editor
refractor: changed from sprint to cycle in issue type
* fix: issue delete mustation
and some code refractor
* fix: mutation bugs, remirror bugs, style: consistent droopdowns and buttons
* feat: user role in model
* dev: added new migrations
* fix: add url for workspace availability check
* feat: onboarding screens
* fix: update url for workspace name check and add authentication layer and
fix invitation endpoint
* refactor: bulk invitations message
* refactor: response on workspace invitarions
* refactor: update identifier endpoint
* refactor: invitations endpoint
* feat: onboarding logic and validations
* fix: email striep
* dev: added workspace space member unique_together
* chore: back populate neccesary data for description field
* feat: emoji-picker gets close on select, public will be default option in create project
* fix: update error in project creation
* fix: mutation error on issue count in kanban view
some minor code refractoring
* fix: module bugs
* fix: issue activities and issue comments mutation handled at issue detail
* fix: error message for creating updates without permissions
* fix: showing no user left to invite in project invite
fix: - mutation in project settings control, style: - showing loader in project settings controller, - showing request pending for user that hasn't accepted invitation
* refactor: file asset upload directory
* fix: update last workspace id on user invitation accept
* style: onboarding screens
* style: cycles, issue activity
* feat: add json and html column in issue comments
* fix: submitting create issue modal on enter click, project not getting deselected
* feat: file size validator
* fix: emoji picker not closing on all emoji select
* feat: added validation in identifier such that it only accept uppercase text
* dev: commenting is now richer
* fix: shortcuts not getting opened in settings layouts
* style: showing sidebar on unauthorized pages
* fix: error code on exception
* fix: add issue button is working on my issues pages
* feat: new way of assets
* fix: updated activity content for description field
* fix: mutation on project settings control
style: blocker and blocked changed to outline button
* fix: description activity logging
* refactor: check for workspace slug on workspace creation
* fix: typo on workspace url check
* fix: workspace name uniqueness
* fix: remove workspace from read only field
* fix: file upload endpoint, workspace slug check
* chore: drop unique_together constraint for name and workspace
* chore: settings files cleanup and use PubSub backend on django channels
* chore: change in channels backend
* refactor: issue activity api to combine comments
* fix: instance created at key
* fix: result list
* style: create project, cycle modal, view dropdown
* feat: merged issue activities and issue comments into a single section
* fix: remirror dynamic update of issue description
* fix: removed commented code
* fix: issue acitivties mutation
* fix: empty comments cant be submitted
* fix: workspace avatar has been updated while loading
* refactor: update docker-compose to run redis and database in heroku and docker environment
* refactor: removesingle docker file configuration
* refactor: update take off script to run in asgi
* docs: added workspace, quickstart documentation
* fix: reading editor values on focus out
* refactor: cleanup environment variables and create .env.example
* refactor: add extra variables in example env
* fix: warning and erros on console
lazy loading images with low priority, added validation on onboarding for user to either join or create workspace, on onboarding user can't click button while form is getting submitted, profile page going into loading state when updated, refractor: made some state local, removed unnecessary console logs and comments, changed some variable and function name to make more sence
* feat: env examples
* fix: workspace member does not exist
* fi: remove pagination from issue list api
* refactor: remove env example from root
* feat: documentation for projects on plane
* feat: create code of conduct and contributing guidelines
* fix: update docker setup to check handle redis
* revert: bring back pagination to avoid breaking
* feat: made image uploader modal, used it in profile page and workspace page,
delete project from project settings page, join project modal in project list page
* feat: create workspace page, style: made ui consistent
* style: updated onboarding and create workspace page design
* style: responsive sidebar
* fix: updated ui imports
2023-01-10 18:25:47 +00:00
|
|
|
/>
|
2023-03-28 09:19:27 +00:00
|
|
|
)}
|
|
|
|
{page === "change-issue-assignee" && issueDetails && (
|
|
|
|
<ChangeIssueAssignee
|
|
|
|
issue={issueDetails}
|
|
|
|
setIsPaletteOpen={setIsPaletteOpen}
|
|
|
|
/>
|
|
|
|
)}
|
2023-04-20 08:11:24 +00:00
|
|
|
{page === "change-interface-theme" && (
|
|
|
|
<ChangeInterfaceTheme setIsPaletteOpen={setIsPaletteOpen} />
|
|
|
|
)}
|
2023-03-28 09:19:27 +00:00
|
|
|
</Command.List>
|
|
|
|
</Command>
|
2022-11-19 14:21:26 +00:00
|
|
|
</Dialog.Panel>
|
|
|
|
</Transition.Child>
|
|
|
|
</div>
|
|
|
|
</Dialog>
|
|
|
|
</Transition.Root>
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
};
|