Giter Site home page Giter Site logo

Comments (23)

cyyynthia avatar cyyynthia commented on July 30, 2024 2

Well this feature will probably require a lot of work due to the amount of parameters to include (mentions, unreads, icons, settings, etc etc)

I'll do my best to make this as best as possible, since it's a feature that generates lots of hype haha

Thanks for your comments and ideas, I'll keep this thread updated with progress I guess ❤️

from powercord.

cyyynthia avatar cyyynthia commented on July 30, 2024 1

Development officially started here: https://github.com/aetheryx/powercord/tree/experimental-servers-folder
For now it just patches Discord sidebar guild list and replaces it by the Powercord's one, without drag n drop for now but soon:tm:

from powercord.

cyyynthia avatar cyyynthia commented on July 30, 2024 1

yes

from powercord.

devoxin avatar devoxin commented on July 30, 2024

fuck yes please i will give you all my money just to implement this i need this

from powercord.

melmsie avatar melmsie commented on July 30, 2024

I will not give you all my money, but I'll give you 5.3% of my total love

from powercord.

GeoffreyWesthoff avatar GeoffreyWesthoff commented on July 30, 2024

Bonus points if it looks like
image

from powercord.

melmsie avatar melmsie commented on July 30, 2024

bonus bonus points if it has folders AND search bar

from powercord.

stayberri avatar stayberri commented on July 30, 2024

if this becomes a thing i shall donate 0.05% of my total affection (beat that melms)

from powercord.

aetheryx avatar aetheryx commented on July 30, 2024

search bar: Ctrl+k

from powercord.

melmsie avatar melmsie commented on July 30, 2024

keyboard shortcuts
what is this, i3

from powercord.

GeoffreyWesthoff avatar GeoffreyWesthoff commented on July 30, 2024

I was thinking about the collections/folders not the search bar

from powercord.

Stylite avatar Stylite commented on July 30, 2024

stackable groups or folders would be hOT

from powercord.

GeoffreyWesthoff avatar GeoffreyWesthoff commented on July 30, 2024

Porque no los dos? @Stylite

from powercord.

cyyynthia avatar cyyynthia commented on July 30, 2024

I'll do my best to implement this (or someone else if someone wants) as best as possible
I'll also include hidden servers (for emoji-only servers) and maybe subfolders for ultra sorting uwu
Tho I can't work on it until wednesday and it'll be included with the new Settings API and plugin system

from powercord.

melmsie avatar melmsie commented on July 30, 2024

stack-able groups wouldn't be much better if someone has lots of servers, folders or bust

from powercord.

cyyynthia avatar cyyynthia commented on July 30, 2024

And ofc styles of folders will be selectable in settings tab, and hidden servers will be also managed there uwu

from powercord.

GeoffreyWesthoff avatar GeoffreyWesthoff commented on July 30, 2024

@Bowser65 Would it be truly necessary to have hidden servers? A folder at the bottom would suffice for a lot of people I reckon

from powercord.

cyyynthia avatar cyyynthia commented on July 30, 2024

As it should not be hard to implement that, why not implement it and let people decide if they want to use it or not /shrug

from powercord.

devoxin avatar devoxin commented on July 30, 2024

I personally like folders and collections. Although collections could look a bit cluttered, especially with lots of servers.

Dividers doesn't solve the issue 100% as there would probably still be a bit of scrolling involved, and would still look fairly cluttered if you have lots of servers.

Sliders could be an issue if you're trying to get to the far-right of the list, as your mouse doesn't have a lot of room to move.

Stacked, as per what Melmsie said, wouldn't be too great for those with lots of servers. I.e. it would look cluttered and maybe be hard to distinguish servers in the stack if they mix with your other stacks/servers.

Quick search is nice, although doesn't solve the issue of being able to group servers into categories, i.e. emote servers, twitch servers etc.

My favorite idea is a mix between sliders, folders, and search bar.

Search bar would allow you to quickly find a server rather than navigating through multiple folders, which would be great for servers that are accessed often. Not too good for those whose name changes often (think: emote servers).

Folders would be great to keep the list looking clean(er), while potentially having indicators for easy identification of what the folder contains (such as emote servers etc. Perhaps allow users to set image icons for the folders)

Sliders could come into play when a user selects a folder. A panel extends horizontally across maybe half of the screen, which shows all the servers in that folder. A user can then use the scroll-wheel to navigate through the list, or perhaps drag-and-slide with the cursor (this could present an issue when trying to order servers, though). The extended panel would help here, offering more room to slide the cursor across.

Alternatively, a vertical panel could extend to the right of the server list, that mimics the server list exactly, except it'd show your servers, and you'd be able to scroll through them as normal.

Server ordering would be an additional bonus, although I expect that any of the above mentioned in this post, and others, would take time to be implement (if not outright impossible at that, lol).

from powercord.

cyyynthia avatar cyyynthia commented on July 30, 2024

tldr

from powercord.

cyyynthia avatar cyyynthia commented on July 30, 2024

Updates:

We tried to inject into Guilds component, and we quickly figured out that injecting a new component is as always a pretty easy task, but DnD library Discord uses is way harder to inject into. It produces weird behavior and will trigger the API on every sorting updates. Just patching would require lots of injection points and would start being ugly/heavy

Instead, we plan to completely re-create Guilds component, with our own DnD lib and our own behavior regarding server sorting updates on Discord API. That will require to at least reproduce DOM structure (with only .pc- classes) to make sure themes will still work (I plan to transform @powercordCompile in @powercordIgnore for themes). For the end user he'll not really notice anything if we do stuff properly, but will be way easier for us to make this feature possible.

With this we can also implement an API endpoint on Powercord side to save your Guild sorting preferences, so it'll be synced to any PC if you linked your PC account to Discord. For non PC clients we'll do a basic but coherent logic for updating sorting preferences: instead of folders, servers in the orders they are in the folder

Coming soon:tm:

from powercord.

cyyynthia avatar cyyynthia commented on July 30, 2024

Updates:

Guild hiding is now live! Right click on a guild to make it disappear. A small component at the top will allow you to make them visible, or know how many hidden pings is there.

Internally, Powercord uses a fully custom Guild component, with custom drag & drop to reproduce Discord's behaviour. Folders are not a thing yet, but soon:tm:

from powercord.

cyyynthia avatar cyyynthia commented on July 30, 2024

Note: it does not break with new "Server Discovery" feature, so don't worry about that

from powercord.

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.