Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 01-getting-started/lowdefy.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lowdefy: 4.0.0-alpha.37
lowdefy: 5.2.0
name: Lowdefy starter

pages:
- id: welcome
type: PageHeaderMenu
properties:
title: Welcome
areas:
slots:
content:
justify: center
blocks:
Expand All @@ -23,7 +23,7 @@ pages:
icon:
name: AiOutlineHeart
color: '#f00'
areas:
slots:
extra:
blocks:
- id: docs_button
Expand Down
6 changes: 3 additions & 3 deletions 02-creating-a-page/lowdefy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lowdefy: 4.0.0-alpha.37
lowdefy: 5.2.0
name: Lowdefy starter

menus:
Expand All @@ -24,7 +24,7 @@ pages:
type: PageHeaderMenu
properties:
title: Welcome
areas:
slots:
content:
justify: center
blocks:
Expand All @@ -41,7 +41,7 @@ pages:
icon:
name: AiOutlineHeart
color: '#f00'
areas:
slots:
extra:
blocks:
- id: docs_button
Expand Down
4 changes: 2 additions & 2 deletions 02-creating-a-page/new-ticket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ type: PageHeaderMenu
properties:
title: New Ticket # The title in the browser tab.
layout:
contentJustify: center # Center the contents of the page.
justify: center # Center the contents of the page.

blocks:
- id: content_card
type: Card
layout:
size: 800 # Set the size of the card so it does not fill the full screen.
contentGutter: 16 # Make a 16px gap between all blocks in this card.
gap: 16 # Make a 16px gap between all blocks in this card.
blocks:
- id: page_heading
type: Title
Expand Down
6 changes: 3 additions & 3 deletions 03-adding-blocks/lowdefy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lowdefy: 4.0.0-alpha.37
lowdefy: 5.2.0
name: Lowdefy starter

menus:
Expand All @@ -24,7 +24,7 @@ pages:
type: PageHeaderMenu
properties:
title: Welcome
areas:
slots:
content:
justify: center
blocks:
Expand All @@ -41,7 +41,7 @@ pages:
icon:
name: AiOutlineHeart
color: '#f00'
areas:
slots:
extra:
blocks:
- id: docs_button
Expand Down
8 changes: 4 additions & 4 deletions 03-adding-blocks/new-ticket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ type: PageHeaderMenu
properties:
title: New Ticket # The title in the browser tab.
layout:
contentJustify: center # Center the contents of the page.
justify: center # Center the contents of the page.
blocks:
- id: content_card
type: Card
layout:
size: 800 # Set the size of the card so it does not fill the full screen.
contentGutter: 16 # Make a 16px gap between all blocks in this card.
gap: 16 # Make a 16px gap between all blocks in this card.
blocks:
- id: page_heading
type: Title
Expand Down Expand Up @@ -46,7 +46,6 @@ blocks:
properties:
title: Reset
block: true # Make the button fill all the space available to it
type: default # Make the button a plain button
icon: AiOutlineClear

- id: submit_button
Expand All @@ -56,5 +55,6 @@ blocks:
properties:
title: Submit
block: true
type: primary # Make the button a primary button with color
color: primary
variant: solid
icon: AiOutlineSave
6 changes: 3 additions & 3 deletions 04-interactive-pages/lowdefy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lowdefy: 4.0.0-alpha.37
lowdefy: 5.2.0
name: Lowdefy starter

menus:
Expand All @@ -24,7 +24,7 @@ pages:
type: PageHeaderMenu
properties:
title: Welcome
areas:
slots:
content:
justify: center
blocks:
Expand All @@ -41,7 +41,7 @@ pages:
icon:
name: AiOutlineHeart
color: '#f00'
areas:
slots:
extra:
blocks:
- id: docs_button
Expand Down
8 changes: 4 additions & 4 deletions 04-interactive-pages/new-ticket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ type: PageHeaderMenu
properties:
title: New Ticket # The title in the browser tab.
layout:
contentJustify: center # Center the contents of the page.
justify: center # Center the contents of the page.
blocks:
- id: content_card
type: Card
layout:
size: 800 # Set the size of the card so it does not fill the full screen.
contentGutter: 16 # Make a 16px gap between all blocks in this card.
gap: 16 # Make a 16px gap between all blocks in this card.
blocks:
- id: page_heading
type: Title
Expand Down Expand Up @@ -69,7 +69,6 @@ blocks:
properties:
title: Reset
block: true # Make the button fill all the space available to it
type: default # Make the button a plain button
icon: AiOutlineClear
events:
onClick:
Expand All @@ -83,7 +82,8 @@ blocks:
properties:
title: Submit
block: true
type: primary # Make the button a primary button with color
color: primary
variant: solid
icon: AiOutlineSave
events:
onClick:
Expand Down
6 changes: 3 additions & 3 deletions 05-requests-api/lowdefy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lowdefy: 4.0.0-alpha.37
lowdefy: 5.2.0
name: Lowdefy starter

connections:
Expand Down Expand Up @@ -30,7 +30,7 @@ pages:
type: PageHeaderMenu
properties:
title: Welcome
areas:
slots:
content:
justify: center
blocks:
Expand All @@ -47,7 +47,7 @@ pages:
icon:
name: AiOutlineHeart
color: '#f00'
areas:
slots:
extra:
blocks:
- id: docs_button
Expand Down
8 changes: 4 additions & 4 deletions 05-requests-api/new-ticket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ events:
properties:
title: New Ticket # The title in the browser tab.
layout:
contentJustify: center # Center the contents of the page.
justify: center # Center the contents of the page.
blocks:
- id: content_card
type: Card
layout:
size: 800 # Set the size of the card so it does not fill the full screen.
contentGutter: 16 # Make a 16px gap between all blocks in this card.
gap: 16 # Make a 16px gap between all blocks in this card.
blocks:
- id: page_heading
type: Title
Expand Down Expand Up @@ -92,7 +92,6 @@ blocks:
properties:
title: Reset
block: true # Make the button fill all the space available to it
type: default # Make the button a plain button
icon: AiOutlineClear
events:
onClick:
Expand All @@ -106,7 +105,8 @@ blocks:
properties:
title: Submit
block: true
type: primary # Make the button a primary button with color
color: primary
variant: solid
icon: AiOutlineSave
events:
onClick:
Expand Down
9 changes: 5 additions & 4 deletions 06-requests-sql/lowdefy.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
lowdefy: 4.0.0-alpha.37
lowdefy: 5.2.0
name: Lowdefy starter

connections:
- id: knex
type: Knex
properties:
client: sqlite
client: better-sqlite3
useNullAsDefault: true
connection:
filename:
_secret: SQLITE_FILENAME
Expand Down Expand Up @@ -38,7 +39,7 @@ pages:
type: PageHeaderMenu
properties:
title: Welcome
areas:
slots:
content:
justify: center
blocks:
Expand All @@ -55,7 +56,7 @@ pages:
icon:
name: AiOutlineHeart
color: '#f00'
areas:
slots:
extra:
blocks:
- id: docs_button
Expand Down
19 changes: 14 additions & 5 deletions 06-requests-sql/new-ticket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ requests:
type: KnexRaw
connectionId: knex
payload:
_state: true
ticket_title:
_state: ticket_title
ticket_type:
_state: ticket_type
ticket_description:
_state: ticket_description
product:
_state: product
purchase_in_last_month:
_state: purchase_in_last_month
properties:
query: |
INSERT INTO tickets (
Expand Down Expand Up @@ -52,13 +61,13 @@ events:
properties:
title: New Ticket # The title in the browser tab.
layout:
contentJustify: center # Center the contents of the page.
justify: center # Center the contents of the page.
blocks:
- id: content_card
type: Card
layout:
size: 800 # Set the size of the card so it does not fill the full screen.
contentGutter: 16 # Make a 16px gap between all blocks in this card.
gap: 16 # Make a 16px gap between all blocks in this card.
blocks:
- id: page_heading
type: Title
Expand Down Expand Up @@ -127,7 +136,6 @@ blocks:
properties:
title: Reset
block: true # Make the button fill all the space available to it
type: default # Make the button a plain button
icon: AiOutlineClear
events:
onClick:
Expand All @@ -141,7 +149,8 @@ blocks:
properties:
title: Submit
block: true
type: primary # Make the button a primary button with color
color: primary
variant: solid
icon: AiOutlineSave
events:
onClick:
Expand Down
9 changes: 5 additions & 4 deletions 07-display-data/lowdefy.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
lowdefy: 4.0.0-alpha.37
lowdefy: 5.2.0
name: Lowdefy starter

connections:
- id: knex
type: Knex
properties:
client: sqlite
client: better-sqlite3
useNullAsDefault: true
connection:
filename:
_secret: SQLITE_FILENAME
Expand Down Expand Up @@ -45,7 +46,7 @@ pages:
type: PageHeaderMenu
properties:
title: Welcome
areas:
slots:
content:
justify: center
blocks:
Expand All @@ -62,7 +63,7 @@ pages:
icon:
name: AiOutlineHeart
color: '#f00'
areas:
slots:
extra:
blocks:
- id: docs_button
Expand Down
Loading