chore: changed default props for worskpace and project members (#2175)

This commit is contained in:
Bavisetti Narayan 2023-09-13 19:13:31 +05:30 committed by GitHub
parent 42d38f7531
commit 1b1ed37405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 19 deletions

View File

@ -25,13 +25,26 @@ ROLE_CHOICES = (
def get_default_props(): def get_default_props():
return { return {
"filters": {"type": None}, "filters": {
"orderBy": "-created_at", "priority": None,
"collapsed": True, "state": None,
"issueView": "list", "state_group": None,
"filterIssue": None, "assignees": None,
"groupByProperty": None, "created_by": None,
"showEmptyGroups": True, "labels": None,
"start_date": None,
"target_date": None,
"subscriber": None,
},
"display_filters": {
"group_by": None,
"order_by": '-created_at',
"type": None,
"sub_issue": True,
"show_empty_groups": True,
"layout": "list",
"calendar_date_range": "",
},
} }

View File

@ -16,26 +16,41 @@ ROLE_CHOICES = (
def get_default_props(): def get_default_props():
return { return {
"filters": {"type": None}, "filters": {
"groupByProperty": None, "priority": None,
"issueView": "list", "state": None,
"orderBy": "-created_at", "state_group": None,
"properties": { "assignees": None,
"created_by": None,
"labels": None,
"start_date": None,
"target_date": None,
"subscriber": None,
},
"display_filters": {
"group_by": None,
"order_by": '-created_at',
"type": None,
"sub_issue": True,
"show_empty_groups": True,
"layout": "list",
"calendar_date_range": "",
},
"display_properties": {
"assignee": True, "assignee": True,
"attachment_count": True,
"created_on": True,
"due_date": True, "due_date": True,
"estimate": True,
"key": True, "key": True,
"labels": True, "labels": True,
"link": True,
"priority": True, "priority": True,
"start_date": True,
"state": True, "state": True,
"sub_issue_count": True, "sub_issue_count": True,
"attachment_count": True,
"link": True,
"estimate": True,
"created_on": True,
"updated_on": True, "updated_on": True,
"start_date": True, }
},
"showEmptyGroups": True,
} }