8000 Add ids to problems · Issue #154 · AI-comp/wpcs · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Add ids to problems #154

Open
Open

Description

@ss0201

required for #153. #96 is also solved by this, I think.

Activity

  1. exKAZUu commented on May 5, 2013

    @exKAZUu
    Member

    Does ids mean unique numbers (0, 1, ....) regardless of contests?
    E.g. the ids of the first problem and the second problem in a same contest may be 1030 and 1032.

  2. exKAZUu commented on May 5, 2013

    @exKAZUu
    Member

    Mongo DB gives ids to any records, I think. Can we use them?

  3. exKAZUu commented on May 5, 2013

    @exKAZUu
    Member

    Please make clear how to specify ids for problems.

  4. ghost assigned on May 5, 2013
  5. ss0201 commented on May 5, 2013

    @ss0201
    MemberAuthor

    Here IDs are specified by the problem author, which are currently included in the problem titles. I think adding IDs to problem solved #153 and #96.

  6. exKAZUu commented on May 5, 2013

    @exKAZUu
    Member

    Hmm. I have an idea.
    Add a new string field named "id" whose default value is id (integer) of Mongo DB multiplied by 10.
    Sort problems by the ids and show alphabets (A, B, C .. ) instead of actual "id" value.

    e.g. Problem1, 2 and 3 has 240, 250 and 260 ids, respectively. An admin changes the id of the problem 3 to 245. Then, users see the A, C and B ids of problem 1, 2 and 3 instead of 240, 250 and 245, respectively.

  7. ss0201 commented on May 5, 2013

    @ss0201
    MemberAuthor

    lol, that's like line numbers in BASIC :) That is better than my first suggestion, but I have another idea: let the admin order problems with a drag-and-drop UI (just like http://jqueryui.com/sortable/), and show alphabets in this order.

  8. exKAZUu commented on May 5, 2013

    @exKAZUu
    Member

    Okay, okay, we will implement the best way to order problems.
    But I think this issue is quite large. We want more time to implement it.

  9. removed this from the Future milestone on May 8, 2014
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

      0