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

Restore hashtag suggestions from local tag history #11632

Merged
merged 4 commits into from
Aug 22, 2019

Conversation

ClearlyClaire
Copy link
Contributor

@ClearlyClaire ClearlyClaire commented Aug 20, 2019

I'm not happy about mixing ImmutableJS and native lists/objects here, but it seems like the best way to make it work both for when the REST API hasn't replied yet and for results are gotten from it…

EDIT: also not super happy about it claiming there has been 0 uses in the week when the tag data isn't from API results

Example when #CatPosting isn't approved (but has been used locally) but #cat is:
Peek 21-08-2019 13-13

@Gargron Gargron merged commit 5ab1e0e into mastodon:master Aug 22, 2019
@Gargron
Copy link
Member

Gargron commented Aug 22, 2019

EDIT: also not super happy about it claiming there has been 0 uses in the week when the tag data isn't from API results

It should be possible to fetch the data for those tags

hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
* Restore hashtag suggestions from local tag history

* Append local hashtag suggestions instead of prepending them

* Do not display inaccurate usage statistics for hashtags not retrieved from API

* Fixup
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.

3 participants