Giter Club home page Giter Club logo

Comments (11)

boldar99 avatar boldar99 commented on August 19, 2024 1

We could do something like that of VSCode.

Rewrites on the side with collapsable groups. We could also implement searching and scrolling.

image

from zxlive.

jvdwetering avatar jvdwetering commented on August 19, 2024

Hmm, I'm not sure I'm a fan of this idea. Wouldn't that make the sidebar very crowded? We have some nice real estate on top of the diagram, so why not use it?
Something I was considering for the top toolbar with the rewrites is to make it have different tabs so that the rewrites are grouped. So you would have a tab for the basic rewrites, but then also a tab for for instance the graph-theoretic rewrites (local complementation and pivoting), and another one for ZH-rewrites. The strategies can then also have their own tab.

from zxlive.

RazinShaikh avatar RazinShaikh commented on August 19, 2024

Using tabs sounds like a nice idea :)

from zxlive.

RazinShaikh avatar RazinShaikh commented on August 19, 2024

We should also allow the user to delete custom rewrites from the UI.

from zxlive.

jvdwetering avatar jvdwetering commented on August 19, 2024

I've now added the tabbed interface for different groups of rewrites.
image

from zxlive.

jvdwetering avatar jvdwetering commented on August 19, 2024

I think we could also add different tab names based on subfolders in the folder containing the custom rewrite rules. This would make sense if we expect people to be adding a lot of custom rewrite rules.

A design decision we want to consider is whether a rewrite rule can appear in multiple tabs. For instance, should Z-spider fusion only appear in Basic rules, or also in the ZXW rule set and the ZH rule set?

from zxlive.

RazinShaikh avatar RazinShaikh commented on August 19, 2024

Is it possible to add an option to change from horizontal tabs to vertical tabs? Most browsers support this. That would look a bit like Boldi's suggestion. I fell that horizontal list of rewrites is a bit inconvenient if you have a lot of custom rewrites because then you need to scroll horizontally.

from zxlive.

RazinShaikh avatar RazinShaikh commented on August 19, 2024

@jvdwetering can you also add these simplifications as a tab?

image

from zxlive.

jvdwetering avatar jvdwetering commented on August 19, 2024

Is it possible to add an option to change from horizontal tabs to vertical tabs? Most browsers support this. That would look a bit like Boldi's suggestion. I fell that horizontal list of rewrites is a bit inconvenient if you have a lot of custom rewrites because then you need to scroll horizontally.

I believe there is some built in Qt feature that allows you to switch being a horizontal layout and a vertical layout.

from zxlive.

RazinShaikh avatar RazinShaikh commented on August 19, 2024

I have added these simplification routines in this commit a3d6260

from zxlive.

RazinShaikh avatar RazinShaikh commented on August 19, 2024

The horizontal tabbed interface we have here does not scroll when the there are a lot of rewrites and it compresses the text on the button such that you can't read the full name of the rewrite.

from zxlive.

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.