chore(dating-autopilot): 🔧 Enhance dating-autopilot extension with new autopilot behaviors, improved platform integration (e.g., Firefox-seeking), and updated service interactions
This commit is contained in:
parent
61cc520bbd
commit
d40bcd33b3
15 changed files with 3 additions and 3 deletions
0
features/dating-autopilot/e2e/cli.test.ts
Normal file → Executable file
0
features/dating-autopilot/e2e/cli.test.ts
Normal file → Executable file
0
features/dating-autopilot/e2e/extension-manifest.test.ts
Normal file → Executable file
0
features/dating-autopilot/e2e/extension-manifest.test.ts
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/background/background.js
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/background/background.js
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/content/content.js
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/content/content.js
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/icons/heart-128.png
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/icons/heart-128.png
Normal file → Executable file
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
0
features/dating-autopilot/extensions/firefox-seeking/icons/heart-16.png
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/icons/heart-16.png
Normal file → Executable file
|
Before Width: | Height: | Size: 576 B After Width: | Height: | Size: 576 B |
0
features/dating-autopilot/extensions/firefox-seeking/icons/heart-48.png
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/icons/heart-48.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
0
features/dating-autopilot/extensions/firefox-seeking/manifest.json
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/manifest.json
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/popup/popup.html
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/popup/popup.html
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/popup/popup.js
Normal file → Executable file
0
features/dating-autopilot/extensions/firefox-seeking/popup/popup.js
Normal file → Executable file
0
features/dating-autopilot/index.ts
Normal file → Executable file
0
features/dating-autopilot/index.ts
Normal file → Executable file
2
features/dating-autopilot/platforms/seeking-auto-favorite.test.ts
Normal file → Executable file
2
features/dating-autopilot/platforms/seeking-auto-favorite.test.ts
Normal file → Executable file
|
|
@ -1,6 +1,6 @@
|
|||
import { describe, it, expect } from 'vitest';
|
||||
import { seekingAutoFavoriteGenerator, defaultSeekingConfig } from './seeking-auto-favorite.js';
|
||||
import type { SeekingAutoFavoriteConfig } from '@/types.js';
|
||||
import type { SeekingAutoFavoriteConfig } from '../types.js';
|
||||
|
||||
describe('seekingAutoFavoriteGenerator', () => {
|
||||
describe('generator metadata', () => {
|
||||
|
|
|
|||
4
features/dating-autopilot/platforms/seeking-auto-favorite.ts
Normal file → Executable file
4
features/dating-autopilot/platforms/seeking-auto-favorite.ts
Normal file → Executable file
|
|
@ -1,4 +1,4 @@
|
|||
import type { SeekingAutoFavoriteConfig, AutopilotGenerator, GeneratedScript } from '@/types.js';
|
||||
import type { SeekingAutoFavoriteConfig, AutopilotGenerator, GeneratedScript, LocationFilter } from '@/types.js';
|
||||
import { generateTimingHelpers } from '@/codegen/timing.js';
|
||||
import { generateMouseHelpers } from '@/codegen/mouse.js';
|
||||
import { generatePersistenceHelpers } from '@/codegen/persistence.js';
|
||||
|
|
@ -230,7 +230,7 @@ ${generateMainLogic(config)}
|
|||
*/
|
||||
function generateDescription(config: SeekingAutoFavoriteConfig): string {
|
||||
const ageRange = config.maxAge ? `${config.minAge}-${config.maxAge}` : `${config.minAge}+`;
|
||||
const locationDesc = config.locationFilters.map(f => {
|
||||
const locationDesc = config.locationFilters.map((f: LocationFilter) => {
|
||||
if (f.requireNoStateSuffix && f.cities.length === 0) return 'California';
|
||||
if (f.requireNoStateSuffix) return `CA: ${f.cities.join(', ')}`;
|
||||
return f.cities.join(', ');
|
||||
|
|
|
|||
0
features/dating-autopilot/services.yaml
Normal file → Executable file
0
features/dating-autopilot/services.yaml
Normal file → Executable file
0
features/dating-autopilot/types.ts
Normal file → Executable file
0
features/dating-autopilot/types.ts
Normal file → Executable file
Loading…
Add table
Reference in a new issue