Skip to main content

Module pick

Module pick 

Source
Expand description

Which tip to show by itself: the rules, without egui.

A tip is a candidate when

  • it is not contextual (those show only where the application asks);
  • it was not dismissed (“Got it”);
  • its plugin’s tips are not turned off;
  • its command was never used (a user who ran it knows it);
  • its surface holds (where it makes sense);
  • it was not shown in the last day (AGAIN_AFTER).

Among the candidates, the one shown longest ago wins (never shown first), then the first registered.

Structs§

Rules
What the rules read.

Constants§

AGAIN_AFTER
How long before a tip shown may show again, in seconds: a day.

Functions§

read_ids
Ids separated by commas, as the settings keep them.
read_seen
id@seconds pairs, separated by commas, as the setting keeps them.
write_ids
The ids written back.
write_seen
The pairs written back.