Dear anyone,
Your duolingo forum registration isn't automaticaly transferred to duome forum so in order to join duome forums you need to register with your existing or any other username and email; in any case it's advised that you choose a new password for the forum.
~ Duome Team

Duolingo sentence Discuss button deviates to Duome

Ask, and we'll consider your request. Provide an accurate description of what you would like to do/have, and we'll consider implementing it, if this is technically possible.


User avatar
luo-ning

Re: Duolingo sentence Discuss button deviates to Duome

Post by luo-ning »

[mention]Sofia222677[/mention] the logout bug should be fixed in v0.1.9. Possibly that's also fixed the conflict with Duolingo Solution Viewer, but I don't use it — [mention]LICA98[/mention] could you check that?

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
Sofia222677

Re: Duolingo sentence Discuss button deviates to Duome

Post by Sofia222677 »

luo-ning wrote: Mon May 02, 2022 11:09 pm

@Sofia222677 the logout bug should be fixed in [v0.1.9]

It has been fixed indeed. Thank you very much for the quick tweak!

:it: N - :gb: B2 (working towards C1) - Learning :de: - Dabbling in :cn:, :ru:

User avatar
LICA98
Finland

Re: Duolingo sentence Discuss button deviates to Duome

Post by LICA98 »

luo-ning wrote: Mon May 02, 2022 8:06 pm
LICA98 wrote: Sat Apr 30, 2022 6:48 pm

is there a keyboard shortcut to create the discussion without using the mouse?

Added, it's Alt+S (for Sentence discussions 😉).

Most issues of sentences getting out of sync should now be solved, but there may still be some cases that aren't covered, in which case please keep reporting bugs! 😄

doesn't seem to work for me :? and I don't get why add a 2-key shortcut when it could be just 1? (especially when S is already in use for the sentence viewer (which was fixed btw 👍))

User avatar
Corinnebelle

Re: Duolingo sentence Discuss button deviates to Duome

Post by Corinnebelle »

Yay! The debug short cut worked! Umm, do I need to have a pastebin account to send you the pastebin link? I'll pm you one of the reports for characters where there is a word so you can get an idea of what it's up to.

🇺🇸 L1 🇮🇱 Advanced beginner Duolingo levels

Languages without borders, languages bridging gaps, the Red Cross are my heroes.

User avatar
luo-ning

Re: Duolingo sentence Discuss button deviates to Duome

Post by luo-ning »

LICA98 wrote: Tue May 03, 2022 5:36 am

doesn't seem to work for me :? and I don't get why add a 2-key shortcut when it could be just 1? (especially when S is already in use for the sentence viewer (which was fixed btw 👍))

What other keyboard shortcuts does the sentence viewer use? I can change to Alt+M if you like?

Single-character shortcuts would interfere with core Duolingo functionality, i.e. I don't want the extension to be triggered by typing in "un café sin azúcar, por favor".

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
OCgXt4Pu
Poland

Re: Duolingo sentence Discuss button deviates to Duome

Post by OCgXt4Pu »

I'm pretty sure I'm doing something wrong as I never used Tampermonkey before (I normally use a simple ~/.js-style content-script injector which probably wouldn't cut here because of isolated words), but it doesn't seem to ever get the challenges for me.

If I understand it right, the script tries to extract the challenges from the sessions end point by proxying the XHR. But it looks like the Duolingo uses the Fetch API instead of XHR for that particular request. (At least for me? How is it working for other people?)
The network panel shows XHR requests being initiated from the injected user script and they are correctly examined, but the interesting one isn't:

![Screenshot of devtools Network panel](

I'm using user script version 0.1.9 on Debian-built Chromium 101.0.4951.41 with Tampermonkey 4.16 (with site access to https://*.duolingo.com/* and https://forum.duome.eu/* and otherwise default settings).

User avatar
luo-ning

Re: Duolingo sentence Discuss button deviates to Duome

Post by luo-ning »

OCgXt4Pu wrote: Tue May 03, 2022 4:12 pm

If I understand it right, the script tries to extract the challenges from the sessions end point by proxying the XHR. But it looks like the Duolingo uses the Fetch API instead of XHR for that particular request. (At least for me? How is it working for other people?)
The network panel shows XHR requests being initiated from the injected user script and they are correctly examined, but the interesting one isn't:

Duolingo does a lot of A/B testing so maybe they're trialing migrating to fetch...? My network tab still shows nothing but XHRs. I'll look into monkey patching fetch too.

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
LICA98
Finland

Re: Duolingo sentence Discuss button deviates to Duome

Post by LICA98 »

luo-ning wrote: Tue May 03, 2022 9:14 am
LICA98 wrote: Tue May 03, 2022 5:36 am

doesn't seem to work for me :? and I don't get why add a 2-key shortcut when it could be just 1? (especially when S is already in use for the sentence viewer (which was fixed btw 👍))

What other keyboard shortcuts does the sentence viewer use? I can change to Alt+M if you like?

Single-character shortcuts would interfere with core Duolingo functionality, i.e. I don't want the extension to be triggered by typing in "un café sin azúcar, por favor".

how does it interfere with core functionality if it appears only after you have the completed the exercise? same way all other options use single digit shortcuts:
S solutions
D discussions
R report error

just M should be enough for duome

User avatar
luo-ning

Re: Duolingo sentence Discuss button deviates to Duome

Post by luo-ning »

LICA98 wrote: Tue May 03, 2022 11:58 pm

how does it interfere with core functionality if it appears only after you have the completed the exercise?

Ahh gotcha. v0.1.10 should work now with simply M.

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
luo-ning

Re: Duolingo sentence Discuss button deviates to Duome

Post by luo-ning »

[mention]OCgXt4Pu[/mention] can you try out v0.1.12 and see if that works? Monkey patching fetch seems to be working fine from my testing, but I can't replicate your exact situation as I'm not included in the same A/B test.

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
OCgXt4Pu
Poland

Re: Duolingo sentence Discuss button deviates to Duome

Post by OCgXt4Pu »

@luo-ning Yes, version 0.1.12 works for me. Thank you a lot!

User avatar
EranBarLev
Israel

Re: Duolingo sentence Discuss button deviates to Duome

Post by EranBarLev »

I tested out checkpoint #1 of the Russian tree, and I didn't get the DUOME button or the DISCUSS button for any sentence. I did get hints for all of them though, which aren't supposed to be there in a test, so it seems the owl had to much vodka... I'm not sure if this is a bug or not, but it would be nice to have at least the DUOME button even when the owl misbehaves.

🇮🇱N 🇬🇧C1 🇪🇸B2 🇵🇹B1 🇫🇷B1 🇸🇦A1 🇷🇺A1

User avatar
luo-ning

Re: Duolingo sentence Discuss button deviates to Duome

Post by luo-ning »

EranBarLev wrote: Thu May 05, 2022 11:29 am

I did get hints

What kind of hints? That's not a feature of the extension — do you have other extensions installed? If not, maybe it's a Duolingo bug or A/B test.

To report bugs, please press Alt+Shift+R from inside the Duolingo challenge where the issue occurred, with the browser extension installed and enabled, then follow the instructions in the prompt. I've updated the process to make it smoother (no Pastebin required and an easy-to-use GitHub issue template), as of v0.1.13.

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
EranBarLev
Israel

Re: Duolingo sentence Discuss button deviates to Duome

Post by EranBarLev »

luo-ning wrote: Thu May 05, 2022 2:13 pm
EranBarLev wrote: Thu May 05, 2022 11:29 am

I did get hints

What kind of hints? That's not a feature of the extension — do you have other extensions installed? If not, maybe it's a Duolingo bug or A/B test.

The hints that show the translations when you hover over the words. That's a feature of Duolingo, not the extension. Anyway I'm trying to test out another checkpoint now and the hints are gone, so it might have been a Duolingo bug which they have fixed.

luo-ning wrote: Thu May 05, 2022 2:13 pm

To report bugs, please press Alt+Shift+R from inside the Duolingo challenge where the issue occurred, with the browser extension installed and enabled, then follow the instructions in the prompt.

Alt+shift+R doesn't work. I pressed it and nothing happens. :( This time I'm testing checkpoint #2 in the Russian tree. Now there is a DISCUSS button but no DUOME button. I've updated the extension, it's enabled and works in other challenges. All I can do is add a print screen.

2022-05-05.png
2022-05-05.png (105.05 KiB) Viewed 13814 times

Edit: To clarify, Alt+shift+R does work in other challenges, but not when I needed it. :(

🇮🇱N 🇬🇧C1 🇪🇸B2 🇵🇹B1 🇫🇷B1 🇸🇦A1 🇷🇺A1

User avatar
luo-ning

Re: Duolingo sentence Discuss button deviates to Duome

Post by luo-ning »

EranBarLev wrote: Thu May 05, 2022 3:09 pm

Alt+shift+R doesn't work. I pressed it and nothing happens. :( This time I'm testing checkpoint #2 in the Russian tree. Now there is a DISCUSS button but no DUOME button. I've updated the extension, it's enabled and works in other challenges. All I can do is add a print screen.

Try pressing F12 (might need to press fn+F12 depending whether your laptop has function-lock on), click the "Console" tab, and see if there's any error output there — if so, can you copy and paste it here?

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
EranBarLev
Israel

Re: Duolingo sentence Discuss button deviates to Duome

Post by EranBarLev »

luo-ning wrote: Thu May 05, 2022 2:13 pm

To report bugs, please press Alt+Shift+R from inside the Duolingo challenge where the issue occurred, with the browser extension installed and enabled, then follow the instructions in the prompt. I've updated the process to make it smoother (no Pastebin required and an easy-to-use GitHub issue template), as of v0.1.13.

OK, Alt+Shift+R worked this time, but GitHub has an error:

There was an error creating your issue: body is too long (maximum is 65536 characters).

The debug output generated by the extension is longer than 65536 characters. :( I can't paste it here either:

Your message contains 108707 characters.
The maximum number of allowed characters is 60000.

Update: I have the debug output saved to a text file on my computer, and attached it to the Github report. :) I hope that's good enough.

🇮🇱N 🇬🇧C1 🇪🇸B2 🇵🇹B1 🇫🇷B1 🇸🇦A1 🇷🇺A1

User avatar
luo-ning

Re: Duolingo sentence Discuss button deviates to Duome

Post by luo-ning »

EranBarLev wrote: Thu May 05, 2022 4:49 pm

Update: I have the debug output saved to a text file on my computer, and attached it to the Github report. :) I hope that's good enough.

Thanks! I'll probably take a look over the weekend. I'll update the issue template too, as I guess copy-pasting often won't work.

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
Corinnebelle

Re: Duolingo sentence Discuss button deviates to Duome

Post by Corinnebelle »

The shortcuts only work with English letters, hitting the m key when using the Hebrew language corresponding to צ in Hebrew does not work. Using cap locks will let you use the m key shortcut. It will however not work for the alt+shift+r shortcut. One must switch to English before it will work. Just something to know if you try this from another language.

🇺🇸 L1 🇮🇱 Advanced beginner Duolingo levels

Languages without borders, languages bridging gaps, the Red Cross are my heroes.

User avatar
luo-ning

Re: Duolingo sentence Discuss button deviates to Duome

Post by luo-ning »

Corinnebelle wrote: Fri May 06, 2022 3:09 am

The shortcuts only work with English letters, hitting the m key when using the Hebrew language corresponding to צ in Hebrew does not work. Using cap locks will let you use the m key shortcut. It will however not work for the alt+shift+r shortcut. One must switch to English before it will work. Just something to know if you try this from another language.

I applied the same fix as this one, so hopefully should work with all languages as of v0.1.15.

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
Seiryuu
Canada

Re: Duolingo sentence Discuss button deviates to Duome

Post by Seiryuu »

Did a progress quiz with some free Duolingo Plus time, and noticed the script didn't work there.

:canada: – Native
:cn: (Cantonese) – Conversational
:de: – Low-intermediate | :it: – Low-intermediate | :jp: – Conversational

User avatar
luo-ning

Re: Duolingo sentence Discuss button deviates to Duome

Post by luo-ning »

Seiryuu wrote: Fri May 06, 2022 10:15 pm

Did a progress quiz with some free Duolingo Plus time, and noticed the script didn't work there.

Just added a fix for a challenge type used in some checkpoint tests, not sure if that same type is used in progress quizzes. If you spot issues in future, you can report them by pressing Alt+Shift+R and following the instructions in the popup.

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
Danika_Dakika
United States of America

Re: Duolingo sentence Discuss button deviates to Duome

Post by Danika_Dakika »

LICA98 wrote: Tue May 03, 2022 11:58 pm

how does it interfere with core functionality if it appears only after you have the completed the exercise?

luo-ning wrote: Wed May 04, 2022 8:31 am

Ahh gotcha. v0.1.10 should work now with simply M.

The way this interferes is that if you are using the Solution Viewer extension, and type M when you are trying to filter answers -- it triggers to create a Duome SD as well. For instance that is how I accidentally created this new empty SD viewtopic.php?t=4088-they-were-not-able-to-sleep-tr-en . The other shortcuts mentioned (S, D, R) do not trigger when Solution Viewer is open.

I think the Alt-sequence was a better choice!

Duolingo Mod, TR Image <> EN Image

User avatar
luo-ning

Re: Duolingo sentence Discuss button deviates to Duome

Post by luo-ning »

Danika_Dakika wrote: Sun May 08, 2022 12:05 am

The way this interferes is that if you are using the Solution Viewer extension, and type M when you are trying to filter answers -- it triggers to create a Duome SD as well. For instance that is how I accidentally created this new empty SD viewtopic.php?t=4088-they-were-not-able-to-sleep-tr-en . The other shortcuts mentioned (S, D, R) do not trigger when Solution Viewer is open.

I think the Alt-sequence was a better choice!

Try v0.1.18 — should no longer trigger if a text input element is selected.

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
Danika_Dakika
United States of America

Re: Duolingo sentence Discuss button deviates to Duome

Post by Danika_Dakika »

Working great now! Thanks for the fast fix!

Duolingo Mod, TR Image <> EN Image

Upbeat 88
Mexico

Re: Duolingo sentence Discuss button deviates to Duome

Post by Upbeat 88 »

i love this

User avatar
weerwater

Re: Duolingo sentence Discuss button deviates to Duome

Post by weerwater »

Have used this Duome-button successfully from the Vivaldi browser (Chromium) just now.
Great work. Thank you for the magic.

Now I'm just wondering how I could / would delete that post from the forum before anyone starts a discussion, since the 'bot' apparently is the creator and not me. It is a bit of a surprise to me that my username is not visible as creator of the discussion.
Since my personal login was all it took to execute the the sentence-posting.
Perhaps a little warning, that I would be adding to the forum already at that point (and I would not be able to undo) would have been welcome and could have kept me from logging in.
Makes me wonder whether the bot would remember my actions also, if I would not log in at the forum at that point in time, but let's say a week later.

Image

Upbeat 88
Mexico

Re: Duolingo sentence Discuss button deviates to Duome

Post by Upbeat 88 »

i can't wait

User avatar
Corinnebelle

Re: Duolingo sentence Discuss button deviates to Duome

Post by Corinnebelle »

[mention]weerwater[/mention] The sentence bot does the work with the Duome extension. You are just adding the sentence to the forum. Unanswered sentences go here. Once someone comments on them, they go to that language's forum, and into a sentence discussion subforum if one is available. I've made some sentences discussions without commenting on them too, testing out the extension. What happens next time someone sees that sentence and uses the extension, the bot will link to the sentence discussion you created and they can comment on it. Basically you are just helping the bot gather sentences when you use the extension, so no need to feel bad. Hope this was helpful.

🇺🇸 L1 🇮🇱 Advanced beginner Duolingo levels

Languages without borders, languages bridging gaps, the Red Cross are my heroes.

Deleted User 2316

Re: Duolingo sentence Discuss button deviates to Duome

Post by Deleted User 2316 »

Basler Biker wrote: Wed Apr 20, 2022 10:23 am

I had a dream ==> the duolingo Discuss button is deviated directly to duome forum, and creates or finds the relevant entence discussion in duome !!

Maybe an idea for the Chrome-Extension specialist developers reading this ??

cool dream because that would be a pretty cool thing if it happened

User avatar
dochawk
United States of America

Re: Duolingo sentence Discuss button deviates to Duome

Post by dochawk »

are the duolingo forum comments supposed to have exported to duome? i have yet to see one where it's happened.

Last edited by dochawk on Mon May 30, 2022 12:42 am, edited 1 time in total.
Post Reply

Return to “Requests new Duome features”