PDA

View Full Version : Inventory Search



anathemort
August 11th, 2021, 18:58
Introducing my first extension, a simple way to search your inventory.

This extension adds an input and controls to the bottom left of the inventory tab and will filter the shown inventory items based on your input. You can reset the filter by using the provided clear button, or clearing your search text.

You can find the extension on the forge, here:
https://forge.fantasygrounds.com/shop/items/177/view

Inventory Search is now part of the Fantasy Grounds Unofficial Developers Guild (https://gitlab.com/fantasy-grounds-unofficial-developers-guild). Please use GitLab or this thread for reporting any issues, thanks!

MeAndUnique
August 11th, 2021, 19:23
Nice, thanks for the addition!

vaughnlannister
August 12th, 2021, 11:06
Thanks for the extension :)!

MrDDT
August 12th, 2021, 23:30
This works great.

Darth Decisive
October 6th, 2021, 20:54
Is there any way we could make the search bar's location movable or customizable? The search bars is in the same spot as the Filterable Inventory box from Mad Nomad.

https://forge.fantasygrounds.com/shop/items/135/view

anathemort
October 7th, 2021, 19:53
Is there any way we could make the search bar's location movable or customizable? The search bars is in the same spot as the Filterable Inventory box from Mad Nomad.

https://forge.fantasygrounds.com/shop/items/135/view

Thanks for the report. I've reached out to the author of the other extension to figure out how they are positioning, and hopefully we can find a resolution together.

daddyogreman
December 29th, 2021, 06:08
There any reason this currently only specifies 5E? Do you have plans to change this? Any plans on slapping this up on the forge?

anathemort
December 29th, 2021, 16:52
There any reason this currently only specifies 5E? Do you have plans to change this? Any plans on slapping this up on the forge?

I'm not at all familiar with other rulesets or layouts. If you want to try it out and report back, I'd be happy to investigate any issues or open up the ruleset list if it's okay!

It is already on the Forge, available here (https://forge.fantasygrounds.com/shop/items/177/view).

daddyogreman
December 29th, 2021, 17:26
I'm not at all familiar with other rulesets or layouts. If you want to try it out and report back, I'd be happy to investigate any issues or open up the ruleset list if it's okay!

It is already on the Forge, available here (https://forge.fantasygrounds.com/shop/items/177/view).

Hah! Not sure how I missed it on there.
I tested it out for PFRPG and it isn't working right. Haven't had time yet to investigate, but plan to as this extension is immensely useful. I'll let ya know what I find when I get around to it. Hopefully there's a way to get this working in both rulesets, otherwise I might just take inspiration from you and code up something similar for PFRPG.
Thanks!

anathemort
December 29th, 2021, 19:12
Yeah, PF 1 looks to have some issues, both logical and in UX. The inventory list must be managed in a different context but I can look at it tomorrow morning :)

daddyogreman
December 29th, 2021, 19:43
Yeah, PF 1 looks to have some issues, both logical and in UX. The inventory list must be managed in a different context but I can look at it tomorrow morning :)

That'd be awesome - I'd love to be able to use this in my Pathfinder campaign. Currently have a group of five 13th level characters and their inventories are getting crazy at this point. I had planned on looking at adding a search bar to the party inventory as well. I saw there's a paid extension for filtering on inventory, but I ain't digging on paid extensions so I think I might try my hand at coding up something for filtering in both the party and individual character inventories as well at some point, open source it and slap it up on the forge for free.

anathemort
December 29th, 2021, 21:22
Agreed! If you want to pair on it, let me know (Discord: anathemort#5773). I have been meaning to make time to add a search for the party inventory, too.

anathemort
December 30th, 2021, 23:44
Inventory Search has been updated to include support for more rulesets and provide a search input on the party inventory screen. The Forge build is now live!

Furthermore, Inventory Search has joined the Fantasy Grounds Unofficial Developers Guild (https://gitlab.com/fantasy-grounds-unofficial-developers-guild). If you encounter any issues, please report them here or in GitLab!

daddyogreman
January 3rd, 2022, 19:36
Furthermore, Inventory Search has joined the Fantasy Grounds Unofficial Developers Guild (https://gitlab.com/fantasy-grounds-unofficial-developers-guild). If you encounter any issues, please report them here or in GitLab!
Woo! Welcome to the Guild!

wakhere
January 7th, 2022, 20:22
hi, ive loaded this extension.

checked the party inventory and it works fine....

but nothing happens when i try it on character inventory...i have the search field and have entered text
but nothing...full inventroy list remains. does not scroll move or edit the list.
is there a switch or something im misssing.

pathfinder 1e....

LordEntrails
January 7th, 2022, 20:29
hi, ive loaded this extension.

checked the party inventory and it works fine....

but nothing happens when i try it on character inventory...i have the search field and have entered text
but nothing...full inventroy list remains. does not scroll move or edit the list.
is there a switch or something im misssing.

pathfinder 1e....
MOD: moved to thread for the extension.

Note, Each extension has a related thread that is where questions about the extension should be posted. You can find this thread from the extension page where it says "Forum Thread";
50837

daddyogreman
January 7th, 2022, 23:09
hi, ive loaded this extension.

checked the party inventory and it works fine....

but nothing happens when i try it on character inventory...i have the search field and have entered text
but nothing...full inventroy list remains. does not scroll move or edit the list.
is there a switch or something im misssing.

pathfinder 1e....
Are you hitting enter after you input a search term? Do you have any other extensions loaded? If so, try loading just this extension and seeing if it works.
Does anything appear in the console? (type /console in the chat window, if you're unaware, and then try searching again)
With just this extension loaded, I've had no problems searching character inventory with PFRPG.
We're almost done adding filtering to it as well!

anathemort
January 8th, 2022, 00:55
hi, ive loaded this extension.

checked the party inventory and it works fine....

but nothing happens when i try it on character inventory...i have the search field and have entered text
but nothing...full inventroy list remains. does not scroll move or edit the list.
is there a switch or something im misssing.

pathfinder 1e....

Thanks for the report! I can verify there are some issues with the list sync and I've added the issue to my list :)

anathemort
January 9th, 2022, 20:29
InventorySearch has been updated to v1.3.0:
* Added inventory filter (thanks @daddyogreman!)
* Resolved party sheet search sync (thanks @Trenloe!)
* Resolved inventory search sharing input values (thanks @Trenloe!)

As always, please report any issues or requests here or in Gitlab!

Zaister
January 10th, 2022, 16:01
This is great!

anathemort
January 10th, 2022, 17:27
This is great!

Thank you for saying so!

kevininrussia
January 11th, 2022, 03:04
Thank you for the 4e support! It's awesome!

I would like to try and change some of the Filters. For example, changing "Magic" to "Potions". In 4e "Magical", "Adventuring Gear" and "Goods and Services" give no results so I will attempt to change them to something useful for 4e or remove them. I will report back if my attempts are successful :-)

anathemort
January 11th, 2022, 06:12
Thank you for the 4e support! It's awesome!

I would like to try and change some of the Filters. For example, changing "Magic" to "Potions". In 4e "Magical", "Adventuring Gear" and "Goods and Services" give no results so I will attempt to change them to something useful for 4e or remove them. I will report back if my attempts are successful :-)

That's great feedback, do let me know if you're successful! As we did with armor and shields, I could definitely see extending some of these categories. 5E also doesn't goods and services, so that's another one to tackle :)

ScriedRaven
January 23rd, 2022, 02:46
I figured out what updates would need to be made to fit it on Floating Tabs (https://forge.fantasygrounds.com/shop/items/434/view), where the search bar would appear on the tab. If you'd like me to share that with you I can send the it to you

anathemort
January 23rd, 2022, 19:16
I figured out what updates would need to be made to fit it on Floating Tabs (https://forge.fantasygrounds.com/shop/items/434/view), where the search bar would appear on the tab. If you'd like me to share that with you I can send the it to you

That would be wonderful, please do!

anathemort
January 29th, 2022, 00:16
InventorySearch has been updated to v1.4.0:
* Added logs search (5E)
* Compatibility with FloatingTabs (https://www.fantasygrounds.com/forums/showthread.php?67847-5E-Floating-Character-Sheet-Tabs) (thanks @ScriedRaven!)
* Increased versatility of filters: magical now includes potions, goods and services includes tools and more

As always, please report any issues or requests here or in Gitlab!

kevininrussia
February 2nd, 2022, 22:11
InventorySearch has been updated to v1.4.0:
* Added logs search (5E)
* Compatibility with FloatingTabs (https://www.fantasygrounds.com/forums/showthread.php?67847-5E-Floating-Character-Sheet-Tabs) (thanks @ScriedRaven!)
* Increased versatility of filters: magical now includes potions, goods and services includes tools and more

As always, please report any issues or requests here or in Gitlab!

In 4e, potions are not showing up in "magical' filter.

example of a 4e potion:
https://i.imgur.com/ZzisWPd.png

anathemort
February 3rd, 2022, 00:22
I see, I didn't realize 4E uses item "class" instead of type. You also mentioned earlier that "Adventuring Gear" and "Goods and Services" don't return results; can you give me an example of items that should qualify for those filters but don't currently?

anathemort
February 3rd, 2022, 00:25
It would also help to see other types of magical items, to effectively build a list of item "classes" that should be considered magical, if you have more of those examples!

kevininrussia
February 3rd, 2022, 01:13
It would also help to see other types of magical items, to effectively build a list of item "classes" that should be considered magical, if you have more of those examples!

Adventuring Gear: Its not showing anything in "Class" but if you make something for that like "Gear" as a Class I could just type that in the Class section for the item.

For magical items here is a list of classes:
Implements, Arms Slot, Feet Slot, Hands Slot, Head Slot, Neck Slot, Ring Slot. Waist Slot, Consumable.

A Class "Ritual" would be handy also to filter a players Ritual list.

some examples:
https://i.imgur.com/XxTD13I.png


I noticed Torch and other lighting items have a Class of Equipment and Subclass of Gear
https://i.imgur.com/uHqBhuC.png

anathemort
February 3rd, 2022, 05:10
Adventuring Gear: Its not showing anything in "Class" but if you make something for that like "Gear" as a Class I could just type that in the Class section for the item.

For magical items here is a list of classes:
Implements, Arms Slot, Feet Slot, Hands Slot, Head Slot, Neck Slot, Ring Slot. Waist Slot, Consumable.

A Class "Ritual" would be handy also to filter a players Ritual list.

Cool, these are good examples, thanks! It seems like "Adventuring Gear" could be anything Class=Equipment? Or are there lots of other things with that class, and thus it should also qualify the subclass?

Regarding "ritual," do you mean to have that as a separate filter or include it in magical?

kevininrussia
February 3rd, 2022, 20:41
Cool, these are good examples, thanks! It seems like "Adventuring Gear" could be anything Class=Equipment? Or are there lots of other things with that class, and thus it should also qualify the subclass?

Regarding "ritual," do you mean to have that as a separate filter or include it in magical?

I think "Adventureing Gear" can be just Class=Equipment. That should cover everything.

Ritual: Would be nice to have it as a separate filter, but if not including it in magical will work.

Thanks!

anathemort
February 4th, 2022, 01:27
InventorySearch has been updated to v1.4.1:
* Added better support for 4E filters (magic items, ritual, adventuring gear) (thanks @kevininrussia!)

As always, please report any issues or requests here or in Gitlab!

kevininrussia
February 4th, 2022, 02:05
InventorySearch has been updated to v1.4.1:
* Added better support for 4E filters (magic items, ritual, adventuring gear) (thanks @kevininrussia!)

As always, please report any issues or requests here or in Gitlab!

Thanks!
I have been testing. Question about "Ritual". I added Ritual to the item Class but it's not showing up on the filter when Ritual is selected.
https://i.imgur.com/zWS3Scj.png

anathemort
February 4th, 2022, 02:22
Thanks!
I have been testing. Question about "Ritual". I added Ritual to the item Class but it's not showing up on the filter when Ritual is selected.

Yikes, that was a dodo mistake. I've released v1.4.2 with a fix for Ritual filtering in 4E.

kevininrussia
February 4th, 2022, 02:32
Yikes, that was a dodo mistake. I've released v1.4.2 with a fix for Ritual filtering in 4E.

Tested. Dodo mistake rectified! :-)

kevininrussia
February 4th, 2022, 03:09
Feature Idea. (It's awesome now, just thinking about user customization)

An Option to turn on or off search filters displayed in menu.

https://i.imgur.com/3zxWLI1.png

kevininrussia
February 4th, 2022, 03:33
4e: I forgot one for "Magical" (sClass == "Wondrous Item")

Thanks again!

anathemort
February 4th, 2022, 21:22
Thanks for the suggestions, kevininrussia!

InventorySearch has been updated to v1.5.0:
* Added "Inventory Search Filters" section to client options to control visible filter options
* Added "Wondrous Item" to 4E Magical filter

As always, please report any issues or requests here or in Gitlab!

kevininrussia
February 4th, 2022, 22:20
Thanks for the suggestions, kevininrussia!

InventorySearch has been updated to v1.5.0:
* Added "Inventory Search Filters" section to client options to control visible filter options
* Added "Wondrous Item" to 4E Magical filter

As always, please report any issues or requests here or in Gitlab!

Awesome! Works great. Thanks!

anathemort
March 3rd, 2022, 23:07
With v2 of this extension, I have renamed it to Winnowing Pursuits, found here (https://www.fantasygrounds.com/forums/showthread.php?72835-Winnowing-Pursuits-search-and-filter-your-sheets!). This version is now deprecated and you can use the new extension and thread for any follow-up.

Thanks!