Skip to content

Constraint: Required Tags Force User To Answer #17

Closed

Description

@hallahan
No description provided.

Activity

  1. hallahan commented on May 11, 2016

    @hallahan
    ContributorAuthor

    Any examples of required tags?

    cc/ @dalekunce @PaulUithol

  2. PaulUithol commented on May 11, 2016

    @PaulUithol

    Just some random examples? In Uganda, for banks (so on choosing the
    amenity=bank form) we required the operator (official bank entity). For
    mobile money agents, the networks they could transact on. For ATMs, both
    operator and network. Both addr:city and addr:street could
    probably also be required.
    On May 11, 2016 9:35 PM, "Nicholas Hallahan" notifications@github.com
    wrote:

    Any examples of required tags?

    cc/ @dalekunce https://github.com/dalekunce @PaulUithol
    https://github.com/PaulUithol

    —
    You are receiving this because you were mentioned.
    Reply to this email directly or view it on GitHub
    #17 (comment)

  3. hallahan commented on May 11, 2016

    @hallahan
    ContributorAuthor

    Ah, ok, so that means that required tags are often, but not always, activated only if some other tag is selected, like amenity=bank.

  4. PaulUithol commented on May 11, 2016

    @PaulUithol

    Hmm, could be. Although using distinct forms to isolate choice values
    across forms worked fine for us, and would solve this as well I guess. For
    example, we had a different list of possible network values when filling
    out a mobile money agent form, containing MNOs, and when filling out an
    ATM's form, containing Visa, MasterCard etc.
    On May 11, 2016 9:47 PM, "Nicholas Hallahan" notifications@github.com
    wrote:

    Ah, ok, so that means that required tags are often, but not always,
    activated only if some other tag is selected, like amenity=bank.

    —
    You are receiving this because you were mentioned.
    Reply to this email directly or view it on GitHub
    #17 (comment)

  5. dalekunce commented on May 12, 2016

    @dalekunce

    the constraints are very much a tree based constraint model. If this then that kinda stuff. iD or JOSM ontology may help to understand it. Ideally this will get folded into some yet to be spec'd UI form builder.

  6. added a commit that references this issue on May 20, 2016
  7. hallahan commented on May 20, 2016

    @hallahan
    ContributorAuthor

    To know that a question is required, you'll see this:

    2016-05-20 23 20 49

  8. hallahan commented on May 20, 2016

    @hallahan
    ContributorAuthor

    And then if all of the required questions aren't answered upon save, I'll have a snackbar tell you about it and bounce you back to a tag you haven't answered.

  9. added 4 commits that reference this issue on May 21, 2016
  10. hallahan commented on May 23, 2016

    @hallahan
    ContributorAuthor

    Done.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions