Mailspring/internal_packages
Max Stoiber fe453b02da Fix Github Sidebar Plugin (#2003)
Hopefully fixes #1991

I don't have N1 setup locally, so this is a blind shot–would appreciate somebody who has it set up to pull this and verify this fixes the issue, but as far as I can tell it should.

The gist is:

> Looking at the code, what you do is use the `search/users` endpoint to find users by email and taking the repos from there. You then load the repositories of the username, but we can't sort those by most-starred: "sort string Can be one of `created`, `updated`, `pushed`, `full_name`. Default: `full_name`" *([src](https://developer.github.com/v3/repos/#list-user-repositories))*
> What we could instead do is use the search API, which **allows us to search for repositories by a specific user and sort by most starred**. This is a tiny bit hacky, but works perfectly fine. E.g. this is the URL for my most starred repos: `https://api.github.com/search/repositories?q=user:mxstbr&sort=stars&order=desc`
2016-04-19 16:13:30 -07:00
..
account-sidebar feat(unread/spam): New items in the sidebar for unread and spam 2016-04-19 11:32:33 -07:00
attachments fix(styles): Fix styles for attachment and upload items 2016-03-23 17:16:25 -07:00
category-picker fix(focus): Remove focusedField in favor of imperative focus, break apart ComposerView 2016-04-04 15:22:01 -07:00
composer rename(drafts) DraftStoreProxy => DraftEditingSession 2016-04-19 16:08:58 -07:00
composer-emoji fix(composer-emoji): Fix calculation for category positioning 2016-04-12 14:51:56 -07:00
composer-scheduler refactor(composer): Make session, draft available everywhere 2016-04-19 16:05:15 -07:00
composer-signature 🎨(preferences): Adjust textbox styles for signatures and templates 2016-04-07 14:12:35 -07:00
composer-spellcheck fix(syncback): Bidirectional transforms, ready-to-send saved state 2016-03-16 19:27:12 -07:00
composer-templates refactor(composer): Make session, draft available everywhere 2016-04-19 16:05:15 -07:00
composer-translate refactor(composer): Make session, draft available everywhere 2016-04-19 16:05:15 -07:00
draft-list feat(unread/spam): New items in the sidebar for unread and spam 2016-04-19 11:32:33 -07:00
events bump(electron): 0.36.7 => 0.37.5 2016-04-12 18:42:57 -07:00
github-contact-card Fix Github Sidebar Plugin (#2003) 2016-04-19 16:13:30 -07:00
link-tracking refactor(composer): Make session, draft available everywhere 2016-04-19 16:05:15 -07:00
message-autoload-images fix(autoload-images): Bar disappears when you choose to load images 2016-03-07 18:19:17 -08:00
message-list feat(unread/spam): New items in the sidebar for unread and spam 2016-04-19 11:32:33 -07:00
message-view-on-github fix(view-on-github): Add readme and fix bug 2016-04-14 17:03:57 -04:00
mode-switch 💄(sidebar): Replace icon with person 2016-03-10 11:15:52 -08:00
notification-mailto fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
notification-update-available fix(require): Move more requires to new electron format 2016-04-13 15:35:01 -07:00
notifications fix(db): Counts no longer require Thread table join 2016-04-11 13:51:31 -07:00
onboarding fix(onboarding): Add missing return statement when changing endpoints 2016-04-13 17:41:31 -07:00
open-tracking refactor(composer): Make session, draft available everywhere 2016-04-19 16:05:15 -07:00
participant-profile fix(related-threads): Show snippet in addition to subject #1683 2016-04-14 17:33:43 -04:00
personal-level-indicators es6(*): convert 20+ source files used in example packages to ES2016 2016-02-29 18:47:22 -08:00
phishing-detection Fixed text overflow in phishing detection indicator 2016-03-11 20:33:06 +01:00
plugins 🎨(preferences): Change spacing and button sizes 2016-04-07 14:32:51 -07:00
preferences fix(default-alias): Show primary email instead of "None", clarify only for new messages currently 2016-04-15 19:05:54 -04:00
print 💄(print): Fix #1425 2016-02-26 14:40:16 -08:00
screenshot-mode feat(screenshot-mode): Minor fix to unmount method 2016-01-29 16:59:51 -08:00
send-and-archive fix(gmail-labels): Constraint so threads always belong to all,spam or trash 2016-03-10 14:13:31 -08:00
send-later refactor(composer): Make session, draft available everywhere 2016-04-19 16:05:15 -07:00
sidebar-fullcontact bump(react): 0.13.2 => 0.14.7 2016-03-29 01:43:12 -07:00
system-tray fix(tray): Re add old icon assets for tray icon for win32 and linux 2016-03-25 10:05:17 -07:00
theme-picker fix(theme-picker): Reformat invalid class names 2016-04-05 13:43:43 -07:00
thread-list feat(unread/spam): New items in the sidebar for unread and spam 2016-04-19 11:32:33 -07:00
thread-search feat(unread/spam): New items in the sidebar for unread and spam 2016-04-19 11:32:33 -07:00
thread-search-index feat(thread-search): Make thread search indexing smarter 2016-04-07 09:57:29 -07:00
thread-snooze fix(focus): Remove focusedField in favor of imperative focus, break apart ComposerView 2016-04-04 15:22:01 -07:00
ui-dark refactor(ui-variables): Clean UI variables for consistency/usage 2016-03-15 11:18:50 -07:00
ui-darkside correcting size of window contol buttons 2016-04-02 15:02:26 -05:00
ui-light feat(theme-selector): Add theme selector to preferences page 2015-12-15 10:29:58 -08:00
ui-taiga 🎨(themes): Tweak Taiga to feel more native 2016-03-27 15:51:27 -07:00
ui-ubuntu refactor(ui-variables): Clean UI variables for consistency/usage 2016-03-15 11:18:50 -07:00
undo-redo bump(react): 0.13.2 => 0.14.7 2016-03-29 01:43:12 -07:00
unread-notifications Revert "fix(sidebar): Correctly update sidebar when a notif is selected" 2016-02-02 10:58:24 -08:00
worker-sync fix(sync): Handle "Invalid cursor" scenario by 💣🔥 away the cache 2016-04-11 17:34:52 -07:00
worker-ui fix(require): Move more requires to new electron format 2016-04-13 15:35:01 -07:00