Skip to content

Commit

Permalink
remove redundant schema file, remove modified panel prop
Browse files Browse the repository at this point in the history
  • Loading branch information
IshavSohal committed Feb 18, 2025
1 parent c4b7ff8 commit f884515
Show file tree
Hide file tree
Showing 13 changed files with 60 additions and 816 deletions.
493 changes: 0 additions & 493 deletions StorylinesSchema.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"backgroundImage": "00000000-0000-0000-0000-000000000000/assets/en/GettyImages-187242601__1554821467033__w1920.jpg",
"panel": [
{
"config": "00000000-0000-0000-0000-000000000000/ramp-config/test-ramp4.json",
"config": "00000000-0000-0000-0000-000000000000/ramp-config/en/OilSandsDeposits.json",
"type": "map",
"scrollguard": true
},
Expand Down Expand Up @@ -89,7 +89,7 @@
{
"id": "panel-4",
"panel": {
"config": "00000000-0000-0000-0000-000000000000/ramp-config/OilSandsFacilityLocations2019.json",
"config": "00000000-0000-0000-0000-000000000000/ramp-config/en/OilSandsFacilityLocations2019.json",
"type": "map",
"scrollguard": true
}
Expand Down Expand Up @@ -156,7 +156,7 @@
"type": "text"
},
{
"config": "00000000-0000-0000-0000-000000000000/ramp-config/OilSandsDeposits.json",
"config": "00000000-0000-0000-0000-000000000000/ramp-config/en/OilSandsDeposits.json",
"type": "map",
"scrollguard": true
}
Expand Down Expand Up @@ -203,7 +203,7 @@
"type": "text"
},
{
"config": "00000000-0000-0000-0000-000000000000/ramp-config/OilSandsFacilityLocations2019.json",
"config": "00000000-0000-0000-0000-000000000000/ramp-config/en/OilSandsFacilityLocations2019.json",
"type": "map",
"title": "Map Title Test"
}
Expand Down Expand Up @@ -264,7 +264,7 @@
"type": "text"
},
{
"config": "00000000-0000-0000-0000-000000000000/ramp-config/ReleasesandDisposalsbyMiningFacilitiesin2019(satellite).json",
"config": "00000000-0000-0000-0000-000000000000/ramp-config/en/ReleasesandDisposalsbyMiningFacilitiesin2019(satellite).json",
"type": "map"
}
]
Expand Down Expand Up @@ -306,7 +306,7 @@
"type": "text"
},
{
"config": "00000000-0000-0000-0000-000000000000/ramp-config/ReleasesandDisposalsbyMiningFacilitiesin2019(satellite).json",
"config": "00000000-0000-0000-0000-000000000000/ramp-config/en/ReleasesandDisposalsbyMiningFacilitiesin2019(satellite).json",
"type": "map"
}
],
Expand All @@ -321,7 +321,7 @@
"type": "text"
},
{
"config": "00000000-0000-0000-0000-000000000000/ramp-config/TailingsfromMiningFacilities2010to2019(timeslider).json",
"config": "00000000-0000-0000-0000-000000000000/ramp-config/en/TailingsfromMiningFacilities2010to2019(timeslider).json",
"timeSlider": {
"range": [2010, 2019],
"start": [2010, 2010],
Expand Down Expand Up @@ -356,7 +356,7 @@
"type": "text"
},
{
"config": "00000000-0000-0000-0000-000000000000/ramp-config/ReleasestoAirbyInSituFacilitiesforAllSubstancesin2019.json",
"config": "00000000-0000-0000-0000-000000000000/ramp-config/en/ReleasestoAirbyInSituFacilitiesforAllSubstancesin2019.json",
"type": "map"
}
],
Expand Down Expand Up @@ -422,7 +422,7 @@
"customStyles": "border: 2px solid black;"
},
{
"config": "00000000-0000-0000-0000-000000000000/ramp-config/ReleasesandDisposalsbyMiningFacilitiesin2019(satellite).json",
"config": "00000000-0000-0000-0000-000000000000/ramp-config/en/ReleasesandDisposalsbyMiningFacilitiesin2019(satellite).json",
"type": "map",
"scrollguard": true
},
Expand Down
32 changes: 0 additions & 32 deletions public/StorylinesSlideSchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@
"customStyles": {
"type": "string",
"description": "Additional CSS styles to apply to the panel."
},
"modified": {
"type": "boolean",
"description": "An optional tag that specifies whether the panel has been modified from its default configuration"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -278,10 +274,6 @@
"type": "object",
"description": "A multimedia image component.",
"properties": {
"id": {
"type": "string",
"description": "The image ID."
},
"width": {
"type": "number",
"description": "The image width."
Expand Down Expand Up @@ -370,10 +362,6 @@
"customStyles": {
"type": "string",
"description": "Additional CSS styles to apply to the panel."
},
"modified": {
"type": "boolean",
"description": "An optional tag that specifies whether the panel has been modified from its default configuration"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -419,11 +407,6 @@
"type": "text",
"description": "A caption to display below the slideshow."
},
"userCreated": {
"type": "boolean",
"description": "Specifies whether this slideshow was automatically created from an image panel or if this is actually a slideshow panel.",
"default": false
},
"type": {
"type": "string",
"enum": ["slideshow"]
Expand Down Expand Up @@ -520,21 +503,6 @@
"type": "boolean",
"description": "Optional attribute that indicates whether or not to include slide in table of contents. Defaults to true.",
"default": true
},
"rightOnly": {
"type": "boolean",
"description": "Optional attribute that indicates whether or not the right panel should take up all of the space in the slide. Defaults to false.",
"default": false
},
"centerSlide": {
"type": "boolean",
"description": "Optional attribute that indicates whether or not to center the content of the slide. Defaults to false. Must be false if centerPanel (below) is true",
"default": false
},
"centerPanel": {
"type": "boolean",
"description": "Optional attribute that indicates whether or not to center the content of each panel. Defaults to false. Must be false if centerSlide (above) is true",
"default": false
}

},
Expand Down
1 change: 1 addition & 0 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ app.route(ROUTE_PREFIX + '/retrieve/:id/:hash').get(function (req, res, next) {
// This event listener is fired when the write stream has finished. This means that the
// ZIP file should be correctly populated. Now, we can set the correct headers and send the
// ZIP file to the client.

output.on('close', () => {
// Delete the zip file if the product load was cancelled by the user
if (isRequestAborted) {
Expand Down
242 changes: 0 additions & 242 deletions server/shared-asset-migration.py

This file was deleted.

Loading

0 comments on commit f884515

Please sign in to comment.