-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve skill search feedback #803
base: master
Are you sure you want to change the base?
Conversation
… instead of no_results
5a6120a
to
bacd022
Compare
@@ -14,10 +14,10 @@ | |||
expect(response.body).to include("Bob Anderson") | |||
end | |||
|
|||
it 'should return no results if skill id is not given' do | |||
it 'should return add skill to search if skill id is not given' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe write 'Should return add skill to search message if skill id is not given'? I think this would be a bit more clear.
expect(page).to have_select("skill_id[]", selected: "Rails", visible: false) | ||
expect(page).to have_field("level[]", with: 3) | ||
expect(page).to have_field("interest[0]", with: 5, visible: false) | ||
end | ||
|
||
it 'Should return no results if skill id is not set' do | ||
visit people_skills_path({level: [3], "interest[0]": 5}) | ||
it 'Should return add skill to search if skill id is not set' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thing here.
config/locales/de.yml
Outdated
no_results: Keine Resultate | ||
no_skill: Keine Resultate gefunden, fügen sie einen Skill zur Suche hinzu. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following thing to think about: Do we ever use 'Sie' or any pronoun in the other messages? If no, we probably should just use 'Keine Resultate gefunden, füge einen Skill zu der Suche hinzu'.
(If you need to change it, do it for every language 🔢 )
No description provided.