DEV Community

Cover image for dev.to Repo Recap of the Past Week
Andy Zhao (he/him) for The DEV Team

Posted on

13 8

dev.to Repo Recap of the Past Week

Hope you all had a good holiday last week for those who celebrated! This edition will be covering November 20 to November 27.

Features

Bug Fixes / Other Contributions

  • @moriczgergo updated our documentation with how to add series to your front matter. Thanks @moriczgergo!

  • @lightalloy removed database.yml and added it to our .gitignore. If you've previously contributed, you might need to copy over the new config/database.yml.sample into a new config/database.yml. Thanks Anna!

  • @ben added some beginnings of pagination functionality to the notifications page. This pattern will let us add true pagination later on.

  • @lightalloy refactored how our comments rendered, and there are now less SQL queries being called. Thanks again, Anna!

  • @jess refactored one of the ways we handle spam accounts. The PR has a great service object name πŸ‘Œ

  • @mariocsee updated some documentation regarding our API keys. You no longer need to set up Stream API keys for basic development. Thanks, Mario!

New Issues / Discussions

  • We have a small bug where the left end of the navbar is shortened a bit. Thanks @tristan957!

    The navbar width becomes messed up upon clicking on my profile picture #1160

    Describe the bug The overlay seems to be cutting into the navbar.

    image

    To Reproduce Steps to reproduce the behavior:

    1. Click profile picture

    Expected behavior Navbar to be above overlay.

    Desktop (please complete the following information):

    • OS: Solus (Linux)
    • Browser Firefox
    • Version 63.0.1
    </div>
    <div class="gh-btn-container"><a class="gh-btn" href="https://github.com/thepracticaldev/dev.to/issues/1160">View on GitHub</a></div>
    
    Enter fullscreen mode Exit fullscreen mode



  • The Runkit tag has a bug where it doesn't render in the comment preview. Thanks @antogarand!

    Runkit tag in comments - Broken #1163

    Describe the bug Runkit tags are not working in comments. Instead of a normal tag, they simply put the raw content into a code tag, which has bad formatting and no execution.

    To Reproduce Create a comment with a runkit tag Preview or publish it

    Actual behavior We get content in a code tag, without the formatting or execution runkit should provide us.

    Expected behavior We get a correct runkit tag

    Screenshots If applicable, add screenshots to help explain your problem. image image image

    Additional context Add any other context about the problem or helpful links here.


  • We have service workers that show a cool offline page, but we could brush up on caching pages.

    Feature request - cached content for offline use #1171

    Is your feature request related to a problem? Please describe. I love using dev.to whenever I am travelling but because I am in India and internet connection is not reliable I end up seeing the offline page with the drawing canvas which is cool but not helpful.

    Describe the solution you'd like Having a caching strategy so that user can see some of the articles when offline would be great.

    Additional context Dev.to is all about the community and knowledge sharing and I think if we can have access to some subset of that knowledge even when offline would be amazing


  • Sometimes duplicate posts are made. Perhaps we could add a buffer to prevent that? More details in the issue. Thanks, @rdumais!

    Feature Request - Duplicate Posts #1170

    Is your feature request related to a problem? Please describe. I have seen authors accidentally double post a topic on multiple occasions. I am not sure where the problem is stemming from.

    Describe the solution you'd like I believe the Dev.to team should implement some kind of buffer where authors are unable to post a second topic until x amount of minutes have passed since the first post (1-2 minutes).

    Describe alternatives you've considered I cannot really think of any alternatives. Maybe make it so topics cannot have identical names within x amount of minutes of posting?

    Additional context Here is an example I've seen with two different links:

    https://dev.to/jeremyksutter/ultimate-guide-to-selling-your-product-online-25me https://dev.to/jeremyksutter/ultimate-guide-to-selling-your-product-online-212d


  • It'd be great to have a history on dev.to of all the posts you've read on dev.to. Feel free to add the discussion in the issue. Thanks, @yafkari!

    add a history of read articles #1173

    Is your feature request related to a problem? Please describe.

    I'm always frustrated when I read an article the morning and I can't find it again the evening..

    Describe the solution you'd like

    I thought it would be cool, if there is a history of read articles

    Additional context

    That's all ^^

    PS: Sorry for my bad english and this short issue !


  • It would also be cool to be able to subscribe to a series of posts and receive notifications when a new post of that series is released. Thanks, @sturzl!

    Publish/follow a series of articles #1172

    Many authors are posting series of articles. I would like to see notifications for articles in a series without having to follow everything from that author or the related tags.

    E.g. https://dev.to/shikaan/design-patterns-in-web-development---2-memento-253j


  • We have a bit of an edge case where we show text in a post's sidebar that probably doesn't make much sense. More details in the issue. Thanks, @david_j_eddy!

    Replace 'More from @...' #1202

    Is your feature request related to a problem? Please describe. No problem , verbiage update when viewing an article when user is the author.

    Describe the solution you'd like Either remove the 'More from @...' when user is the author or rephrase to something in the vein of 'Other posts by you.'

    Describe alternatives you've considered Not a critical issue, more a readability / consistency update.

    Additional context dev to_verbiage_update

    Thank you; keep up the amazing effort!


  • Andrew wrote up a great issue on how the save buttons could have better contrast. Check it out below. Thanks @link2twenty!

    Save button's contrast #1204

    Describe the bug Currently, the article save buttons are calculated at #4a68ff and their text is #ffffff this leads to a contrast of 4.45 generally anything below contrast 7 is frowned upon.

    This is calculated in the scss file here https://github.com/thepracticaldev/dev.to/blob/master/app/assets/stylesheets/articles.scss background: darken($purple, 26%);

    Side note: if you're going to use darken and lighten it's generally best to avoid absolutes (ff/00) as they're not really affected.

    Expected behavior Ideally if we could boost the contrast to above 7 that would be good for accessability. I've done some tests and changing the darken to 38% (#0d35ff) would have a contrast of 7.07 and changing the hover to 50% (#0022cf) would allow the affect to remain about the same.

    Screenshots image Left is with the change, right is without Both top articles have the hover attribute.

    Additional context I would have just gone ahead and submitted a pull request but I thought this would be a better way to do it. Also, if the change is accepted, it would make a good first pull request.


  • That's it for this edition. Feel free to share your thoughts on any of the issues.

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (3)

Collapse
 
andy profile image
Andy Zhao (he/him) β€’
Collapse
 
philnash profile image
Phil Nash β€’

W00t! Glad to get my first contribution to the platform done, even if it's only a small one. This will hopefully be the first of many!

Collapse
 
david_j_eddy profile image
David J Eddy β€’

No problem. I am loving the dev.to team, community, and interaction. If for no other reason, dev.to might be why I pick up Ruby. :)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay