Menu

#49 Searching for satellites in the satellite selector

none
closed
nobody
gui (10)
fixed
5
2013-04-08
2011-02-03
No

I just tried to create a new module with the ISS. Typing ISS in the search field led me to AISSAT 1 where after I had to manually scroll down to ISS. I think this is a change we introduced not so long ago and I don't remember what the rationale was; in any case we may want to reconsider whether this is the "right" behaviour.

On another note, the search seems to be case sensitive. Maybe it has always been like this. We should investigate the possibility to make the search case insensitive, if not possible, maybe we should force the letters to be uppercase since all satellites currently in the database use upper case letter.

Discussion

  • Charles Suprin

    Charles Suprin - 2011-02-04

    Case insensitive would be nice.

    Having the list eliminate all entries that do not contain the string seems like one option for the right behavior. Not sure if this is possible easily.

     
  • Charles Suprin

    Charles Suprin - 2011-02-04

    The change to make the search case insensitive is to change strstr to strcasestr

    However before launching into this, is it worth switching over from a GtkTreeModel to a GtkTreeModelFilter. This could eliminate the need for muiltiple models, make is so only satellites containing ISS would be visible in the search and add one cool feature which is to make a satellite disappear when it is copied over to the selected column.

     
  • Charles Suprin

    Charles Suprin - 2011-02-06

    Possible New Satellite Selector

     
  • Charles Suprin

    Charles Suprin - 2011-02-06

    Alex,

    Please comment on a potential new search functionality for sat selector.

    Instead of needing to do a long manual, the list is filtered based on your entry in the search box. The search is case insensitive. This seems to meet the needs you outlined.

    Technically this is implemented with TreeModelFilter. It right now only works with the All satellites group before changing the groups. To push it further would require additional since the models cannot be swapped out as easily as without the filtering.

    If you like it the idea, I will push on.

     
  • Alexandru Csete

    Alexandru Csete - 2011-02-07

    I find the idea of filtering interesting, but in the end behaviour must be consistent across all groups. So if the "only
    works with the All satellites group" is temporary I'm fine with it.

     
  • Charles Suprin

    Charles Suprin - 2011-02-07

    I will interpret that as this is worth further development to apply it to all the groups.

    It still sounds as though it is not what you had in mind.

     
  • Alexandru Csete

    Alexandru Csete - 2011-02-07

    Yes, please go ahead.
    We can try it with the "all sats" group to begin with - I just wanted to make sure that it will eventually be usable with all groups.

     
  • Charles Suprin

    Charles Suprin - 2011-02-08

    Just for historic value and context, this is related to
    <http://sourceforge.net/tracker/?func=detail&aid=3050047&group_id=213550&atid=1026164>.

    The reason for the original change was that sometime people want to search for a term that appears in the middle of the satellite name and not at the beginning. The example in the prior discussion was SO-66 which was listed as SEEDS II (SO-66).

     
  • Charles Suprin

    Charles Suprin - 2011-02-08

    svn checkin 759 replaces the search capability with a filtering capability that makes it easier to find both ISS and CO-66.

     
  • Alexandru Csete

    Alexandru Csete - 2011-02-08

    I just tried it and it's awesome! I think it is much more useful than any of the previous implementations. Thanks!

     
  • Alexandru Csete

    Alexandru Csete - 2011-02-08
    • status: open --> open-fixed
     
  • Alexandru Csete

    Alexandru Csete - 2011-03-02
    • status: open-fixed --> closed-fixed
     
  • Alexandru Csete

    Alexandru Csete - 2013-02-04
    • labels: User interface --> gui
    • status: closed-fixed --> closed
    • resolution: --> fixed
    • milestone: --> undecided
     
  • Alexandru Csete

    Alexandru Csete - 2013-04-08
    • Milestone: undecided --> none
     

Log in to post a comment.

MongoDB Logo MongoDB