From af38762f557c8f653ba4254828b243438985bf9e Mon Sep 17 00:00:00 2001 From: Mikey Oz Date: Tue, 3 May 2022 18:36:28 -0700 Subject: [PATCH] show frequencies --- app/client.imba | 13 +++++++++++-- package.json | 2 +- sw.imba | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/app/client.imba b/app/client.imba index 6dc8a7c..e2da06a 100644 --- a/app/client.imba +++ b/app/client.imba @@ -127,9 +127,16 @@ tag app css .links d:flex fld:column jc:flex-start g:20px w:100% mt:20px ofy:auto fl:1 + px:20px + + css .link + d:flex fld:row jc:space-between ai:center css a - tt:capitalize td:none fs:20px c:blue3 + tt:capitalize td:none c:blue3 fs:20px + + css .frequency + fs:15px c:blue3 <.buttons> "CREATE" @@ -154,6 +161,8 @@ tag app > <.links> for obj in state.scored_links - obj.name + <.link@click.prevent=handle_click_link(obj)> + obj.name + <.frequency> obj.frequency or 0 imba.mount diff --git a/package.json b/package.json index 358eabe..0ab20e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fuzzyhome", - "version": "0.0.8", + "version": "0.0.9", "scripts": { "start": "imba run -SMH --baseurl . -w server.imba", "build-app": "imba build -SMH --baseurl . server.imba", diff --git a/sw.imba b/sw.imba index 6bcf2d3..a2ef12f 100644 --- a/sw.imba +++ b/sw.imba @@ -1,7 +1,7 @@ let p = console.log const app_prefix = "fuzzyhome_cache" -const version = "0.0.8" +const version = "0.0.9" const cache_name = "{app_prefix}-{version}"