dev.to Repo Recap from the Past Two Weeks
Tags: changelog, meta, opensource
Published: 2019-02-08 22:41:34

---
title: dev.to Repo Recap from the Past Two Weeks
published: true
description: "A weekly post recapping what's happened in our repo."
cover_image: https://thepracticaldev.s3.amazonaws.com/i/hc0yatvqwjpg1p592lim.gif
tags: changelog, meta, opensource
---

Welcome back to another Repo Recap. Normally, we cover the previous week's contributions [to dev.to's repository](https://github.com/thepracticaldev/dev.to) and [the iOS repo](https://github.com/thepracticaldev/dev-ios). This week, we'll be covering January 20 to February 2.

# Features

- Thanks to [@rhymes](https://dev.to/rhymes) for reordering the [followed tags page in your dashboard](https://dev.to/dashboard/following) to be sorted by descending weight, popularity, and ascending name (in that order).
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1583)

- Thanks to [@kyleboe](https://dev.to/kyleboe), you can now embed Spotify into your posts and comments! 
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1573)
Here's an example: 
```
{% spotify spotify:episode:5V4XZWqZQJvbddd31n56mf %}
```

{% spotify spotify:episode:5V4XZWqZQJvbddd31n56mf %}

- Thanks to [@davefollett](https://dev.to/davefollett) for adding the `initialpath` and `module` options to the CodeSandbox embed! Check out the PR for more details.
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1545)

- You can now mute notifications for your own articles and comment threads you've commented on! More details in the changelog post and PR:
  - [Mute Notifications for Article PR](https://github.com/thepracticaldev/dev.to/pull/1594)
  - [Mute Notifications for Comments PR](https://github.com/thepracticaldev/dev.to/pull/1636)

{% link https://dev.to/devteam/new-feature-mute-notifications-70m %}

- [@ben](https://dev.to/ben) added the writing streak badge, as well as the algorithm to reward you automatically! Check out the PR and the changelog post below. Badge thanks to [@liana](https://dev.to/liana)!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1670)

{% link https://dev.to/devteam/new-badge-coming-soon-4-week-streak-26db %}

- Thanks to [@link2twenty](https://dev.to/link2twenty) refactored the StackBlitz Liquid tag, and added the ability to choose a default view along the way!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1649)

- Thanks to [@juanmanuelramallo](https://dev.to/juanmanuelramallo) for adding the ability to convert `:colon:` emojis in Markdown!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1653)

- We launched a (closed) beta version of comment templates for post! This will allow you to have a post with a prefilled comment template for people to use. Thanks to [@aspittel](https://dev.to/aspittel) and [@ben](https://dev.to/ben) for getting it out!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1692)

- Thanks to [@rhymes](https://dev.to/rhymes) for activating the `eslint-plugin-jsx-a11y`! This will lint a11y issues on the fly for us.
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1688)

# Bug Fixes / Other Contributions

- [@link2twenty](https://dev.to/link2twenty) continues the work of adding CSS variables for the dark theme:
  - [Add --theme-container-color](https://github.com/thepracticaldev/dev.to/pull/1706)

- Thanks to [@lightalloy](https://dev.to/lightalloy) for refactoring the `stories view`, which is the main way we handle most pages. 
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1584)

- [@ben](https://dev.to/ben) made several improvements to our caching logic. Check out the PRs below if you're interested in how we improve our performance:
  - [Modify cache keys which have low hit rate](https://github.com/thepracticaldev/dev.to/pull/1596)
  - [Cache collection so it doesn't have to be re-fetched](https://github.com/thepracticaldev/dev.to/pull/1576)
  - [Remove article collection area caching](https://github.com/thepracticaldev/dev.to/pull/1597)
  - [Add a couple cache optimizations and query guards](https://github.com/thepracticaldev/dev.to/pull/1598)
  - [Modify side stickies and comment.rb caching/touching](https://github.com/thepracticaldev/dev.to/pull/1599)
  - [Add additional home page caching](https://github.com/thepracticaldev/dev.to/pull/1610)
  - [Modify sidebar cache](https://github.com/thepracticaldev/dev.to/pull/1675)
  - [Modify cache keys for well-trafficked views](https://github.com/thepracticaldev/dev.to/pull/1681)
  - [Modify cache key for article-sticky-nav-articles](https://github.com/thepracticaldev/dev.to/pull/1683)
  - [Modify cache on home page](https://github.com/thepracticaldev/dev.to/pull/1695)

- [@kenbellows](https://dev.to/kenbellows) fixed an issue where the default tab of the CodePen Liquid tag was not parsing properly. Thanks, Ken!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1609)

- [@archiet](https://dev.to/archiet) added two Mastodon instances to the allowed list. Thanks @archiet!
  - [Add "bsd.network"](https://github.com/thepracticaldev/dev.to/pull/1611)
  - [Add "101010.pl"](https://github.com/thepracticaldev/dev.to/pull/1612)

- [@aspittel](https://dev.to/aspittel) fixed a bug with typing in the v2 editor's tag field. Thanks, Ali!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1614)

- [@mariocsee](https://dev.to/mariocsee) fixed a small CSS issue with large screens. Thanks. Mario!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1523)

- [@vinistock](https://dev.to/vinistock) upgrade Rubocop, our Ruby linter and style guide gem, and fixed a few offenses along the way. Thanks @vinistock!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1635)

- [@link2twenty](https://dev.to/link2twenty) refactored the `initializeUserSidebar` file. Thanks, Andrew!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1640)

- [@mariocsee](https://dev.to/mariocsee) fixed an issue in Connect where the width of the containers would jump. Thanks, Mario!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1652)

- [@lightalloy](https://dev.to/lightalloy) also added `erb_lint` to our pre-commit hooks to check for `.html.erb` (HTML with embedded Ruby) template files. Thanks, Anna!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1657)

- Code spans now work properly! You should be able to use double backticks to render a single back tick code example. For example: ``a JS template literal: `cool ${beanFlavor}` ``
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1678)

- [@gregbrimble](https://dev.to/gregbrimble) corrected the front end validations for profile fields to match our back end max length validation. Thanks, Greg!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1691)

- [@rhymes](https://dev.to/rhymes) fixed a small bug with comment templates where the notorious `undefined` would show up. Thanks, @rhymes!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1700)

- [@nickytonline](https://dev.to/nickytonline) upgraded our husky config. Thanks, Nick!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1686)



- We've updated our issue level to be more intuitive. This is mostly internal vocabulary, but feel free to check it out:
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1690)

- [@seanmfox](https://dev.to/seanmfox) corrected some grammar and punctuation in 'Getting API Keys for Dev Environment' documentation. Thanks, Sean!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1708)

- [@rhymes](https://dev.to/rhymes) added default locale to i18n fallbacks. Thanks, @rhymes!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1714)


- [@aligoren](https://dev.to/aligoren) fixed an issue where long lines don't wrap bug in a person's profile. Thanks, @aligoren!
  - [Link to PR](https://github.com/thepracticaldev/dev.to/pull/1715)

- [@jess](https://dev.to/jess) updated a bunch of our internal tooling. Thanks, Jess!
  - [Fix Banisher Updates](https://github.com/thepracticaldev/dev.to/pull/1704)
  - [Adds internal/articles input to update author](https://github.com/thepracticaldev/dev.to/pull/1628)
  - [Delete User Functionality](https://github.com/thepracticaldev/dev.to/pull/1615)
  - [Unsubscribe deleted/banished user from Mailchimp newsletters](https://github.com/thepracticaldev/dev.to/pull/1644)
  - [Fix conditional so super admins can ban older spammers](https://github.com/thepracticaldev/dev.to/pull/1651)
  - [Fix /admin tag moderator update](https://github.com/thepracticaldev/dev.to/pull/1676)
  - [Clear profile cache on banish](https://github.com/thepracticaldev/dev.to/pull/1702)

# New Issues and Discussions

- [@prathaprathod](https://dev.to/prathaprathod) requested a feature for logging in with Google via OAuth. Thanks @parthaprathod!

{% github https://github.com/thepracticaldev/dev.to/issues/1595 %}

- [@ben](https://dev.to/ben) raised the issue of reducing the number of queries for comments on article show page.

{% github https://github.com/thepracticaldev/dev.to/issues/1606 %}

- [@zcdunn](https://dev.to/zcdunn) raised the discussion of whether or not the Mastodon label is correct or not. Feel free to chime in:

{% github https://github.com/thepracticaldev/dev.to/issues/1607 %}

- [@ben](https://dev.to/ben) requested a feature where we support CodePen Prefill Embeds. Details in the issue:

{% github https://github.com/thepracticaldev/dev.to/issues/1620 %}

- [@jess](https://dev.to/jess) made note of some Delayed Job errors we've been having:

{% github https://github.com/thepracticaldev/dev.to/issues/1621 %}

- [@sabatesduran](https://dev.to/sabatesduran) requested a feature where we have a reading position indicator. Thanks, @sabatesduran!

{% github https://github.com/thepracticaldev/dev.to/issues/1626 %}

- [@rhymes](https://dev.to/rhymes) noted that deleted posts still appear in the reading list. Thanks, @rhymes!

{% github https://github.com/thepracticaldev/dev.to/issues/1641 %}

- [@ben](https://dev.to/ben) requested a feature search term autocomplete. There's a cool implementation by one person in the comments; check it out below:

{% github https://github.com/thepracticaldev/dev.to/issues/1643 %}

- [@ben](https://dev.to/ben) detailed a feature where we send positive notifications when you hit a new milestone:
{% github https://github.com/thepracticaldev/dev.to/issues/1647 %}

- [@itsjzt](https://dev.to/itsjzt) requested a "Share on WhatsApp" button for posts. Thanks, @itsjzt!

{% github https://github.com/thepracticaldev/dev.to/issues/1654 %}

- [@pranayairan](https://dev.to/pranayairan) brought up the point that the `/new` post default template can be improved. Thanks, @pranayairan!

{% github https://github.com/thepracticaldev/dev.to/issues/1655 %}

- [@thomasbnt](https://dev.to/thomasbnt) reported a bug when hovering over the "CTA" button in a post's right-hand sidebar. Thanks, @thomasbnt!

{% github https://github.com/thepracticaldev/dev.to/issues/1672 %}

- [@jess](https://dev.to/jess) requested a feature where we add the tag moderators to sidebar of a tag page.

{% github https://github.com/thepracticaldev/dev.to/issues/1677 %}

- [@rasmusvhansen](https://dev.to/rasmusvhansen) reported a bug where posts with multiple embedded gists have the order of the gists mixed up. Thanks, @rasmusvhansen!

{% github https://github.com/thepracticaldev/dev.to/issues/1679 %}

- [@jahirfiquitiva](https://dev.to/jahirfiquitiva) raised an issue where the accessibility of code snippets could be improved, specifically the text size. Thanks, @jahirfiquitiva!

{% github https://github.com/thepracticaldev/dev.to/issues/1685 %}

- [@giorgosk](https://dev.to/giorgosk) reported an issue where a post might appears as a related post in the 4-post-related area. Thanks, @giorgosk!

{% github https://github.com/thepracticaldev/dev.to/issues/1697 %}

- [@deyshin](https://dev.to/deyshin) raised the discussion that the "Following / Not Following" status icon is confusing. Thanks, @deyshin!

{% github https://github.com/thepracticaldev/dev.to/issues/1701 %}

- [@aracki](https://dev.to/aracki) raised the discussion of how to improve dev.to's SEO. Thanks, @aracki!

{% github https://github.com/thepracticaldev/dev.to/issues/1707 %}

- [@aligoren](https://dev.to/aligoren) raised the discussion of whether or not  external links should open in new tab. Thanks, @aligoren!

{% github https://github.com/thepracticaldev/dev.to/issues/1716 %}

That's it for the past two weeks! Thanks for reading!