Refactor Crawl4AI Assistant: Rename Schema Builder to Click2Crawl, update UI elements, and remove deprecated files

- Updated overlay.css to add gap in titlebar.
- Deleted schemaBuilder_v1.js and associated zip files (v1.0.0 to v1.2.0).
- Modified index.html to reflect new Click2Crawl feature and updated descriptions.
- Updated manifest.json to include new JavaScript files for Click2Crawl and markdown extraction.
- Refined popup styles and HTML to align with new feature names and functionalities.
- Enhanced user instructions and tooltips to guide users on the new Click2Crawl and Markdown Extraction features.
This commit is contained in:
UncleCode
2025-06-10 15:40:26 +08:00
parent 0ac12da9f3
commit 4eb90b41b6
16 changed files with 589 additions and 762 deletions

View File

@@ -23,15 +23,15 @@
<div class="mode-selector">
<button id="schema-mode" class="mode-button schema">
<div class="icon">📊</div>
<div class="icon">🎯</div>
<div class="mode-info">
<h3>Schema Builder</h3>
<h3>Click2Crawl</h3>
<p>Click elements to build extraction schemas</p>
</div>
</button>
<button id="script-mode" class="mode-button script">
<div class="icon">🎯</div>
<div class="icon">🔴</div>
<div class="mode-info">
<h3>Script Builder <span style="color: #ff3c74; font-size: 10px;">(Alpha)</span></h3>
<p>Record actions to build automation scripts</p>
@@ -39,9 +39,9 @@
</button>
<button id="c2c-mode" class="mode-button c2c">
<div class="icon"></div>
<div class="icon">📝</div>
<div class="mode-info">
<h3>Click2Crawl</h3>
<h3>Markdown Extraction</h3>
<p>Select elements and convert to clean markdown</p>
</div>
</button>
@@ -72,10 +72,10 @@
</div>
</div>
<div class="instructions">
<div class="instructions" style="display: none;">
<h4>How to use:</h4>
<ol>
<li>Click "Schema Builder" to start</li>
<li>Click "Click2Crawl" to start</li>
<li>Click on a container element (e.g., product card)</li>
<li>Click individual fields inside and name them</li>
<li>Generate Python code when done</li>