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

Remove -c -o -h layer prefixes #644

Merged
merged 6 commits into from
Apr 13, 2018
Merged

Remove -c -o -h layer prefixes #644

merged 6 commits into from
Apr 13, 2018

Conversation

kr8n3r
Copy link

@kr8n3r kr8n3r commented Apr 11, 2018

In user research and in feedback from Private Beta partners we learned that users didn't really understand what -o, -c and -h prefixes stand for or why they're useful.

They also introduced additional cognitive load when composing classes, having to remember which suffix the classname contains.

As a result of this, we're removing these prefixes from our codebase.

This PR:

  • Removes relevant prefixes from src/ files
  • Removes references in documentation
  • Updates internal app
  • Updates changelog

Trello ticket: https://trello.com/c/vAitHnu7/863-2-remove-object-component-and-helper-layer-prefixes

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-644 April 11, 2018 14:44 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-644 April 11, 2018 15:02 Inactive
Copy link
Contributor

@36degrees 36degrees left a comment

Choose a reason for hiding this comment

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

Blocking this being merged until after 0.0.27 has been released.

@kr8n3r kr8n3r force-pushed the remove-c-o-h-prefixes branch from 4e59fda to c60db94 Compare April 11, 2018 15:47
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-644 April 11, 2018 15:47 Inactive
@kr8n3r kr8n3r force-pushed the remove-c-o-h-prefixes branch from c60db94 to 51369f3 Compare April 11, 2018 15:55
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-644 April 11, 2018 15:55 Inactive
@kr8n3r kr8n3r changed the title [WIP] Remove -c -o -h layer prefixes Remove -c -o -h layer prefixes Apr 11, 2018
@kr8n3r kr8n3r force-pushed the remove-c-o-h-prefixes branch from 51369f3 to 6f536c2 Compare April 11, 2018 16:04
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-644 April 11, 2018 16:05 Inactive
@kr8n3r kr8n3r force-pushed the remove-c-o-h-prefixes branch from 6f536c2 to 3f159be Compare April 11, 2018 16:12
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-644 April 11, 2018 16:12 Inactive
@kr8n3r kr8n3r force-pushed the remove-c-o-h-prefixes branch from 3f159be to 4a48067 Compare April 12, 2018 07:54
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-644 April 12, 2018 07:54 Inactive
@kr8n3r kr8n3r force-pushed the remove-c-o-h-prefixes branch from 4a48067 to 1e01c5e Compare April 12, 2018 08:01
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-644 April 12, 2018 08:02 Inactive
@kr8n3r kr8n3r force-pushed the remove-c-o-h-prefixes branch from 1e01c5e to ea04a56 Compare April 12, 2018 08:44
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-644 April 12, 2018 08:44 Inactive
@kr8n3r kr8n3r force-pushed the remove-c-o-h-prefixes branch from ea04a56 to 116a543 Compare April 12, 2018 12:46
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-644 April 12, 2018 12:46 Inactive
@NickColley NickColley dismissed 36degrees’s stale review April 12, 2018 15:21

0.0.27 is released

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-644 April 12, 2018 15:28 Inactive
@hannalaakso
Copy link
Member

docs/component-api.md and docs/component.md still refer to govuk-c-button so those refs should be changed before merging.

@kr8n3r kr8n3r force-pushed the remove-c-o-h-prefixes branch from c1dd4d9 to bc41a6a Compare April 13, 2018 08:25
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-644 April 13, 2018 08:26 Inactive
Jani Kraner added 2 commits April 13, 2018 09:30
In user research and in feedback from Private Beta partners we learned
that users didn't really understand what -o, -c and -h prefixes stand
for or why they're useful.

They also introduced additional cognitive load when composing classes,
having to remember which suffix the classname contains.

As a result of this, we're removing these prefixes from our codebase.
@kr8n3r kr8n3r force-pushed the remove-c-o-h-prefixes branch from bc41a6a to 778d150 Compare April 13, 2018 08:30
@kr8n3r
Copy link
Author

kr8n3r commented Apr 13, 2018

good spot. updated

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.

5 participants