Commit Graph

891 Commits

Author SHA1 Message Date
Daniel Ternyak c8e75a3e8f
Hookup Proposal Tutorial 2019-12-10 23:44:18 -06:00
Sonya Mann b52d26b9cf Create PROPOSAL_TUTORIAL.md (#486) 2019-12-10 23:19:52 -06:00
Sonya Mann 560f76aaf2 Add Guide Content (#485)
* add guide content

* add link to walk-through tutorial

* Update GUIDE.md
2019-12-10 22:47:36 -06:00
Daniel Ternyak 044deea218
Merge pull request #484 from grant-project/develop
ZF Grants 2.0
2019-12-10 15:50:55 -06:00
Daniel Ternyak 797c042629
Fix typos / copy (#109)
Update default proposal content
Create Guide section
2019-12-10 15:32:12 -06:00
Danny Skubak 33411f105d Misc Fixes (#108)
* disallow t addresses

* restrict ccr drafts to current user
2019-12-10 14:22:40 -06:00
Danny Skubak 59ebf8e971 reject -> request changes (#107) 2019-12-10 12:15:28 -06:00
Danny Skubak 96d0b9e30e Fix Misc Bugs (#106)
* consider all proposals to be staked

* allow proposal titles to wrap

* rejected -> changes requested

* allow empty strings as tip addresses
2019-12-09 16:00:01 -06:00
Daniel Ternyak 7e7650eeae
Bugfixes (#105)
* Make KYC field mandatory

* Fix tip jar names

* adjust tip jar language
2019-12-09 15:57:32 -06:00
Danny Skubak b02e14a42f Proposal Migration Script - Delete Stale Drafts (#104)
* fix admin tsc check

* delete stale drafts
2019-12-06 10:17:36 -06:00
Daniel Ternyak dc09690ea3
Feedback (#103) 2019-12-05 19:12:46 -06:00
Danny Skubak 64d832d585 match prod css bundle (#102) 2019-12-05 19:01:47 -06:00
Daniel Ternyak 3311be8e98
CCRs (#86)
* CCRs API / Models boilerplate

* start on frontend

* backendy things

* Create CCR redux module, integrate API endpoints, create types

* Fix/Cleanup API

* Wire up CreateRequestDraftList

* bounty->target

* Add 'Create Request Flow' MVP

* cleanup

* Tweak filenames

* Simplify migrations

* fix migrations

* CCR Staking MVP

* tslint

* Get Pending Requests into Profile

* Remove staking requirement

* more staking related removals

* MVP Admin integration

* Make RFP when CCR is accepted

* Add pagination to CCRs in Admin
Improve styles for Proposals

* Hookup notifications
Adjust copy

* Simplify ccr->rfp relationship
Add admin approval email
Fixup copy

* Show Message on RFP Detail
Make Header CTAs change based on draft status
Adjust proposal card style

* Bugfix: Show header for non signed in users

* Add 'create a request' to intro

* Profile Created CCRs
RFP CCR attribution

* ignore

* CCR Price in USD  (#85)

* init profile tipjar backend

* init profile tipjar frontend

* fix lint

* implement tip jar block

* fix wrapping, hide tip block on self

* init backend proposal tipjar

* init frontend proposal tipjar

* add hide title, fix bug

* uncomment rate limit

* rename vars, use null check

* allow address and view key to be unset

* add api tests

* fix tsc errors

* fix lint

* fix CopyInput styling

* fix migrations

* hide tipping in proposal if address not set

* add tip address to create flow

* redesign campaign block

* fix typo

* init backend changes

* init admin changes

* init frontend changes

* fix backend tests

* update campaign block

* be - init rfp usd changes

* admin - init rfp usd changes

* fe - fully adapt api util functions to usd

* fe - init rfp usd changes

* adapt profile created to usd

* misc usd changes

* add tip jar to dedicated card

* fix tipjar bug

* use zf light logo

* switch to zf grants logo

* hide profile tip jar if address not set

* add comment, run prettier

* conditionally add info icon and tooltip to funding line

* admin - disallow decimals in RFPs

* fe - cover usd string edge case

* add Usd as rfp bounty type

* fix migration order

* fix email bug

* adapt CCRs to USD

* implement CCR preview

* fix tsc

* Copy Updates and UX Tweaks (#87)

* Add default structure to proposal content

* Landing page copy

* Hide contributors tab for v2 proposals

* Minor UX tweaks for Liking/Following/Tipping

* Copy for Tipping Tooltip, proposal explainer for review, and milestone day estimate notice.

* Fix header styles bug and remove commented out styles.

* Revert "like" / "unfollow" hyphenication

* Comment out unused tests related to staking
Increase PROPOSAL_TARGET_MAX in .env.example

* Comment out ccr approval email send until ready

* Adjust styles, copy.

* fix proposal prune test (#88)

* fix USD display in preview, fix non-unique key (#90)

* Pre-stepper explainer for CCRs.

* Tweak styles

* Default content for CCRs

* fix tsc

* CCR approval and rejection emails

* add back admin_approval_ccr email templates

* Link ccr author name to profile in RFPs

* copy tweaks

* copy tweak

* hookup mangle user command

* Fix/add endif in jinja

* fix tests

* review

* fix review
2019-12-05 19:01:02 -06:00
Danny Skubak 95102842a7 Misc fixes (#101)
* fix env var bug

* fix #99

* fix #97

* fix #96

* fix #95, #94

* restrict commenting to live proposals
2019-12-05 18:06:03 -06:00
Daniel Ternyak 98dce6c5ea
Create user command for mangling users (#98)
* Create user command for mangling users

* remove 'identity' arguement to CLI command

* fix typo
2019-12-04 15:44:08 -06:00
Danny Skubak aa15b13782 Update Proposal Migration Command (#81)
* address additional proposals, first pass

* convert staking proposals to draft

* print found staking proposal count
2019-12-04 15:07:45 -06:00
Danny Skubak 597472b5c6 remove funded proposals from arbiter count (#92) 2019-12-03 18:02:56 -06:00
Danny Skubak 4a0e23e9c7 Price in Usd (#91)
* init profile tipjar backend

* init profile tipjar frontend

* fix lint

* implement tip jar block

* fix wrapping, hide tip block on self

* init backend proposal tipjar

* init frontend proposal tipjar

* add hide title, fix bug

* uncomment rate limit

* rename vars, use null check

* allow address and view key to be unset

* add api tests

* fix tsc errors

* fix lint

* fix CopyInput styling

* fix migrations

* hide tipping in proposal if address not set

* add tip address to create flow

* redesign campaign block

* fix typo

* init backend changes

* init admin changes

* init frontend changes

* fix backend tests

* update campaign block

* be - init rfp usd changes

* admin - init rfp usd changes

* fe - fully adapt api util functions to usd

* fe - init rfp usd changes

* adapt profile created to usd

* misc usd changes

* add tip jar to dedicated card

* fix tipjar bug

* use zf light logo

* switch to zf grants logo

* hide profile tip jar if address not set

* add comment, run prettier

* conditionally add info icon and tooltip to funding line

* admin - disallow decimals in RFPs

* fe - cover usd string edge case

* add Usd as rfp bounty type
2019-12-03 18:02:39 -06:00
Danny Skubak 6f4e1b779b keep original proposal card design for v1 proposals (#89) 2019-12-03 16:08:24 -06:00
Danny Skubak 94dc22b879 move tipping into payment create flow tab (#84) 2019-12-02 10:40:24 -06:00
Danny Skubak 7936b418f4 Workflow Improvements (#78)
* refresh proposal creation view when user has unverified email

* add info icon & tooltip to payout immediatly

* replace “Title” with “About You” on signup

* add review to stepper, use "Review" on final stage of proposal

* update buttons in email verify success view

* add an optional team member
2019-11-24 09:07:03 -06:00
Danny Skubak 213595cfba Redesign Campaign Block (#74)
* init profile tipjar backend

* init profile tipjar frontend

* fix lint

* implement tip jar block

* fix wrapping, hide tip block on self

* init backend proposal tipjar

* init frontend proposal tipjar

* add hide title, fix bug

* uncomment rate limit

* rename vars, use null check

* allow address and view key to be unset

* add api tests

* fix tsc errors

* fix lint

* fix CopyInput styling

* fix migrations

* hide tipping in proposal if address not set

* add tip address to create flow

* redesign campaign block

* fix typo

* update campaign block

* add tip jar to dedicated card

* fix tipjar bug

* use zf light logo

* switch to zf grants logo

* hide profile tip jar if address not set

* add comment, run prettier
2019-11-24 09:05:08 -06:00
Danny Skubak 8f187ad775 add explainer to proposals (#76) 2019-11-20 15:44:45 -06:00
Danny Skubak 4702f1a752 Redesign Proposal Card (#73) 2019-11-20 15:39:37 -06:00
Danny Skubak 13d762b011 Change 'reject' to 'request changes' (#72) 2019-11-20 15:37:58 -06:00
Danny Skubak db49fbc7e1 Tip Jar Proposal (#65)
* init profile tipjar backend

* init profile tipjar frontend

* fix lint

* implement tip jar block

* fix wrapping, hide tip block on self

* init backend proposal tipjar

* init frontend proposal tipjar

* add hide title, fix bug

* uncomment rate limit

* rename vars, use null check

* allow address and view key to be unset

* add api tests

* fix tsc errors

* fix lint

* fix CopyInput styling

* fix migrations

* hide tipping in proposal if address not set

* add tip address to create flow
2019-11-20 15:37:26 -06:00
Danny Skubak 216b37f6a3 Stylesheet Fix (#69)
* move bundle.css before custom styling

* roll back previous fix

* style like and proposal buttons with class
2019-11-15 14:30:40 -06:00
Danny Skubak ceb9f8cbdf always run milestone date estimation (#71) 2019-11-15 13:48:41 -06:00
Danny Skubak b824f462f0 Fix Create Proposals Command (#70) 2019-11-15 13:29:03 -06:00
Daniel Ternyak d64cfb6de7
fix tsc 2019-11-13 22:27:07 -06:00
Daniel Ternyak 506a00a2fa
Design changes for Profile tips. 2019-11-13 22:26:12 -06:00
Danny Skubak ec3350e45f Proposal Migration Script (#47)
* init script

* only modify object in not dry runs
2019-11-13 17:59:35 -06:00
Danny Skubak 08fe3efca5 upgrade mini-css-extract-plugin, use in dev (#68) 2019-11-13 17:45:01 -06:00
Danny Skubak d98b255378 Tip Jar Profile (#64)
* init profile tipjar backend

* init profile tipjar frontend

* fix lint

* implement tip jar block

* fix wrapping, hide tip block on self

* add hide title, fix bug

* rename vars, use null check

* allow address and view key to be unset

* add api tests

* fix migrations
2019-11-13 17:44:35 -06:00
Daniel Ternyak 4b7d85872a
fix multiple migration heads 2019-11-13 17:26:53 -06:00
Danny Skubak 8cfec5de5d Remove Categories (#63)
* remove category from admin

* remove category from frontend, add likes to proposal card view

* make category nullable in backend, remove from views

* add db migration

* remove category from frontend rfp

* update tests

* remove category from admin proposal

* remove category from rfp put

* remove moment

* remove moment
2019-11-13 17:23:36 -06:00
Danny Skubak ed6d98ceec Milestone Estimate in Days (#59)
* init admin milestone estimate in days

* init frontend milestone estimate in days

* init backend milestone estimate in days

* fix bugs

* fix bugs

* fix tests

* add tests

* add milestone_deadline email to examples

* fix type errors

* fix tests

* remove comment

* temp prep for merge

* restore changes, update tests

* add db migration

* add tests and comments for set_v2_date_estimates
2019-11-13 16:38:17 -06:00
Daniel Ternyak 8ced452411
Add Explainer to Proposal Creation Flow. (#60)
* Add Explainer step to Proposal Create Flow

* Add Explainer step to Proposal Create Flow

* remove unneeded localstorage file
2019-11-13 15:37:12 -06:00
Danny Skubak 67fbbae9bf Port Landing Hooks (#30)
* port & adapt landing hooks from grant-base

* fix type guard

* CSS Adjustments for Illustration and Content layout.
2019-11-07 22:58:55 -05:00
Danny Skubak 8255f0174c remove funding required filter (#62) 2019-11-05 13:41:08 -06:00
Danny Skubak c66be86c54 Prune Empty Drafts (#54)
* prune empty drafts after 72 hours

* add additional noops, update tests
2019-11-05 13:38:34 -06:00
Danny Skubak 494303883a apply margin directly to like & follow (#53) 2019-10-30 21:01:38 -05:00
Daniel Ternyak dd9bcb8865
Batch migrations from model updates (#42) 2019-10-24 12:50:57 -05:00
Danny Skubak 5f049d899b Add Signalling of Support (#41)
* init proposal subscribe be and fe

* add subscription email templates

* wire up subscription emails

* email subscribers on proposal milestone, update, cancel

* disallow subscriptions if email not verified

* update spelling, titles

* disallow proposal subscribe if user is team member

* hide subscribe if not signed in, is team member, canceled

* port follow from grant-base

* remove subscribed

* convert subscribed to follower

* backend - update tests

* frontend - fix typings

* finish follower port

* update comment

* fix email button display issues

* init liking backend

* init liking frontend

* fix lint

* add liking backend tests

* refactor like component
2019-10-24 12:32:00 -05:00
Danny Skubak 39f9cea42e remove progress bar for v2 proposals (#37) 2019-10-24 12:14:03 -05:00
Danny Skubak 9f485fabc4 disable milestones for proposals accepted without funding (#40) 2019-10-23 16:46:25 -05:00
Danny Skubak 25e43a34ff Update Accepted Without Funding (#35)
* backend - init endpoints and model changes

* backend - add tests

* admin - add change to accepted with funding functionality

* backend - fix tests
2019-10-23 16:44:19 -05:00
Danny Skubak 85c21d4cbf apply style directly to buttons (#39) 2019-10-23 16:34:31 -05:00
Danny Skubak 5799ffab19 Proposal Subscription (#31)
* init proposal subscribe be and fe

* add subscription email templates

* wire up subscription emails

* email subscribers on proposal milestone, update, cancel

* disallow subscriptions if email not verified

* update spelling, titles

* disallow proposal subscribe if user is team member

* hide subscribe if not signed in, is team member, canceled

* port follow from grant-base

* remove subscribed

* convert subscribed to follower

* backend - update tests

* frontend - fix typings

* finish follower port

* update comment

* fix email button display issues

* remove loading on AuthButton to prevent two spinners
2019-10-23 16:34:10 -05:00
Danny Skubak 58eb8f2455 Make Accepted Proposals Live (#34)
* make accepted proposals live

* update tests
2019-10-17 17:25:12 -05:00