Commit Graph

43 Commits (d789f150ab22e3652609cadc375662d3700dc067)

Author SHA1 Message Date
Pipper Publishing 78bc52535d v0.7.1 12-Sep-2021
Fixed Issue #25 Compendium Browser doesn't show

compendium-browser.js
- initSettings(): Check that settings.loadedSpellCompendium and settings.loadedNpcCompendium exist
2021-09-12 13:26:38 +12:00
Pipper Publishing 41bc3738f6 v0.7.1 10-Sep-2021
- Merged PR #26
- Revved CMPBrowser structure (was at 0.4.5)
2021-09-10 09:42:28 +12:00
ZoltanTheDM ef024fbb89
Performance and 0.9.0 prep (#24)
* significant performance improvements

* added notes to change log

* spelling mistake 1

* spelling mistake 2
2021-09-06 19:34:03 -07:00
opus1217 5e01bca499 0.5.0 12-Jun-2021
- Updated to use correct "latest" link
- Fixed: Issue https://github.com/League-of-Foundry-Developers/compendium-browser/issues/17 (structure had changed)

compendium-browser.js
- addNpcFilers(): Test for Foundry 0.8.x in which creature type is now data.details.type.value
2021-06-12 19:59:08 -07:00
opus1217 63e4e7832e 0.4.5b 15-Mar-2021
- Display tooltip over item/npc name with source compendium

*-browser-list.html
- Add title tooltip to the item/npc names
2021-03-15 13:45:45 -07:00
opus1217 f724d8fb4e 0.4.5 15-Mar-2021
Fixed; Issue #10 ( Spells from non-system compendium show up in items tab.)

compendium-browser.js
- loadAndFilterItems(): Refactor test on content to switch on tab (spells, feats, items) and if on item type
- getFilterResult() -> passesFilter()
2021-03-15 13:06:06 -07:00
opus1217 1679b50859 0.4.3b 11-Mar-2020
- Changed Reset Filters prompt to be consistent
- Fully fixed Issue #4 (filters still showing after reset)

compendium-browser.js
- Clear all filters to match displayed

*-browser.html
- Substitute more localization tags

template.html
- Fixed unlisted bug for content (repeated #if showSpellBrowser)

en.json
- Add localization for "Reset Filters" prompt
2021-03-11 18:26:51 -08:00
opus1217 d7d8e85e3c 0.4.3 11-Mar-2021
- Fixed: Error on dragging item from Compendium Browser #9
- Partially Fixed: Issue #4 (filter fields don't get cleared)
-- Is clearing on the current tab but getting out of sync otherwise on other tabs

compendium-browser.js:
- activateItemListListeners(): Remove spurious li.parents (wasn't being used anyway)
- activateListeners(): Add this.refreshList to say what tab we should get data for and then re-render
2021-03-11 17:32:07 -08:00
opus1217 4ddad55232 0.4.2f 16-Feb-2021
- Working with Loading and Maximum message at top
- Reset Filters is not resetting filter display

compendium-browser.js
- Change preload to maxLoaded and display a message to filter if you want more
- replaceList(): Pass updateLoading function (with max warning) to renderItemData

en.json
CMPBrowser.SETTING.Preload -> Maxload
CMPBrowser.LOADING.Message, .MaxLoaded: ADDED

*-browser.html
- Add messages line, convert to flexcol

*-browser-list.html
- Use same argument (listItems)

loading.html
- Message (including maximum if found)

compendium-browser.css
- Add .list-area styling consistent with flex
- Adjust max-width
- Remove ul setting of width
2021-02-16 20:39:39 -08:00
Pipper Publishing 0aeecb6963 0.4.2e 15-Feb-2021 2021-02-16 11:55:46 -08:00
Pipper Publishing 2ad8d26537 0.4.2d 15-Feb-2021
- Display the type of item being loaded

compendium-browser.js
- renderLoading(): ADDED
2021-02-15 18:49:06 -08:00
Pipper Publishing 9cf9eff45f 0.4.2c 15-Feb-2021
- Correct loading/reloading message

compendium-browser.js
- Correct Loading... message on initial tab, but not on tab switch
- replaceList(): Use new loading.html template

loading.html: ADDED
2021-02-15 16:47:48 -08:00
opus1217 9bb2bd90e1 0.4.2c 15-Feb-2021
Broke the reloading - need to check if there is only the loading message on a reload
2021-02-15 14:27:15 -08:00
opus1217 cdadb915ea 0.4.2b 15-Feb-2021
- Add Loading... message for NPCs
- Don't reload if tab already has data, unless you reset filters

compendium-browser.js
- replaceList(): Add options.force to force reload even if there's data (e.g. if you reset filters)
2021-02-15 14:14:45 -08:00
opus1217 3ff0a0fac5 0.4.2 15-Feb-2021
NPC initial load working and subsequent filtering/ordering

compendium-browser.js
- Fix NPCs to use loadAndFilterNpcs
loadAndFilterNpcs(): ADDED
- On settings changed, just do new render()
- decorateCompendiumEntry() -> decorateItem()

npc-browser.html
- Use correct css (cr vs cr-display etc)
- Simplify hidden filtering data fields

module.json
- Version bump
2021-02-15 13:50:14 -08:00
opus1217 0b9b72edff 0.4.1l 12-Feb-2021
Display static "Loading..." message the first time tab is shown
-> Want it with dynamic results and to not replace existing data

feat-browser.html, spell-browser.html
- Use items array on first load so that we pick up "Loading..." message
2021-02-12 12:14:37 -08:00
opus1217 86b15332fe 0.4.1k 12-Feb-2021
Auto-populates the visible tab (based on what is meant to be displayed)
- Needs a Loading... progress indicator in the data area + remember if data has been loaded already

compendium-browser.js
- afterRender(): Hook called after app is rendered to populate initial data
- _onChangeTab(): Override to load data in this tab when you switch tabs
- Move observer to be an instance property

en.json
- Add tab name tags

template.html
- Use tab name tags
2021-02-12 10:53:58 -08:00
opus1217 558cd6c8d0 0.4.1j 12-Feb-2021
- Correct compactItem for feats and items required display items
- Rename itemType -> browserTab to differentiate candidate item's type from the tab it appears on (spell, feat/class, item, NPC)
 - Fixed: Was calling the wrong sort for feat and NPC
2021-02-12 08:53:29 -08:00
opus1217 c9b6a751ad 0.4.1i 11-Feb-2021
All tabs now showing values (although missing correct decorations)

compendium-browser.js
- loadAndFilterItems(): test for item5e was skipping items called loot, equipment etc.
2021-02-11 22:13:17 -08:00
opus1217 4fb315bed3 0.4.1h 11-Feb-2021
Feats seem to be working (missing fields)
Items now showing
NPCs operating erratically

compendium-browser.js
- Add the partials for npc, feat, item and the backing code

*-browser-list.html: ADDED
(partials for changing data)
2021-02-11 20:47:43 -08:00
opus1217 249f558a2a 0.4.1g 11-Feb-2021
Generalize the spell list reload and confirm spells still working

compendium-browser.js
- triggerSortSpells() -> triggerSort()
- replaceSpells() -> replaceList()
- renderSpellData() -> renderItemData()
- Remove list/subjects settings and replace with this.replaceList() throughout
2021-02-11 18:05:08 -08:00
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