Skip to content

Commit

Permalink
v7.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar committed Feb 26, 2024
1 parent 53d0709 commit ac260a6
Show file tree
Hide file tree
Showing 9 changed files with 861 additions and 819 deletions.
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-7.0/studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RedwoodJS Studio is a package used during development to gain runtime insights i

Redwood provides tools that lets developers "get to work on what makes your application special, instead of wasting cycles choosing and re-choosing various technologies and configurations."[1](https://github.com/redwoodjs/redwood/blob/main/README.md).

Much happens while your app processes a request: Invoke a function; handle a GraphQL request; resolve the request with a service; build and execute a SQL statement; connect to the database; handle the query response; further resolve the response so in contains all the data needed; return the result ... and more.
Much happens while your app processes a request: Invoke a function; handle a GraphQL request; resolve the request with a service; build and execute a SQL statement; connect to the database; handle the query response; further resolve the response so it contains all the data needed; return the result ... and more.

While [logging](https://redwoodjs.com/docs/logger) can show you some of these steps, there is no easy way to see how they relate to each other, compare, or break down individual timings. Observability needed to debug, iterate, try out, and refactor your code is lacking.

Expand Down
24 changes: 12 additions & 12 deletions docs/versioned_docs/version-7.0/tutorial/chapter1/layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ export default BlogLayout

```jsx title="web/src/pages/AboutPage/AboutPage.jsx"
import { Link, routes } from '@redwoodjs/router'
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

const AboutPage = () => {
return (
<>
<MetaTags title="About" description="About page" />
<Metadata title="About" description="About page" />

<p>
This site was created to demonstrate my mastery of Redwood: Look on my
Expand All @@ -118,12 +118,12 @@ export default AboutPage

```jsx title="web/src/pages/AboutPage/AboutPage.tsx"
import { Link, routes } from '@redwoodjs/router'
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

const AboutPage = () => {
return (
<>
<MetaTags title="About" description="About page" />
<Metadata title="About" description="About page" />

<p>
This site was created to demonstrate my mastery of Redwood: Look on my
Expand All @@ -144,12 +144,12 @@ export default AboutPage
<TabItem value="js" label="JavaScript">

```jsx title="web/src/pages/HomePage/HomePage.jsx"
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

const HomePage = () => {
return (
<>
<MetaTags title="Home" description="Home page" />
<Metadata title="Home" description="Home page" />
Home
</>
)
Expand All @@ -162,12 +162,12 @@ export default HomePage
<TabItem value="ts" label="TypeScript">

```jsx title="web/src/pages/HomePage/HomePage.tsx"
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

const HomePage = () => {
return (
<>
<MetaTags title="Home" description="Home page" />
<Metadata title="Home" description="Home page" />
Home
</>
)
Expand Down Expand Up @@ -347,12 +347,12 @@ And then we can remove the extra "Return to Home" link (and Link/routes import)
<TabItem value="js" label="JavaScript">

```jsx title="web/src/pages/AboutPage/AboutPage.jsx"
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

const AboutPage = () => {
return (
<>
<MetaTags title="About" description="About page" />
<Metadata title="About" description="About page" />

<p>
This site was created to demonstrate my mastery of Redwood: Look on my
Expand All @@ -369,12 +369,12 @@ export default AboutPage
<TabItem value="ts" label="TypeScript">

```jsx title="web/src/pages/AboutPage/AboutPage.tsx"
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

const AboutPage = () => {
return (
<>
<MetaTags title="About" description="About page" />
<Metadata title="About" description="About page" />

<p>
This site was created to demonstrate my mastery of Redwood: Look on my
Expand Down
16 changes: 8 additions & 8 deletions docs/versioned_docs/version-7.0/tutorial/chapter1/second-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ But no one's going to find it by manually changing the URL so let's add a link f

```jsx title="web/src/pages/HomePage/HomePage.jsx"
import { Link, routes } from '@redwoodjs/router'
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

const HomePage = () => {
return (
<>
<MetaTags title="Home" description="Home page" />
<Metadata title="Home" description="Home page" />

// highlight-start
<header>
Expand All @@ -57,12 +57,12 @@ export default HomePage

```jsx title="web/src/pages/HomePage/HomePage.tsx"
import { Link, routes } from '@redwoodjs/router'
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

const HomePage = () => {
return (
<>
<MetaTags title="Home" description="Home page" />
<Metadata title="Home" description="Home page" />

// highlight-start
<header>
Expand Down Expand Up @@ -105,12 +105,12 @@ Once we get to the About page we don't have any way to get back so let's add a l

```jsx title="web/src/pages/AboutPage/AboutPage.jsx"
import { Link, routes } from '@redwoodjs/router'
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

const AboutPage = () => {
return (
<>
<MetaTags title="About" description="About page" />
<Metadata title="About" description="About page" />

// highlight-start
<header>
Expand Down Expand Up @@ -143,12 +143,12 @@ export default AboutPage

```jsx title="web/src/pages/AboutPage/AboutPage.tsx"
import { Link, routes } from '@redwoodjs/router'
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

const AboutPage = () => {
return (
<>
<MetaTags title="About" description="About page" />
<Metadata title="About" description="About page" />

// highlight-start
<header>
Expand Down
8 changes: 4 additions & 4 deletions docs/versioned_docs/version-7.0/tutorial/chapter2/cells.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,15 +342,15 @@ Let's plug this cell into our `HomePage` and see what happens:
<TabItem value="js" label="JavaScript">

```jsx title="web/src/pages/HomePage/HomePage.jsx"
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

// highlight-next-line
import ArticlesCell from 'src/components/ArticlesCell'

const HomePage = () => {
return (
<>
<MetaTags title="Home" description="Home page" />
<Metadata title="Home" description="Home page" />
// highlight-next-line
<ArticlesCell />
</>
Expand All @@ -364,15 +364,15 @@ export default HomePage
<TabItem value="ts" label="TypeScript">

```jsx title="web/src/pages/HomePage/HomePage.tsx"
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

// highlight-next-line
import ArticlesCell from 'src/components/ArticlesCell'

const HomePage = () => {
return (
<>
<MetaTags title="Home" description="Home page" />
<Metadata title="Home" description="Home page" />
// highlight-next-line
<ArticlesCell />
</>
Expand Down
24 changes: 12 additions & 12 deletions docs/versioned_docs/version-7.0/tutorial/chapter2/routing-params.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,12 @@ You may have noticed that when trying to view the new single-article page that y

```diff title="web/src/pages/ArticlePage.js"
- import { Link, routes } from '@redwoodjs/router'
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

const ArticlePage = () => {
return (
<>
<MetaTags title="Article" description="Article page" />
<Metadata title="Article" description="Article page" />

<h1>ArticlePage</h1>
<p>
Expand All @@ -230,12 +230,12 @@ You may have noticed that when trying to view the new single-article page that y

```diff title="web/src/pages/ArticlePage.tsx"
- import { Link, routes } from '@redwoodjs/router'
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'

const ArticlePage = () => {
return (
<>
<MetaTags title="Article" description="Article page" />
<Metadata title="Article" description="Article page" />

<h1>ArticlePage</h1>
<p>
Expand Down Expand Up @@ -269,14 +269,14 @@ And then we'll use that cell in `ArticlePage`:
<TabItem value="js" label="JavaScript">

```jsx title="web/src/pages/ArticlePage/ArticlePage.jsx"
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'
// highlight-next-line
import ArticleCell from 'src/components/ArticleCell'

const ArticlePage = () => {
return (
<>
<MetaTags title="Article" description="Article page" />
<Metadata title="Article" description="Article page" />

// highlight-next-line
<ArticleCell />
Expand All @@ -291,14 +291,14 @@ export default ArticlePage
<TabItem value="ts" label="TypeScript">

```jsx title="web/src/pages/ArticlePage/ArticlePage.tsx"
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'
// highlight-next-line
import ArticleCell from 'src/components/ArticleCell'

const ArticlePage = () => {
return (
<>
<MetaTags title="Article" description="Article page" />
<Metadata title="Article" description="Article page" />

// highlight-next-line
<ArticleCell />
Expand Down Expand Up @@ -388,14 +388,14 @@ Okay, we're getting closer. Still, where will that `$id` come from? Redwood has
<TabItem value="js" label="JavaScript">

```jsx title="web/src/pages/ArticlePage/ArticlePage.jsx"
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'
import ArticleCell from 'src/components/ArticleCell'

// highlight-next-line
const ArticlePage = ({ id }) => {
return (
<>
<MetaTags title="Article" description="Article page" />
<Metadata title="Article" description="Article page" />

// highlight-next-line
<ArticleCell id={id} />
Expand All @@ -410,7 +410,7 @@ export default ArticlePage
<TabItem value="ts" label="TypeScript">

```jsx title="web/src/pages/ArticlePage/ArticlePage.tsx"
import { MetaTags } from '@redwoodjs/web'
import { Metadata } from '@redwoodjs/web'
import ArticleCell from 'src/components/ArticleCell'

// highlight-start
Expand All @@ -423,7 +423,7 @@ interface Props {
const ArticlePage = ({ id }: Props) => {
return (
<>
<MetaTags title="Article" description="Article page" />
<Metadata title="Article" description="Article page" />

// highlight-next-line
<ArticleCell id={id} />
Expand Down
Loading

0 comments on commit ac260a6

Please sign in to comment.