-
Notifications
You must be signed in to change notification settings - Fork 6
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
add content nav bar for media #2346
Conversation
@@ -24,7 +24,7 @@ def call | |||
if SUPPORTED_MEDIA_TYPES.include?(type.to_sym) | |||
media_element | |||
else | |||
render PreviewImageComponent.new(druid:, file:, type:, resource_index: @resource_iteration.index) | |||
render PreviewImageComponent.new(druid:, file:, type:, size: @resource_iteration.size, resource_index: @resource_iteration.index) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This got updated. I am thinking we should probably just pass the resource_iteration to the component instead of just the index.
ded8325
to
e69d2be
Compare
e69d2be
to
a5eaf3d
Compare
Looking good so far. A couple changes:
|
a5eaf3d
to
f291cbb
Compare
@alundgard Done and deployed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a test for the presence of the buttons and their aria labels in the spec for the MediaWrapperComponent.
f291cbb
to
1f1ff14
Compare
1f1ff14
to
0a42aa5
Compare
closes #2342