Powered by Jitbit .Net Forum free trial version.

HomeFallen London » The Bazaar

This is the place to discuss playing the game. Find tips, debate the best places to find certain items and share advice.

Chrome extension: Item Search Messages in this topic - RSS

Gallmarch
Gallmarch
Posts: 111

3/7/2017
I've created a small extension that allows you to search for items and qualities in the 'Myself' tab. This extension was whitelisted on 9 March 2017.

I sometimes find it difficult to track down items in my inventory. This is a particular problem in the 'Curiosity' section, which is a bit of a grab-bag, but it's also tricky to find a particular item or quality to put on my mantelpiece, since they're not categorised and don't appear to be listed in any particular order. I've written a Chrome extension to make finding things a little easier.

The extension is on the Chrome Web Store here: https://chrome.google.com/webstore/detail/fallen-london-item-search/jmldnifgockhcidgdinhbfciiphkamkl
The source code is on Github here: https://github.com/sdob/fl-search

When you install it, you'll find two new search fields on the 'Myself' tab: one just under the outfit-selection menu, and one at the top of the 'Inventory' section. Typing something in one of these will hide any items in its section whose names don't match. (Clearing the field will of course reveal everything again.) Searching is case-insensitive but recognises punctuation.

You'll also find the same functionality in the 'Scrapbook Status' and 'Mantelpiece Item' windows when you're searching for something there, which might come in handy.

You can also toggle these search fields on and off by clicking the extension's icon, like so:



That's it! That's all it does.


Here are a couple of screenshots of the extension in action (cropped just to show the main FL interface). Here I'm searching for the notes from my scientific expeditions:



Here, I'm searching through my scrapbook qualities for my acquaintances:

edited by Gallmarch on 3/9/2017

--
My profile: https://www.fallenlondon.com/profile/Gallmarch
+4 link
surreyjack
surreyjack
Posts: 105

3/7/2017
  • I need this extension badly.

  • Pls FB

  • edited by surreyjack on 3/7/2017

    --
    My paramount presence, poet laurate, correspondent, main : http://fallenlondon.com/profile/surreyjack
    +1 link
    Wiwo
    Wiwo
    Posts: 365

    3/7/2017
    This looks terrific. Meaningful improvement to the UX/UI.

    --
    Wiwo. Almost certainly not a squid in a cunningly tailored suit. Surely.

    Care for some cider? Here's how to ask me for some. Strange pranks strongly preferred.

    Care to pet a Heptagoat? Too bad. It doesn't do anything (probably).

    I'm a Correspondent and would be delighted to lecture at your orphanage.
    +1 link
    Ysrthgrathe
    Ysrthgrathe
    Posts: 86

    3/7/2017
    Fabulous! Thank you.

    --
    https://www.fallenlondon.com/Profile/Ysrthgrathe
    +1 link
    Krysin
    Krysin
    Posts: 32

    3/8/2017
    Hmmm. How hard would it be to make a Firefox version? smile

    --
    I am Krysin.
    0 link
    Gallmarch
    Gallmarch
    Posts: 111

    3/8/2017
    Krysin wrote:
    Hmmm. How hard would it be to make a Firefox version? smile



    Not hard at all — the extension code is working fine in Firefox on my machine. Actually publishing it as an add-on is a more involved process, however (Firefox extensions have to pass review by a human), so I'll hold off on that until I hear from FBG.

    --
    My profile: https://www.fallenlondon.com/profile/Gallmarch
    0 link
    Optimatum
    Optimatum
    Posts: 3508

    3/9/2017
    Would it be possible to add an option to turn off individual search bars? I specifically want to turn off the one above the outfits.

    --
    Optimatum, a ruthless and merciful gentleman. No plant battles, Affluent Photographer requests, or healing offers; all other social actions welcome.

    Want a sip of Cider? Just say hi!

    PM me for information enigmatic or Fated. Though the forum please, not FL itself.
    0 link
    Tofan Bogdan
    Tofan Bogdan
    Posts: 424

    3/9/2017
    Gallmarch more useful is also a search of your quality so you don't open all quality tabs to look for what you wish to find.

    --
    My profile http://fallenlondon.storynexus.com/Profile/Tofan%20Bogdan
    I would love actions that increases making waves. I mean increases making waves. All other social outside of malus actions.
    0 link
    Gallmarch
    Gallmarch
    Posts: 111

    3/9/2017
    I am happy to report that this has been whitelisted; my thanks to FBG for taking the time to review it, and I hope that it's useful. Feedback is appreciated, and thanks to those of you who have offered it so far (some specific responses follow). If you would prefer not to clutter up this thread, I am gallmarchindustries at gmail.

    Firefox users: I have submitted the extension to Mozilla, but their vetting process is a bit longer than Chrome's. For now, if you would like to live on the bleeding edge, then you can install the extension manually by downloading its source code and following the instructions here: https://blog.mozilla.org/addons/2015/12/23/loading-temporary-add-ons/

    Optimatum wrote:
    Would it be possible to add an option to turn off individual search bars? I specifically want to turn off the one above the outfits.


    I've pushed an update — version 1.1 — that should make this possible. It's available from the Chrome Web Store now. You may have to update manually, restart your browser, sacrifice a blemmigan over your computer, etc., in order to update. (I should probably mention at this point that my extension-development experience is comparatively limited.) If you click on the extension's icon, you should see a menu like the following, which will allow you to toggle the search bars off and on:



    Facilitating this has added an extra layer of complexity to the extension, so please do report any bugs you discover (again: gallmarchindustries at gmail). Firefox users, making this work for you will take a little bit of extra work while I iron out some small incompatibilities, but I will do so.


    I'm very grateful to An Individual and Alexander Cray for making the source code of their extensions available.

    Tofan Bogdan wrote:
    Gallmarch more useful is also a search of your quality so you don't open all quality tabs to look for what you wish to find.


    I agree that this would be very handy! Because of how the Fallen London interface works, achieving this would require doing some work in the extension that might run afoul of FBG's terms and conditions, so I haven't implemented it. I have asked FBG for clarification, and I'll update the extension to search qualities if I can, but don't be surprised if the answer is 'no'. As things stand, you can already search through all of your qualities by opening the 'Scrapbook Status' menu.

    --
    My profile: https://www.fallenlondon.com/profile/Gallmarch
    +1 link
    Tofan Bogdan
    Tofan Bogdan
    Posts: 424

    3/9/2017
    Where do I find Scrapbook Status menu? is something from the phone application?

    --
    My profile http://fallenlondon.storynexus.com/Profile/Tofan%20Bogdan
    I would love actions that increases making waves. I mean increases making waves. All other social outside of malus actions.
    0 link
    Gallmarch
    Gallmarch
    Posts: 111

    3/9/2017
    Tofan Bogdan wrote:
    Where do I find Scrapbook Status menu? is something from the phone application?



    No, browser version. See the bottom of this image:


    --
    My profile: https://www.fallenlondon.com/profile/Gallmarch
    0 link
    Tofan Bogdan
    Tofan Bogdan
    Posts: 424

    3/9/2017
    Ok thanks.

    --
    My profile http://fallenlondon.storynexus.com/Profile/Tofan%20Bogdan
    I would love actions that increases making waves. I mean increases making waves. All other social outside of malus actions.
    0 link
    Tofan Bogdan
    Tofan Bogdan
    Posts: 424

    3/9/2017
    I have a problem. Im on Chrome Windows 10.




    As you see when I click on your extension in Chrome I don't see Outfits / Inventory / Scrapbook and Mantleplace.

    edited by Tofan Bogdan on 3/9/2017
    edited by Tofan Bogdan on 3/9/2017
    edited by Tofan Bogdan on 3/9/2017

    --
    My profile http://fallenlondon.storynexus.com/Profile/Tofan%20Bogdan
    I would love actions that increases making waves. I mean increases making waves. All other social outside of malus actions.
    0 link
    Gallmarch
    Gallmarch
    Posts: 111

    3/10/2017
    Tofan Bogdan wrote:
    I have a problem. Im on Chrome Windows 10.



    Thanks for pointing that out; if you update to v. 1.2 it should be fixed.

    --
    My profile: https://www.fallenlondon.com/profile/Gallmarch
    0 link
    Silverias
    Silverias
    Posts: 123

    3/11/2017
    Why does this need permission to see my browsing history?

    --
    http://fallenlondon.storynexus.com/Profile/Silverias

    Stop by and say hello, I'm a correspondent if you need someone to teach your kids.
    0 link
    Optimatum
    Optimatum
    Posts: 3508

    3/11/2017
    I would guess that's so the extension can tell when the webpage open is Fallen London.

    --
    Optimatum, a ruthless and merciful gentleman. No plant battles, Affluent Photographer requests, or healing offers; all other social actions welcome.

    Want a sip of Cider? Just say hi!

    PM me for information enigmatic or Fated. Though the forum please, not FL itself.
    0 link
    xKiv
    xKiv
    Posts: 821

    3/12/2017
    You really shouldn't need to see all browsing history (of all tabs ever, even ones already closed) to verify what the current tab's location is ...

    ETA: as far as I can see, the current version (according to sources on github) doesn't require that permission, and doesn't make any use of the history API.
    edited by xKiv on 3/12/2017

    --
    https://www.fallenlondon.storynexus.com/Profile/xKiv - a witchful, percussive, dangermous and shadowry scholar of coexplodence, hopsidirean, and walker of fallen kitties.
    0 link
    Silverias
    Silverias
    Posts: 123

    3/13/2017
    Here is what I get when I am asked to install.


    That first one seems fine. That second one seems suspect.

    --
    http://fallenlondon.storynexus.com/Profile/Silverias

    Stop by and say hello, I'm a correspondent if you need someone to teach your kids.
    0 link
    Gallmarch
    Gallmarch
    Posts: 111

    3/13/2017
    Apologies for that — I was under the impression that the extension needed to declare that permission in order for the checkboxes to talk to the search fields. (I was wrong; it doesn't.) I've just published version 1.2.1, which doesn't ask for the tabs permission; you should be able to update now.

    Thanks for bearing with me!

    --
    My profile: https://www.fallenlondon.com/profile/Gallmarch
    +1 link
    Gallmarch
    Gallmarch
    Posts: 111

    3/14/2017
    You can now search through your qualities on the 'Myself' tab, as of v. 1.3. You can toggle the search field on/off in the popup menu along with the others. Here, I'm checking out my Renown qualities:



    --
    My profile: https://www.fallenlondon.com/profile/Gallmarch
    +1 link
    12




    Powered by Jitbit Forum 8.0.2.0 © 2006-2013 Jitbit Software