the-guild-org / docs Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://the-guild-components-storybook.vercel.app/
Home Page: https://the-guild-components-storybook.vercel.app/
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
nextra
, nextra-theme-docs
)@next/bundle-analyzer
, next
)@next/bundle-analyzer
, next
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@types/react
, @types/react-dom
, react
, react-dom
)These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
.github/workflows/ci.yml
actions/checkout v4
pnpm/action-setup v3.0.0
actions/setup-node v4
.github/workflows/cloudflare-workers.yaml
actions/checkout v4
.github/workflows/pr.yml
.github/workflows/release.yml
.node-version
node 20
package.json
@changesets/changelog-github 0.5.0
@changesets/cli 2.27.1
@rollup/plugin-alias 5.1.0
@storybook/addon-postcss 2.0.0
@storybook/global ^5.0.0
@storybook/mdx2-csf 1.1.0
@svgr/webpack 8.1.0
@theguild/eslint-config 0.11.6
@theguild/prettier-config 2.0.6
@theguild/tailwind-config 0.4.1
@types/jest-image-snapshot 6.4.0
@types/react 18.2.76
@types/react-paginate 7.1.4
@types/webpack 5.28.5
concurrently 8.2.2
css-loader 7.1.1
eslint 8.57.0
eslint-plugin-storybook 0.8.0
eslint-plugin-tailwindcss 3.15.1
husky 9.0.11
jest-image-snapshot 6.4.0
lint-staged 15.2.2
next-themes 0.3.0
postcss 8.4.38
postcss-loader 8.1.1
prettier 3.2.5
prettier-plugin-tailwindcss 0.5.14
pretty-quick 4.0.0
react 18.2.0
react-dom 18.2.0
storybook-addon-next 1.8.0
storybook-addon-swc 1.2.0
storybook-dark-mode 4.0.1
style-loader 4.0.0
tailwindcss 3.4.3
tsconfig-paths-webpack-plugin 4.1.0
tsup 8.0.2
tsx 4.7.2
turbo 1.13.2
typescript 5.4.5
vitest 0.34.6
node >=20
pnpm >=8.15
pnpm 8.15.7
hast-util-to-estree ^2.3.3
packages/components/package.json
@giscus/react 3.0.0
@next/bundle-analyzer 13.4.2
clsx 2.1.0
fuzzy 0.1.3
next-videos 1.5.0
nextra 3.0.0-alpha.22
nextra-theme-docs 3.0.0-alpha.22
react-paginate 8.2.0
react-player 2.16.0
remark-mdx-disable-explicit-jsx 0.1.0
semver ^7.3.8
@svgr/babel-plugin-remove-jsx-attribute ^8.0.0
@types/dedent 0.7.2
@types/react-dom 18.2.25
@types/semver 7.5.8
dedent 1.5.3
esbuild-plugin-svgr ^2.1.0
graphql 16.8.1
next 13.4.2
react 18.2.0
react-dom 18.2.0
unified ^11.0.3
next ^13 || ^14
react ^18.2.0
react-dom ^18.2.0
packages/editor/package.json
graphql-language-service 3.2.5
@monaco-editor/react 4.6.0
graphql 16.8.1
monaco-editor 0.47.0
@monaco-editor/react ^4
monaco-editor ^0.40.0 || ^0.41.0 || ^0.43.0 || ^0.44.0 || ^0.47.0
react ^18.2.0
react-dom ^18.2.0
packages/og-image/package.json
@resvg/resvg-wasm 2.6.2
react 18.2.0
satori 0.10.13
yoga-wasm-web 0.3.3
@cloudflare/workers-types 4.20240405.0
@types/react 18.2.76
typescript 5.4.5
wrangler 3.50.0
packages/remark-mermaid/package.json
mermaid ^10.2.2
unist-util-visit ^5.0.0
@types/mdast 4.0.3
react 18.2.0
unified 11.0.4
react ^18.2.0
packages/remark-npm2yarn/package.json
npm-to-yarn ^2.1.0
unist-util-visit ^5.0.0
@types/mdast 4.0.3
nextra 3.0.0-alpha.22
unified 11.0.4
website/package.json
next 13.4.2
next-mdx-remote 4.4.1
react 18.2.0
react-dom 18.2.0
@theguild/tailwind-config 0.4.1
@types/react 18.2.76
typescript 5.4.5
we should improve components to add a new frontMatter prop - og-title
so page title will be not changed
Introduced from #674
Instead of hard-coding an og-image based on two properties provided by docs configuration title
, websiteName
, we should allow to provide a custom url to og-image.
It could be:
interface OgImageProps {
title: string;
description?: string;
}
config = {
ogImage(props: OgImageProps) {
return '....';
}
}
We could use it like this:
config = {
ogImage({title, description}) {
return `https://.......?product=HIVE&title=${title}&extra={description}`;
}
}
No need to pass product
(ex value: HIVE
) to the configuration and we could also experiment with additional text in the og-image or even completely different og-image.
Throw an exception or log an error when a page is missing a description.
SEO
We need OperationsEditor
that has "Schema Awareness" and does validation based on the GraphQL schema.
Use-cases:
We should be able to connect the OperationsEditor
to SchemaEditor
, something like:
const [schema, setSchema] = useState<GraphQLSchema>(null);
return (
<div>
<SchemaEditor value="" onSchemaChange={schema => setSchema(schema)} />
<OperationsEditor value="" schema={schema} />
</div>
);
Maybe make it look like Product Updates from Hive
Hi, I am upgrading from @guild-docs/client
to @theguild/components
in GQty.
I found the current version of @theguild/[email protected]
requires React 18, but it's dependency [email protected]
wants React 16-17.
Which version of React shall I pick?
Shouldn't you provide options
as useEffect
dependency?
and use https://github.com/shuding/react-wrap-balancer to nicely align text
So when clicking on the "Edit this page on Github" button on any of the pages for Envelop's plugins this for example. it redirects to the MDX component responsible for importing the markdown for each plugin as oppose to the plugin's readme URL.
to fix use this class https://tailwindcss.com/docs/gap
In Envelop all plugins retrieved with remote-mdx via getStaticPaths
/getStaticProps
in plugins/[name].mdx
file.
Need find a workaround to set title since frontMatter.title
is undefined
and there is no first heading#
P.S. tried with NextHead but title rollbacks to frontMatter.title
/first heading#
that is undefined
export const PluginPage = () => {
const { compiledSource, title } = useSSG()
return (
<>
<Head>
<title>{title}</title>
</Head>
<MDXRemote compiledSource={compiledSource} components={{ PackageCmd }} />
</>
)
}
Maybe we need to fix it in nextra
to not render title tag if title is falsy
[niko@arch-phoenix docs]$ pnpm install
Scope: all 8 workspace projects
Lockfile is up to date, resolution step is skipped
Packages: +2358
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ERR_PNPM_LINKING_FAILED Error: EAGAIN: resource temporarily unavailable, copyfile '/home/niko/devel/.pnpm-store/v3/files/d2/32f24accb5a0a8167b68f28432b0f5a9b9837d22d06112f7de79e1f263f1e6dba2fff629e80ea054874e8579d19e06147991c4e0ba71ee302561263d9ae2cc' -> '/home/niko/devel/docs/node_modules/.pnpm/@[email protected]/node_modules/@algolia/client-personalization_tmp_479393/index.js'
After checking out master and running pnpm install
I get this error.
To reproduce:
Note: loading the page without a link, replies instantly.
to reproduce:
items[pageNumber]
thing to get the results.to fix:
I guess the page number needs to be reset when you change the list of items?
I am using Nextra and mermaid diagrams, which are great. However, to make the diagram fit into my needs, I always need to add to any diagram some init configuration, example
%%{
init: {
'themeVariables': {
'fontFamily': 'trebuchet ms, verdana, arial',
'fontSize': '14px'
}
}
}%%
I think it would be good if the plugin a mermaidConfig
as variable
It leads to a 404.
Because in <OperationsEditor />
with graphql-language-service
v4 when we select a field that has selection subfields curly brackets {
and }
add automatically, in v3 – not 😔 Look at the video
graphql-language-service
as CompletionItemKind
LanguageService
class is no longer present in graphql-language-service
v3, install and import him from monaco-graphql
packageLanguageService.getSchema
and LanguageService.setSchema
methods was removed, now there are getSchemaForFile
and updateSchema
methodsLanguageService.getDiagnostics
is now syncmore info the-guild-org/website#594
When the code block changes, the Mermaid component does not update in dev environment. web-infra-dev/rspress#85
Too long title ruins the SEO score, limiting it to X characters will bring a bit of awareness
It would also be fire if it allowed me to show the file contents next to file tree 🤔
https://github.com/shuding/nextra/blob/main/docs/components/file-tree/index.tsx
for fixing the-guild-org/website#584 (comment)
Either use next/link
or add onClick
like we do in <Subheader />
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.