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

Suggestions for Context option #362

Open
Andre601 opened this issue Jun 5, 2021 · 1 comment
Open

Suggestions for Context option #362

Andre601 opened this issue Jun 5, 2021 · 1 comment
Labels
enhancement Suggestions to improve the application

Comments

@Andre601
Copy link
Contributor

Andre601 commented Jun 5, 2021

Info

The context menu as of now is good, but could get some QOL changes to make using it much easier.

For context (no pun intended) is here my current setup:

  • Server: PaperMC Build 507 (MC 1.16.5) running on Ubuntu 20.04 with Java 16
  • LuckPerms 5.3.3 (Latest Spigot release)
  • PC: Windows 10 Pro and using Microsoft Edge as browser

Change 1: Don't close the context menu when deleting entries

Every time you delete an entry within the context section of permission is the context menu closed, requiring you to open it back up again if you either want to remove another context or add a new context (i.e. to essentially replace the old one).
This can become annoying if you edit multiple permissions, so the menu should stay open and only close if you click away from the menu or click on another option (i.e. expiry).

Change 2: Allow direct edit of context

This goes hand in hand with the previous change (kind of). There should be a way to just edit the context already set. Right now, if you f.e. want to change the world name in the world context will you need to first delete the old context and then add the new one.
Instead, should you just be able to edit the context directly. The editor could still record it as a deletion and addition of context for LP to handle, but it would make editing permissions slightly faster, especially considering that you can already edit permissions themself and their expiry, so why not context too?

Change 3: Narrow down/update suggestion list while typing

When typing out the context options (either key or value) should the list of suggestion get more precise with each letter typed to allow a faster selection of matching entries.
As of now does it only display all known key and corresponding value options without any updating of that displayed list.
For example Typing world will still display essentials:afk despite it not matching the word in any way.

Notes

Since this can be caused by my browser do I not say that those are issues caused by the Web editor, but I assume that it may be something that can be "tweaked" and changed in ways to support the suggested changes.

My ideas here are all with the goal of making editing permissions within the editor a much faster experience without more frustration.
If for whatever reason those changes aren't possible, let me know why.

@Laarryy Laarryy added the enhancement Suggestions to improve the application label Oct 19, 2021
@Laarryy
Copy link
Member

Laarryy commented Oct 19, 2021

I think Change 1 and 2 are probably fairly simple to implement and if so, should be done. Change 3, I'm not sure how simple it will be or if it might have any drawbacks, but I like it too. @Turbotailz this one's got good ideas.

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

No branches or pull requests

2 participants