Releases: tentenco/stellantis
Remove unused methods
Unused Methods to Remove:
sortVisibleCards() (lines 1563-1598) - This was replaced by the approach of always refreshing the display
createStockCardFromTemplate() (lines 1617-1661) - This is unused, you're using createAndAppendStockCard() instead
createStockCard() (lines 1683-1765) - Also unused, replaced by createAndAppendStockCard()
Set stockDisplayLimit to 3
Set stockDisplayLimit to 3 (Max 3 before load more)
previous version is 0.0.74 not 75
Fix the circular refresh issue and improve error handling
Troubleshooting Advice:
The load more button now works without resetting the display
Empty stock data is handled gracefully without errors
Configuration changes will sort visible items without removing them
The sorting maintains the current number of displayed items
Store the original stock data separately
Troubleshooting Advice:
Now the duplicate filtering always works from the original data
Configuration changes will properly re-filter and re-sort
The load more functionality will work with the correctly filtered data
This should fix both issues you mentioned
Add safety checks and fix the data handling
Fix stock.data empty error.
Fix load more button.
Re-sort and re-display stock items when configuration changes
re-sort and re-display stock items when configuration changes
Add a display limit and load more to stock display
Add a display limit and load more functionality to your stock display
Modify the spec link creation in updateSummary
Modify the spec link creation in updateSummary
Update updateStockDisplay method
Add a filtering step in updateStockDisplay before creating the cards.
Update fetchStockData method
Call updateStockMatchLevels after displaying the stock data in fetchStockData.