Skip to content

Commit cec585a

Browse files
authored
Merge pull request #576 from sigmacomputing/forms_v2_qs
Formsv2_Landing_page_revisions
2 parents 1a0f52f + b3ce57f commit cec585a

82 files changed

Lines changed: 562 additions & 273 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

site/app/data/announcement.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"visible": true,
3+
"title": "Content update:",
4+
5+
"message": "The QuickStart <strong>Forms: Quick Capture and Analysis</strong> has been replaced. See the updated version: <a href='/guide/aiapps_forms/index.html' style='color: #000000 !important;'><strong>Building Forms for Data Capture and Analysis</strong></a>"
6+
7+
}

site/app/data/featured-quickstarts.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
22
"recentQuickStarts": [
3+
{
4+
"title": "Building Forms for Data Capture and Analysis",
5+
"id": "aiapps_forms",
6+
"category": "aiapps",
7+
"date": "April 2, 2026"
8+
},
39
{
410
"title": "Automate Inventory Alerts with Scheduled Actions",
511
"id": "aiapps_scheduled_actions",

site/app/views/default/index.html

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,15 +1126,39 @@
11261126
Maximize your investment in Sigma with easy-to-follow, step-by-step guides<br>
11271127
</p>
11281128

1129-
<div class="featured-container" style="margin: 0 0 20px 0;">
1130-
<h4 style="margin: 0 0 10px 0; color: black !important; font-size: 1.50em; font-weight: 600;">Recently Added QuickStarts:</h4>
1129+
<div id="qs-announcement" style="display:none; margin: 0 0 20px 0; padding: 14px 18px; background-color: #e0e4ff; border: 1px solid #4245ff; border-left: 4px solid #4245ff; border-radius: 4px; color: #171717; font-size: 0.95em; line-height: 1.5;">
1130+
<span id="qs-announcement-title" style="font-weight: 600;"></span>
1131+
<span id="qs-announcement-message"></span>
1132+
</div>
1133+
<script>
1134+
fetch('/data/announcement.json')
1135+
.then(response => response.json())
1136+
.then(data => {
1137+
if (data.visible) {
1138+
document.getElementById('qs-announcement-title').innerHTML = data.title ? data.title + ' ' : '';
1139+
document.getElementById('qs-announcement-message').innerHTML = data.message;
1140+
document.getElementById('qs-announcement').style.display = 'block';
1141+
}
1142+
})
1143+
.catch(() => {});
1144+
</script>
1145+
1146+
<details id="recent-qs-details" class="featured-container" style="margin: 0 0 8px 0;">
1147+
<summary style="margin: 0 0 10px 0; color: black !important; font-size: 1.50em; font-weight: 600; cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;">
1148+
Recently Added QuickStarts: <span id="recent-qs-hint" style="color: #4245ff; font-size: 0.65em; font-weight: 400;">&#9654; click to expand</span>
1149+
</summary>
11311150
<div id="recent-quickstarts" style="display: flex; gap: 10px; flex-wrap: wrap;">
11321151
<!-- Populated by JavaScript -->
11331152
<div style="color: #999;">Loading recent QuickStarts...</div>
11341153
</div>
1135-
</div>
1154+
</details>
11361155

11371156
<script>
1157+
document.getElementById('recent-qs-details').addEventListener('toggle', function() {
1158+
var hint = document.getElementById('recent-qs-hint');
1159+
hint.innerHTML = this.open ? '&#9660; click to collapse' : '&#9654; click to expand';
1160+
});
1161+
11381162
// Load featured QuickStarts from JSON
11391163
fetch('/data/featured-quickstarts.json')
11401164
.then(response => response.json())
@@ -1171,8 +1195,6 @@ <h4 style="margin: 0 0 10px 0; color: black !important; font-size: 1.50em; font-
11711195
document.getElementById('recent-quickstarts').innerHTML = '<li style="color: #999;">Unable to load recent QuickStarts</li>';
11721196
});
11731197
</script>
1174-
</div>
1175-
</p>
11761198

11771199

11781200
</div>

site/sigmaguides/src/aiapps_create_a_form_simple/aiapps_create_a_form_simple.md

Lines changed: 0 additions & 268 deletions
This file was deleted.
-5.08 KB
Binary file not shown.
-5.74 KB
Binary file not shown.
-5.43 KB
Binary file not shown.
-5.64 KB
Binary file not shown.
-5.31 KB
Binary file not shown.
-5.46 KB
Binary file not shown.

0 commit comments

Comments
 (0)