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

add normalizeChannel helper for consistent indexing/display across clients #12

Merged
merged 1 commit into from
Nov 20, 2017

Conversation

mmckegg
Copy link
Contributor

@mmckegg mmckegg commented Nov 8, 2017

I'm using this function in quite a few places, and it should really be consistent across clients, so I've added it to ssb-ref.

  • enforce max length of 30
  • lowercase
  • no spaces

When merged, will be used in ssb-backlinks, patchwork, patchcore

Okay if I merge @clehner @dominictarr ?

…ients

- enforce max length of 30
- lowercase
- no spaces

When merged, will be used in ssb-backlinks, patchwork, patchcore
@mmckegg
Copy link
Contributor Author

mmckegg commented Nov 20, 2017

Since no one has objected to this being merged, I'm going to go ahead and do it!

@mmckegg mmckegg merged commit 2fc35f8 into master Nov 20, 2017
@christianbundy christianbundy deleted the add-normalize-channel branch August 25, 2020 20:28
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.

1 participant