Meta
up:: ๐งช Code Diary
type:: #log/code
tags:: #on/snippets
language:: Quickadd
program:: Obsidian
topics:: Coding
Example Quickadd Select Menu
Language:: Quickadd
Program:: Obsidian
Link::
Summary
An example from the Quickadd docs describing an implementation that handles Toggl integration, the menu is what interests me here.
Code
const menu = {
"๐ง Learning & Skill Development": { // Sub-menu for Learning and Skill Development
togglProjectName: "Learning & Skill Development", // Name of your corresponding Toggl project
menuOptions: {
"โ Note Making": "Note Making", // Preset time entry. The left part is what's displayed, and the right part is what Toggl gets.
"๐ Spaced Repetition": "Spaced Repetition", // So for this one, I would see '๐ Spaced Repetition' in my menu, but Toggl would receive 'Spaced Repetition' as the entry.
"๐ Read Later Processing": "Read Later Processing",
"๐จโ๐ป Computer Science & Software Engineering": "Computer Science & Software Engineering",
}
},
"๐คด Personal": {
togglProjectName: "Personal",
menuOptions: {
"๐๏ธโโ๏ธ Exercise": "Exercise",
"๐งน Chores": "Chores",
"๐จโ๐ฌ Systems Work": "Systems Work",
"๐ Weekly Review": "Weekly Review",
"๐ Monthly Review": "Monthly Review",
"โ Planning": "Planning",
}
},
"๐จโ๐ School": {
togglProjectName: "School",
menuOptions: {
"๐ง Machine Intelligence (MI)": "Machine Intelligence (MI)",
"๐พ Database Systems (DBS)": "Database Systems (DBS)",
"๐โโ Agile Software Engineering (ASE)": "Agile Software Engineering (ASE)",
"๐ป P5": "P5",
}
}
};
Explanation
Result
up:: ๐งช Code Diary