Initial commit
This commit is contained in:
commit
eed3b364b1
8 changed files with 235 additions and 0 deletions
38
index.html
Normal file
38
index.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Palantir Foundry - Schema Comparison Tool (New and Old)</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Palantir Foundry - Schema Comparison Tool (New and Old)</h1>
|
||||
<div id="helpPanel">
|
||||
<strong>Help:</strong>
|
||||
<p>Ensure your text follows this format:</p>
|
||||
<pre>
|
||||
{message=New schema is incompatible with old schema, newSchema=FoundrySchema{fieldSchemaList=[FoundryFieldSchema{...}], oldSchema=FoundrySchema{fieldSchemaList=[FoundryFieldSchema{...}]}}
|
||||
</pre>
|
||||
</div>
|
||||
<textarea id="schemaText" placeholder="Paste the text with both old and new schema here..."></textarea>
|
||||
<button onclick="compareSchemas()">Compare</button>
|
||||
<div id="result" style="display: none;">
|
||||
<div class="result-section">
|
||||
<h2>Added Fields</h2>
|
||||
<table id="addedTable"></table>
|
||||
</div>
|
||||
<div class="result-section">
|
||||
<h2>Removed Fields</h2>
|
||||
<table id="removedTable"></table>
|
||||
</div>
|
||||
<div class="result-section">
|
||||
<h2>Modified Fields</h2>
|
||||
<table id="modifiedTable"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue