Giter Club home page Giter Club logo

Comments (1)

oliver-sanders avatar oliver-sanders commented on September 13, 2024

Checkboxes are a simple solution, however, worth noting there is a more advanced solution that would scale better with view requirements in the long run.

The Graph and Log views make use of the same Toolbar component. The idea was that we would get all views using the same toolbar component. This will give the UI a more consistent interface and facilitate sharing common widgets (e.g. task filtering). This toolbar could then be used as an interface for users to set their preferences, both within the view and on the settings page.

I.E., take the Graph View toolbar, strip out any actions that use callbacks (fire and forget) rather than actions (save / modify settings), then display this on the settings page.

This way the settings pages are auto-generated from the toolbar configuration and users can review/change their default preferences using the same interface they use to modify them within the view.

Another way to achieve the same thing is to have a save button within the view toolbar to allow saving the current view configuration as the default.

Some related comments on #662

from cylc-ui.

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.