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

Renamed rail to sidebar in Layout. #197

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

AlexSkrypnyk
Copy link
Contributor

@AlexSkrypnyk AlexSkrypnyk commented Jun 7, 2024

We introduced "rail" within Layout component in 1.8.

During several discussions with users, the "rails" was not understood as clearly as a "sidebar".

A quick search on Drupal.org (as an example) has shown 23k results for "sidebar" and 800 results for "rail". This is an indication that "sidebar" is a commonly used term.

Below is an additional analysis:

In web design, the terms "sidebar" and "rail" are used to describe vertical sections that typically flank the main content area, but they have different connotations and uses.

The terms "sidebar" and "rail" can have different connotations and uses, especially in web design and layout contexts.

Sidebar

  • Definition: A sidebar is a vertical column that is positioned to the left or right of the main content area on a webpage. It often contains additional information, navigation links, advertisements, or other supplementary content.
  • Common Usage: Sidebars are used in blogs, news sites, and various web applications to provide secondary content that complements the main content area. They are a staple in many traditional web designs.
  • Position: Typically found on either the left or right side of the main content.
  • Examples: Blog sidebars with categories, recent posts, advertisements, or social media links.

Rail

  • Definition: A rail is a term used similarly to a sidebar but can have a slightly different context, often implying a slimmer, more streamlined area adjacent to the main content. The term is sometimes used to convey a more modern or minimalist design.
  • Common Usage: Rails are often used in web applications or modern websites where design simplicity and streamlined content presentation are prioritized. They might contain secondary navigation, promotional content, or calls to action.
  • Position: Also positioned alongside the main content, either on the left or right, but can sometimes suggest a narrower or less obtrusive design compared to a sidebar.
  • Examples: Promotional rails with special offers, slim navigation menus, or social media integration in modern web designs.

Differences

  • Connotation: "Sidebar" often implies a more traditional, content-rich area, while "rail" suggests a slimmer, more modern design.
  • Usage Context: Sidebars are common in traditional websites and blogs, whereas rails are more often used in contemporary, minimalist web designs.
  • Design: Rails may occupy less space and have a more streamlined look compared to sidebars, which can be wider and more content-heavy.

This PR renames rail to sidebar.

We also want to reserve rail for actual Navigation rail that we can introduce in the future.

Copy link

github-actions bot commented Jun 7, 2024

@github-actions github-actions bot temporarily deployed to pull request June 7, 2024 22:14 Inactive
@fionamorrison23 fionamorrison23 added this to the 1.8 milestone Jun 10, 2024
@AlexSkrypnyk AlexSkrypnyk merged commit 2ddb7c2 into main Jun 11, 2024
6 checks passed
@AlexSkrypnyk AlexSkrypnyk deleted the feature/rename-layout-rails branch June 11, 2024 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants