Made the title of vacancy clickable - #219
Conversation
🔍 Vulnerabilities of
|
| digest | sha256:44a1b953c3aa4466a11feca4843cc9081c4db02fea1419a8d70ee20b001dc03b |
| vulnerabilities | |
| platform | linux/amd64 |
| size | 291 MB |
| packages | 984 |
📦 Base Image node:23-alpine
| also known as |
|
| digest | sha256:b9d38d589853406ff0d4364f21969840c3e0397087643aef8eede40edbb6c7cd |
| vulnerabilities |
Description
| ||||||||||||
Description
| ||||||||||||
Description
| ||||||||||||
Description
| ||||||||||||
Description
|
Walkthrough
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
website/modules/asset/ui/src/scss/_vacancies.scss (1)
48-57: Make the new link visibly interactive (hover/focus) and inherit color for consistencyCurrently the title link looks identical to static text (no underline; same color on hover/focus). This hurts discoverability and keyboard accessibility. Recommend underlining on hover/focus and inheriting color from the container for consistency. Optionally add a visited style if desired by design.
Apply within this block:
a { - text-decoration: none; - color: $gray-500; + text-decoration: none; + color: inherit; - &:hover, - &:focus { - text-decoration: none; - color: $gray-500; - } + &:hover, + &:focus { + text-decoration: underline; + } + + &:visited { + color: inherit; + } }website/modules/vacancies-list-widget/views/widget.html (1)
7-13: Guard against missing links and reduce duplicate-destination ambiguity for screen readersNice addition with target="_blank" and rel="noopener noreferrer". Two follow-ups:
- Only render the anchor when a link exists to avoid empty/invalid hrefs.
- Since both the title and “read more” point to the same URL, consider adding context to the “read more” link for screen readers.
Apply within the title block:
<h3 class="vacancy-title"> - <a - href="{{ vacancy.link }}" - target="_blank" - rel="noopener noreferrer" - >{{ vacancy.title }}</a> + {% if vacancy.link %} + <a + href="{{ vacancy.link }}" + target="_blank" + rel="noopener noreferrer" + >{{ vacancy.title }}</a> + {% else %} + {{ vacancy.title }} + {% endif %} </h3>Additionally (outside the changed lines), consider adding an aria-label to the “read more” link so it’s unique and descriptive for assistive tech:
<a class="vacancy-link" href="{{ vacancy.link }}" target="_blank" rel="noopener noreferrer" aria-label="Read more about {{ vacancy.title }}" >read more</a>
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (2)
website/modules/asset/ui/src/scss/_vacancies.scss(1 hunks)website/modules/vacancies-list-widget/views/widget.html(1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: yuramax
PR: speedandfunction/website#121
File: website/modules/asset/ui/src/scss/_vacancies.scss:99-102
Timestamp: 2025-05-26T15:57:01.766Z
Learning: In website/modules/asset/ui/src/scss/_vacancies.scss, the margin shorthand (e.g., `margin: 0 0 8px`) in `.sf-vacancies_footer h2` is intentionally used to reset all margins and set specific bottom margins, rather than using `margin-bottom` alone. This approach ensures clean baseline styling that doesn't inherit unwanted margins, while still allowing the sibling selector `.vacancy-card + .sf-vacancies_footer h2` to add top margins when a vacancy card precedes the footer.
📚 Learning: 2025-05-26T15:57:01.766Z
Learnt from: yuramax
PR: speedandfunction/website#121
File: website/modules/asset/ui/src/scss/_vacancies.scss:99-102
Timestamp: 2025-05-26T15:57:01.766Z
Learning: In website/modules/asset/ui/src/scss/_vacancies.scss, the margin shorthand (e.g., `margin: 0 0 8px`) in `.sf-vacancies_footer h2` is intentionally used to reset all margins and set specific bottom margins, rather than using `margin-bottom` alone. This approach ensures clean baseline styling that doesn't inherit unwanted margins, while still allowing the sibling selector `.vacancy-card + .sf-vacancies_footer h2` to add top margins when a vacancy card precedes the footer.
Applied to files:
website/modules/asset/ui/src/scss/_vacancies.scss
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
- GitHub Check: unit-tests
- GitHub Check: e2e-tests
- GitHub Check: lint
- GitHub Check: security-scan
|



Made the title of vacancy clickable