Commit Graph

305 Commits

Author SHA1 Message Date
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 0e3302ccfe
Update test_api.py 2018-09-18 17:59:04 -05:00
Daniel Ternyak 6613d99e8a
Route Enhacements (#70) 2018-09-18 17:20:17 -05:00
Daniel Ternyak 02d703a32a
Create Proposal Comment API (#29)
* Create Proposal Comment API
Flesh out Testing Frameworks
Create initial test

* add flask_testing to requirements.txt

* Fix test client table setup in sqlite.

Apparently there are some issues when using flask with sqlite in memory, so simply persisting sqlite to disk fixes migrations.

* Fix resource creation status codes 204 -> 201.

* Fix and add tests

* add signing stub

* remove front-end changes
2018-09-18 17:17:34 -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
William O'Beirne bed95f7f9b
Merge pull request #72 from grant-project/env-no-dev-ts-check-setting
Disable typescript checking during dev build via .env
2018-09-18 12:01:54 -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
William O'Beirne 47a14af2e3
Merge pull request #52 from grant-project/update-tagline-again
Update Tagline
2018-09-17 11:46:16 -04:00
Daniel Ternyak 934c39ada4
Merge branch 'develop' of https://github.com/dternyak/grant-monorepo into show-contribution-amounts-frontend 2018-09-17 10:44:48 -05:00
William O'Beirne d785669fc3
Merge pull request #48 from grant-project/show-contribution-amounts-contract
Show contribution amounts
2018-09-17 11:29:10 -04: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
Daniel Ternyak 329319692a
add test for getContributorContributionAmount 2018-09-16 00:33:34 -05:00
Daniel Ternyak b47818bdff
add getContributorContributionAmount getter 2018-09-16 00:30:44 -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
William O'Beirne 5e1168d8f8
Merge pull request #46 from grant-project/exclude-build
Exclude static & next built files from tsconfig
2018-09-14 10:58:01 -04: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
Daniel Ternyak 149420bbb1
Merge pull request #23 from grant-project/zero-ts-errors
"Fix" all typescript errors
2018-09-11 15:36:11 -05:00
Daniel Ternyak e92be02314
Merge pull request #24 from grant-project/travis-ci
Travis CI
2018-09-11 15:32:06 -05:00
Will O'Beirne 420005727d
Merge branch 'zero-ts-errors' into travis-ci 2018-09-11 16:03:35 -04:00
Will O'Beirne 08afe6cec2
Start ganache. Example test for python to pass. 2018-09-11 16:00:15 -04:00
Will O'Beirne 53ad4c5509
I am an idiot. 2018-09-11 15:52:10 -04:00
Will O'Beirne 6fb5ff335a
Install truffle for contract, copy .envexample for python 2018-09-11 15:44:01 -04:00
Will O'Beirne 08e8360393
cd before install instead of before script. 2018-09-11 15:40:32 -04:00
Will O'Beirne e562843146
No tests yet, duh. 2018-09-11 15:37:57 -04:00