Teammates: Instructor: add options (Rank and Distribute Points) question: add more options inputs not appearing

Created on 17 Feb 2018  路  6Comments  路  Source: TEAMMATES/teammates

Environment

Ran in development environment.
Master branch

Steps to reproduce

  1. Edit session
  2. Click new question => add rank options question.
  3. Cancel question
  4. Add new question => add rank recipients question
  5. Cancel question
  6. Add new question => add rank options question

Expected behaviour

The UI appearing should be consistent on both attempts of adding rank options.

Actual behaviour

First attempt of adding rank options:

image

Second attempt of adding rank options (after adding rank recipient questions):

image

The options on the left does not appear.

Similar problem happens for Distribute Points (Options) question, more details shown in @sukanta-27 comment below.

c.Bug help wanted p.Medium

Most helpful comment

The problem is toggling rank recipient question form hides rank-option-table element, and it remains hidden even if its parent element is shown later on.

All 6 comments

I'm on it

@Crphang @bqnguyen94 Could reproduce this bug. Don't know if any of you noticed it, but these steps are not necessary. 1->4->5->6 seems to work as well.

2.Click new question => add rank options question.
3. Cancel question

I think distribute (options) questions has the same problem, could be similar code causing it.

@Crphang In my system, for distribute (Options) :
[UI before]
screenshot 355

[UI after]
screenshot 357

@Crphang @bqnguyen94 @sukanta-27 I think the problem reproduces when we add Rank (recipient) question and then add Rank (options) question otherwise the UI seems to be consistent when following the above-mentioned steps of @Crphang .
And for the Distribute points, I experience the same.
Help me if I am missing something.

The problem is toggling rank recipient question form hides rank-option-table element, and it remains hidden even if its parent element is shown later on.

Was this page helpful?
0 / 5 - 0 ratings