Git Product home page Git Product logo

masonry-vanilla's People

Contributors

abhayprasanna avatar gitmurf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

masonry-vanilla's Issues

only toggle between 2 sidebar modes?

is it possible to restrict toggling between sidebar modes only to two? (the first (1) and the second (2) modes with the same widths. So not changing the widths, only alternating between the height modes? )

And also keeping the sidebar width when pressing the button?

(1)
Screenshot 2021-02-27 at 01 44 31

(2)
Screenshot 2021-02-27 at 01 44 59

Min width of main window too large

I guess this is actually a roam issue, but I think it would fit nicely into the features of masonry. The flex-box width of the main roam view seems to be fixed to a minimum of 40% (on my monitor at least, don't know how those 40% are calculated).

image

This result in a lot of white space around the actual blocks in roam main. Maybe you can add resizing of the main window similarly to sidebar cards. Or somehow bypass the scaling restriction.

Sidebar width not correct on first opening

As I have demonstrated it in the video below, I have perfectly adjusted the sidebar options to my liking with 3 cases.
However, the sidebar width size is not respected on the first opening. Why could this be?

Screen.Recording.2021-02-28.at.01.51.53.mov

Ideal sidebar width and main window-right padding

As you can see from the video, as soon as I click the button to make sidebar full height, it does not hold the full width of it.

Screen.Recording.2021-02-27.at.01.25.15.mov

But ideal case is represented in the picture below: Is this possible to make that clicking the toggle sidebar window adjust the sidebar size like this?
And also make the right-padding of the main window smaller, without changing its size?

Manually adjusted: (Max possible without wrapping the main window)
Screenshot 2021-02-27 at 01 20 42

Ideal case with smaller right-padding:
Screenshot 2021-02-27 at 01 20 42 copy

🙏🏻 Thank you very much for these awesome stuff.

Is it possible to to collapse the pages in the sidebar only in one of the viewing modes?

Right now I have configured the js to use the sidebar in 3 modes, as in the video below.
I have made the height in the first mode very small so that it is for moving the pages around and getting an overview of the open pages.

My question is, would it be possible to make the pages collapse only on the first view so that they become clickable (like at the end of the video)? And expanded in the other 2 modes?

I find these 3 modes intuitive and if this could be done with js then it would be even more intuitive.

Screen.Recording.2021-02-28.at.22.14.28.mov

Did not see the page expansion bottom on the panel.

In the introduction, the last fourth bottom (the one changes the ratio between the main page and the sidebar) appears.
image

I tried to follow the installation procedure but I do not see this bottom.
The sidebar other pieces of the codes seems to work. I also have the optional JS code installed.
image

Is this bottom being overwritten by Roam's own expansion bottom?

Thanks in advance for your help.

Demos

Upload videos here as the Read Me page doesn't allow for MP4 to be embedded.

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.