Skip to content

edit: move DB "Columns" section after "Tables"#7378

Merged
sarah11918 merged 1 commit into
mainfrom
edit/move-columns-down
Mar 13, 2024
Merged

edit: move DB "Columns" section after "Tables"#7378
sarah11918 merged 1 commit into
mainfrom
edit/move-columns-down

Conversation

@bholmesdev
Copy link
Copy Markdown
Contributor

@bholmesdev bholmesdev commented Mar 13, 2024

Description (required)

There are a couple reasons I'd like to move the "columns" section after "tables:"

  1. Order of explanation. It's impossible to describe a column without first describing a table, and this was clear from the preamble. It's also odd to show users all available column types before explaining how a table can be configured in the first place. By moving the column preamble into the "tables" section, and pushing the "columns" snippet below, the user is presented with the most minimal example for configuration before reading the details.

  2. Copy / paste warriors. While watching a user walk through the docs (t3dotgg), they reached the "columns" section of the docs and naturally copied the snippet to build their config. Trouble is, this snippet includes a number of complex column types, while the simpler Tables snippet would make for an easier demo. By presenting the sample Tables config first, users can copy the simplest demo.

Related issues & labels (optional)

  • Closes #
  • Suggested label:

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Mar 13, 2024 10:53pm
1 Ignored Deployment
Name Status Preview Updated (UTC)
docs-i18n ⬜️ Ignored (Inspect) Mar 13, 2024 10:53pm

Copy link
Copy Markdown
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

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

I did have my thought on first reading this, too!

@sarah11918 sarah11918 added improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes) Merge Queue Approved and ready to be merged (wait for feature release if also labelled M-O-R)! labels Mar 13, 2024
@sarah11918 sarah11918 merged commit e3ef870 into main Mar 13, 2024
@sarah11918 sarah11918 deleted the edit/move-columns-down branch March 13, 2024 23:01
peng added a commit to peng/astro-docs that referenced this pull request Mar 14, 2024
* main: (53 commits)
  i18n(zh-cn): Update `reference/configuration-reference.mdx` (withastro#7385)
  i18n(zh-cn): Update strapi.mdx (withastro#7380)
  edit: mention `astro login` on DB create project instructions (withastro#7377)
  edit: move DB "Columns" section after "Tables" (withastro#7378)
  i18n(ru): Update `data-fetching.mdx` translation (withastro#7315)
  i18n(ru): Update `deploy.mdx` translation (withastro#7313)
  i18n(ru): Update `cms.mdx `translation (withastro#7306)
  i18n(ru): Add translations for various pages in the `deploy` dir (withastro#7273)
  i18n(ru): Add `api-reference.mdx` translation (withastro#7251)
  i18n(ru): Add and update translations for `astro-response-headers-reassigned.mdx`,  `error-reference.mdx` and  `locals-not-an-object.mdx` pages (withastro#7286)
  [i18nIgnore] Fix incorrect list numbering (withastro#7274)
  i18n(ru): Add translations for various pages in the `cms` dir (withastro#7267)
  i18n(ru): Update `authentication.mdx` translation (withastro#7255)
  i18n(ru): Add `apostrophecms.mdx` and `builderio.mdx` translations (withastro#7266)
  i18n(ru): Update `auto.mdx` translation (withastro#7258)
  i18n(ru): Update `environment-variables.mdx` translation (withastro#7311)
  [i18nIgnore] Fix incorrect list numbering in `guides/deploy.mdx` (withastro#7312)
  i18n(ru): Add `external-links.mdx` translation (withastro#7372)
  i18n(ru): Update `nav.ts` and `ui.ts` translations (withastro#7318)
  Update ghost.mdx (withastro#7365)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes) Merge Queue Approved and ready to be merged (wait for feature release if also labelled M-O-R)!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants