prompt_navigator 2.5.0 → 2.5.1

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: 8370e951e3f5d39bef43187f1d47b67f57c5c35f01a187bdc4dcc2f75527c59f
4
- data.tar.gz: a63769916fb05bcaf8274450550ce0729eeb6be287374ef4acc5a79e88cd27b0
3
+ metadata.gz: 6048f0c756e33afecbdcc501fdf638c7ac51ba11197176b584359aa34a154dbb
4
+ data.tar.gz: 890f36b11b51e3b9baaa4a8f847942693970465ef1178707941174dcb5aafe37
5
5
  SHA512:
6
- metadata.gz: 941e78cb12e73b0f50118f8ad36f0ea76aff54bc73d678204d43cf8bd9afdd2baafab720593c9599e4ec93320cf8da837a8b706e5cc45c62ddf8f38ad121ca7f
7
- data.tar.gz: 9c517219db4fa28275e6d59cc5df02d6030e93a33d188de55aae84b7f9cf718c78a97d4fc37a9432781a0054dcc72b906b3a91c08a8aba7abfb6447bfc0459cb
6
+ metadata.gz: b9f3de1fb1aaf8522c813546345b9e9c59f2ee1717a708c873877fc8d0673b0df08c617678158430abadbe8be6ecf70d66580386cc279a471084d2ee98a8bbac
7
+ data.tar.gz: 84f615f59d04e9cb38129bbb103f64ace2b1484fca97485771333d3361e51cad369bc9d58484544254f0e40ec57e93fd8f0e5eca9f77f19602c1d8bd205ead44
@@ -113,6 +113,26 @@
113
113
  font-weight: 700;
114
114
  letter-spacing: 0.02em;
115
115
  flex-shrink: 0;
116
+
117
+ /* This label is whatever the host registered in `model_labels`, which is
118
+ usually the catalog's display name rather than a short platform word —
119
+ that is the point, so an Ollama-hosted Qwen reads "Qwen3.6 35B" and not
120
+ "Ollama". Catalog names get long: "Gemini 3.1 Flash Image (Nano Banana 2)"
121
+ is 38 characters. With no cap the chip claimed the whole row and the
122
+ prompt preview beside it collapsed to nothing, because the link is the
123
+ flex item that yields (`flex: 1; min-width: 0`) while this one does not
124
+ shrink. Cap it and ellipsise; the full name is already on the element's
125
+ `title`, so nothing is lost. */
126
+ max-width: 45%;
127
+ /* Border-box so the cap counts the padding. Without it `max-width` bounds
128
+ only the content box and the 12px of horizontal padding is added on top,
129
+ so a 45% cap renders at nearly 49% — enough to push the prompt under half
130
+ the row, which is the thing being prevented. */
131
+ box-sizing: border-box;
132
+ overflow: hidden;
133
+ text-overflow: ellipsis;
134
+ white-space: nowrap;
135
+
116
136
  padding: 2px 6px;
117
137
  border-radius: 4px;
118
138
  min-width: 28px;
@@ -1,3 +1,3 @@
1
1
  module PromptNavigator
2
- VERSION = "2.5.0"
2
+ VERSION = "2.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prompt_navigator
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - dhq_boiler