Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

[WEB-3794]chore: set project states to expand by default #6885

Vamsi Krishna27cec64c56fc
diff --git a/web/core/components/project-states/group-list.tsx b/web/core/components/project-states/group-list.tsx
index 1fbc8f1daa..dbd33238f0 100644
--- a/web/core/components/project-states/group-list.tsx
+++ b/web/core/components/project-states/group-list.tsx
@@ -15,7 +15,13 @@ type TGroupList = {
export const GroupList: FC<TGroupList> = observer((props) => {
const { workspaceSlug, projectId, groupedStates } = props;
// states
- const [groupsExpanded, setGroupsExpanded] = useState<Partial<TStateGroups>[]>([]);
+ const [groupsExpanded, setGroupsExpanded] = useState<Partial<TStateGroups>[]>([
+ "backlog",
+ "unstarted",
+ "started",
+ "completed",
+ "cancelled",
+ ]);
const handleGroupCollapse = (groupKey: TStateGroups) => {
setGroupsExpanded((prev) => {