* Rename find_or_create to upsert and improve validation and testing * Add User.authenticated_through? * Refactor settings/integrations * Refactor profile github repositories rendering * Refactor repos fetching * Only fetch a single repo and improve error messages * Remove unused code * Cleanups * Fix specs * Remove trailing whitespace * Fix spec * Trigger Travis
12 lines
343 B
Text
12 lines
343 B
Text
<% if show_integration %>
|
|
<div class="crayons-card grid gap-6 p-6 mb-6">
|
|
<h3>Pin a few of your GitHub repositories to your profile</h3>
|
|
|
|
<div id="github-repos-container">
|
|
<div class="github-repos loading-repos">
|
|
</div>
|
|
</div>
|
|
|
|
<%= javascript_packs_with_chunks_tag "githubRepos", defer: true %>
|
|
</div>
|
|
<% end %>
|