GithubHelp home page GithubHelp logo

Comments (6)

webzunft avatar webzunft commented on August 24, 2024

@Spreeuw this was part of your contribution in 4582a2b. Can you remember why you added this check?

from edd-helpscout.

Spreeuw avatar Spreeuw commented on August 24, 2024

@webzunft looking at the blame view of the original code in the PR it seems to be an unintended inclusion of this line in the if-statement:

<a href="<?= $license['url']?>" target="_blank"><span class="icon-gear" style="font-size: 16px; margin-left: 4px;"></span></a>

I do remember we experimented with placing the gear icon after the license key but that didn't work out very well in the space HelpScout offered when there was also a license tier to be printed, and I think (but I can only guess since it's been so long) that this resulted in this configuration with the license tier and gear icon on one line and the key on the next.

That said, I guess that since for bundled licenses the gear icon is already printed after the license key too (source), it makes sense to do the same for non-bundled items, basically moving that gear line 3 lines down.

Just to double check: @Terminator-Barbapapa did you have any specific reason to put the gear after the tier (price_option) instead of the license key?

from edd-helpscout.

Terminator-Barbapapa avatar Terminator-Barbapapa commented on August 24, 2024

If I remember correctly we've placed the gear icon there because there was too little room next to the license key.

from edd-helpscout.

Spreeuw avatar Spreeuw commented on August 24, 2024

If I remember correctly we've placed the gear icon there because there was too little room next to the license key.

but there's even less room for it on the bundled items 😬 (where it is currently printed next to the license key already).

Perhaps it was a sequential change: at first everything was in one line (with the gear at the end) but that didn't fit nicely and then we move the last part (tier + gear) as a whole rather than reconsidering the position of the gear.

from edd-helpscout.

Terminator-Barbapapa avatar Terminator-Barbapapa commented on August 24, 2024

I definitely remember there was a room issue. 🙂
Could indeed be that everything in one line got too crowded and we moved the tier and gear.

from edd-helpscout.

webzunft avatar webzunft commented on August 24, 2024

Thanks to everyone involved!

from edd-helpscout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.