From ae2fcc6d6a9cd051654fcc0519080db1f79cf2a7 Mon Sep 17 00:00:00 2001 From: a456pur Date: Mon, 26 Aug 2024 18:01:42 +1000 Subject: [PATCH] final preparations --- index.html | 83 ++++++++++++++++++++++++++++++++++++------ storage/js/settings.js | 7 +++- 2 files changed, 78 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 4a7497347..d0a3f3873 100755 --- a/index.html +++ b/index.html @@ -30,26 +30,62 @@

version 10 / patch notes

- + +
+
  • settings overhaul
      +
    • new data management section +
      • import/export data into save files, allowing for transfer over multiple sites
      • clear all data off the site with the clear data button
      • -
        +
      +
    • +
    • new panic mode +
      • customise a panic key (defaults to ctrl+shift+p)
      • customise a panic url (defaults to https://www.desmos.com/scientific)
      • perform the shortcut on any page to instantly delete all contents of the site and redirect to the panic url
      • -
        +
      +
    • +
    • custom theme updates +
      • added ability to export and import custom themes directly into the site, allowing for ease of access switching + sharability
      • custom themes now do not require a refresh of the page every time
      • -
        +
      +
    • +
    • new theme: ghostly - an abandoned town, said to be haunted by spirits lurking within
    • added open games in same tab setting
    • fixed tab cloaking not working on lots of pages, now works globally
    • tab cloak and resetting auto applies now with page refresh
    • @@ -57,24 +93,49 @@

      version 10 / patch note
    • significantly improved animation
  • -
  • changed updates page +
  • seraphim - mobile update +
      +
    • mobile version is now detachable from seraph and can be hosted separately
    • +
    • converted games and apps from buttons to app icons for a more unique interface
    • +
    • blurred all theme backgrounds to help contrast content more on smaller screens
    • +
    • now integratable with ios! open seraphim in safari > more > add to home page
    • +
    • setting bars now stack instead of appearing next to each other
    • +
    • games are now sorted in alphabetical order
    • +
    • custom themes are now compatible with mobile mode
    • +
    • mobile now uses new and consolidated stylesheet
    • +
    • scripts on page now execute in one instead of being fragmented
    • +
    • removed games/apps opening in a blank tab
    • +
    • adjusted meta tags to fit the site
    • +
    +
  • +
  • updates page
    • update log page is now a dropdown menu instead of a long page - scales down from version 10 all the way to version 1
    • improved animation on page load
    • fixed header glowing bug on page, making a weird background effect
  • -
    +
  • other changes +
      +
    • homepage now has dedicated big settings button
    • +
    • shrunk down app size slightly
    • added update popup for whenever there is a new update - shown on the homepage
    • 404 page now has a previous page button
    • fixed errors with 404 page styling, images and fonts
    • fixed errors with 404 linkbar links redirecting to wrong parts of the site
    • mobile users are now not automatically redirected to the mobile friendly version of the site on the homepage
    • -
    • background image bandwidth has been significantly downgraded by 50-90% (thanks sky)
    • +
    • background image bandwidth has been significantly downgraded by 50-90%
    • +
    • game thumbnails total bandwidth reduced significantly (19.2mb > 2.2mb)
    • favicon is now improved to give a more rounded design
    • +
    • fixed homepage size on mozilla browsers
    • +
    • star/cross icon is now an image icon instead of using unicode characters
    • +
    • themes.css now is used in place of having all stylesheets have different schemes
    • +
    • polished readme file, adding more content to it and removing unnecessary information
    • +
    • changed placeholder image (displays when there is no current thumbnail for a game)
    • +
    • css stylesheets have been renamed to make it easier to sort through
  • - +
    diff --git a/storage/js/settings.js b/storage/js/settings.js index bfb1815dd..99ca949c5 100644 --- a/storage/js/settings.js +++ b/storage/js/settings.js @@ -357,7 +357,12 @@ document.getElementById('export-theme').addEventListener('click', function() { document.body.removeChild(themePrompt); }); - + document.getElementById('cancel-export-theme').addEventListener('click', function() { + document.getElementById('blackout').style.display = 'none'; + document.getElementById('theme-prompt').style.display = 'none'; + document.body.removeChild(blackout); + document.body.removeChild(themePrompt); + }); }); document.getElementById('import-theme').addEventListener('click', function() {