completion-kit 0.5.23 → 0.5.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f3a33489dfdc8c4b5744b3d04ef7f1fbb7d4c257e6198e1213b2a6508247a05
4
- data.tar.gz: b9c96940b2b4954d707068bee76e6beee58ae19e3f20194cece5643e813fe3b5
3
+ metadata.gz: 40c107320c801c5cfcb008355620aadb4bf8ec4776113f52dd5e2d5c130a2ce8
4
+ data.tar.gz: 840088253b8efcd92163e858f4d95783889007c6b9c32662db3a1004225462a9
5
5
  SHA512:
6
- metadata.gz: d787d4f44220fd48907954c871b5576d10a4fcb3baf5a7d4106fcf9a30cf06563c3fad3a4e2cb3cf2027843b50b5fd52c1aadf0910fc402dbd04d14d54f73a8d
7
- data.tar.gz: 7d24b2744b473e98403ff30b7c7bb664f1b1f76a72330a973f290b049b67c76ca6283d5f26dc32b70d0d4bce529bbf267d7dd3ff2d06febf1781b1bb5c2b05a8
6
+ metadata.gz: b5efc624e8fe825ac927ec9bb87ffbc750e7862ec8aeb064a830d3f4b585136119db33a3f3d41a6064fb60db05fd93675bff9cb5b71007e9aea7722d79e6bdd6
7
+ data.tar.gz: d664c0f3e623ba91750f2752b60b4f2bc147a08f8287558f3cff466a7da5d60242d8275db63e15c10ea818fe5fe6f2dc4066ff85a138383c2e10e6cdd2b79ace
@@ -4802,6 +4802,25 @@ a.tag-mark {
4802
4802
  border: 1px solid var(--ck-line-strong);
4803
4803
  border-radius: var(--ck-radius);
4804
4804
  box-shadow: 0 -16px 34px rgba(0, 0, 0, 0.5);
4805
+ scrollbar-width: thin;
4806
+ scrollbar-color: var(--ck-line-strong) transparent;
4807
+ }
4808
+ .ck-flyout__panel::-webkit-scrollbar {
4809
+ width: 10px;
4810
+ }
4811
+ .ck-flyout__panel::-webkit-scrollbar-track {
4812
+ background: transparent;
4813
+ }
4814
+ .ck-flyout__panel::-webkit-scrollbar-thumb {
4815
+ background: var(--ck-line-strong);
4816
+ border: 3px solid transparent;
4817
+ background-clip: padding-box;
4818
+ border-radius: 999px;
4819
+ }
4820
+ .ck-flyout__panel::-webkit-scrollbar-thumb:hover {
4821
+ background: var(--ck-dim);
4822
+ border: 3px solid transparent;
4823
+ background-clip: padding-box;
4805
4824
  }
4806
4825
  .ck-flyout__item {
4807
4826
  display: flex;
@@ -12,7 +12,11 @@ module CompletionKit
12
12
  validates :dismissable_type, inclusion: { in: DISMISSABLE_TYPES }
13
13
  validates :dismissable_id, uniqueness: { scope: :dismissable_type }
14
14
 
15
- scope :metrics, -> { where(dismissable_type: "CompletionKit::Metric").includes(:dismissable) }
15
+ scope :metrics, lambda {
16
+ where(dismissable_type: "CompletionKit::Metric")
17
+ .includes(:dismissable)
18
+ .order(Arel.sql("baseline_score DESC NULLS LAST"))
19
+ }
16
20
  scope :failures, -> { where(dismissable_type: FAILURE_TYPES).includes(:dismissable) }
17
21
  end
18
22
  end
@@ -1,3 +1,3 @@
1
1
  module CompletionKit
2
- VERSION = "0.5.23"
2
+ VERSION = "0.5.24"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: completion-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.23
4
+ version: 0.5.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damien Bastin