Giter Site home page Giter Site logo

Comments (10)

gillespi314 avatar gillespi314 commented on June 21, 2024 1

Here’s at least part of the frontend bug, I think, where the null value would be coerced to false when generating the dropdown options and cause the option to be disabled.

from fleet.

jacobshandling avatar jacobshandling commented on June 21, 2024 1

@georgekarrv @rachaelshaw how about in this case we don't disable the option, but add a tooltip to the effect of "This host may not actually be able to run scripts"?

from fleet.

jacobshandling avatar jacobshandling commented on June 21, 2024 1

Prototype for now:
Screenshot 2024-04-17 at 4 36 07 PM

from fleet.

jacobshandling avatar jacobshandling commented on June 21, 2024

@gillespi314 so null should be interpreted as scripts being enabled?

from fleet.

jacobshandling avatar jacobshandling commented on June 21, 2024

Looks like @getvictor saw this coming a week ago.

from fleet.

jacobshandling avatar jacobshandling commented on June 21, 2024

scripts_enabled == null means this agent is not an orbit agent, or this agent is version <=1.23.0 which is not collecting the scripts enabled info

@rachaelshaw I don't see anything in the Figma for these edge cases. How should the UI handle them?

from fleet.

georgekarrv avatar georgekarrv commented on June 21, 2024

^ need to continue to have our old logic as a fallback

from fleet.

gillespi314 avatar gillespi314 commented on June 21, 2024

@jacobshandling:

so null should be interpreted as scripts being enabled?

Based on this commit, I think so.

from fleet.

rachaelshaw avatar rachaelshaw commented on June 21, 2024

@jacobshandling discussed @ design review, and decided to just keep the options enabled as before when scripts_enabled == null, no tooltip.

We noticed that the tooltips for the disabled items are missing "and refetch host vitals" though (it was added later as a response to a concern Victor brought up, and the front-end may have been done already). Figma

from fleet.

fleet-release avatar fleet-release commented on June 21, 2024

Fleet's script can run,
Even when host orbits low.
Cloud city shines on.

from fleet.

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.