Code Monkey home page Code Monkey logo

Comments (10)

trustin avatar trustin commented on May 9, 2024

@delegacy, interested?

from armeria.

delegacy avatar delegacy commented on May 9, 2024

When a user clicks the link for structs on the debug page with the desktop version, show the documentation in a modal view. What do you think?

from armeria.

anuraaga avatar anuraaga commented on May 9, 2024

A modal would be better than the current behavior, but I think it'd be much better to be able to edit the form while viewing the definition. That's why a frame feels better to me.

from armeria.

trustin avatar trustin commented on May 9, 2024

Hover detail panel?

from armeria.

trustin avatar trustin commented on May 9, 2024

or.. maybe something like this: https://github.com/kjantzer/backbonejs-panel-view so that a user can navigate through the nested structs.

from armeria.

trustin avatar trustin commented on May 9, 2024

Demo: http://kjantzer.github.io/backbonejs-panel-view/

from armeria.

anuraaga avatar anuraaga commented on May 9, 2024

The panel looks good, though it creates a modal, so unless there's a better supported way in the API it might need these css hacks to allow editing the form while it's open.

.panel-overlay {
  display: none;
}

#_panel {
  pointer-events: none;
}

from armeria.

trustin avatar trustin commented on May 9, 2024

Didn't mean to use it as it is. Perhaps we could write something real simple rather than adding another dependency? :-)

from armeria.

anuraaga avatar anuraaga commented on May 9, 2024

Ah yeah - UI-wise I like it :)

from armeria.

delegacy avatar delegacy commented on May 9, 2024

Yes, The way using hovering has weakness when navigating nested structs. I like your idea of a dedicated collapsible area for those documentation.

from armeria.

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.