Skip to content
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

[8.x] Auto identify user #411

Merged
merged 3 commits into from
Jul 31, 2020
Merged

[8.x] Auto identify user #411

merged 3 commits into from
Jul 31, 2020

Conversation

driesvints
Copy link
Member

This PR will auto set the user to be identified through Algolia through a config option. Other engines can make use of this new option as well if they want. Turned off by default to avoid breaking changes but I'd recommend to turn this on by default in the next major version.

However: I'm currently not seeing user stats appearing in the dashboard when I test:

Screenshot 2020-07-30 at 21 45 05

Headers are being set properly and all so I don't know what I'm missing here. Need to ping @nunomaduro about it. In draft until this is resolved.

Closes #385

Copy link
Member

@jbrooksuk jbrooksuk left a comment

Choose a reason for hiding this comment

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

🙂

config/scout.php Outdated Show resolved Hide resolved
config/scout.php Outdated Show resolved Hide resolved
src/EngineManager.php Outdated Show resolved Hide resolved
Copy link
Member

@nunomaduro nunomaduro left a comment

Choose a reason for hiding this comment

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

Hey Dries, good job on this one. Made some comments.

config/scout.php Show resolved Hide resolved
src/EngineManager.php Outdated Show resolved Hide resolved
src/EngineManager.php Outdated Show resolved Hide resolved
src/EngineManager.php Outdated Show resolved Hide resolved
config/scout.php Outdated Show resolved Hide resolved
src/EngineManager.php Outdated Show resolved Hide resolved
@driesvints
Copy link
Member Author

Everything looking good now in Algolia dashboard:

Screenshot 2020-07-31 at 10 23 27

@driesvints driesvints marked this pull request as ready for review July 31, 2020 08:23
@taylorotwell taylorotwell merged commit ac21f30 into 8.x Jul 31, 2020
@driesvints driesvints deleted the auto-identify-user branch July 31, 2020 13:41
@mstaack
Copy link

mstaack commented Sep 3, 2020

oh brilliant!

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.

Add user identification by default?
5 participants