Comments (3)
Hi, I saw that my patch was mentioned here.
I have submitted a pull request for the patch now at the following link.
I have no idea if the pull request will be accepted or not, though, as I am not a part of the core team.
from tuba.
TBH, I'd rather the API improved on that than do it myself. Here's how it works:
Every post has a tags
property that includes are the tags found in the post, e.g.
{
"tags": [
{
"name": "gnome",
"url": "https://tech.lgbt/tags/gnome"
},
{
"name": "test",
"url": "https://tech.lgbt/tags/test"
}
]
}
What Mastodon and other software that have API compat should do is to provide another property on each tag, following : Bool
, so it would become, for my account at least:
{
"tags": [
{
"name": "gnome",
"url": "https://tech.lgbt/tags/gnome",
"following": true
},
{
"name": "test",
"url": "https://tech.lgbt/tags/test"
}
]
}
This is being tracked on Mastodon's issue tracker FWIW mastodon/mastodon#19528 and a working patch in the comments does exactly what I described above
The way some clients do it right now is by keeping track of followed hashtags themselves. My issue with that is mainly syncing. Both the initial sync between app restarts AND while the app is running. Picture this, you have Tuba running on your desktop and you decide to open Mastodon on your mobile phone. You follow a hashtag from there and suddenly when you get back to your desktop, there's a new post at the top of your timeline by someone using the hashtag you just followed and you are left confused as to why it's in your timeline and why Tuba doesn't show that it's because of the hashtag you are following - which is something you know it does
A solution would be to GET the user's hashtags every so often so they sync but honestly idk if it's worth it
from tuba.
Waiting for the fix in Mastodon's API seems reasonable, thanks for explaining!
from tuba.
Related Issues (20)
- [Request]: Automatically switching the spellchecking language when setting HOT 1
- [Bug]: Punctuation marks included in hashtag parsing blue text color HOT 1
- [Bug]: Frequent crashes when playing high-res videos HOT 8
- [Bug]: quote posts shown without the quoted post when loaded from gts HOT 2
- [Request]: When writing a reply, allow reading messages I'm replying to HOT 1
- [Bug]: Touchpad zoom gesture requires click in media viewer HOT 2
- Default poll timer way too low HOT 2
- [Request]: Bundle all icons we use
- [Bug]: Moderator reports show the reporting user's profile in notifications instead of the report HOT 4
- [Bug]: "Mutes & Blocks" page contents not updated when going back to it after unmuting someone HOT 2
- [Bug]: Video is flipped vertically when playing HOT 1
- [Bug]: Write message button crash the app HOT 11
- [Bug]: SIGTRAP during initialization on current main HOT 1
- [Request]: Make all headerbar centering policies loose
- [Request]: Fetch remote interactions (missing favorites, boosts, replies) HOT 1
- [Bug]: Custom mastodon emojis will re-downloaded every time a new post is made HOT 4
- [Bug]: Certain 'back' buttons don't retain focus for some ways of scrolling HOT 4
- [Bug]: Offline dialog pops up randomly over other apps HOT 4
- [Bug]: Invalid user @ mentions don't have a visual indication (different color from blue) HOT 3
- [Bug]: Some icons do not appear on non-GNOME (Wayfire) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuba.