Skip to content

Commit f2b9864

Browse files
committed
Address second round of review feedback
- Simplify next steps: single link per tutorial, add "Create a block" to dashboard tutorial (#23) - Use shallow clone for blockr.core reference (#24) - Add "workflow is a Shiny app" and recommend package-based approach in dev docs (#28)
1 parent 03e97a2 commit f2b9864

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/dev/create-block.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
<VideoEmbed id="-PdixmAscQI" title="Creating blocks in blockr" />
44

5-
Write custom blocks in pure R to extend blockr with your own logic. A block is a specialized Shiny module that returns an **expression** (the R code it generates) and a **state** (its current input values).
5+
Write custom blocks in pure R to extend blockr with your own logic. A block is a specialized Shiny module that returns an **expression** (the R code it generates) and a **state** (its current input values). A workflow is a Shiny app composed of connected blocks.
6+
7+
Blocks should live in an R package so they can be registered, shared, and tested. The examples below show the package-based approach.
68

79
## Block anatomy
810

learn/01-build-your-first-app.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,4 @@ You now have the skills to import, transform, and visualize data in blockr.
108108
## Next steps
109109

110110
- [Build a dashboard](02-build-a-dashboard): arrange your pipeline into a shareable layout
111-
- [Filtering and selecting](/videos/filtering-and-selecting): video deep-dive into data wrangling
112111

learn/02-build-a-dashboard.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,4 @@ In this case, users can now adjust the filter values and see the effects on the
131131

132132
## Next steps
133133

134-
- [Export code](/videos/exporting-data): get the R code behind your pipeline
135-
- [Visualising data](/videos/visualising-data): all chart types and customization options
134+
- [Create a custom block](03-create-a-block): extend blockr with your own logic

learn/03-create-a-block.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Prefer to write blocks by hand? See the [Developer docs](/docs/dev/create-block)
1010
Clone blockr.core as a reference. Your coding agent will learn the right patterns from it:
1111

1212
```bash
13-
git clone https://github.com/BristolMyersSquibb/blockr.core
13+
git clone --depth 1 https://github.com/BristolMyersSquibb/blockr.core
1414
```
1515

1616
## Create your first block

0 commit comments

Comments
 (0)