Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scrolling style to too-large error tables #1740

Merged
merged 4 commits into from
Apr 18, 2022

Conversation

StephenBarlow
Copy link
Contributor

No description provided.

@netlify
Copy link

netlify bot commented Apr 15, 2022

Deploy Preview for apollo-federation-docs ready!

Name Link
🔨 Latest commit fe34baa
🔍 Latest deploy log https://app.netlify.com/sites/apollo-federation-docs/deploys/625a02c909d31b0008eda200
😎 Deploy Preview https://deploy-preview-1740--apollo-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 15, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@StephenBarlow
Copy link
Contributor Author

@pcmanus I've made this change the wrong way, editing the article's output instead of the source template. Being a bit of a TypeScript newbie, I'm not figuring out the right way to modify the .ts template with these changes and then compile them out so they run properly in CI. Could you take a look at this when you have a chance?

This just makes sure the error code table doesn't extend arbitrarily far out beyond the bounds of the article.

* Update script to build out template with HTML tags (cc @StephenBarlow)
* Fix typos in error messages
* Update script to use typescript source so it doesn't have to be compiled
benweatherman and others added 2 commits April 15, 2022 15:43
- Update script to build out template with HTML tags (cc @StephenBarlow)
- Update script to use typescript source so it doesn't have to be compiled

TL;DR Make the same tweaks to the hints generation as the error generation
@StephenBarlow
Copy link
Contributor Author

@benweatherman I pushed up some tweaks to the hints article template and would love one last sanity check before merge whenever's convenient! fe34baa

Copy link
Contributor

@benweatherman benweatherman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐐 This is great! Thanks for code golfing with us.

Lemme know if you want me to merge this or if you wanna do the needful.

@StephenBarlow StephenBarlow merged commit 533ba66 into apollographql:main Apr 18, 2022
@StephenBarlow
Copy link
Contributor Author

Woo thanks all! Merged 😎

@StephenBarlow StephenBarlow deleted the sb/fix-monster-table branch April 18, 2022 16:19
benweatherman added a commit that referenced this pull request Apr 25, 2022
# [2.0.2-alpha.0] - 2022-04-22

## 🚀 Features

- Improve fed1 schema support during composition [PR #1735](#1735)
- Add gateway version to schema extensions [PR #1751](#1751)

## 🐛 Fixes

- Improve merging of groups during `@require` handling in query planning [PR #1732](#1732)
- Move `__resolveReference` resolvers on to `extensions` [PR #1746](#1746)
- Honor directive imports when directive name is spec name [PR #1720](#1720)

## 🛠 Maintenance

- Improved renovate bot auto-updates for 0.x packages [PR #1736](#1736) and [PR #1730](#1730)
- Add missing `@apollo/federation-internals` dependency to gateway [PR #1721](#1721)
- Migrate to `@apollo/utils` packages for `createSHA` and `isNodeLike` [PR #1765](#1765)

## 📚 Documentation

- Roadmap updates! [PR #1717](#1717)
- Clarify separation of concerns in the intro docs [PR #1753](#1753)
- Update intro example for fed2 [PR #1741](#1741)
- Improve error doc generation, add hints generation, add scrolling style to too-large error tables [PR #1740](#1740)
- Update `supergraphSDL` to be a string when creating an `ApolloGateway` [PR #1744](#1744)
- Federation subgraph library compatibility updates [PR #1718](#1744)
@benweatherman benweatherman mentioned this pull request May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants