The autocomplete for mentions is creating a bit of a problem. It will follow my text cursor around anytime as long as there's something resembling an @ mention anywhere earlier in the post. Note for example down here my text cursor is right at the end of the post and the autocomplete is still offered.
(I got here by using the text-highlight quote on someone's post rather than hitting the quote button on the post.)
This is kind of a problem because I can't hit enter at all or else it tries to autocomplete that mention, but starting from where my cursor is at the time rather than where the mention is:
But since the @ is still there, the autocomplete will still be following me around, meaning if I try to hit enter again, it just autocompletes yet again.
Suggestion: The @ mention autocomplete should only be present while my cursor is inside the word following the @.
@mention autocomplete is overenthusiastic
-
spacemonaut Bauble reclaimer
- Posts: 1398
- Joined: 5 years ago
- Pronoun: she / her
- Location: Scotland
Eee.
I fixed it for regular quote, but it looks like I need a more substantial fix to hit all the corner cases. I'll look into it this afternoon. Apologies for the issues
I fixed it for regular quote, but it looks like I need a more substantial fix to hit all the corner cases. I'll look into it this afternoon. Apologies for the issues
To the beaten, the broken, or the damned; the lost, and the wayward: wherever I may be, you will have a home.
-
spacemonaut Bauble reclaimer
- Posts: 1398
- Joined: 5 years ago
- Pronoun: she / her
- Location: Scotland
No problem, and thanks for working on it!!
@spacemonaut I think we're good to go.
Updated mentions to using tribute.js instead of atwho.js, which has eased quite a few things.
[card] is still using atwho, and thus still a bit overzealous, but it's on my list to redo a bit as well.
Updated mentions to using tribute.js instead of atwho.js, which has eased quite a few things.
[card] is still using atwho, and thus still a bit overzealous, but it's on my list to redo a bit as well.
To the beaten, the broken, or the damned; the lost, and the wayward: wherever I may be, you will have a home.
-
spacemonaut Bauble reclaimer
- Posts: 1398
- Joined: 5 years ago
- Pronoun: she / her
- Location: Scotland
@Feyd_Ruin
This is definitely not following me around anymore. : )
There's an issue to check out though:
1. Quote that post you wrote just above. Or this one, since I've put a mention at the top.
2. Type out a mention beneath it.
3. Hit TAB to autocomplete it. (Don't click the autocomplete menu, just hit tab.)
Expected: That mention gets autocompleted.
Actual: The post gets wiped starting at the first @ symbol and gets replaced with the mention you just autocompleted.
Try moving the mention around in order to test that it definitely wipes from wherever the first @ mention is.
Curiously as mentioned clicking in the autocomplete is just fine, so maybe the tab behaviour should do whatever that's doing.
This is definitely not following me around anymore. : )
There's an issue to check out though:
1. Quote that post you wrote just above. Or this one, since I've put a mention at the top.
2. Type out a mention beneath it.
3. Hit TAB to autocomplete it. (Don't click the autocomplete menu, just hit tab.)
Expected: That mention gets autocompleted.
Actual: The post gets wiped starting at the first @ symbol and gets replaced with the mention you just autocompleted.
Try moving the mention around in order to test that it definitely wipes from wherever the first @ mention is.
Curiously as mentioned clicking in the autocomplete is just fine, so maybe the tab behaviour should do whatever that's doing.
Meh. Silly whackamole.
I'll have to read the quote back from before.
I'll have to read the quote back from before.
To the beaten, the broken, or the damned; the lost, and the wayward: wherever I may be, you will have a home.
@Feyd_Ruin
It looks like this latest issue is still an issue. Not sure if it was fixed and now is broken again but since you are generally on the ball with things like this, and this one is nearly a year old, I figured maybe you did something but it was undone later. So, I guess I am just bumping the topic as I just had it occur to me when replying to a thread and wiping out everything I typed
It looks like this latest issue is still an issue. Not sure if it was fixed and now is broken again but since you are generally on the ball with things like this, and this one is nearly a year old, I figured maybe you did something but it was undone later. So, I guess I am just bumping the topic as I just had it occur to me when replying to a thread and wiping out everything I typed
ugh. I don't even know what changed, I was sure I had this fixed.WizardMN wrote: ↑3 years ago@Feyd_Ruin
It looks like this latest issue is still an issue. Not sure if it was fixed and now is broken again but since you are generally on the ball with things like this, and this one is nearly a year old, I figured maybe you did something but it was undone later. So, I guess I am just bumping the topic as I just had it occur to me when replying to a thread and wiping out everything I typed
I'll look at it again, apologies
To the beaten, the broken, or the damned; the lost, and the wayward: wherever I may be, you will have a home.
OK. So this time it was somehow loading the tribute/mention system twice.
This means it did two replacements (so if there was a previous @ it went there).
Fixed.
Apologies.
This means it did two replacements (so if there was a previous @ it went there).
Fixed.
Apologies.
To the beaten, the broken, or the damned; the lost, and the wayward: wherever I may be, you will have a home.