Skip to content

OTWO-7658 Create and implement Design for Tools page#1902

Merged
Niharika1117 merged 3 commits into
OTWO-7546from
OTWO-7658
May 27, 2026
Merged

OTWO-7658 Create and implement Design for Tools page#1902
Niharika1117 merged 3 commits into
OTWO-7546from
OTWO-7658

Conversation

@bd-vaibhav
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR redesigns the About → Tools page with a new card/grid-based layout and a comprehensive new stylesheet to match the updated design.

Changes:

  • Replaced the existing Bootstrap column-based Tools page markup with a new “cards + two-column” layout.
  • Added extensive new tools.sass styling for the redesigned Tools page, including light/dark mode variants.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
app/views/abouts/tools.html.haml Rebuilds the Tools page structure into tool “cards”, a language cloud section, and an additional info sidebar.
app/assets/stylesheets/tools.sass Adds the new styling system for the redesigned Tools page (layout, cards, language cloud, CTA, dark mode).
Comments suppressed due to low confidence (2)

app/assets/stylesheets/tools.sass:171

  • tools.sass introduces a global .stat-item selector, but .stat-item is widely used elsewhere (e.g., organizations and projects UIs). This can unintentionally change typography/colors across the site since tools.sass is globally imported. Please scope .stat-item (and its nested span rules) under .tools-page or rename it to a tools-specific class to prevent CSS leakage.
.stat-item
  display: flex
  align-items: center
  gap: 8px
  font-size: 14px

  span
    color: $gray-600

    html.dark &
      color: $gray-400

app/assets/stylesheets/tools.sass:333

  • tools.sass defines a global .section-title selector, but .section-title is used in multiple other views (explore, contributions, project pages). Since tools.sass is imported globally, this can override/shift headings outside the tools page. Please scope this selector under .tools-page (or rename it to a tools-specific class) to avoid cross-page styling regressions.
.section-title
  font-size: 24px
  font-weight: 600
  color: $gray-900
  margin-bottom: 8px

  html.dark &

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/views/abouts/tools.html.haml Outdated
Comment thread app/assets/stylesheets/tools.sass Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 10 comments.

Comment thread app/views/compares/_mobile_view.html.haml
Comment thread app/views/abouts/tools.html.haml
Comment thread app/views/abouts/tools.html.haml Outdated
Comment thread app/views/languages/compare.html.haml Outdated
Comment thread app/views/languages/compare.html.haml Outdated
Comment thread app/assets/stylesheets/languages.sass Outdated
Comment thread app/assets/stylesheets/compare.sass
Comment thread app/assets/stylesheets/compare.sass Outdated
Comment thread app/helpers/site_features_helper.rb Outdated
Comment thread app/assets/javascripts/language_dropdown.js
@Niharika1117 Niharika1117 merged commit 35d6e05 into OTWO-7546 May 27, 2026
1 check passed
@Niharika1117 Niharika1117 deleted the OTWO-7658 branch May 27, 2026 06:18
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.

3 participants