From 218a71f38b33484bb884cb617afe337c1ffaab92 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Tue, 7 Nov 2023 22:40:48 +0100 Subject: add internal tag `title' --- app/Issue/Tag.hs | 3 ++- app/Main.hs | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/Issue/Tag.hs b/app/Issue/Tag.hs index 90c7520..2f584b3 100644 --- a/app/Issue/Tag.hs +++ b/app/Issue/Tag.hs @@ -51,7 +51,8 @@ extractTags = internalTags :: Text -> Maybe Provenance -> [T.Text] -> [Tag] internalTags title provenance' markers = concat - [ [ Tag "id" $ Just $ toSpinalCase title + [ [ Tag "id" $ Just $ toSpinalCase title, + Tag "title" $ Just $ title ], maybe [] diff --git a/app/Main.hs b/app/Main.hs index 6f754da..66188d1 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -264,11 +264,6 @@ -- -- @priority high --- TODO Add internal tag `@title` --- --- To support sorting issues by title, we should add an internal `@title` --- tag. - -- TODO Add command for (re)generating the cache -- -- When running `anissue cache generate`, we will only generated the -- cgit v1.2.3