Skip to content

Commit 31559ce

Browse files
authored
Merge pull request #3144 from perspective-dev/just-viewer-updates
Add presize API to `<perspective-viewer>`
2 parents b0ee116 + ed53227 commit 31559ce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1797
-1162
lines changed

.github/actions/install-deps/action.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,16 @@ runs:
164164
targets: aarch64-unknown-linux-gnu
165165
components: rust-src
166166

167+
# Did you see a CI error of the form:
168+
#
169+
# error: failed to install component: 'clippy-preview-aarch64-unknown-linux-gnu',
170+
# detected conflict: 'bin/cargo-clippy'
171+
#
172+
# See https://github.com/rust-lang/rustup/issues/988#issuecomment-1820438467
173+
- name: Stupid cargo hack
174+
shell: bash
175+
run: cargo version
176+
167177
# # TODO doesn't work.
168178
# - name: Install LLVM 17
169179
# if: ${{ inputs.cpp == 'true' }}

rust/perspective-client/src/rust/config/expressions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ impl Expressions {
251251
}
252252

253253
#[doc(hidden)]
254-
#[derive(Serialize, Clone, Copy)]
254+
#[derive(Serialize, Clone, Copy, PartialEq)]
255255
pub struct CompletionItemSuggestion {
256256
pub label: &'static str,
257257
pub insert_text: &'static str,

rust/perspective-viewer/src/less/column-selector.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,11 @@
210210
}
211211
}
212212

213+
span.expression-edit-button.disabled {
214+
opacity: 0;
215+
pointer-events: none;
216+
}
217+
213218
span.expression-delete-button {
214219
padding-left: 5px;
215220
margin-right: 8px;

rust/perspective-viewer/src/less/viewer.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,9 @@
314314
&:before {
315315
display: inline-block;
316316
height: 20px;
317+
min-height: 20px;
317318
width: 20px;
319+
min-width: 20px;
318320
content: "";
319321
mask-size: cover;
320322
-webkit-mask-size: cover;
@@ -351,7 +353,9 @@
351353
&:before {
352354
display: inline-block;
353355
height: 20px;
356+
min-height: 20px;
354357
width: 20px;
358+
min-width: 20px;
355359
content: "";
356360
mask-size: cover;
357361
-webkit-mask-size: cover;

0 commit comments

Comments
 (0)