notesy::notices

Notices in the window's corner, titled with the plugin's name. Takes the notify permission.

rustuse notesy::notices;

pub fn ready() {
    notices::info("Synced 12 notes");
    notices::success("Exported to Documents");
    notices::warn("The server is slow today");
    notices::error("Couldn't reach the server");
}
Function What it shows
notices::info(text) A notice in the accent color.
notices::success(text) One in the success color.
notices::warn(text) One in the warning color.
notices::error(text) One in the danger color.

They fade on their own, like notesy's. Keep them for what the user needs to know now; what a plugin does as a matter of course belongs in its log (notesy::log).

Every page