3 Commits

  1. 11
      CHANGELOG.md
  2. 1
      assets/css/app.scss
  3. 4
      lib/mirage/notes.ex
  4. 2
      mix.exs

11
CHANGELOG.md

@ -5,6 +5,17 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.39.1](https://git.inhji.de/inhji/mirage/compare/v0.39.0...v0.39.1) (2021-02-16)
### Bug Fixes:
* remove daily notes from unlinked untagged
* tags color
## [v0.39.0](https://git.inhji.de/inhji/mirage/compare/v0.38.0...v0.39.0) (2021-02-15)

1
assets/css/app.scss

@ -195,6 +195,7 @@ kbd {
.tag {
font-size:75%;
@include color-assign(background, surface);
@include color-assign(color, on-surface);
padding: 0 0.3rem;
border-radius: 5px;
border: 1px solid $border-base;

4
lib/mirage/notes.ex

@ -58,7 +58,7 @@ defmodule Mirage.Notes do
from n in Note,
full_join: nn in NoteNote,
on: nn.target_id == n.id or nn.source_id == n.id,
where: not like(n.title, "@%"),
where: not (like(n.title, "@%") or like(n.title, "____-__-__")),
where: is_nil(nn.target_id) or is_nil(nn.source_id),
select: n,
limit: 3,
@ -72,7 +72,7 @@ defmodule Mirage.Notes do
from n in Note,
full_join: t in NoteTopic,
on: t.note_id == n.id,
where: not like(n.title, "@%"),
where: not (like(n.title, "@%") or like(n.title, "____-__-__")),
where: is_nil(t.id),
select: n,
limit: 3,

2
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.39.0"
@version "0.39.1"
def project do
[

Loading…
Cancel
Save