Skip to content

Commit 5c3866e

Browse files
authored
remove redundant feedback
1 parent 93282b5 commit 5c3866e

2 files changed

Lines changed: 13 additions & 37 deletions

File tree

tool/web-app/index.html

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -111,26 +111,6 @@ <h2 id="form-title">Select Your Database Preferences</h2>
111111
<option value="no">No</option>
112112
</select>
113113

114-
<button id="toggle-advanced" aria-expanded="false" type="button">Show Advanced Settings</button>
115-
<div id="advanced-settings" style="display:none;">
116-
<label for="query-complexity">Query Complexity:
117-
<button class="tooltip-icon" aria-label="More info" data-tooltip="Select the complexity level of the queries you will perform. For instance, simple queries are used for CRUD operations, while complex queries are needed for AI/ML workloads.">ℹ️</button>
118-
</label>
119-
<select id="query-complexity" name="query-complexity">
120-
<option value="simple">Simple (CRUD, Key-Value)</option>
121-
<option value="moderate">Moderate (Joins, Aggregations)</option>
122-
<option value="complex">Complex (AI/ML, Graph, Analytics)</option>
123-
</select>
124-
125-
<label for="data-retention">Data Retention Policy:
126-
<button class="tooltip-icon" aria-label="More info" data-tooltip="Specify how long you need to retain your data. For example, short-term retention is suitable for temporary logs, while long-term retention is needed for compliance data.">ℹ️</button>
127-
</label>
128-
<select id="data-retention" name="data-retention">
129-
<option value="short-term">Short-term (logs, cache)</option>
130-
<option value="medium-term">Medium-term (months, analytics)</option>
131-
<option value="long-term">Long-term (compliance, archive)</option>
132-
</select>
133-
</div>
134114
<button type="submit">Get Recommendation</button>
135115
<button type="reset" id="reset-form">Reset Form</button>
136116
</form>
@@ -140,7 +120,7 @@ <h2 id="form-title">Select Your Database Preferences</h2>
140120
<h3>Live Summary</h3>
141121
<ul id="summary-list"></ul>
142122
</div>
143-
<!-- Advanced Settings Button Note -->
123+
<!-- Advanced Settings Note -->
144124
<div id="advanced-settings-note" style="color:#c62828; margin-bottom:1em; display:none;">
145125
<strong>Note:</strong> If the Advanced Settings button is not working, see <a href="https://learn.microsoft.com/en-us/azure/azure-sql/database/advanced-configuration" target="_blank" rel="noopener">Advanced Configuration for Azure Databases</a>.
146126
</div>
@@ -168,6 +148,17 @@ <h4>Compare Options</h4>
168148
</select>
169149
</div>
170150
</div>
151+
<div id="advanced-settings" class="summary-card" style="margin-bottom:1em;">
152+
<h4>Advanced Settings</h4>
153+
<p>Advanced settings allow you to further customize your database solution for specific workloads or compliance requirements. Examples include:</p>
154+
<ul>
155+
<li><strong>Query Complexity:</strong> Choose between simple (CRUD), moderate (joins, aggregations), or complex (AI/ML, graph, analytics) queries.</li>
156+
<li><strong>Data Retention Policy:</strong> Specify how long your data should be retained (short-term, medium-term, long-term) for compliance or cost optimization.</li>
157+
<li><strong>Backup and Disaster Recovery:</strong> Enable automated backups and geo-redundant disaster recovery for mission-critical workloads.</li>
158+
<li><strong>Security:</strong> Configure encryption, role-based access control, and compliance settings.</li>
159+
</ul>
160+
<p>Use these options to fine-tune your recommendation for your business or technical scenario.</p>
161+
</div>
171162
</section>
172163
</main>
173164
<script src="script.js"></script>

tool/web-app/script.js

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -128,20 +128,6 @@ const summaryIcons = {
128128
'query-complexity': '🧩',
129129
'data-retention': '⏳'
130130
};
131-
const docLinks = {
132-
'data-volume': 'https://learn.microsoft.com/en-us/azure/architecture/best-practices/data-partitioning#scalability-targets',
133-
'data-type': 'https://learn.microsoft.com/en-us/azure/architecture/guide/technology-choices/data-store-overview',
134-
'latency': 'https://learn.microsoft.com/en-us/azure/azure-sql/database/performance-guidance-overview',
135-
'scalability': 'https://learn.microsoft.com/en-us/azure/cosmos-db/distribute-data-globally',
136-
'consistency': 'https://learn.microsoft.com/en-us/azure/cosmos-db/consistency-levels',
137-
'integration-needs': 'https://learn.microsoft.com/en-us/azure/data-factory/introduction',
138-
'security': 'https://learn.microsoft.com/en-us/azure/azure-sql/database/security-overview',
139-
'budget': 'https://azure.microsoft.com/en-us/pricing/calculator/',
140-
'use-case': 'https://learn.microsoft.com/en-us/azure/azure-sql/database/oltp-olap-overview',
141-
'backup-recovery': 'https://learn.microsoft.com/en-us/azure/backup/backup-overview',
142-
'query-complexity': 'https://learn.microsoft.com/en-us/azure/azure-sql/database/query-performance-insight-use',
143-
'data-retention': 'https://learn.microsoft.com/en-us/azure/compliance/offerings/offering-data-retention'
144-
};
145131
function updateSummary() {
146132
const ul = document.getElementById('summary-list');
147133
ul.innerHTML = '';
@@ -150,9 +136,8 @@ function updateSummary() {
150136
if (el) {
151137
const label = document.querySelector(`label[for="${id}"]`);
152138
const icon = summaryIcons[id] || '';
153-
const doc = docLinks[id] ? `<a href="${docLinks[id]}" target="_blank" class="doc-link" title="Microsoft documentation" style="margin-left:0.4em;font-size:1.1em;">🔗</a>` : '';
154139
const li = document.createElement('li');
155-
li.innerHTML = `<span class="summary-icon">${icon}</span><span class="summary-label">${label ? label.childNodes[0].textContent.trim() : id}:</span> <span>${el.value}</span>${doc}`;
140+
li.innerHTML = `<span class="summary-icon">${icon}</span><span class="summary-label">${label ? label.childNodes[0].textContent.trim() : id}:</span> <span>${el.value}</span>`;
156141
ul.appendChild(li);
157142
}
158143
});

0 commit comments

Comments
 (0)