Skip to content

Conversation

@Angamanga
Copy link
Contributor

@Angamanga Angamanga commented Jun 24, 2024

Adding configuration-option for "Other" in the survey-fields radio, checkboxes and select.
To test:

In survey-settings, add a new field for Radio and Checkboxes, in all those fields, test the following:

  1. Before any options are added, the button "Add other" is not visisble
  2. Click on "Add +"
  • An empty input-field appears where the user can add an option and there is also a button "Add other"
  1. Click on "Add other"
  • A disabled input-field appears with the value "Other"
  • The "Add other" button is not visible
  1. Click on the trash-can for the other-option
  • The option is removed

  • The "Add other" button is visible again

@linear
Copy link

linear bot commented Jun 24, 2024

@Angamanga Angamanga marked this pull request as ready for review June 24, 2024 12:58
@Angamanga Angamanga requested a review from ushahidlee June 24, 2024 12:58
Copy link
Contributor

@ushahidlee ushahidlee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and the code is good too. The PR mentions this should be available for "select" fields. Its not available, but the original ticket doesnt mention that so I'm approving it 👍

@Mh-Asmi Mh-Asmi merged commit 2d937c9 into development Jul 8, 2024
theobadha pushed a commit that referenced this pull request Jul 15, 2024
* Add other-option when configuring a survey

* Removing other-option from dropdown

* Removing forgotten mistake
theobadha added a commit that referenced this pull request Jul 15, 2024
* add steps to delete category - through bulk actions

* update categories to match CI categories

* add missing step

* update tests for CI

* update and rerun tests

* update and rerun tests

* rerun tests

* separate delete child and parent category tests into separate functions

* update child test deleted

* rerun tests

* change child category getting deleted

* change child category getting deleted

* adjust id to verify child category

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* add tests for deleting category from category details page

* update test

* update url verifying path

* change parent category getting deleted

* rerun tests

* rerun tests

* update child category verification

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* Add other-option when configuring a survey (#1128)

* Add other-option when configuring a survey

* Removing other-option from dropdown

* Removing forgotten mistake

* Ush 1190 - Meaningful error messages on mobile around offline posts being uploaded (#1152)

* commit

* Made some cheeky changes (#1155)

* Fix: Adding of post to collection submit & checked state (#1133)

Co-authored-by: Anna Iosif <[email protected]>

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

---------

Co-authored-by: Anna Iosif <[email protected]>
Co-authored-by: ushahidlee <[email protected]>
Co-authored-by: Mary @Ifycode <[email protected]>
tuxpiper pushed a commit that referenced this pull request Aug 8, 2024
* Add other-option when configuring a survey

* Removing other-option from dropdown

* Removing forgotten mistake
tuxpiper pushed a commit that referenced this pull request Aug 8, 2024
* add steps to delete category - through bulk actions

* update categories to match CI categories

* add missing step

* update tests for CI

* update and rerun tests

* update and rerun tests

* rerun tests

* separate delete child and parent category tests into separate functions

* update child test deleted

* rerun tests

* change child category getting deleted

* change child category getting deleted

* adjust id to verify child category

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* add tests for deleting category from category details page

* update test

* update url verifying path

* change parent category getting deleted

* rerun tests

* rerun tests

* update child category verification

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* Add other-option when configuring a survey (#1128)

* Add other-option when configuring a survey

* Removing other-option from dropdown

* Removing forgotten mistake

* Ush 1190 - Meaningful error messages on mobile around offline posts being uploaded (#1152)

* commit

* Made some cheeky changes (#1155)

* Fix: Adding of post to collection submit & checked state (#1133)

Co-authored-by: Anna Iosif <[email protected]>

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

* rerun tests

---------

Co-authored-by: Anna Iosif <[email protected]>
Co-authored-by: ushahidlee <[email protected]>
Co-authored-by: Mary @Ifycode <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants