Releases: TravisL12/apod_chrome_extension
v4.1.4 Fix today limit
APOD Version 4.0!
This is a complete re-write of the extension. It is using Manifest V3 and I undertook this based on becoming a "Featured" extension and my user count starting growing. I used this boilerplate to create a Typescript/React product that I am quite proud of.
Features:
- History tab is now saved in Local storage so the sessions will persist on your machine across all tabs.
- Preloading items was greatly simplified which removes the service worker complexities I was doing in v3.x that involved a bunch of caching stuff.
- Total rewrite! This will allow for an easier time making updates in the future. The amount of code cut out is dramatic.
- New loading gif too!
New APOD API & History Row + Options
I've switched away from NASA's APOD API and am now using apod_api. Also I have added a History Row at the bottom of the page that populates as you view more images. This row can be turned off in the options as well.
Limit Viewing of Today's APOD Feature!
This feature gives an option to display the Current APOD a certain number of times before it switches to Random APOD's for the remainder of the day.
Also, more tests were introduced in this release as well as a good amount of refactoring.
Refactor preloading for current dates
This is a cleanup version that has reviewed many components and simplified the data structures for the History and Preload utilities. The options pop-up was worked on to simplify the code and a small "Saved" indicator was added when settings are changed instead of just closing the window. A few more tests were added including full coverage for the History component. Also some old CSS was chopped out from the old vanilla JS version.
It might not look like much, but under the hood it feels good.
Search Tab Enabled, and Preloading Refactored
There have been many patch
releases of APOD to reach this version.
Latest Features:
Search tab! No longer will there be "Would you Like to Know More" tabs that would populate based on keywords in the explanation. Now the search tab will allow any string to be entered and searched. Also the Explanation tab will link directly to a search for any matching words found.
The search tab will remain populated for as long as the session lasts or if another search is made, this is a feature not a bug.
Preloading was refactored down to be a little smarter in regards to when it should preload more APOD's.
ReactJS APOD!
Re-wrote the whole thing in React so that more features can be explored. Overall this is a very good thing.
Date Picker is Back! Preloading Random Images
I have added a date picker using the package Flatpickr
Also I am now doing some preloading of random image data for a faster viewing experience.
Add SunLoader Back in, remove History Count
This is a minor update
-
Add Sun Loader back in, and no more randomized loaders.
-
Removed the history counter from the page title. It was too busy.
Update Google Analytics / Change Page Title per APOD
The analytics was using a static client ID (cid) which means it shows the same user from everywhere on the site. I updated this to generate and chrome.storage
a cid.
Now the page title updates to the currently viewed APOD, along with the history count.