Skip to content

Commit eb0aac6

Browse files
Mingzemergify[bot]
authored andcommitted
perf(version): Remove version history modal (#1633)
1 parent 9302486 commit eb0aac6

23 files changed

+0
-2374
lines changed

examples/src/VersionHistoryModalExamples.js

Lines changed: 0 additions & 289 deletions
This file was deleted.

examples/src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ export { default as ProgressBarExamples } from './ProgressBarExamples';
1818
export { default as SecurityCloudGameExamples } from './SecurityCloudGameExamples';
1919
export { default as SelectableTableExamples } from './SelectableTableExamples';
2020
export { default as SelectorDropdownExamples } from './SelectorDropdownExamples';
21-
export { default as VersionHistoryModalExamples } from './VersionHistoryModalExamples';
2221
export { default as MetadataExamples } from './MetadataExamples';
2322
export { default as ThumbnailCardExamples } from './ThumbnailCardExamples';

i18n/en-US.properties

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,41 +1368,3 @@ boxui.validation.requiredError = Required Field
13681368
boxui.validation.tooLongError = Input cannot exceed {max} characters
13691369
# Error message for when an input value is too short. {min} is the minimum length
13701370
boxui.validation.tooShortError = Input must be at least {min} characters
1371-
# Badge text indicating version is the current version (must be lower case)
1372-
boxui.versionHistoryModal.current = current
1373-
# Label given to the current badge for screen readers
1374-
boxui.versionHistoryModal.currentVersionLabel = This is the current version of the file
1375-
# Description of a version that has been deleted
1376-
boxui.versionHistoryModal.deletedByInfo = Removed on {deleted, date, full} by {deleterUserName}.
1377-
# Description of a version that will be permanently deleted
1378-
boxui.versionHistoryModal.deletedPermanentlyByInfo = Removed on {deleted, date, full} by {deleterUserName}. Per your company settings, this version will be removed permanently on {deletedPermanentlyBy, date, full}.
1379-
# Button text for downloading a version
1380-
boxui.versionHistoryModal.download = Download
1381-
# Button text for restoring a version as current
1382-
boxui.versionHistoryModal.makeCurrent = Make Current
1383-
# Button text for removing/deleting a version
1384-
boxui.versionHistoryModal.remove = Remove
1385-
# Button text for restoring a version
1386-
boxui.versionHistoryModal.restore = Restore
1387-
# Description of a version that has been restored
1388-
boxui.versionHistoryModal.restoredByInfo = Restored on {restored, date, full} by {restorerUserName}.
1389-
# Description of a version that has been restored from a now unavailable previous version.
1390-
boxui.versionHistoryModal.restoredFromPreviousVersionInfo = Restored on {restored, date, full} from a previous version by {restorerUserName}.
1391-
# Description of a version that has been restored. {versionNumber} is the version number of the original file version restored.
1392-
boxui.versionHistoryModal.restoredFromVersionInfo = Restored on {restored, date, full} from V{versionNumber} by {restorerUserName}.
1393-
# Text displayed when a version is retained and will be deleted on a certain date
1394-
boxui.versionHistoryModal.retainedAndDeletedOn = Will be deleted {dispositionDate, date, full} by retention policy.
1395-
# Text displayed when a version is retained indefinitely
1396-
boxui.versionHistoryModal.retainedIndefinitely = Retained indefinitely by retention policy.
1397-
# Text displayed when a version is retained until a certain date
1398-
boxui.versionHistoryModal.retainedUntil = Retained until {dispositionDate, date, full} by retention policy.
1399-
# Title of the version history modal
1400-
boxui.versionHistoryModal.title = Version History
1401-
# Description of a version that has been uploaded
1402-
boxui.versionHistoryModal.uploadedInfo = Uploaded on {uploaded, date, full} at {uploaded, time, short} by {uploaderUserName}.
1403-
# Text displayed instead of button actions
1404-
boxui.versionHistoryModal.versionLimitExceeded = You can restore the most recent {versionLimit} versions of any file.
1405-
# Badge text showing current version number
1406-
boxui.versionHistoryModal.versionNumberBadge = V{versionNumber}
1407-
# Label given to the version badge for screen readers
1408-
boxui.versionHistoryModal.versionNumberLabel = Version number {versionNumber}

scripts/styleguide.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ const allSections = [
233233
'../src/features/shared-link-modal/SharedLinkModal.js',
234234
'../src/features/shared-link-settings-modal/SharedLinkSettingsModal.js',
235235
'../src/features/unified-share-modal/UnifiedShareModal.js',
236-
'../src/features/version-history-modal/VersionHistoryModal.js',
237236
],
238237
sections: [
239238
{

0 commit comments

Comments
 (0)