Replace "Ideal Image Slider"
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- frontend
调研方向
从 assets/js/slider/iis-captions.js 开始,特别是 issue 中显示的 captionContent 行,并将其与复制的 Ideal Image Slider 实现进行比较。在网站上复现图片说明的行为,然后确定删除该行是否足够,还是需要更广泛地替换不受支持的 slider 代码;完成的标准是图片说明不再出现两次。
由索引模型根据 Issue 内容生成。
描述
Using the "alt" attribute for Ideal Image Slider leads to double captions (once a caption then the same text again) on images. The "title" attribute does not seem to work.
This comes from a code that is no longer maintained and was copied from this repo to iis-captions.js von assets/js/slider.
captionContent += '<div class="iis-caption-title">' + slide.getAttribute('title') + '</div>';
@opatut what should we do about it? Just commenting this line would fix the problem of duplicate titles, but using copy of a library that is unsupported since 2015 might involve other risks, too.
- 主要语言
- HTML
- 星标
- 29
- 派生
- 37
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openbikesensor/openbikesensor.github.io 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 42/100
-
难度 3/5 1-2 天 新手友好度 25/100
openbikesensor/openbikesensor.github.io#201 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 38/100
openbikesensor/openbikesensor.github.io#192 · 4 条评论 ·
查看 openbikesensor/openbikesensor.github.io 的全部 Issue
相似的 Issue
-
Contrib indemnité de départ à la retraite : faire le pont avec le simulateur sur la page générique未关闭P1
难度 2/5 1-3 小时 新手友好度 62/100
SocialGouv/code-du-travail-numerique#7561 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
schmayterling/hibi#245 ·
维护者通常 1 天内回复
-
After a failed save, the red error banner stays on every page until the app is reloaded可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭ai-driven-qa bug claude Minor
难度 2/5 1-3 小时 新手友好度 70/100
linagora/twake-contacts-frontend#241 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
apache/rocketmq-dashboard#6636 ·
维护者通常 3 天内回复