This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * This script automates the process of deleting ALL tasks, starting from the last one. | |
| * It is designed to be run in the browser's developer console. | |
| */ | |
| async function deleteAllTasksReverse() { | |
| // 1. Find all task options buttons. | |
| const allOptionsButtons = document.querySelectorAll("swebot-task-tile > swebot-task-options > button"); | |
| if (allOptionsButtons.length === 0) { | |
| console.log("No tasks found to delete."); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ----------- simple-select.js ----------- */ | |
| import * as React from 'react'; | |
| import Select from 'react-select'; | |
| import type { Props } from 'react-select'; | |
| import { defaultClassNames, defaultStyles } from './helper'; | |
| import { | |
| ClearIndicator, | |
| DropdownIndicator, | |
| MultiValueRemove, | |
| Option |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type R = Record<string, string>; | |
| export type PageProps< | |
| PathParams extends R | undefined = undefined, | |
| SearchParams extends R | undefined = undefined, | |
| > = { | |
| params: PathParams extends R ? PathParams : never; | |
| searchParams: SearchParams extends R | |
| ? Partial<{ | |
| [K in keyof SearchParams]: string | string[]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { | |
| forwardRef, | |
| useCallback, | |
| useEffect, | |
| useImperativeHandle, | |
| useRef, | |
| useState, | |
| } from 'react'; | |
| import type { Ref } from 'react'; |