As a developer, it is not clear how to find docs about developing an app for a Directus instance.
Mantenedores costumam responder em até 2 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Documentação
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- graphql
- Domínio
- documentation
Direção de pesquisa
Comece revisando a página inicial da documentação, a navegação Guides/Connect, o Start tutorial, a API Reference e a SDK page descritos na issue. Mapeie os pontos de entrada e os links voltados para desenvolvedores e, em seguida, verifique se um desenvolvedor consegue encontrar orientações sobre API, GraphQL, SDK e criação de apps relacionada sem depender de rótulos ocultos ou ambíguos.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Let's say I am a developer and my task is to build an app based on a Directus instance using the API or any of the available SDK.
In the current navigation structure of the documentation, it is not clear where to find that kind of information (it's actually under the "Connect" name in the "Guide"). There are also some links towards this information when scrolling down on the home page or in the 4th page of the "Start" tutorial.
As I'm not really interested in the 'User Guide' for studio, I'm struggling to find where to look especially if I unintentionally missed those links which is easy due to the amount of information presented in those pages.
Here are some example questions I might need answer to when opening the docs:
- What are my options to build an app with a working Directus project?
- On which URL I need to do a REST request?
- How to use GraphQL to query Directus?
- Are there SDKs I can use to make it easier to build an app?
- What if I'm writing an app using Go, is there a Go SDK (might be community-created)?
Some issues I have found in regards to this in the current docs.
Issues with the Homepage
- Home page -> Features -> Data Engine -> Connect
We have two product names here ('Data Engine' and 'Connect') that hide the intent of finding the developer docs.
- A bit below in the Home Page, there is 'Directus APIs' section:
- The Section is titled "API" so if we are looking for SDKs or CLIs we could (mistakenly) skip this section when scanning the page
- The Quickstart link is labeled "Learn how to connect with Directus", which is unclear if it's doing HTTP requests, connect integrations or setup user authentication.
- The API Reference link is labeled "Learn how to use the Directus API" but it leads to a section of the docs that actually does not include information about how to use the API to build an app.
- The SDK link is actually pretty clear and links to the page that has information about the SDKs 👍
-
Then further down we have links to the Tutorials pages which are pretty dense grids which are a bit hard to scan and I might have to dig to find the information I'm looking for.
-
The community-created SDKs are not actually listed anywhere else other than on the home page in the section below the Tutorials.
Issues with the Navigation
- Start
If I understand correctly this is the Getting started tutorial. I may not click on this one because I'm not actually looking for starting a Directus instance nor am I creating a new project.
After clicking on it though we can see that the 4th page is about using the API 💯 But then on this page there are no links to the "Connect" docs (except the 'See all available query parameters' one), including the SDKs if I'm not interested in doing HTTP requests by hand (or if I want to use GraphQL).
- The Guides menu doesn't have any items that are related to developers or building apps with the Directus APIs/SDKs.
But in fact there is one, it's the 'Connect' item which is something I don't really know what it is for unless I click on it.
-
Resources does link to the Tutorial pages I mentioned above with the drawbacks they have.
-
API Reference links to a page that has very little documentation about how to do a REST or a GraphQL query to the Directus instance, but it does have a link to the SDKs page in "Connect".
Some proposals
- Having a dedicated section for developers with:
- How to use the API (Rest and GraphQL)
- How to Authenticate (using the API)
- Official SDKs
- Community SDKs
- How to use the CLI
- Docker images maybe?
- How to create extensions
- ...
- Promoting the Developer-related docs in the navigation header
- Rename "Connect" to something clearer like "APIs & SDKs" or "Developer Tools"
- List the community-created SDKs in the SDK page
- Linguagem predominante
- TypeScript
- Estrelas
- 24
- Forks
- 90
- Merge médio
- 3d 22h
- PRs com merge (30d)
- 19
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de directus/docs
-
Docs Platform
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
directus/docs#88 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
llms.txt links agents to /raw/ copies where partials are empty; the inlined .md copies aren't linkedAberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 67/100
directus/docs#865 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
Document required special flags per field typeTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 58/100
directus/docs#850 · 3 comentários ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
directus/docs#771 · 3 comentários ·
Mantenedores costumam responder em até 2 dias
-
content-improvement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
directus/docs#726 · 3 comentários ·
Mantenedores costumam responder em até 2 dias
Todas as issues de directus/docs
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
vercel-labs/ui#1066 ·
Mantenedores costumam responder em até 1 dia
-
fix(factory-cockpit): display active agent/actor name instead of verbose step name in run card badgeAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
ranxianglei/billion-context#7597 ·
Mantenedores costumam responder em até 1 dia
-
documentation target:powerpoint
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 76/100
tomast1337/PdfLapas#602 ·
Mantenedores costumam responder em até 1 dia
-
kubernetes-ingestor: fetchCRDMapping() runs even when crossplane.enabled is false, logging a 403 ERROR every runTalvez já em andamento @kc9ddi assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
TeraSky-OSS/backstage-plugins#228 ·