Commit Graph

2 Commits (86b15332fe81bafe8859184bca637cf8923847f9)

Author SHA1 Message Date
opus1217 4bee393f39 0.4.1e 11-Feb-2021
-Spell panel working except for initial and sorting

compendium-browser.js
- Don't save the filter data (which is most of the memory) and remove the preload limit; instead just save the minimal amount of data
- loadAndFilterItems(): Only load the tab you're on - for now just spells
-- store compactItems instead of whole decoratedItem (which was used for filtering)
-activateListeners(): Split out activateItemListListeners() so we can call them when we reload

spell-browser.html
2021-02-11 16:40:18 -08:00
opus1217 991e116d68 0.4.1d 9-Feb-2021
Basic POC for on-demand query from Compendia
for spell-filters only
- Other filters are broken right now

spell-browser.html
- Split out spell-browser-list.html so we can render this separately with refreshed data

compendium-browser.js
- replaceSPells(), renderSpellData(): ADDED
- Fixed: loadAndFilterItems(), loadItems(): await checkListsLoaded() or we get a null error
- activateListeners(): Use replaceSpells() instead of filterElements or full render
2021-02-09 21:42:50 -08:00