99 Commits

Author SHA1 Message Date
Rufus Pollock
9c82897f3b
Merge pull request #43 from datopian/enh/40-update-theme
[#40] Update theme of default app
2020-08-04 12:30:41 +01:00
Tavares Hansen
cee55cf10d [misc][x]: get rid of prestart script 2020-08-02 20:50:35 -07:00
Tavares Hansen
d4f837e8f5 [misc][x]: add custom font sizes 2020-08-02 20:45:15 -07:00
Tavares Hansen
951eab9416 [misc][x]: use theme color (#40) 2020-08-02 19:54:27 -07:00
Tavares Hansen
a5a5e6e600 [fix][x]: purge css in prod mode (#40) 2020-08-02 19:54:04 -07:00
Tavares Hansen
ba68632805 [enh][m]: update theme (#40) 2020-08-02 19:29:25 -07:00
Abhishek Gahlot
18d7039dc9
Create jest.yml 2020-07-27 14:16:24 +05:30
Abhishek Gahlot
0c80f84794 Initial new tests for components 2020-07-27 14:09:33 +05:30
Abhishek Gahlot
1f172b8173
Update README.md 2020-07-19 16:49:25 +05:30
Gift Egwuenu
d9b5c4ddbd
[tests][m]: Setup Integration Tests with Cypress (#26).
* [cypress][s]-setup-integration=with-cypress
* [fix][s]- fix typescript bug 'All files must be modules when the '--isolatedModules' flag is provided' by adding an 'export {}' to all test files
* Fixes of cypress tests
* Use yarn everywhere not npm

Co-authored-by: Abhishek Gahlot <me@abhishek.it>
2020-07-17 17:16:26 +02:00
Rufus Pollock
3cc1c1dca8 [README][m]: add a features section (with emojis!) plus start of architecture section at the bottom. 2020-07-13 09:56:33 +02:00
anuveyatsu
618e1532be [blog][xs]: add Blog to navbar. 2020-06-26 18:06:16 +06:00
anuveyatsu
1f395227c4 [pages][m]: implementd pages from wordpress. 2020-06-26 18:00:33 +06:00
anuveyatsu
2cc9d1a628 [blog][m]: implemented blog home and individual post pages. 2020-06-26 18:00:18 +06:00
anuveyatsu
24c0ced96b [cms api][s]: setup Apollo client with WordPress API.
We're using oddk for the demo here.
2020-06-26 17:57:56 +06:00
anuveyatsu
b19a37e21a [docs][xs]: notes about which CKAN features aren't yet in Portal. 2020-06-26 13:42:03 +06:00
anuveyatsu
90f3fc0f68 [docs][s]: about data fetching using Apollo client. 2020-06-24 15:00:25 +06:00
anuveyatsu
0dbe145e8c [clean up][xs]: removed unnecessary imports. 2020-06-24 14:59:54 +06:00
anuveyatsu
5e62325c91 [recent datasets][xs]: only need first 3 datasets. 2020-06-24 13:02:33 +06:00
anuveyatsu
19f1d4b408 [bug fix][xs]: some datasets may not have owner organization. 2020-06-24 12:55:29 +06:00
Anuar Ustayev
cf6fbe60a8
Merge pull request #28 from datopian/make-recent-datasets-dynamic
[Home][s]- Remove Hardcoded Recent Datasets
2020-06-24 12:48:17 +06:00
anuveyatsu
11feb03a7e [bug fix][xs]: fix wrong sort arg in variables. 2020-06-24 12:46:07 +06:00
anuveyatsu
a677e0894b [home page][xs]: DRY in mocks. 2020-06-24 12:38:40 +06:00
anuveyatsu
01566a0cc7 [home page][xs]: integrate with Apollo. 2020-06-24 12:32:44 +06:00
anuveyatsu
0bc0424d14 Merge branch 'master' into make-recent-datasets-dynamic 2020-06-24 12:23:39 +06:00
Anuar Ustayev
3909dfacec
Merge pull request #27 from datopian/feature/apollo-setup
Feature/apollo setup
2020-06-24 12:17:56 +06:00
anuveyatsu
4d065955b3 [bug fix][xs]: Form component doesn't expect any args. 2020-06-24 12:14:55 +06:00
anuveyatsu
cc63506570 [apollo dependencies][xs]: using stable version of apollo-link-rest that doesn't depend on a new @apollo/client package that has number of bugs.
This was breaking deployments when trying to build production bundles.
See this issue for details: https://github.com/apollographql/apollo-client/issues/6011
2020-06-24 12:12:55 +06:00
anuveyatsu
4baf72273d [resource page][m]: refactored page and components to work with Apollo client wired with CKAN API. 2020-06-24 11:37:11 +06:00
anuveyatsu
2589ecaeeb [dataset page][m]: setup dataset page to work with Apollo client connected to CKAN API. 2020-06-23 14:43:09 +06:00
anuveyatsu
1240eb8170 [search][xs]: clean up unnecessary variable assignment. 2020-06-23 14:06:26 +06:00
anuveyatsu
10b0b2a865 [clean up][s]: removed outdated apollo server mocks and config module which is now replaced by next.config.js.
Also, removed all leftover and not used packages and npm scripts.
2020-06-23 10:54:57 +06:00
anuveyatsu
55d9c68b34 [mocks][m]: setup CKAN api mocks with the new apollo setup. 2020-06-23 10:43:53 +06:00
anuveyatsu
50119bf33f [bug fix][xs]: componenet name has changed. 2020-06-23 10:10:01 +06:00
anuveyatsu
d3a2a1da8e [ckan api + apollo][l]: setup apollo client to connect to actual CKAN API. 2020-06-23 10:09:19 +06:00
Gift Egwuenu
702f796d6f [home][s]-make recent dataset section dynamic 2020-06-22 10:36:59 +01:00
anuveyatsu
bbea63aae7 [mocks][xs]: refactor mock server module. 2020-06-22 12:33:47 +06:00
anuveyatsu
e11133c32e [resource page][m]: refactor to work with Apollo. 2020-06-22 10:58:30 +06:00
anuveyatsu
9ae654dc71 [dataset page][xl]: refactor to work with Apollo. 2020-06-22 10:39:07 +06:00
anuveyatsu
04afb487c7 [search][xs]: clean up imports. 2020-06-19 18:13:19 +06:00
anuveyatsu
1fd02c18b7 [mocks][s]: move graphql schema into separate file and add 'DatasetResponse' type. 2020-06-19 18:12:21 +06:00
anuveyatsu
8b8adccc74 [error component][xs]: move it to top level dir so we can easily use it for other components. 2020-06-19 18:11:34 +06:00
Gift Egwuenu
676d54280d [home][s] - add mock data for recent datasets 2020-06-19 13:07:41 +01:00
anuveyatsu
5f84d7f5b7 [search][s]: implement 'Form' component that merges 'Input' and 'Sort' components and fixes 'Sort' functionality. 2020-06-19 17:05:55 +06:00
anuveyatsu
dfd5efa961 [apollo][xl]: mocked graphql setup + search page working from apollo now. 2020-06-19 16:23:01 +06:00
anuveyatsu
f0d1bc0d3b [apollo][l]: initial commit for setting up Apollo. 2020-06-19 10:25:21 +06:00
anuveyatsu
9b957abf06 Merge branch 'master' of github.com:datopian/portal 2020-06-18 10:31:38 +06:00
Anuar Ustayev
5e2ee1955a
Should be double 'm' in 'commit' + added more formats that should be processed by prettier. 2020-06-17 18:35:48 +06:00
Anuar Ustayev
4452ee01c0
Merge pull request #23 from datopian/setup-code-formatter
[Setup][s]- Setup Prettier as Code Formatter
2020-06-17 18:24:39 +06:00
Gift Egwuenu
5de8ace421 [setup][s]-setup code formatting with prettier
- add husky and lint-stages for pre-commit hooks
 - format entire codebase using `yarn format`
2020-06-17 13:07:00 +01:00