Compare commits

...

3 Commits

Author SHA1 Message Date
Victor Meng
5fc7c2a929 Update snapshot 2022-03-17 18:27:27 -07:00
Victor Meng
e82a904308 Allow users to turn off analytical ttl in settings tab 2022-03-16 22:43:37 -07:00
Mathieu Tremblay
d1587ef033 Update Tab title from 'Items' to id + ' - Items' to make it easier to differentiate (#1233) 2022-03-11 15:50:44 -05:00
3 changed files with 3 additions and 7 deletions

View File

@@ -213,7 +213,7 @@ export class SubSettingsComponent extends React.Component<SubSettingsComponentPr
);
private analyticalTtlChoiceGroupOptions: IChoiceGroupOption[] = [
{ key: TtlType.Off, text: "Off", disabled: true },
{ key: TtlType.Off, text: "Off" },
{ key: TtlType.OnNoDefault, text: "On (no default)" },
{ key: TtlType.On, text: "On" },
];

View File

@@ -363,7 +363,6 @@ exports[`SubSettingsComponent analyticalTimeToLiveSeconds hidden 1`] = `
options={
Array [
Object {
"disabled": true,
"key": "off",
"text": "Off",
},
@@ -640,7 +639,6 @@ exports[`SubSettingsComponent changeFeedPolicy hidden 1`] = `
options={
Array [
Object {
"disabled": true,
"key": "off",
"text": "Off",
},
@@ -879,7 +877,6 @@ exports[`SubSettingsComponent renders 1`] = `
options={
Array [
Object {
"disabled": true,
"key": "off",
"text": "Off",
},
@@ -1156,7 +1153,6 @@ exports[`SubSettingsComponent timeToLiveSeconds hidden 1`] = `
options={
Array [
Object {
"disabled": true,
"key": "off",
"text": "Off",
},

View File

@@ -308,7 +308,7 @@ export default class Collection implements ViewModels.Collection {
collectionName: this.id(),
dataExplorerArea: Constants.Areas.Tab,
tabTitle: "Items",
tabTitle: this.rawDataModel.id + " - Items",
});
this.documentIds([]);
@@ -316,7 +316,7 @@ export default class Collection implements ViewModels.Collection {
partitionKey: this.partitionKey,
documentIds: ko.observableArray<DocumentId>([]),
tabKind: ViewModels.CollectionTabKind.Documents,
title: "Items",
title: this.rawDataModel.id + " - Items",
collection: this,
node: this,
tabPath: `${this.databaseId}>${this.id()}>Documents`,