Giter Site home page Giter Site logo

Comments (8)

jgrund avatar jgrund commented on July 20, 2024

Should the store contain a stream or can we pass state directly into the component?

from gui.

jgrund avatar jgrund commented on July 20, 2024

Also should account for z-indexing somehow.

from gui.

johnsonw avatar johnsonw commented on July 20, 2024

Regarding the indexing, I wonder if it's needed. Let's say I have this:

<body>
   <ConfirmActionModal />
   <CommandModal />
   <StepsModal />
</body>

I think the order is important here. While it's possible to have more than one modal open, would we ever have the command modal on top of the steps modal? If I remember correctly, the steps would always display on top of the command. I may not be accounting for a different modal though in which case my logic would be flawed. What do you think?

from gui.

jgrund avatar jgrund commented on July 20, 2024

yeah, I think that makes sense.

from gui.

johnsonw avatar johnsonw commented on July 20, 2024

Short demo demonstrating the following:

  1. Action dropdown
  2. Command modal
  3. Step modal
  4. New Add Server modal

add-server-modal-demo.mp4.zip

from gui.

jgrund avatar jgrund commented on July 20, 2024

Nice changes.

A few comments:

  1. When we start to debounce, can we move the spinner inside the search box (right hand side).
  2. Wait for results to come back before showing the cluster status header and inner component.
  3. When we have grey boxes, do we need to show the popover when they are clicked? They will have to be green since that's they only way they were added.
  4. Perhaps do a well for the cluster status section and add more top + bottom padding to differentiate it from the rest of the modal.
  5. Instead of having separate modals for each step in the add server process, use a single modal and switch its inner state being rendered depending on the event send through the store.
  6. You are going to want an interstitial when moving between steps to indicate the process moving forward.
  7. If an accordion element is open, we should have the toggle chevron facing downward.
  8. Icons next to job links need a bit of right margin + colors applied.
  9. Did we use to have a way to skip the command modal appearing (a toggle item in the proceed button).
  10. Wait for the profile statuses to be resolved before displaying the server_profile step.

from gui.

johnsonw avatar johnsonw commented on July 20, 2024

Regarding item 3, a host could be registered but it might be offline, which would show that certain items are not valid. That being said, I don't think it buys us much, so I will just remove the popover on the gray boxes.

from gui.

jgrund avatar jgrund commented on July 20, 2024

Closing. command modal is an inferno component.

from gui.

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.