log4brains icon indicating copy to clipboard operation
log4brains copied to clipboard

Add more fields to search on

Open my8bird opened this issue 3 years ago • 8 comments

Adding tags, status, and deciders and searchable fields. Also, renamed verbatim to body so that in the search bar the user can easy search the body of the ADR.

These searches are now available powered by the luna package.

  • body: Text from the body
  • deciders: Tony
  • tags: database
  • status: draft

my8bird avatar Aug 05 '22 17:08 my8bird

Hi @my8bird, nice work! Thank you for this PR. I am currently on vacations with no laptop. I'll have a look when I come back, by the end of August.

thomvaill avatar Aug 05 '22 19:08 thomvaill

As I said in comments, there is a typescript error to fix. Also, I think we should give users a hint on how to use the Lunr syntax. What about improving the "Type to start searching" message when you click on search bar?

thomvaill avatar Sep 23 '22 13:09 thomvaill

Would you be open to someone taking this up and fixing the typings issue? Having tag search would be nice for bigger repos of ADRs.

llwt avatar Jan 18 '23 10:01 llwt

By all means sure. I was just getting a starting point in. I forgot about this actually so thanks for keeping it moving.

On Wed, Jan 18, 2023, 04:06 Steven Nance @.***> wrote:

Would you be open to someone taking this up and fixing the typings issue? Having tag search would be nice for bigger repos of ADRs.

— Reply to this email directly, view it on GitHub https://github.com/thomvaill/log4brains/pull/82#issuecomment-1386793285, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGJPFZ56ZGCS74RBGZNP3WS66BFANCNFSM55WZO5PQ . You are receiving this because you were assigned.Message ID: @.***>

my8bird avatar Jan 18 '23 12:01 my8bird

I updated to master and fixed the typescript errors. however, the lint-staged step would not pass for me due to a miss configured package json in the air bnb eslint dependency so I skipped that locally.

my8bird avatar Feb 14 '23 18:02 my8bird

Hi @thomvaill, running yarn install --frozen-lockfile && yarn build && yarn link-cli && yarn typescript using ac9dfb0 works fine (on my machine).

Is there anything else left to do on this PR?

yuri1969 avatar Mar 24 '23 16:03 yuri1969

No every thing was working locally. Might have been a bad version of that airbnb dep which was resolved. If it meets your standards and is a good idea I would love to get it merged in

my8bird avatar Mar 30 '23 20:03 my8bird

@thomvaill are you able to merge this? Tag search is the motivation for my question! Also thank you so much for an amazing tool!

ms-ati avatar Apr 07 '23 15:04 ms-ati