Commit Graph

400 Commits

Author SHA1 Message Date
AMStrix 73bbb1e7cd Add 404 Page (#118) 2018-09-27 22:03:53 -05:00
William O'Beirne e47b598739 Functioning proposal teams (pt 2 - the views) (#116)
* Team create flow step

* Show team on review step.

* Fix image types.

* Get team into ideal format. Properly post it to backend.

* Validate team forms and show errors.

* Adjust team member buttons.

* Add social medias to examples.

* Transform post and get responses to align with the TeamMember type.

* Split out user row and address row components. Use user row in the team block on proposal view.

* Use team on proposal card. Make user avatar component, use in create flow.

* Fix proposal preview.

* Fix up stories, add new one for UserRow
2018-09-27 15:39:37 -05:00
William O'Beirne 3b161f3476 Functioning proposal teams (pt 1 - the form) (#115)
* Team create flow step

* Show team on review step.

* Fix image types.

* Get team into ideal format. Properly post it to backend.

* Validate team forms and show errors.

* Adjust team member buttons.
2018-09-27 15:25:49 -05:00
Daniel Ternyak 0510cf3c8d
Fix Proposal Create 2018-09-26 03:46:30 -05:00
William O'Beirne 2886042c33 Style tasks (#103)
* Upgrade ant. Adjust header icon and styles.

* Remove unused newsletter form component.

* Fix up missing fonts, weights, spacings. Add some minor overrides to Ant.

* Fix progress percent going gren.

* Move styles to less.
2018-09-25 15:14:51 -05:00
Daniel Ternyak 397079869a
"Fuller" Users (#96)
* check in progress

* revert

* fix up API, add tests

* remove unused milestone commands

* support filtering users via proposalId

* get UI working

* refactoring / add minimum team size.

* fix proposal create API to properly support both email and account based
2018-09-25 15:09:25 -05:00
William O'Beirne 15f83f7d51 Fix body to be height of sidebar. (#104) 2018-09-25 14:52:08 -05:00
Daniel Ternyak 537db7b841
Use local accounts for proposal autofill (#105) 2018-09-25 14:49:47 -05:00
William O'Beirne 75f0b72022 Cancel / Refund proposal (#100)
* Cancel / refund modal for proposals. Fix some states where frozen contract still allowed interaction.

* Add more refund states. Move styles to less.

* Fix tsc, simplify logic
2018-09-25 14:41:47 -05:00
AMStrix 8be518fff7 Integrate Storybook (#98)
* add missing static alias + include ./stories in tsconfig

* add storybook dep + script + babel-core bridge dep.

* storybook setup

* expose unconnected Component for storybook

* fix discovered styling issue

* dummy props (ProposalWithCrowdFund)

* Basic stories.
2018-09-25 15:02:29 -04:00
Daniel Ternyak a8266eb4ac
Allow Proposal Auto-fill on Production (#97) 2018-09-25 13:31:17 -05:00
AMStrix e05fc5ec91 Markdown & MarkdownEditor to less. Remove styled-components SSR/dependencies. (#92)
* Markdown to less.

* MarkdownEditor to less.

* remove markdownStyles

* Remove styled-components loaders.

* Remove styled-components SSR.

* Remove styled-components dependency.

* Give shared markdown styles mixin a dedicated file.

* checkBodyOverflow on mount if proposal already loaded
2018-09-23 00:09:12 -05:00
AMStrix 694c7aebda NewsletterForm & ShortAddress to less. (#91)
* NewsletterForm to less.

* ShortAddress to less.
2018-09-22 11:57:04 -05:00
AMStrix 6f67d08985 Comment, Placeholder & Routes to less. (#88)
* Placeholder to less.

* Comment to less.

* Routes globals to less.

* remove comments
2018-09-22 11:53:22 -05:00
AMStrix f8321be39e Proposal style to less. (#90)
* Proposal CampaignBlock to less.

* remove comments

* ProposalComments to less.

* Capture heirarchy CampaignBlock -> ProposalCampaignBlock

* ProposalGovernance to less.

* ProposalMilestones to less.

* ProposalUpdates to less.

* Proposal root style to less.
2018-09-22 11:44:55 -05:00
AMStrix c1fa67234a Fix Naked Initial Load (#86)
* include more stats data for SSR to inspect

* more efficient/aggressive splitting

* include chunks with loadable chunk common origins

* use same uglify plugin as the webpack pkg to avoid es module errors during build
2018-09-20 19:45:02 -05:00
William O'Beirne e0b94d06e1 Create Flow (first pass) (#76)
* Initial work on create flow.

* Redux and validation initial work.

* Fix typescript issues

* Review page

* Misc fixes

* Example fill in, and initial state setting.

* Milestone timeline in review

* Initial markdown state

* Draft saving, loading, resetting. Using local storage for now.

* Fix initial milestone state. Make steps clickable.

* Preview functionality.

* Create governance step that handles all contract data.

* Proposals can now be created with new flow. Team has been dismantled.

* Replace old create with new flow. Adjust url casing.

* Convert styles to less

* Fix form reset

* Remove team step

* tsc

* Show errors.

* Prevent publish if there are any errors.

* Remove comments, variablize time.

* Reset crowd fund deploy state when form is mounted to prevent getting error / success message from previous deploy.
2018-09-20 13:58:47 -05:00
AMStrix c77ecdf761 UserRow & Web3Page to less (#80)
* Web3Page to less

* import React

* UserRow to less
2018-09-19 20:57:05 -05:00
AMStrix 224d95cdbe Header, Footer & Home styled to less conversion (#75)
* Header to less

* Header - remove  redundant React.Fragments

* Home to less

* Footer to less
2018-09-19 20:48:49 -05:00
Daniel Ternyak 30b89b1493
Fix Zeit Deployments (#81)
* check-in attempt at whitelisted files for zeit

* working zeit uploading
2018-09-19 20:45:51 -05:00
AMStrix c768292d2e Convert proposals to less (#74)
* main component to less

* add classnames dep

* ProposalCard to less

* fix css naming violations
2018-09-19 10:49:45 -04:00
Daniel Ternyak 6613d99e8a
Route Enhacements (#70) 2018-09-18 17:20:17 -05:00
William O'Beirne 4542dccfa9 Stubbed out comments UI (#57)
* Check in progress on comments.

* Reduced markdown options for comments.

* Comment replies.

* Fix tsc

* TSC fix
2018-09-18 17:15:01 -05:00
AMStrix d977d990c4 Post nextjs cleanup (#66)
* remove next deps

* remove next related files

* remove other unused deps

* remove more deps + their *.d.ts

* add explicit core-js dep (for babel-preset-evn/polyfill)

* use abs path for node_modules to limit resolution to package dir
2018-09-18 12:12:59 -04:00
Aaron 3aa2af4355
env var to disable ts check during dev building 2018-09-18 09:17:13 -05:00
AMStrix 6807232a54 Fix title comment bug (#67) 2018-09-17 23:36:24 -05:00
AMStrix fe1e2a8df3 Replace nextjs (#54)
* add new deps

* remove .babelrc

* add main files

* package scripts + add missing typings

* tslint ignore json

* replace next/router

* replace next/link

* HMR + configureStore + fontawsome header link

* Use Link instead of Redirect to solve same page redirect problem.

* Home svg import.

* hide filter button even if ant styles load first

* Integrate Helmet

* adjust style loading + fix font-face url format

* import style higher in render tree for improved SSR

* dev.js - nodemon only watch build/server dir

* precedence order fixed

* keep_fnames=true to keep uglifyjs from mangling BN

* small cleanup
2018-09-17 15:55:49 -05:00
Daniel Ternyak cf8e621528
Hidden Proposal Form auto-complete (#53) 2018-09-17 15:15:22 -05:00
Daniel Ternyak c93b0526c8
Contribution Tab Copy Change (#55) 2018-09-17 11:01:01 -05:00
William O'Beirne 210b656939
Merge pull request #49 from grant-project/show-contribution-amounts-frontend
Show Proposal Contribution Amounts
2018-09-17 11:59:27 -04:00
Daniel Ternyak 7ee1a9b098
fix imports 2018-09-17 10:55:20 -05:00
Daniel Ternyak 2eff37c401
address PR comments 2018-09-17 10:53:50 -05:00
Daniel Ternyak 6edec49575
handle no contributors 2018-09-16 14:59:32 -05:00
Daniel Ternyak fbe9361846
Update Tagline 2018-09-16 14:19:18 -05:00
Daniel Ternyak f1ca2bfa66
revert 2018-09-16 01:53:22 -05:00
Daniel Ternyak 3862b18670
Fix Funding Progress calculation
Fix BN types
Add contributors tab
Adjust UserRow to optionally show amount as secondary text
Add contributionAmount to contributors in crowdFund
General cleanup
2018-09-16 01:46:40 -05:00
William O'Beirne 0b50fcc4e1 Convert all units to BN, type web3 (#47)
* BigNumber and type web3 all the things.

* Remove logs
2018-09-14 16:54:27 -05:00
Will O'Beirne d3a46499e9
Ignore vscode files. 2018-09-14 10:54:52 -04:00
Will O'Beirne b344cce349
Exclude static & next built files. 2018-09-14 10:53:41 -04:00
Daniel Ternyak 276e3a2b94
Update Tagline (#45)
* Update landing page tagline

* One more update
2018-09-13 23:12:31 -05:00
William O'Beirne df1160acf5 Working Refunds (#32)
* Add and use placeholder component.

* Allow debugging from truffle

* Implement refunding

* Fix tsc

* Double transaction for first refund.
2018-09-13 22:48:01 -05:00
William O'Beirne ab66cf6ea4 Conditionally show "See more" button (#38) 2018-09-13 21:45:25 -05:00
William O'Beirne 5df7f93df7 Redux dev tools in production (#39) 2018-09-13 18:42:49 -05:00
William O'Beirne e4779d1410 Mobile-friendly search filters (#37)
* Remove affixed filters. Replace with responsive drawer filters.

* Fix ts error
2018-09-13 16:49:43 -05:00
William O'Beirne 0e3c6c6fc0 Unify markdown, make styles consistent (#36)
* Unify markdown engines.

* Switch to Markdown component everywhere. Style markdown consistently.

* Upgrade typescript to 3.0.3

* Remove non-working highlighter
2018-09-13 16:05:36 -05:00
William O'Beirne 4305143312 Upgrade typescript to 3.0.3 (#35) 2018-09-13 15:34:36 -05:00
Will O'Beirne aee19744f6
Fix window and styled errors. 2018-09-11 13:18:57 -04:00
Will O'Beirne f8faaf115a
Fix all ts errors, any and todo ones that cant be. Squashed history due to master rebase. 2018-09-11 12:16:57 -04:00
Will O'Beirne 1a20ea18e0
Swap out background. 2018-09-10 16:49:59 -04:00
Daniel Ternyak 2f513d0ce6
initial commit 2018-09-10 11:55:26 -05:00