Skip to content

Commit

Permalink
patch: navigation fixes and added new buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
TalhaFaisalglor committed Jul 18, 2024
1 parent 0cefbb9 commit 61c591c
Show file tree
Hide file tree
Showing 48 changed files with 183 additions and 47 deletions.
26 changes: 17 additions & 9 deletions src/pages/_data/navigation/mainNav.json5
Original file line number Diff line number Diff line change
Expand Up @@ -187,28 +187,36 @@
"url": "/concepts/views/#rendering-cards"
},
{
"title": " - Asserting by Id",
"url": "/concepts/views/#asserting-card-by-id"
"title": " - Rendering Card by Id",
"url": "/concepts/views/#rendering-card-by-id"
},
{
"title": "Rendering a Dialog",
"url": "/concepts/views/#rendering-a-dialog"
"title": " - Rendering Remote Cards",
"url": "/concepts/views/#rendering-remote-cards"
},
{
"title": " - Rendering a simple ViewModel based Dialog on load",
"title": "Rendering Dialogs",
"url": "/concepts/views/#rendering-dialogs"
},
{
"title": " - Rendering a simple ViewModel Based Dialog on load",
"url": "/concepts/views/#rendering-a-simple-view-model-based-dialog-on-load"
},
{
"title": " - Rendering a CardViewController based Dialog on load",
"url": "/concepts/views/#rendering-a-cardviewcontroller-based-dialog-on-load"
"title": " - Rendering a CardViewController Based Dialog on load",
"url": "/concepts/views/#rendering-a-card-view-controller-based-dialog-on-load"
},
{
"title": " - Running code when a Dialog is closed",
"url": "/concepts/views/#asserting-card-by-id"
"title": " - Running Code When a Dialog is Closed",
"url": "/concepts/views/#running-code-when-a-dialog-is-closed"
},
{
"title": "View Controller Plugins",
"url": "/concepts/views/#view-controller-plugins"
},
{
"title": " - Implementing a View Controller Plugin",
"url": "/concepts/views/#implementing-a-view-controller-plugin"
}
]
},
Expand Down
4 changes: 3 additions & 1 deletion src/pages/concepts/dates-times.md
Original file line number Diff line number Diff line change
Expand Up @@ -864,4 +864,6 @@ private async someOperationThatSendsAMessage() {
}
```
</details>
</details>
<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/concepts/errors.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Errors

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/concepts/events.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Events

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/concepts/listeners.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Listeners

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/concepts/mercury.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Mercury

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/concepts/messages.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Messages

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/concepts/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,6 @@ export default class RootSkillViewTest extends AbstractSpruceFixtureTest {

## In event contracts

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/concepts/schemas.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Schemas

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/concepts/stores.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Stores

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/concepts/tests.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Tests

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
6 changes: 6 additions & 0 deletions src/pages/concepts/views.md
Original file line number Diff line number Diff line change
Expand Up @@ -1408,3 +1408,9 @@ class RootSkillView extends AbstractSkillViewController {
```

</details>

## Need More Information?

<div class="grid-buttons">
<a class="btn" href="https://forms.gle/2ZMtwUxg1egV8sHT8">Request Documentation</a>
</div>
3 changes: 3 additions & 0 deletions src/pages/getting-started/development-theatre.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Open up your favorite terminal app and run the following command to install Deve
<div class="grid-buttons">
<a class="btn" href="{{ '/ideology/' | url }}">Learn the Spruce Ideology</a>
</div>


<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
5 changes: 4 additions & 1 deletion src/pages/getting-started/frameworks/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,7 @@ Coming soon...

<div class="grid-buttons">
<a class="btn" href="{{ '/getting-started/development-theatre/' | url }}">Install the Development Theatre</a>
</div>
</div>


<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
5 changes: 4 additions & 1 deletion src/pages/getting-started/frameworks/django.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,7 @@ Coming soon...

<div class="grid-buttons">
<a class="btn" href="{{ '/getting-started/development-theatre/' | url }}">Install the Development Theatre</a>
</div>
</div>


<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
5 changes: 4 additions & 1 deletion src/pages/getting-started/frameworks/flask.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,7 @@ Coming soon...

<div class="grid-buttons">
<a class="btn" href="{{ '/getting-started/development-theatre/' | url }}">Install the Development Theatre</a>
</div>
</div>


<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
5 changes: 4 additions & 1 deletion src/pages/getting-started/frameworks/groovy.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,7 @@ Coming soon...

<div class="grid-buttons">
<a class="btn" href="{{ '/getting-started/development-theatre/' | url }}">Install the Development Theatre</a>
</div>
</div>


<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
5 changes: 4 additions & 1 deletion src/pages/getting-started/frameworks/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,4 +329,7 @@ public async load(options: SkillViewControllerLoadOptions) {

<div class="grid-buttons">
<a class="btn" href="{{ '/getting-started/development-theatre/' | url }}">Install the Development Theatre</a>
</div>
</div>


<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
5 changes: 4 additions & 1 deletion src/pages/getting-started/frameworks/laravel.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,7 @@ Coming soon...

<div class="grid-buttons">
<a class="btn" href="{{ '/getting-started/development-theatre/' | url }}">Install the Development Theatre</a>
</div>
</div>


<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
5 changes: 4 additions & 1 deletion src/pages/getting-started/frameworks/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,7 @@ Coming soon...

<div class="grid-buttons">
<a class="btn" href="{{ '/getting-started/development-theatre/' | url }}">Install the Development Theatre</a>
</div>
</div>


<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
3 changes: 3 additions & 0 deletions src/pages/getting-started/frameworks/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,6 @@ Coming soon...
<div class="grid-buttons">
<a class="btn" href="{{ '/getting-started/development-theatre/' | url }}">Install the Development Theatre</a>
</div>


<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
3 changes: 3 additions & 0 deletions src/pages/getting-started/frameworks/ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,6 @@ Coming soon...
<div class="grid-buttons">
<a class="btn" href="{{ '/getting-started/development-theatre/' | url }}">Install the Development Theatre</a>
</div>


<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/getting-started/frameworks/spring.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,6 @@ Coming soon...

<div class="grid-buttons">
<a class="btn" href="{{ '/getting-started/development-theatre/' | url }}">Install the Development Theatre</a>
</div>
</div>

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
6 changes: 6 additions & 0 deletions src/pages/getting-started/from-scratch.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,9 @@ public async load(options: SkillViewControllerLoadOptions) {
<div class="grid-buttons">
<a class="btn" href="{{ '/getting-started/development-theatre/' | url }}">Install the Development Theatre</a>
</div>

## Need More Information?

<div class="grid-buttons">
<a class="btn" href="{{ '/getting-started/development-theatre/' | url }}">Request Documentation</a>
</div>
4 changes: 3 additions & 1 deletion src/pages/ideology/architecture.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Small Trunk, Big Branches 🌲

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/ideology/clean-code.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Clean Code 🫧

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
2 changes: 2 additions & 0 deletions src/pages/ideology/great_software.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Great Software 💻

<div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/957349729?h=ed2c27be97&amp;badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479" frameborder="0" allow="autoplay; fullscreen; picture-in-picture; clipboard-write" style="position:absolute;top:0;left:0;width:100%;height:100%;" title="Sprucebot 2024 Demo"></iframe></div><script src="https://player.vimeo.com/api/player.js"></script>

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/ideology/ideology.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Ideology 📖

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/ideology/tdd.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Test-Driven Development (TDD) by the Three Laws ⚡️

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
3 changes: 3 additions & 0 deletions src/pages/ideology/the_fourth_runtime.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# The Fourth Runtime 🔮

<div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/707599932?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479" frameborder="0" allow="autoplay; fullscreen; picture-in-picture; clipboard-write" style="position:absolute;top:0;left:0;width:100%;height:100%;" title="The 4th Runtime"></iframe></div><script src="https://player.vimeo.com/api/player.js"></script>


<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
2 changes: 2 additions & 0 deletions src/pages/training/building-a-skill/building-a-skill.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ The following chapter's break down how each building block is placed in creating
<span class="section-title">Sharing the Story</span>
</a>
</div>

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,6 @@ The key challenge is modifying the story generation feature to handle operations
## Finalizing and Previewing

1. **Final Adjustments**: Make any final adjustments to the code based on testing feedback.
2. **Device Testing**: Test the skill interface on an actual device to ensure the UI and navigation feel natural and responsive.
2. **Device Testing**: Test the skill interface on an actual device to ensure the UI and navigation feel natural and responsive.

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/training/building-a-skill/members.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,6 @@ Implement functionality for deleting family members from the list.
// Code example for UI update
```

7. **Run `watch.views` to test**
7. **Run `watch.views` to test**

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/training/building-a-skill/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,6 @@ Equally important is how we get this data back when we need it.
```

## Wrapping Up
You have now successfully created a system to manager your metadata!
You have now successfully created a system to manager your metadata!

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/training/building-a-skill/multi-card-forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,6 @@ In this Chapter, we'll walk through the process of building a story generation f

## Wrapping Up

Congratulations! You have now developed a story generation feature that incorporates user input for a personalized narrative experience. This tool allows for creativity and flexibility in storytelling, engaging users in a unique way.
Congratulations! You have now developed a story generation feature that incorporates user input for a personalized narrative experience. This tool allows for creativity and flexibility in storytelling, engaging users in a unique way.

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/training/building-a-skill/new-skill.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Starting a SKill

Coming soon...
Coming soon...

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
5 changes: 4 additions & 1 deletion src/pages/training/building-a-skill/personalized-stories.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,7 @@ Write tests for each functionality (e.g., ensuring that clicking 'generate' sets
Set up listeners for user actions. Generate prompts to send to ChatGPT based on user-selected story elements.

7. **Finalizing and Testing Story Generation**
Ensure the story generation process works seamlessly. Test and fine-tune the integration with ChatGPT.
Ensure the story generation process works seamlessly. Test and fine-tune the integration with ChatGPT.


<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
4 changes: 3 additions & 1 deletion src/pages/training/building-a-skill/root.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,6 @@ Create functions to manage the routes, like `redirectToMetaView` or `returnToRoo
// Example of a redirect function
```

Design tests to ensure your routing works correctly, particularly in handling user actions.
Design tests to ensure your routing works correctly, particularly in handling user actions.

<a href="https://forms.gle/2ZMtwUxg1egV8sHT8" class="btn">Request Documentation</a>
Loading

0 comments on commit 61c591c

Please sign in to comment.