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

Ability To Share My Tags? #14

Closed
syropian opened this issue Mar 31, 2015 · 14 comments
Closed

Ability To Share My Tags? #14

syropian opened this issue Mar 31, 2015 · 14 comments
Assignees

Comments

@syropian
Copy link
Member

From @Gerst20051 on January 30, 2015 0:20

@syropian is this on the radar?

Copied from original issue: syropian/astral-issues#29

@syropian
Copy link
Member Author

Yep, definitely on my radar, just hoping to squash a few bugs and UX problems first, and then I can move on to more features :)

@syropian
Copy link
Member Author

From @hlfcoding on March 11, 2015 8:45

In the meantime, you can run script below in the console directly in the app.

// build repos
var repos = $('.repo').map(function(){
  var $el = $(this);
  var name = $el.find('.repo-name').text();
  var tags = $el.find('.repo-tags li').map(function() { return $(this).text(); }).get();
  return { name: name, tags: tags };
}).get();
JSON.stringify(repos);
// build tags from repos
var tags = [];
_.each(repos, function(repo) {
  _.each(repo.tags, function(name) {
    tag = _.findWhere(tags, { name: name });
    if (tag === undefined) {
      tag = { name: name, repos: [] };
      tags.push(tag);
    }
    tag.repos.push(repo);
  });
});
JSON.stringify(tags);

If you don't mind bookmarklets, there's also tools like, which will at least simplify part of the above: http://medialab.github.io/artoo. Anyway, the above allows finding repos by multiple tags, currently not possible in the app:

JSON.stringify(_.intersection(_.findWhere(tags, { name: 'referrable' }).repos, _.findWhere(tags, { name: 'ios' }).repos));

@syropian syropian self-assigned this Mar 31, 2015
@desmondmorris
Copy link

+1

1 similar comment
@smithln
Copy link

smithln commented May 12, 2015

+1

@syropian
Copy link
Member Author

@desmondmorris @smithln Thanks you two! This will be implemented in the rewrite :)

@hlfcoding
Copy link

Thanks for implementing! 👍

@pfalcon
Copy link

pfalcon commented Oct 9, 2015

Ok, in the current https://app.astralapp.com/ , there's Settings -> "ENABLE CROWSOURCED TAGGING BETA". But after enabling it, I don't see any changes in my tags. I have 2+K stars projects in my starred, so I'd assume at least one would be tagged, if Astralall has any userbase at all. So, how is that supposed to work?

@syropian
Copy link
Member Author

syropian commented Oct 9, 2015

@pfalcon Unfortunately it doesn't always work, as it hits the servers really hard. I'm hoping to write a better solution in the future, though i'm not quite sure what it is yet.

@syropian
Copy link
Member Author

syropian commented Oct 9, 2015

@pfalcon you could try refreshing though.

@pfalcon
Copy link

pfalcon commented Oct 9, 2015

Thanks for hint, after couple of page reloads, seeing "Crowd-tagging Stars..." progress indicator...

@pfalcon
Copy link

pfalcon commented Oct 9, 2015

... but nothing happened after 2 hours of waiting (but then I have 700+ starred projects, which probably on a higher side).

@Gerst20051
Copy link

same thing here. just a loading indicator.

@syropian
Copy link
Member Author

The server probably just gave up at this point ¯_(ツ)_/¯

Sent from my iPhone

On Oct 9, 2015, at 7:09 PM, Andrew Gerst notifications@github.com wrote:

same thing here. just a loading indicator.


Reply to this email directly or view it on GitHub.

@Gerst20051
Copy link

love that emoticon!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants