Skip to content

ProblemSets: Place set description in info button.#2925

Open
somiaj wants to merge 1 commit intoopenwebwork:developfrom
somiaj:description-info-icon
Open

ProblemSets: Place set description in info button.#2925
somiaj wants to merge 1 commit intoopenwebwork:developfrom
somiaj:description-info-icon

Conversation

@somiaj
Copy link
Contributor

@somiaj somiaj commented Mar 3, 2026

Move the set description from a tooltip on the link to the set to a tooltip on an info button located just right of the set link if the set description is not empty.

This adds an additional option to the set-id-tooltip class JavaScript that if data-fallback-placements is set as a spaced separated list, that list will be passed to the bootstrap Tooltip on creation.

This was suggested by @dlglin.

@somiaj somiaj force-pushed the description-info-icon branch from 7bafcbf to 8b3e064 Compare March 3, 2026 23:59
Move the set description from a tooltip on the link to the set to
a tooltip on an info button located just right of the set link if
the set description is not empty.

This adds an additional option to the `set-id-tooltip` class
JavaScript that if `data-fallback-placements` is set as a spaced
separated list list, that list will be passed to the bootstrap
Tooltip on creation.
@somiaj somiaj force-pushed the description-info-icon branch from 8b3e064 to dd9a991 Compare March 4, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants