Skip to content

Control Panel UI #51

Closed
Closed

Description

@hallahan

Currently we have 3 separate buttons in the action bar of the map to show a) basemaps, b) OSM Downloader, and c) OSM file chooser

There should be a Control Panel with tabs to interact with these settings.

Activity

  1. added a commit that references this issue on Apr 1, 2015
  2. dalekunce commented on Apr 2, 2015

    @dalekunce

    +1 for this feature. Ideally we have one button and the same menu is activated by the generic android settings button that works in ODK.

  3. dalekunce commented on Apr 15, 2015

    @dalekunce

    Anyway we can get this into the Dhaka release. The 3 buttons is really confusing and is causing a lot of usability issues. Ideally we can roll this into one button that opens a panel. For simplicity and consistency I would use a sandwich button.

  4. hallahan commented on Apr 22, 2015

    @hallahan
    ContributorAuthor

    Android's tab UI out of the box is bizarre. For normal tabs, we either have to make something super complex like we see in iosched, use depracated tabs, or use tabs out of the box that behave oddly.

    I found a simple 3rd party library that gives us tabs that behave like tabs in the Play Store. I'm dumbfounded that the SDK doesn't just have tabs like the tabs in the Play Store.

    Tutorial
    https://guides.codepath.com/android/Sliding-Tabs-with-PagerSlidingTabStrip#install-pagerslidingtabstrip

    The Library
    https://github.com/astuetz/PagerSlidingTabStrip/blob/master/sample/src/com/astuetz/viewpager/extensions/sample/MainActivity.java

  5. hallahan commented on Apr 24, 2015

    @hallahan
    ContributorAuthor

    @dalekunce - I'm looking for some guidance on design of the Control Panel.

    The following are some exploratory comps from Naomi fleshing out our ideas on how to set up UI in here:

    rc_osm_controlpanels1

    rc_osm_controlpanels1-1

    Right now I'm getting into the weeds of creating ListFragments, somewhat along the lines of what you see here (a screenshot from the S3):

    screenshot_2015-04-25-00-51-16

  6. hallahan commented on Apr 24, 2015

    @hallahan
    ContributorAuthor

    Getting into ListFragments, it turns out this is a pretty deep thing in Android UI design. I'm thinking about a clean way to have the actual list items have a unique layout, something along the lines of what you see from Naomi's comps.

    Right now, the download button simply gets buildings and roads from the Overpass API. My thought is that when we do a download for a given BBox, perhaps it should do a set of separate Overpass queries for a given category. I'm thinking Sim City 2000 here... You can turn on any combination of buildings, roads, administrative boundaries, etc...

    My thought is when in the Download OSM tab, we pick a name for our download, and in reality, it downloads 4 or so XML files for each of the given categories we care about. Does that make sense, or am I going in the wrong direction?

    Then, rather than it being a single checkbox for each given layer, we could have several buttons to toggle on whatever category of OSM data you want to see on the map.

  7. dalekunce commented on Apr 25, 2015

    @dalekunce

    You are going in the right direction with the roads/buildings being separate layers. We might want to have a toggle that allows the user to define the layer to download or to combine them into one layer.

    I like where you are going with implementing Naomi's design. I do like being able to set the name of he overpass file.

    Keep going down the path you are on I like it.

  8. 4 remaining items

  9. hallahan commented on Apr 25, 2015

    @hallahan
    ContributorAuthor

    Pull requests are always welcome 😉

  10. dalekunce commented on Jul 26, 2015

    @dalekunce

    @hallahan is this sitting unfinished?

  11. hallahan commented on Jul 27, 2015

    @hallahan
    ContributorAuthor

    Yes. Note: I want to use the newer material design android lib. Custom list items are easier to setup this way, and it's pretty.

  12. dalekunce commented on Jul 27, 2015

    @dalekunce

    material design sounds great to me.

  13. hallahan commented on Dec 28, 2015

    @hallahan
    ContributorAuthor

    We want to think differently about this now that we have a deployment paradigm. I can sketch up a few ideas. I think we should meet over how we want to do "deployment UI".

    I think the deployment UI will replace this concept.

  14. hallahan commented on Jan 27, 2016

    @hallahan
    ContributorAuthor

    I have built a Deployments workflow and UI that replaces this need. #122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions