Skip to content

Add Tailcall config generator page#624

Closed
capturartelab wants to merge 713 commits into
tailcallhq:mainfrom
capturartelab:bounty-373-config-generator
Closed

Add Tailcall config generator page#624
capturartelab wants to merge 713 commits into
tailcallhq:mainfrom
capturartelab:bounty-373-config-generator

Conversation

@capturartelab

Copy link
Copy Markdown

Summary

Adds an initial /app/config page for generating Tailcall configuration files from a guided web UI.

The new page:

  • Loads the generated Tailcall runtime JSON schema from the Tailcall repo.
  • Provides controls for common server settings, routes, HTTP version, federation, query validation, batching, headers, and REST-like endpoints.
  • Previews both runtime JSON and GraphQL SDL output.
  • Lets users download tailcall.runtime.json and tailcall.config.graphql.

Related issue

Closes #373

Validation

  • git diff --check passed locally.
  • npm ci completed.
  • npm run build completed successfully and generated static files in build.
  • npm run typecheck currently fails on pre-existing project files outside this PR, including publish-externals/src/utils/hashnode.ts, src/components/playground/Playground.tsx, and search theme files. The errors do not reference the new /app/config page or ConfigGenerator component.

amitksingh1490 and others added 30 commits June 26, 2024 13:11
* fix: update to latest versions

* fix: update node version

* fix: update doc

* fix: update doc

* revert: node changes

* revert: node changes
* docs: what is graphql

* docs: prettier

* docs: fix meta
* - updated the gen command docs.

* - added examples to understand transformers.

* - added examples for consolidateURL transformer.

* - added styles

* - added formatting and info sections.

* - added formatting for jsons.

* typo fixed.

* - prettier formatting.

* update CLI docs

* update CLI docs

---------

Co-authored-by: Tushar Mathur <tusharmath@gmail.com>
* docs: schema and types

* style: lint errors

* style: lint errors
* doc: queries.md

* doc: grammar check
* doc: mutations

* doc: update mutations

* doc: update mutations
* update the header usage.

* - use info instead tip admonitions

* - updated description

* - remove un-necessary headers.

* - added yml tabs for config.

* - fixed format name.

* - fixed typo

* fix indentation

---------

Co-authored-by: Tushar Mathur <tusharmath@gmail.com>
…tailcallhq#313)

* doc(graphql): graphql react

* doc(graphql): update

* doc(graphql): prettier

* docs: Add caching and error handling sections based on tailcallhq#308

* style: lint

---------

Co-authored-by: amit <amitksingh1490@gmail.com>
* - add config generator docs.

* - added examples to understand the mergeType better.

* - add links.

* - added recommended settings section.

* - improved description of input sources.

* - formatted code.

* - improve the question answers.

* - renamed file to config-generation.md

* - added remaining sections.

* - added FAQ section.

* - added graphQL config examples.

* - added to sidebar

* - lint formatting.

* - fixed merging example.
- fixed json examples

* - added backlinks.

* - formatting fixes.

* - add backlinks

* - fix formatting

* - format json and yml.

* - fix yaml.

* - typo fix spelling.

* - removed duplicate sections

* - made input to h4.

* - change proto to gRPC.

* - format json and yml sections.

* - fixed yml indentation

* - removed input sources.

* - update manual efforts required for schema
* - format the yml proto example

* - added command usage.

* - remove heading type.
* Add outline for blog post: Understanding GraphQL Subscriptions

* Add outline for blog post: Understanding GraphQL Subscriptions and updated the README.md file

* first commit
* Update ci.yml

* fix: handle edge case where no files are found
* --wip-- [skip ci]

* blog: move blogs to website

* blog: fix canonical urls

* blog: fix canonical urls

* blog: fix format

* blog: fix format
mehulmathur16 and others added 29 commits December 6, 2024 13:22
* drop json/yaml configuration support

* fix: drop json and yaml from homepage

---------

Co-authored-by: amit <amitksingh1490@gmail.com>
* chore: updated favicon

* chore: updated favicon
)

* - use custom fetcher from @graphiql/create-fetcher

* - pass graphQLParams and opts to fetcher

* - fmt fix

* - move fetcher to graphQLFetcher

* - fmt fixes
* - update the docs with Post request batching

* - improve docs

* - format fix

* - update docs

* update flow and text

* update flow and text

---------

Co-authored-by: amit <amitksingh1490@gmail.com>
* fix: add users logo

* update logos and position
* fix: marquee items spacing

* fix: truncation warning
* progress

* progress

* progress

* chore: added version update card

* ci: added release notes generator

* fix: ci

* chore: updated releases

* fix: ci

* chore: navbar changes

* chore: navbar styling

* chore: remove releases index page

* refactor: update releases ci

* test: cron

* revert: test ci

* ci: skip codespell for releases dir.

* testing

* fix: build

* chore: swizzled navbar dropdown menu

* chore: added title class name prop to link button

* fix: dropdown top

* refactor: css

* chore: fix mobile css

---------

Co-authored-by: Author <actions@github.com>
Co-authored-by: Tushar Mathur <tusharmath@gmail.com>
* docs: explain how linked config are merged

* move runtime directives to config folder

* migrate documentation to runtime config

* fix references

* add introduction doc to runtime configuration
* ci: create PR on release updation

* test: releases ci

* test: ci

* test: ci

* revert: test changes
* ci(releases): duplicate PR generation

* testing

* testing

* testing

* revert: test changes
Co-authored-by: tusharmath <194482+tusharmath@users.noreply.github.com>
Co-authored-by: Tushar Mathur <tusharmath@gmail.com>
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.