Merge branch 'develop' into zcash-milestones

# Conflicts:
#	frontend/client/modules/create/utils.ts
This commit is contained in:
Aaron 2019-02-13 14:38:52 -06:00
commit 16ed593304
No known key found for this signature in database
GPG Key ID: 3B5B7597106F0A0E
3 changed files with 1 additions and 8 deletions

View File

@ -43,7 +43,6 @@ ProposalStage = ProposalStageEnum()
class CategoryEnum(CustomEnum):
DAPP = 'DAPP'
DEV_TOOL = 'DEV_TOOL'
CORE_DEV = 'CORE_DEV'
COMMUNITY = 'COMMUNITY'

View File

@ -9,7 +9,6 @@ export const SORT_LABELS: { [key in PROPOSAL_SORT]: string } = {
};
export enum PROPOSAL_CATEGORY {
DAPP = 'DAPP',
DEV_TOOL = 'DEV_TOOL',
CORE_DEV = 'CORE_DEV',
COMMUNITY = 'COMMUNITY',
@ -24,11 +23,6 @@ interface CategoryUI {
}
export const CATEGORY_UI: { [key in PROPOSAL_CATEGORY]: CategoryUI } = {
DAPP: {
label: 'DApp',
color: '#8e44ad',
icon: 'appstore',
},
DEV_TOOL: {
label: 'Developer tool',
color: '#2c3e50',

View File

@ -199,7 +199,7 @@ export function makeProposalPreviewFromDraft(draft: ProposalDraft): ProposalDeta
contributionMatching: 0,
percentFunded: 0,
stage: PROPOSAL_STAGE.PREVIEW,
category: draft.category || PROPOSAL_CATEGORY.DAPP,
category: draft.category || PROPOSAL_CATEGORY.CORE_DEV,
isStaked: true,
arbiter: {
status: PROPOSAL_ARBITER_STATUS.ACCEPTED,