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

Sync user repo / stars using RabbitMQ #5

Merged
merged 8 commits into from
Feb 19, 2017
Merged

Sync user repo / stars using RabbitMQ #5

merged 8 commits into from
Feb 19, 2017

Conversation

j0k3r
Copy link
Owner

@j0k3r j0k3r commented Feb 18, 2017

Instead of retrieve repos & stars from a user right after the connection, use a broker to push a message to retrieve them later.
It'll avoid user to wait for the page to finish loading before being able to retrieve its feed.

In a next PR I'll add a message about sync in progress to the user. But it'll require to change a bit the homepage when a user is connected.

  • Add real test with database access

Instaed of syncing user repos & stars in controller, move the logic into a consumer to be more async.
- Logged in user goes to `/dashboard`
- Add functional test for index controller
- Add some fixtures
- Add twig extensions (for `|time_diff`)
- Fix CSS about container height
When a repo doesn’t have tags we’ll display a custom message
@j0k3r j0k3r merged commit 804edbb into master Feb 19, 2017
@j0k3r j0k3r deleted the sync-repo-rabbit branch February 19, 2017 18:48
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.

1 participant