Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: modernize js and add connect bar styles #208

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

sanoojes
Copy link

before:
image

after:
image

@ohitstom
Copy link
Member

make this an option in the settings menu, it's supposed to be long like that in the first place

name it something like "compact connect bar"

@sanoojes
Copy link
Author

Sure, I will add a setting for a 'Compact Connect Bar'!
Also, making the default 'Now Playing' connect bar appear like this will enhance the theme's aesthetic.

Thinking of doing something like this

  .main-connectBar-connectBar {
    --gap: 1rem;
    width: calc(94% - var(--gap, 0.5rem));
    margin-left: auto;
  }

image

@ohitstom
Copy link
Member

make any changes you think will enhance it! but for the extremely compact one make it a settings menu thing :) I'll be home tomorrow evening to check this out

@sanoojes
Copy link
Author

Sure, I'll add it soon. I'm not home right now.

@sanoojes
Copy link
Author

btw where is the connect bar located by default ?

@ohitstom
Copy link
Member

the same place it is currently in comfy except below the play bar, which obviously looks weird with comfy because we move it down and stretch it out! so we just put it on top instead

@sanoojes sanoojes changed the title feat: add styles for now playing connect bar feat: modernize js and add connect bar styles Sep 13, 2024
@sanoojes
Copy link
Author

I also added a toggle for a compact connect bar next to the "Remove Connect Bar" option. The default connect bar now has this style, which I believe looks better.

image

@ohitstom
Copy link
Member

looks good at face value, will test and merge these changes in a couple days!

@sanoojes
Copy link
Author

Great !

@sanoojes
Copy link
Author

ohh what a coincidence i was resolving the conflicts

@ohitstom
Copy link
Member

ohh what a coincidence i was resolving the conflicts

haha, in the process of testing the pr now will get back to you!

@sanoojes
Copy link
Author

sure !

@ohitstom
Copy link
Member

im not a super big fan of all the random formatting changes you have made, is there a reason why? i try to stick to the current prettier config we have in the repo - what have you run across all these files?

@ohitstom
Copy link
Member

the compact bar thing doesnt seem to work on Spotify for Windows (64 bit)
1.2.47.364.gf06e5cee
image

@sanoojes
Copy link
Author

i didn't test it on the newer versions i will check that out soon

@sanoojes
Copy link
Author

im not a super big fan of all the random formatting changes you have made, is there a reason why? i try to stick to the current prettier config we have in the repo - what have you run across all these files?

oops idk why my prettier did that i think it was overwritten by biome

Copy link
Author

@sanoojes sanoojes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !

@ohitstom
Copy link
Member

ohitstom commented Sep 25, 2024

i didn't test it on the newer versions i will check that out soon

got it! though if there is no valid reason for all the formatting changes i prefer the original, especially the channels variable definition before and after for example, thoughts?

@sanoojes
Copy link
Author

ohh alright
wdm by channels variable definition ? i didn't quite get that

@ohitstom
Copy link
Member

ohh alright wdm by channels variable definition ? i didn't quite get that

in theme.script.js the const channels var, look at how it looks before vs after your pr:
image
image

@sanoojes
Copy link
Author

ohh alright !

@ohitstom
Copy link
Member

alright im happy with everything else so far but whatever you changed to do with updateScheme function has broken the color scheme setting from ever showing up in the settings menu, once you've fixed that im happy to merge

@sanoojes
Copy link
Author

alright im happy with everything else so far but whatever you changed to do with updateScheme function has broken the color scheme setting from ever showing up in the settings menu, once you've fixed that im happy to merge

I've identified that the problem
i didn't update the loop in parseIni() function.

@ohitstom
Copy link
Member

please see my mention on discord for further instructions before i can merge!

@sanoojes
Copy link
Author

alright am checking it rn !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants