feat: add 'domain' category to mappings dropdown

Users can now label mappings as 'domain' (e.g. mycompany.com →
example.com). This is a category label for organization — the
substitution works the same as any other mapping.

https://claude.ai/code/session_01Dvgwe7XMoSxnWXkih8p1Cw
This commit is contained in:
Claude
2026-03-26 02:50:59 +00:00
parent eed885ed47
commit 6303ecb86b
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const DEFAULT_SETTINGS = {
secretScanning: true,
maxLogEntries: 200,
customDomains: [],
categories: ['name', 'email', 'phone', 'address', 'ssn', 'dob', 'general'],
categories: ['name', 'email', 'phone', 'address', 'ssn', 'dob', 'domain', 'general'],
};
const Storage = {
+1
View File
@@ -102,6 +102,7 @@
<option value="address">Address</option>
<option value="ssn">SSN</option>
<option value="dob">DOB</option>
<option value="domain">Domain</option>
<option value="general">General</option>
</select>
<label class="checkbox-label">
+1
View File
@@ -120,6 +120,7 @@
<option value="address">Address</option>
<option value="ssn">SSN</option>
<option value="dob">DOB</option>
<option value="domain">Domain</option>
<option value="general">General</option>
</select>
<label class="checkbox-label">