Closed frasertweedale closed 2 years ago
Assigning to you @romanofski - I think this is your department :)
The markup module makes it possible to turn text into widgets. We use it to highlight search results. Perhaps we should copy the modules over and continue use them? What do you think @frasertweedale?
@romanofski honest truth, I don't know enough about it to comment. But if it was removed from brick because:
Removed the "markup" feature, which included Data.Text.Markup, Brick.Markup, and brick-markup-demo. This feature never performed well and was awkward to use.
then maybe we should see if there's another, more robust and performant way to do it?
then maybe we should see if there's another, more robust and performant way to do it?
Yeah there probably is, but I think for the mean time we should take it over. The thing is also that currently we alway turn the mail body into markup, but I think we only need to do this if we search the text. That might give us both worlds: the search highlighting and the speed in 99% of cases.
We migrated the required code into Purebred. That solves the acute issue so I'll close this. We can tackle cleanups or performance improvements separately.
Describe the bug brick v0.68 removed the
Brick.Markup
module - see changelog.This breaks the build. I will push a commit to set the dep upper bound at
< 0.68
but we need to migrate away from this feature.To Reproduce Build against brick >= 0.68.
Observe compilation failure:
Expected behavior Build succeeds and program works.