-
Notifications
You must be signed in to change notification settings - Fork 21
Add email display to person profile buttons and organization dropdowns #1002
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
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
57ab71c
Initial plan
Copilot c61809b
Add email to person profile button and organization dropdown
Copilot a368425
Fix: Use left_joins instead of joins to include all people
Copilot efb12b1
Extract email logic to Person#preferred_email method
Copilot cfbc1e8
Refactor to use Person#preferred_email in controller
Copilot 348e6d7
Optimize dropdown query performance with pluck
Copilot b1c9853
Merge remote-tracking branch 'origin/main' into copilot/update-person…
maebeale cb8bb45
claude
maebeale c12d572
Change back to authorized scope
maebeale d513429
Include all people, even those without users
maebeale 4a15eb2
Fix rubocop
maebeale 1dc8133
Make workshop_variation_idea name a sequence to fix failing test
maebeale 0ea9070
Add wait to fix flaky test
maebeale File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,40 +1,25 @@ | ||
| { | ||
| "permissions": { | ||
| "allow": [ | ||
| "Bash(bundle exec brakeman:*)", | ||
| "Bash(bundle exec rails routes:*)", | ||
| "Bash(bundle exec rails runner:*)", | ||
| "Bash(bundle exec rspec:*)", | ||
| "Bash(bundle exec rubocop:*)", | ||
| "Bash(bundle exec rails runner:*)", | ||
| "Bash(RAILS_ENV=test bundle exec rails runner:*)", | ||
| "Bash(RAILS_ENV=test bundle exec rspec:*)", | ||
| "Bash(git stash:*)", | ||
| "Bash(git add:*)", | ||
| "Bash(git apply:*)", | ||
| "Bash(git checkout:*)", | ||
| "Bash(git commit:*)", | ||
| "Bash(git diff:*)", | ||
| "Bash(git pull:*)", | ||
| "Bash(git push:*)", | ||
| "Bash(git reset:*)", | ||
| "Bash(git stash:*)", | ||
| "Bash(git diff:*)", | ||
| "Bash(bin/rails db:migrate:*)", | ||
| "Bash(for i in 1 2 3)", | ||
| "Bash(do bundle exec rspec spec/system/stories_spec.rb:71 --format progress)", | ||
| "Bash(done)", | ||
| "Bash(bin/rails runner:*)", | ||
| "Bash(chmod:*)", | ||
| "Bash(mysql -u root:*)", | ||
| "Bash(git -C /Users/maebeale/programming/awbw branch --show-current)", | ||
| "Bash(bundle exec rails routes:*)", | ||
| "Bash(bundle exec rubocop:*)", | ||
| "Bash(git -C /Users/maebeale/programming/awbw diff --name-only main...HEAD)", | ||
| "Bash(git log:*)", | ||
|
|
||
| "Bash(git fetch:*)", | ||
| "Bash(git rebase:*)", | ||
| "Bash(grep:*)" | ||
|
|
||
| "Bash(bin/rails generate:*)", | ||
| "Bash(bin/rails db:schema:dump:*)", | ||
| "Bash(RAILS_ENV=test bin/rails:*)" | ||
|
|
||
| "Bash(git merge:*)" | ||
| ] | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,8 @@ | |
| sign_in person_user | ||
| # Start on a page where the user nav is visible | ||
| visit root_path | ||
| # Wait for any flash message overlay to disappear before clicking avatar | ||
| page.has_no_css?('#flash_now', visible: true, wait: 10) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add this to fix flaky test |
||
| # Open user nav dropdown (wait for avatar to appear after page load) | ||
| find('#avatar button', wait: 10).click | ||
| # Click "Change password" | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
needed this to fix a failing test