Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove tooltip. Remove warning icon and reading room icon from search results. Remove tooltip title #3908

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

christinach
Copy link
Member

closes #3885
closes #3906
closes #3907
part of #3878

@christinach
Copy link
Member Author

the branch is deployed on catalog-staging

Copy link
Member

@sandbergja sandbergja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @christinach ! It will be good to get all of these out of the catalog. My only question is: do we want to get rid of some of the tests as well, rather than setting them to not_to? Not a blocker! 🐬

@@ -68,9 +68,9 @@

# We don't have the on-site icon at the moment. It appears as available. We might add it back in the future.
context 'with items which are from aeon locations' do
it 'renders an accessible warning icon for requesting an item in a reading room' do
it 'does not render a warning icon for requesting an item in a reading room' do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need this test?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can remove them. I kept them to make sure the icon is not there anymore. But it can be deleted now

it 'renders the typical title tooltip' do
expect(subject.css('a').attribute('title').text).to eq('Request to view in Reading Room')
it 'does not render a tooltip' do
expect(subject.css('a').attribute('title')).to be_falsey
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

Remove tooltip. Remove warning icon and reading room icon from search results.
Remove tooltip title
@coveralls
Copy link

Coverage Status

coverage: 95.394% (-0.01%) from 95.405%
when pulling 3979032 on remove-tooltip
into fa5f810 on main.

@christinach christinach merged commit f228073 into main Dec 15, 2023
10 checks passed
@christinach christinach deleted the remove-tooltip branch December 15, 2023 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants