Skip to content

Commit

Permalink
Merge pull request #17744 from martenson/revise-lang
Browse files Browse the repository at this point in the history
[24.0] Revise language around non-private object stores
  • Loading branch information
jmchilton authored Mar 18, 2024
2 parents 1e7565b + 089a595 commit aa8f85a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe("ObjectStoreRestrictionSpan", () => {
propsData: { isPrivate: true },
localVue,
});
expect(wrapper.find(".stored-how").text()).toBe("private");
expect(wrapper.find(".stored-how").text()).toMatch("private");
expect(wrapper.find(".stored-how").attributes("title")).toBeTruthy();
});

Expand All @@ -22,7 +22,7 @@ describe("ObjectStoreRestrictionSpan", () => {
propsData: { isPrivate: false },
localVue,
});
expect(wrapper.find(".stored-how").text()).toBe("unrestricted");
expect(wrapper.find(".stored-how").text()).toMatch("sharable");
expect(wrapper.find(".stored-how").attributes("title")).toBeTruthy();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ const props = defineProps({
isPrivate: Boolean,
});
const text = computed(() => (props.isPrivate ? "private" : "unrestricted"));
const text = computed(() => (props.isPrivate ? "private" : "sharable"));
const title = computed(() => {
if (props.isPrivate) {
return "This dataset is stored on storage restricted to a single user. It can not be shared, published, or added to Galaxy data libraries.";
return "This dataset is stored on storage restricted to a single user. It cannot be shared, published, or added to Galaxy data libraries.";
} else {
return "This dataset is stored on unrestricted storage. With sufficient Galaxy permissions, this dataset can be published, shared, or added to Galaxy data libraries.";
return "This dataset is stored on storage that allows standard Galaxy sharing features. If you have sufficient Galaxy permissions to this dataset - the dataset can be published, shared, or added to data libraries within Galaxy.";
}
});
</script>
Expand Down

0 comments on commit aa8f85a

Please sign in to comment.