Commit Graph

347 Commits

Author SHA1 Message Date
Jake
345094df2c initial notes 2018-06-20 16:34:34 -04:00
Jesse Rosenberger
09fc19ad1d docs: Add/update documentation README.md. 2018-06-18 14:15:03 +03:00
Jesse Rosenberger
60eec9d687 Move documentation header down by hard-coding docstart to be taller.
This is more difficult than it should be because the `docstart` has to have
a fixed height because its children take up no actual height within it.
2018-06-15 20:18:15 +03:00
Jesse Rosenberger
57e4e449cf Fix capitalization. 2018-06-15 19:41:38 +03:00
Jesse Rosenberger
c03c77dae7 Merge pull request #170 from apollographql/abernix/cloudflare-ea
Add banner for early-access to Edge.
2018-06-15 19:38:15 +03:00
Jesse Rosenberger
ead3d1a660 Add banner for early-access to Edge. 2018-06-15 19:35:32 +03:00
Jesse Rosenberger
330d5c6cf0 Merge branch 'abernix/annotate-2.0' 2018-06-15 18:53:57 +03:00
Jesse Rosenberger
af28b0579e Annotate homepage with 2.0 text. 2018-06-15 18:53:33 +03:00
Jake Dawkins
528ec52a94 React Apollo Testing (#164)
<!--**Pull Request Labels**

While not necessary, you can help organize our pull requests by labeling this issue when you open it.  To add a label automatically, simply [x] mark the appropriate box below:

- [ ] feature
- [ ] blocking
- [ ] docs

To add a label not listed above, simply place `/label another-label-name` on a line by itself.
-->

# Testing React Apollo 

This is a guide specifically for testing React Apollo. Based off of @excitement-engineer's (great) original work [in this PR](https://github.com/apollographql/apollo-client/pull/3309).

**A few notes:**
- I'm keeping this separate from server testing, since combined I think they'll be too long. **I'm open to discussion on this, though**.
- I added the guide here rather than React Apollo's docs, since I feel like we have a good set of `guides` here, and would hate for this to be missing. I also feel like the view logic may transfer to other UI integrations, but I don't have a lot of insight into that.
- I went with using `wait(0)` instead of refactoring and counting renders like some other exmples do, for simplicity. I wanted to lower the barrier of entry for testing as much as possible.
- I used `react-test-renderer` instead of Enzyme or anything else, just to keep the toolset as simple as possible.
2018-06-14 11:12:41 -04:00
James Baxley
a525a78a4f fix syntax for query type in breaking change example 2018-06-13 09:14:36 -04:00
Prosper Otemuyiwa
4de761c9d0 Merge pull request #163 from apollographql/switch-link
Change link to Apollo Server 2
2018-06-01 19:39:35 +01:00
unicodeveloper
b324d88a29 Change link to Apollo Server 2 2018-06-01 19:34:39 +01:00
Dhaivat Pandya
6d1028be03 Revert "added schema organization article"
This reverts commit 1b778a6a1a.
2018-06-01 00:00:51 -07:00
Dhaivat Pandya
1b778a6a1a added schema organization article 2018-05-31 23:57:09 -07:00
Prosper Otemuyiwa
9d3eb49761 Merge pull request #160 from apollographql/lorensr-patch-1
Fix typo in access-control.md
2018-06-01 06:58:02 +01:00
Loren ☺️
08b032b637 Fix typo in access-control.md 2018-05-31 22:22:01 -04:00
Hugh Willson
6121233fc0 Merge pull request #159 from coryc5/fix-fundamentals-docs
Fix image link for fundamentals guide
2018-05-31 20:17:34 -04:00
Cory Caprice
7ad0bc6e99 fix image link for fundamentals guide 2018-05-31 18:19:54 -05:00
Jesse Rosenberger
b7be9df4e3 Merge pull request #158 from apollographql/renovate/meteor-theme-hexo-1.x
Update dependency meteor-theme-hexo to v1.0.13
2018-06-01 00:34:42 +03:00
Renovate Bot
341422af47 Update dependency meteor-theme-hexo to v1.0.13 2018-05-31 21:25:01 +00:00
Jesse Rosenberger
9176dc5ca7 Change "Platform" to "Documentation". 2018-05-31 23:43:52 +03:00
Jesse Rosenberger
d43d92a97e Change section headers on /docs. 2018-05-31 22:13:58 +03:00
Peggy Rayzis
cbdbb1f800 Merge pull request #155 from apollographql/201705-docs
Introduce guides, practices and fundamentals.
2018-05-31 14:58:44 -04:00
Jesse Rosenberger
b71dda7d01 Merge branch 'master' into 201705-docs 2018-05-31 21:39:49 +03:00
Jesse Rosenberger
6584c9e5c2 Merge pull request #157 from apollographql/renovate/meteor-theme-hexo-1.x
chore(deps): update dependency meteor-theme-hexo to v1.0.11
2018-05-31 21:36:07 +03:00
Jesse Rosenberger
7bd3c30da2 Switch to a fancier right angle chevron.
This looks a bit nicer than the usual `>` character.
2018-05-31 21:22:47 +03:00
Jesse Rosenberger
0e8afca0ce Move p styling to be within the appropriate DIV class.
Without this change, the `p` style affects the entire repository since all
stylesheets are bundled into a single file.  There's no autoprefixing going
on here, but this allows the `theme-colors` to have the ultimate override
abilities!

cc @unicodeveloper
2018-05-31 21:22:47 +03:00
Jesse Rosenberger
4a827979ef Lower the font-size of Documentation to match other headers. 2018-05-31 21:22:46 +03:00
Jesse Rosenberger
1e47c6ea6b Remove trailing spaces. 2018-05-31 21:22:46 +03:00
Jesse Rosenberger
1b04a7e18c Move .doc class as a child of .documentation to avoid namespace clashes. 2018-05-31 21:22:46 +03:00
Renovate Bot
6d376a7f7d chore(deps): update dependency meteor-theme-hexo to v1.0.11 2018-05-31 18:19:05 +00:00
Peggy Rayzis
e0bd90e79e Added more Engine screenshots to monitoring 2018-05-31 14:15:09 -04:00
Peggy Rayzis
0d990b305f Updated state mgmt 2018-05-31 13:44:25 -04:00
Peggy Rayzis
2379139524 Change platform to link to docs 2018-05-31 13:42:08 -04:00
Jesse Rosenberger
3b1d0fae67 Change repo title to "Developers", rather than "Documentation". 2018-05-31 20:29:34 +03:00
Hugh Willson
7da41a75a8 Address tips intro feedback 2018-05-31 13:03:04 -04:00
Jesse Rosenberger
7e0c0f68b4 Fix link to Apollo Server 2018-05-31 19:51:27 +03:00
Jesse Rosenberger
821cd2ac85 Merge pull request #156 from apollographql/abernix/schema-design-tweaks
Address `schema-design.md` feedback.
2018-05-31 19:32:30 +03:00
Jesse Rosenberger
8e2e2b7883 Stop collecting "collections".
This was truly an embarrassing collection of "collections".

Addresses: @sashko's https://github.com/apollographql/apollo/pull/156#pullrequestreview-124870960
2018-05-31 19:30:54 +03:00
Jesse Rosenberger
7a09ad19de Add warning about sharing an input type between a query and a mutation.
Addresses: @peggyrayzis' https://github.com/apollographql/apollo/pull/156#discussion_r192148408
2018-05-31 19:24:58 +03:00
Hugh Willson
b017a9dcff Add Apollo Server mention to JS server tip 2018-05-31 12:07:19 -04:00
Jesse Rosenberger
b56da257a8 schema-design: comment out gql section.
While we have some concrete reasons to recommend this, we haven't let the
concrete dry yet.

We'll re-surface this information in the future.
2018-05-31 18:55:46 +03:00
Jesse Rosenberger
662e20acc8 schema-design: Address input type feedback. 2018-05-31 18:42:32 +03:00
Hugh Willson
ca10e163c8 Addressed some of the oustanding tips feedback; Grammar, flow, etc. 2018-05-31 11:41:21 -04:00
unicodeveloper
7691ccff0b Replace config title with documentation 2018-05-31 16:33:02 +01:00
unicodeveloper
6e287d8145 Change getting started to welcome 2018-05-31 16:29:39 +01:00
unicodeveloper
769d0a27d5 Fix stacking of mobile buttons on all devices. Responsive AF 2018-05-31 16:21:52 +01:00
unicodeveloper
4a02d42aac Add padding to headers 2018-05-31 16:07:46 +01:00
unicodeveloper
0628a5e06d Remove the borders entirely and cewnter the docunentation properly 2018-05-31 15:56:38 +01:00
Hugh Willson
793722e99f Add tips intro 2018-05-31 10:36:07 -04:00