57 Commits

Author SHA1 Message Date
Jayden Seric
783873a6be Configure Prettier option singleQuote to the default, false. 2021-12-06 23:35:31 +11:00
Jayden Seric
e3d91cb16b Update the example app. 2021-12-06 23:33:08 +11:00
Jayden Seric
8a46155f91 Simplify the example by removing the DB.
This avoids trying to figure out how to fix concurrent writes conflicting with `lowdb` v2, see: https://github.com/typicode/lowdb/issues/478 .
2021-06-11 17:24:42 +10:00
Jayden Seric
359b825194 Use deep default imports instead of index named imports. 2021-05-26 10:31:05 +10:00
Jayden Seric
dba2c9c2dd Tidy app. 2021-02-10 00:49:48 +11:00
Jayden Seric
ddba8be6a4 Use prop-types, update ESLint config. 2021-02-10 00:30:41 +11:00
Jayden Seric
aec1a284be Update app dependencies, migrate from styled-jsx to CSS Modules. 2021-02-10 00:25:17 +11:00
Jayden Seric
06212b1798 Import gql from @apollo/client instead of graphql-tag. 2020-09-12 14:09:54 +10:00
Jayden Seric
9c199e0dc7 Don’t import gql from @apollo/client.
See https://github.com/gajus/babel-plugin-graphql-tag/issues/41 .
2020-07-20 14:53:28 +10:00
Jayden Seric
aec5a2c6fa Update to @apollo/client v3 and apollo-upload-client v14. 2020-07-20 13:52:31 +10:00
Jayden Seric
fd75f4658c Configure Prettier option semi to the default, true. 2020-03-30 19:51:05 +11:00
Jayden Seric
919c1d7a50 Update dependencies.
Includes prettier v2 lint fixes.
2020-03-30 13:00:27 +11:00
Jayden Seric
0fc4ad93e6 Remove unnecessary div. 2019-12-02 15:29:17 +11:00
Jayden Seric
3d0f9e76c1 Component improvements. 2019-12-02 15:08:24 +11:00
Jayden Seric
36af682096 Better submit button. 2019-12-02 14:25:28 +11:00
Jayden Seric
acfe8de26f Update examples, and use device-agnostic-ui. 2019-10-09 20:26:37 +11:00
Jayden Seric
7ffa0546be Switch from react-apollo to @apollo/react-hooks. 2019-10-09 18:58:43 +11:00
Jayden Seric
f89959fec8 Fixes for the updated Next.js version. 2019-10-09 15:12:05 +11:00
Jayden Seric
d9073b1b5b Fix writeQuery for the new Apollo Client version. 2019-07-10 11:48:04 +10:00
Jayden Seric
336ab535ab Lint fixes. 2019-06-11 10:51:52 +10:00
danielpdev
212c22d6bb Moved files for correct imports 2018-12-13 19:16:00 +00:00
Jayden Seric
ae519d9800 Lint fixes. 2018-11-29 07:45:05 +11:00
Jayden Seric
6aa5716636 Tweaked app icons and theme color. 2018-09-18 22:27:00 +10:00
Jayden Seric
6e98e79b58 Simpler app styles. 2018-09-18 22:16:51 +10:00
Jayden Seric
4d258cf0d5 Removed encoding from the File type.
It was missleading, as the encoding was only for the upload stream, not the file contents when stored.
2018-09-18 22:08:10 +10:00
Jayden Seric
7426bbfdcf Renamed app component files. 2018-09-18 20:42:51 +10:00
Jayden Seric
8c632e0dc7 Updated dependencies, refactored ESLint config to use eslint-config-env. 2018-06-24 14:52:36 +10:00
Jayden Seric
e420ac1149 New app manifest extension. 2018-04-25 13:30:10 +10:00
Jayden Seric
c789b3738b Updated dependencies and configs.
- Updated dependencies.
- Using a Next.js plugin for bundle analysis.
- Updated ESLint config.
- Removed npm from package engines.
- Using cross-fetch in place of isomorphic-unfetch.
2018-04-25 13:19:27 +10:00
Jayden Seric
544ce084ba New approach for layout and blob example. 2018-01-29 13:59:58 +11:00
Sam Coenen
b977d14385 Added Blob type example 2018-01-25 15:31:41 +01:00
Sam Coenen
a5f677a377 Adding headers to the file inputs in preparation of Blob type support 2018-01-25 15:31:22 +01:00
Jayden Seric
3f33fb16d8 Support latest client and server alphas.
Also:

- Update deps.
- Lock `apollo-cache-inmemory` to v1.0.0 since newer versions are buggy.
- New file naming approach for stored uploads.
- More intuitive mixed ESM/CJS module imports in the API.
2017-11-20 00:40:10 +11:00
Jayden Seric
fc2fbbb077 App fonts match current Apollo branding. 2017-11-20 00:34:29 +11:00
Jayden Seric
2951ad3434 Smarter cache updates on mutation responses. 2017-11-20 00:31:02 +11:00
Jayden Seric
80c0b372eb More robust global styles. 2017-11-08 15:26:19 +11:00
Jayden Seric
2edbe7fcef Experimental dependency updates.
- React v16
- Apollo Client v2 beta
- Next.js v4 beta
2017-10-02 19:07:41 +11:00
Jayden Seric
5e13f9e20e Lint fixes. 2017-10-02 16:56:14 +11:00
Jayden Seric
e7a5665757 Added web app icons. 2017-08-22 12:50:15 +10:00
Jayden Seric
530e12cbc9 Minor formatting tidy. 2017-08-21 15:16:19 +10:00
Jayden Seric
449b64b17f Added a page component. 2017-08-21 15:14:43 +10:00
Jayden Seric
6a163846f8 Simpler design, better componentization. 2017-08-21 14:08:39 +10:00
Jayden Seric
07ac477fde Component simplifications. 2017-08-21 12:04:47 +10:00
Jayden Seric
c3cdfe7ad2 Upload list renders ok when there are data is loading or errors. 2017-07-27 02:46:47 +10:00
Jayden Seric
0e7723a00e Lint fixes. 2017-07-08 19:11:06 +10:00
Jayden Seric
5cdd6b8982 Any file, not just images, may be uploaded. 2017-04-26 01:41:39 +10:00
Jayden Seric
0a1876b253 Using functional components instead of classes. 2017-04-26 01:38:45 +10:00
Jayden Seric
34758d7c89 Responsive upload list table. 2017-04-09 15:14:32 +10:00
Jayden Seric
67eb0d6ff7 Removed console logs. 2017-04-09 14:58:34 +10:00
Jayden Seric
3b11a922f6 Uploads show up in the uploads list without needing a page refresh. 2017-04-09 14:56:04 +10:00