From 2011967b081ac7c312ff17ae767dc3186f9e11d0 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Thu, 23 Oct 2014 15:10:05 +0300 Subject: [PATCH] Added some more FIXMEs --- Handler/PackageList.hs | 1 + templates/package-list.hamlet | 1 + templates/package.hamlet | 1 + 3 files changed, 3 insertions(+) diff --git a/Handler/PackageList.hs b/Handler/PackageList.hs index f5f1477..731b8a7 100644 --- a/Handler/PackageList.hs +++ b/Handler/PackageList.hs @@ -28,5 +28,6 @@ cachedWidget diff key widget = do $logDebug "Not using cached widget" WidgetT $ \hd -> do ((), gw) <- unWidgetT widget hd + -- FIXME render the builders in gw for more efficiency atomicModifyIORef' ref $ \m -> (insertMap key (addUTCTime diff now, gw) m, ()) return ((), gw) diff --git a/templates/package-list.hamlet b/templates/package-list.hamlet index cca76d8..8890c14 100644 --- a/templates/package-list.hamlet +++ b/templates/package-list.hamlet @@ -3,3 +3,4 @@ $forall name <- names
  • #{name} + FIXME SYNOPSIS diff --git a/templates/package.hamlet b/templates/package.hamlet index a4fc8ab..047526f 100644 --- a/templates/package.hamlet +++ b/templates/package.hamlet @@ -27,3 +27,4 @@
  • Add: tags, upvote/downvote a tag, submit new tags. Tags could be used for stability, category, etc
  • Add: disqus comments
  • Add: vote on package +
  • Add: README, changelog, dependencies