Coder Social home page Coder Social logo

Comments (6)

CrajyB avatar CrajyB commented on July 22, 2024

Ok did some commit digging.

Upto this commit (HEAD~2) all works fine.

  • d99c437 (HEAD -> main) Added video embed (now that GH supports it)

Yep its the commit tagged v2024.05.15 that introduced the bug.

I git reset HEAD~2 and then cherry-pick 1cb9d37 and all is working.

So skipping commit ae64731 (tag: v2024.05.15) fixed it for me but now what else did this introduce! There are so many files changed in this commit that it will take me time to narrow it down to exactly what removal or addition of code did it.

For now I'm tired, its late and I'm calling it as I've got it working they way it was previously. Will see if I can make some time to dig some more.

from firefoxsidebar.

CrajyB avatar CrajyB commented on July 22, 2024

Nope its more than then extensions/sidebar.css file. Checking out that file 1 back does bring the behaviour back but the formatting of the side bar is then messed up.. sigh.

Its going to take some serious rework on v2024.05.15 to unwind this. I think it would be better if @drannex42 took a look as the author of this commit.

Love the work done, and much appreciated!

from firefoxsidebar.

CrajyB avatar CrajyB commented on July 22, 2024

Ok I couldn't let it go, I moved to head and then reset the extensions/sidebar.css file to one commit back (the one before v2024.05.15) and it works as it should now.

So the issue is within all the lines of clean up that were done. At least I was able to confirm the commit and the file to which the changes were made.

from firefoxsidebar.

CrajyB avatar CrajyB commented on July 22, 2024

Ok I fixed it.

Sidebar.css:39 #main-window[sizemode="fullscreen"] #sidebar-box{ --uc-sidebar-width: 1px; }

This was added as a new feature to specifically hide the sidebar (or more specifically reduce it to 1px). Commenting this out fixes the regression but as I suspected this looks like to be intended behaviour.

My question to @drannex42, can this be a configurable option? For now I can just comment out this line in my personal copy but as I do not "own" this repo, I didn't want to push up a pull-request without asking and discussing if there is an option to make this configurable.

from firefoxsidebar.

drannex42 avatar drannex42 commented on July 22, 2024

Absolutely. I'll try to find a way to make it work.

The need to reduce to 1px is to allow the sidebar to be used in fullscreen mode, but still "hide" the sidebat, but wanting to see the icons while in full screen mode makes sense to be an enabled option!

I'll add it as an option, should be an easy one! Might also give me an excuse to move a good bit of those options out of the CSS and into about:config.

I'll keep this issue open until a new release is posted. Thanks for the detective work on this!

from firefoxsidebar.

CrajyB avatar CrajyB commented on July 22, 2024

Np. I was wondering, do you think its worth investigating how to make a FF addon with all this work? It would reach more users and really bring a community of users to leveraging this code. I understand there might still be some manual steps like importing the settings into Sidebery, but barring that... maybe something to think about?

The FF addon would allow you to have settings to enable for it much like we were discussing.

I could look to help also if this is a direction we would like to explore.

from firefoxsidebar.

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.