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