Skip to content

Conversation

@elhalvers
Copy link
Collaborator

@elhalvers elhalvers commented Oct 12, 2022

What github issue is this PR for, if any?

Resolves #3960

What changed, and why?

How will this affect user permissions?

  • Volunteer permissions:
  • Supervisor permissions:
  • Admin permissions:

How is this tested? (please write tests!) 💖💪

Screenshots please :)

Feelings gif (optional)

What gif best describes your feeling working on this issue? https://giphy.com/
How to embed:
![alt text](https://media.giphy.com/media/1nP7ThJFes5pgXKUNf/giphy.gif)

Feedback please? (optional)

We are very interested in your feedback! Please give us some :) https://forms.gle/1D5ACNgTs2u9gSdh9

@github-actions github-actions bot added erb ruby Pull requests that update Ruby code Tests! 🎉💖👏 labels Oct 12, 2022
@compwron compwron changed the title moved add_language method from languages controller to users controll… [WIP] Fix Add Language error on empty language Oct 12, 2022
@elhalvers
Copy link
Collaborator Author

Current behavior: When using the 'Add language' drop-down on the 'Edit User's Profile' page logged in as a Volunteer:

  • Adding a specific language works as expected
  • Deleting a specific language works as expected
  • Adding a 'blank' language (default from the _languages partial in the Users folder) does not break the page as it did before but also does not yet provide an error message alerting the user that they can not choose a 'blank' language.

@compwron
Copy link
Collaborator

How's this going? It looks promising! :)

@elhalvers
Copy link
Collaborator Author

elhalvers commented Oct 20, 2022 via email

@elhalvers elhalvers force-pushed the 3960-add_language_error branch from 8a947a0 to 7fe5306 Compare October 26, 2022 02:03
@elhalvers elhalvers marked this pull request as ready for review October 26, 2022 04:48
@elhalvers
Copy link
Collaborator Author

All the checks pass. I need to finish the stubbed tests 🙂

@compwron
Copy link
Collaborator

:)

@compwron compwron merged commit 48b0a64 into main Oct 31, 2022
@compwron compwron deleted the 3960-add_language_error branch October 31, 2022 22:50
@elhalvers
Copy link
Collaborator Author

elhalvers commented Nov 1, 2022 via email

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Clicking add for second languages without selecting a language as a volunteer leads to a 404

4 participants