Issue #3181460 by sjoerdvandervis, Ressinel: Determine where user goes after registration
Follow up https://github.com/goalgorilla/open_social/pull/2057
Problem
When a new user signs up for an open social platform, we let him/her fill in the account details and profile details. Afterwards, they are sent towards their own profile. This does not help onboarding them; it would be nice if we could send this user to a configurable page.
Solution
Add setting to the Account settings page.
Issue tracker
- https://www.drupal.org/project/social/issues/3181460
Theme issue tracker
N/A
How to test
- [ ] As SM go to
/admin/config/people/accountsand add path to the field Redirect new users to specific page - [ ] Register as a new user
- [ ] Use your one-time login link
- [ ] Complete your account and your profile and see you get sent to the path you configured
Definition of done
Before merge
- [ ] Code/peer review is completed
- [ ] All commit messages are clear and clean. If applicable a rebase was performed
- [ ] All automated tests are green
- [ ] Functional/manual tests of the acceptance criteria are approved
- [ ] All acceptance criteria were met
- [ ] Update path is tested. New hook_updates should respect update order, right naming convention and consider hook_post_update code
- [ ] Module can be safely uninstalled. Update/implement hook_uninstall and make sure that removed configuration or dependencies are removed/uninstalled
- [ ] This pull request has all required labels (team/type/priority)
- [ ] This pull request has a milestone
- [ ] This pull request has an assignee (if applicable)
- [ ] Any front end changes are tested on all major browsers
- [ ] New UI elements, or changes on UI elements are approved by the design team
- [ ] New features, or feature changes are approved by the product owner
After merge
- [ ] Code is tested on all branches that it has been cherry-picked
- [ ] Update hook number might need adjustment, make sure they have the correct order
- [ ] The Drupal.org ticket(s) are updated according to this pull request status
Screenshots
Release notes
We made it possible to configure where a user goes after registering with the platform.
Change Record
N/A
Translations
N/A
Thanks for contributing towards Open Social! A maintainer from the @goalgorilla/maintainers group might not review all changes from all teams/contributors. Please don't be discouraged if it takes a while. In the meantime, we have some automated checks running and it might be that you will see our comments with some tips or requests to speed up the review process. :blush: