gocodebox / lifterlms

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
https://lifterlms.com
GNU General Public License v3.0
178 stars 135 forks source link

{{student_name}} merge code for achievements says "you" instead of student name when printed #1557

Open nrherron92 opened 3 years ago

nrherron92 commented 3 years ago

Reproduction Steps

This may not necessarily be a bug so much as a point of confusion.

image

Expected Behavior

Actual Behavior

Error Messages / Logs


### System and Environment Information

<details>
<summary>System Report</summary>

<!-- Paste your System Report between the three backticks below this line -->


</details>

This issue has be recreated:
+ [X] Locally
+ [ ] On a staging site
+ [X] On a production website
+ [X] With only LifterLMS and a default theme

### Browser, Device, and Operating System Information

+ Browser name and version
+ Operating System name and version
+ Device name and version (if applicable)
nrherron92 commented 3 years ago

HS-158340

thomasplevy commented 3 years ago

@nrherron92

For a long time I've been trying to argue that this is not a bug but is, instead, expected behavior. I always argue "Why would you want to say someone's name to them on the screen. It's obviously a notification for you" .

If I'm looking at any notification's on my phone, let's say Rocco DMs me on instagram it says "Rocco has sent you a new message" not "Rocco has sent Thomas Levy" a new message.

That said... the merge code says "Student Name" and if the user wants to output the name (which I think is silly) instead of "You" when a course is completed or whatever they should be able to.

I think we should just change the behavior instead of me trying to argue a (dumb) point.

@eri-trabiccolo thoughts on this?

eri-trabiccolo commented 3 years ago

@thomasplevy @nrherron92 I think I agree with Natalie.

nrherron92 commented 3 years ago

HS-173338

thomasplevy commented 3 years ago

@nrherron92 prioritized