<commit_before>'use strict';
const {ipcRenderer: ipc} = require('electron');
const mode = require('./mode');
const nav = require('./nav');
const settings = require('./settings');
const startup = require('./startup');

ipc.on('search', () => {
  nav.click('.search');
});

ipc.on('new-list', () => {
  nav.click('.addList');
});

ipc.on('delete-list', () => {
  nav.click('.toolbarButton.more');
  nav.click('.popoverMenuItem-destructive');
});

ipc.on('rename-list', () => {
  nav.click('.listTitle');
});

ipc.on('hide-todo', () => {
  nav.click('.toolbarButton.more');
  nav.click('.checkbox-completed-18');
});

ipc.on('new-todo', () => {
  nav.click('.addTask-icon');
});

ipc.on('rename-todo', () => {
  nav.doubleClick('.taskItem.selected.active');
  nav.click('.editableContent-editButton');
});

ipc.on('delete-todo', () => {
  nav.doubleClick('.taskItem.selected.active');
  nav.click('.detailFooter-trash');
});
<commit_msg>Restored `New Todo` option<commit_after>'use strict';
const {ipcRenderer: ipc} = require('electron');
const mode = require('./mode');
const nav = require('./nav');
const settings = require('./settings');
const startup = require('./startup');

ipc.on('search', () => {
  nav.click('.search');
});

ipc.on('new-list', () => {
  nav.click('#baseAddInput');
});

ipc.on('delete-list', () => {
  nav.click('.toolbarButton.more');
  nav.click('.popoverMenuItem-destructive');
});

ipc.on('rename-list', () => {
  nav.click('.listTitle');
});

ipc.on('hide-todo', () => {
  nav.click('.toolbarButton.more');
  nav.click('.checkbox-completed-18');
});

ipc.on('new-todo', () => {
  nav.click('#main > div.main-background > div.baseAdd.addTask > button');
});

ipc.on('rename-todo', () => {
  nav.doubleClick('.taskItem.selected.active');
  nav.click('.editableContent-editButton');
});

ipc.on('delete-todo', () => {
  nav.doubleClick('.taskItem.selected.active');
  nav.click('.detailFooter-trash');
});

{'fraction_non_alphanumeric': 0.2672190574831693, 'fraction_numerical': 0.0020714655618850335, 'mean_word_length': 4.63265306122449, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5150704', 'n_tokens_mistral': 686, 'n_tokens_neox': 681, 'n_words': 82}