SchoologyPlus icon indicating copy to clipboard operation
SchoologyPlus copied to clipboard

Course nickname doesn't apply in Course Dashboard if there's ellipsis

Open KTibow opened this issue 4 years ago • 5 comments

Describe the bug If a course has a long name and gets abbreviated, a nickname doesn't apply.

To Reproduce

  1. Find a course with a long name
  2. Give it a nickname
  3. Go to Course Dashboard
  4. Resize window to small size
  5. See nickname not working

Expected behavior The nickname to be replaced

Screenshots Nickname was School Counselor image

Additional context This might be hard, given that Schoology splits the name into separate elements.

Info: Edge 87.0.664.66, with Windows build 19042, at https://nsd.schoology.com/, 6.7.1

KTibow avatar Jan 07 '21 17:01 KTibow

Depending on how this is represented in the HTML it could be impossible. @glen3b would be more familiar though

aopell avatar Jan 08 '21 02:01 aopell

I think you could do this by getting the aria-label of the section.sgy-card element.

KTibow avatar Jan 08 '21 02:01 KTibow

IIRC we handle the course dropdown specially for a variety of reasons. I'll take a look and see if I can reproduce this.

glen3b avatar Jan 10 '21 22:01 glen3b

Clarifying: this is the course dashboard, as in the homescreen "tab," and not the dropdown, correct? I'm making sure we're disambiguated from #246.

glen3b avatar Jan 12 '21 03:01 glen3b

Correct.

KTibow avatar Jan 12 '21 15:01 KTibow