UMN-LATIS / ChimeIn2.0

Live polling and quizzes for engaging presentations, complete with LTI integration
https://chimein.cla.umn.edu
3 stars 0 forks source link

Wordcloud can obscure words when browser height is short #645

Closed cmcfadden closed 1 year ago

cmcfadden commented 1 year ago

If the browser height is such that the word cloud is partially below the fold on first load, some words in the cloud are moved offscreen. In the screen recording, notice how "cantner" moves outside the viewable area. Redrawing the cloud resolves it.

wordcloud

cmcfadden commented 1 year ago

my browser viewport size is 1360x720 in that case.

cmcfadden commented 1 year ago

This is far more nondeterministic than I thought. Closing it for now - not going to be worth tracking down.

jxjj commented 1 year ago

Two thoughts:

  1. Ditch the header/footer in presenter mode for more screen space. I think this came up in the survey as well.
  2. There's a tuning parameter in the getBaseFontSize function that lets us tweak things. We could fiddle with that.
cmcfadden commented 1 year ago

Ditching the header in present could be nice at some point. The word cloud is wild in terms how non-random it is! Like, for a given screen size, you'll get the same sequence of layouts each time you hit refresh??? I just assumed it was random.