Commit Graph

22 Commits (f1a050d2ad97763779364a269f5a26cf81d4727f)

Author SHA1 Message Date
opus1217 f1a050d2ad 0.4.1f 11-Feb-2021
Initial spell loading working, without preload limit
2021-02-11 17:23:49 -08:00
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 07d3d378f6 0.4.1d 9-Feb-2021
Fixed: img observer on replaced spellData

compendium-browser.js
- replaceSpells(): Put image observer on correct replacement
2021-02-09 21:53:05 -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
opus1217 0353c307a4 0.4.1c 9-Feb-2021 Working
- Shows initial results, limited to PRELOAD

compendium-browser.js
- loadAndFilterItems(): pass activeFilters
2021-02-09 14:37:44 -08:00
opus1217 ae4a163f88 0.4.1b 9-Feb-2021 NOT WORKING
Interim check-in with loadAndFilterItems

compendium-browser.js
- Call loadAndFilterItems instead of loadItems; filter as we go, limited by numToPreload
- Add VISIBLE_ROWS (not used)
- loadAndFillterItems(): ADDED
-decorateCompendiumEntry(): ADDED
- checkListsLoaded(): ADDED
- fix more eslint errors (===)
- change "compendiumBrowser" module ID to MODULE_NAME (="compendium-browser")
2021-02-09 10:21:12 -08:00
opus1217 24cfde1119 0.4.1 8-Feb-2021
Fixed: Issue #2: Was loading items twice (once as this.items, once as this.spells)

compendium-browser.js
- Add numToPreload (default 100, in Settings)
- loadItems(), loadNPCs() load "preload" number of spells, feats, items, NPCs each
- initialize(): Was setting this.spells and then setting this.items in getData()
-  Move load back to "ready" hook, but limit number loaded
- Added CMPBrowser constants
- Fixed minor eslint problems
- getData(): Cleaned up data initialization
2021-02-08 09:13:31 -08:00
opus1217 5c3ed89b71 0.4.0 4-Feb-2021
- Defer spell/item and NPC loading until you use the Compendium Browser

compendium-browser.js
- Switch to not pre-loading the indexes, and instead do that at browsing time, to reduce server load and memory usage
- getData(): Check spellsLoaded, npcsLoaded
- loadItems(): Deprecated spellsLoading
- addSpellFilters(), addFeatFilters(), addItemFilters(), addNpcFilters(): Added just for easier reading
- Refactor some of the eslint warnings

module.json
- Version bump to 0.4.0
2021-02-04 18:50:25 -08:00
Felix fdea01046d
Add files via upload 2020-06-12 18:16:39 +02:00
Felix ef2e6349b8
Add files via upload 2020-06-12 17:29:59 +02:00
Felix 7f9a113815
Add files via upload
fixed an issue that prevented the rendering of the Button to open the browser
2020-05-18 13:31:14 +02:00
Felix b8c45dea00
Add files via upload 2020-04-30 19:07:00 +02:00
Felix dbba6bd57e
Add files via upload 2020-04-20 19:33:52 +02:00
Felix af1f4d6298
Add files via upload
fixed a bug that prevented proper load order if `renderCompendiumDirectory` gets called during `init`
2020-01-13 12:13:55 +01:00
Felix d0a9c4d369
Add files via upload
minor localization fixes
2019-12-31 11:01:00 +01:00
Felix 16846df323
Add files via upload
changed the way spellnames are handled for the class list to allow japanese and other similar language characters
2019-12-30 11:37:22 +01:00
Felix 1c2d5b1e78
Add files via upload
fixed alidgnment issues with multiSelect filters
fixed misplaced translation files
put the spell-class association list into its own file for easy translation/editing
added japanese translation. Thanks Brother Sharp for that one
2019-12-30 10:29:20 +01:00
Felix 83a79826b5
Add files via upload 2019-12-29 19:33:53 +01:00
Felix 041b392e50
Add files via upload 2019-12-29 19:13:17 +01:00
Felix f0a5c5932b
Add files via upload 2019-12-29 19:10:27 +01:00
Felix ec7c72e747
Add files via upload 2019-12-29 18:03:01 +01:00
Felix 3bd9d6b3f7
Add files via upload
initial release
2019-12-29 17:54:57 +01:00