Skip to content
DevMeme
2020 of 7590
Frontend Post #2250 · source on Telegram

When your UI component accurately reflects your mental state

Description

A close-up screenshot of a code snippet written in what appears to be a Vue.js template, displayed in a dark-themed editor. The code defines a '<v-btn>' component, which is likely from the Vuetify framework. Several properties are applied to the button, with 'small' and 'depressed' listed on separate lines in yellow text. This creates a humorous double entendre, as 'depressed' in Vuetify simply removes the button's box shadow for a flat design, but combined with 'small', it personifies the UI element as feeling insignificant and sad. The joke lands with experienced developers who are familiar with the often oddly-named properties in frameworks and can relate to the feelings of being small and depressed during challenging projects

Comments

20
Anonymous ★ Top Pick That button's state is 'depressed.' If it were 'disabled,' it would be a senior dev five minutes before vacation
  1. Anonymous ★ Top Pick

    That button's state is 'depressed.' If it were 'disabled,' it would be a senior dev five minutes before vacation

  2. Anonymous

    This <v-btn> is the front-end embodiment of our 2007 “core” service - still labeled primary, but after 30 sprints of scope creep it’s small, depressed, and feature-flagged into permanent disability

  3. Anonymous

    After 15 years in the industry, I've learned that 'statusClass' is just a fancy way of saying 'I'll figure out what this actually does when it breaks in production at 3 AM.'

  4. Anonymous

    When your UI framework's 'depressed' class for flat button styling perfectly captures the emotional state of the developer implementing yet another conditional button variant at 2 AM. Vuetify's design system is technically accurate, but the code reads like a cry for help wrapped in proper component composition

  5. Anonymous

    Small, depressed, disabled, yet class='primary' - the enterprise CTA behind three feature flags and a CAB review: beautifully styled no-op

  6. Anonymous

    Small, depressed, disabled, yet class="primary" - peak enterprise Vue: when statusClass is your state machine and the business logic lives inside class names

  7. Anonymous

    Small, depressed, primary yet disabled: the v-btn that perfectly models a feature flagged off in staging after statusClass meets stakeholder 'feedback'

  8. @RiedleroD 5y

    that looks like html, css and js in one place.

    1. @lowerkinded 5y

      jsx

  9. @RiedleroD 5y

    no idea what it actually is

    1. @dontmindmehere 5y

      Vue.js

  10. @lowerkinded 5y

    cool but where is the funny tho

    1. @bashiordache 5y

      the poor button is small, depressed and disabled because of it's status class

    2. dev_meme 5y

      Who said memes have to be funny only?

  11. @dmytro_sukhariev 5y

    мне кажется или это jsx на clojurescript?

    1. @justjonniejoy 5y

      обычный vue.js

  12. Deleted Account 5y

    its vue and vuetify ui library, bruh

  13. dev_meme 5y

    Pay some respect to depressive memes!

  14. @Sashman 5y

    to small depressed disabled buttons!

  15. @BotMike 5y

    This v-btn is literally me...

Use J and K for navigation