accidentally selected line of code I didn't mean to GitHub commit (event items category on store, I unchecked all the lines but the last line in the function)
- Added "Achievement Owned Percentage" feature, all achievements now say what percentage of all players on Polytoria own the achievement (percentage fixed to 2 decimal places)
- The achievement progress bar no longer shows if the place has no achievements. This also applies to the new feature "Achievement Owned Percentage"
- "Run Update Notifier" context menu item now only runs on the developer debug page and nowhere else
- Settings are automatically saved whenever you edit the value of a select field
- Added accurate names for element IDs on the settings page so I can link to them
- If there is a hash/anchor URL specified in the settings page redirect URL it will carry the hash/anchor URL over to the local page URL
- Updated the way the Theme Creator loads themes, it now loads instantly on page load! (credit to SK-Fast's old Poly+ extension for the realization)
- Guild stores now have IRL prices listed if the "Show IRL Price with Brick Count" setting is enabled.
- Update banner on settings page with 2 options: go to releases page on this GitHub repository or to skip this update (unrecommended)
- You can now skip updates (again, unrecommended)
- Added "Reset to Default" button on all options modals on the settings page which will reset that setting's specific options to their defaults.
- Removed element IDs from the "Modify Navbar" feature options modal (they were there due to the old way options modals worked before release)
- Renamed polyplus-settings.js to settings.js
- Updated all "IRL Price with Brick Count" display code to have different variable names
- "IRL Price with Brick Count" is more accurate by parsing abbreviated numbers into their full number (fixing odd bugs that would happen with things such as a user's networth) - it is still not super accurate when it comes to users' networth but it's way better than before
- You can now clear specific data locations (chrome.storage.sync and chrome.storage.local) on the extension's debug page
- Updated update notifier code
- The profile page now uses the utilities to calculate the "IRL Price with Brick Count" result rather than using the old repetitive code
- Added another extension icon for when the extension has an update available - it currently isn't used anywhere due to the code for it not working for some reason
You are now able to see the version number, build type (stable or pre-release), and quickly check for updates
The text has been changed to say "made by Index with the help of several contributors" instead of just "made by Index"
- Improved settings page ("*unsaved" title when not saved yet, redesigned toggle indicators, redesigned toggle buttons, and small changes)
- data-URL property of the body HTML tag is now the pathname rather than the full URL
- Work in progress places integration for Pinned Games (on the actual places page, debating deleting this or not)
- Code cleanup
- Code improvements
- Added .gitignore
- Updated specific.css to use pathnames rather than the full URL
- Updated data_structure.txt reference for developers
- Changed manifest version name to pre-release build so you can tell what build you are using
- Added "load example data" section to debug page so you can quickly load example data for "Pinned Games", "Best Friends", and "Item Wishlist"
- Fixed IRL price on the store main page saying "NaN" (meaning "Not a Number") when there is a time limit on an item
- Changed font size and color of the likes/dislikes text on the gradient overlay of Pinned Games.
- You can no longer wish-list place achievements
- Fixed IRL price and wish-listing game passes
- Fixed the "Item Wishlist" feature link on the inventory page sidebar linking to the wish-list directory several times if clicked on several times
- Fixed "owned" tags on the store main page only loading when the item grid updates, it now loads tags when initially loaded too
- Fixed "Modify Navbar" feature navbar items being shifted and the "Forum" link unable to be edited
- Added IRL prices to the "Game Passes" section of the place view page
- Added IRL prices to the "Trending Items" section of the homepage
- Updates to how the home.js file runs (going to rewrite it eventually)
- Pinned Games now have a gradient overlay displaying the likes and dislikes above the place thumbnail
- Items that are in your "Item Wishlist" will now be automatically removed when purchased. You can now also no longer add items to your "Item Wishlist" if you already own the item.
- Fixed issue with forgetting to remove simplified-profile.js from manifest.json after deleting the file
- Added all experimental settings to the settings page ("Game Profiles", "Inline Editing", "Forum Unix Timestamps")
- Removed commented out settings on the settings page
- Removed the "Handle" part of all function names (eg. "HandlePinnedGames()" -> "PinnedGames()")
- Moved profile/profile.js to account/profile.js
- You can now quickly copy a message to share your or somebody else's 3D avatar URL on profile pages.
- Added Update Notifier that runs every day at 12 PM
- Changed Simplified Profile URLs from /profile/[username] to /users/@[username]
- Removed version_name from manifest.json so that it's easy to find the version number on browser extensions page
- Repetitive code is now way easier to edit as it is now stored in the utility module rather than the same code in several different files
- Changed "Theme Creator" Copy JSON button to have the text "Copy" rather than rely on an icon due to me forgetting to import fontawesome
- Hopefully fixed the store page randomly not working by not showing IRL prices or not showing the owned tags (may rewrite the entire code for that file since it is pretty old like Early Summer 2023)
- Fixed clicking on "Poly+" in the sidebar on the settings page sending you to an invalid page (due to browser security stuff) which wasn't happening to me before public beta
- Disabled importing theme data JSON for now to ensure security
- New Icon
- Moved avatar-sandbox.html and utils.js to /resources
- Browser automatically allows resources to be used from the resources folder
- Code Improvements
- Deleted trick-or-treat.js
- Bug Fixes
- added expanding of messages on the inbox page to quickly see the entire message content (maybe add quick reply feature too?)
- local settings page now uses Polytoria's CSS and isn't weird anymore
- clicking on the extension now opens the settings page instead of a old popup menu
- added debug menu at /my/settings/polyplus-debug to quickly clear all pinned games, clear all best friends, and quick editing of a setting's value
- simplified profile URLs are no longer a setting and are on by default (haven't fully deleted the settings code only deleted the if statement checking if it's enabled)
- simplified profile URLs now have an optional reference URL parameter to fall back on if the user doesn't exist (may replace with history.back or whatever the function is to go to the last location history page)
- forum mentions have been rewritten and no longer require ID caching because they use simplified profile URLs so the user ID is only fetcehd if you click on the URL if the user doesn't exist it sends you back to the forum post. the code is also now way shorter and simpler
- removed "Launch Creator" button because it has been re-added officially
- work in progress unix timestamp markdown for forum posts (not working right now for some reason will fix soon)
- small changes that I'm too lazy to list here