◊(Local Yarn Code "Artifact [f03f3b78]")

Artifact f03f3b78b89982b726379a9cb7b0dc26bd3343c9d71a4107612440c1d4447491:

Ticket change [f03f3b78] - New ticket [8ad560204f7a5c94|8ad56020] <i>Refactor listing/query functions</i>. by joel on 2020-02-14 21:49:08.
D 2020-02-14T21:49:08.052
J icomment Currently\sthere\sare\sthree\sfunctions\s`<listing-short>`,\s`<listing-full>`\sand\s`<listing-excerpt>`\sand\syou\spass\sthem\sthe\squery-generating\sfunction\sitself\s(`articles`\sor\s`articles+notes`),\srather\sthan\spassing\san\sexpression\s_using_\sthose\sfunctions\swhich\sproduces\sthe\squery.\r\n\r\nThe\sonly\sreason\swe\sneed\sthree\sseparate\sfunctions\sis\sthe\sdifferent\streatment\sneeded\sfor\s`<listing-short>`.\sThe\smarkup\sstored\sin\sthe\slisting_short\scolumn\sis\scontained\sin\san\s`<li>`,\sso\s`<listing-short>`\sneeds\sto\sreturn\sthe\sconcatenated\sHTML\swrapped\sin\sa\s`<ul>`\stag.\sIf\sthe\smarkup\swere\schanged\sso\sthat\sno\ssuch\sspecial\streatment\swere\sneeded,\swe\scould\sswitch\sto\sa\ssingle\slisting\sfunction,\swith\susage\slike\sthis:\r\n\r\n```racket\r\n◊(collate\s(articles+notes\s'short))\r\n```
J login joel
J mimetype text/x-markdown
J severity Minor
J status Open
J title Refactor\slisting/query\sfunctions
J type Aesthetic\sImprovement
K 8ad560204f7a5c94691355d4572fa2dca544d849
U joel
Z 8dc2d7a717b1c836563e5bd8202ffef5