MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / getPropertiesToShow

Function getPropertiesToShow

src/ui/taskCardMetadata.ts:40–50  ·  view source on GitHub ↗
(
	visibleProperties: string[] | undefined,
	plugin: TaskNotesPlugin
)

Source from the content-addressed store, hash-verified

38}
39
40function getPropertiesToShow(
41 visibleProperties: string[] | undefined,
42 plugin: TaskNotesPlugin
43): string[] {
44 return (
45 visibleProperties ||
46 (plugin.settings.defaultVisibleProperties
47 ? convertInternalToUserProperties(plugin.settings.defaultVisibleProperties, plugin)
48 : getDefaultVisibleProperties(plugin))
49 );
50}
51
52function createBlockedMetadataPill(config: RenderTaskCardMetadataConfig): HTMLElement | null {
53 const { metadataLine, card, task, plugin, onBlockedByToggle } = config;

Callers 1

renderTaskCardMetadataFunction · 0.85

Calls 2

Tested by

no test coverage detected