package main // The File menu's half of I13 (level-up build note 87): Import from // Notion… is File's, for importers only, and never the account menu's. const ( frameFile = "internal/mapa/frame.go" shellFile = "internal/mapa/shell.go" ) var menuMutations = []mutation{ {gate: "I13", name: "File offers Import to every member", test: "TestI13", edits: []edit{{frameFile, "menusFor(page, app.config.Importer(address))", "menusFor(page, true)"}}}, {gate: "I13", name: "the account menu offers Import again", test: "TestI13", edits: []edit{{shellFile, "if app.config.Directory != \"\" {", "if app.config.Importer(address) {\n" + "\t\taccount.Items = append(account.Items, menu.Item{" + "Href: importPath, Label: \"Import from Notion\"})\n" + "\t}\n\tif app.config.Directory != \"\" {"}}}, }