panel icon indicating copy to clipboard operation
panel copied to clipboard

Feat: New Select All Permissions Button

Open itzlinaton opened this issue 5 months ago • 24 comments

Changes:

  • Added a new button called "Select All" to easily select every permission when inviting a subuser to a server.
{9625515A-6F98-41E5-8357-FC087CABF3D3}

itzlinaton avatar Jun 17 '26 11:06 itzlinaton

image I’d say you do something like this I don’t think a button is the best solution, given the style of Pterodactyl’s interface.

voidvalue-dev avatar Jun 18 '26 17:06 voidvalue-dev

image I’d say you do something like this I don’t think a button is the best solution, given the style of Pterodactyl’s interface.

That does seem like a much better Idea, I could try. Thank You for the suggestion

itzlinaton avatar Jun 18 '26 19:06 itzlinaton

@voidvalue-dev Do you like this?

Or do you want it to be wrapped around the permission title box container like in the refrence image you provided? (This would require a bit more code modification) {8385AE42-1D10-4943-B2F8-9983D3738413}

itzlinaton avatar Jun 18 '26 19:06 itzlinaton

@voidvalue-dev Do you like this?

Or do you want it to be wrapped around the permission title box container like in the refrence image you provided? (This would require a bit more code modification) {8385AE42-1D10-4943-B2F8-9983D3738413}

I like it the way I have it. The way you’ve got it, it looks very empty to me

voidvalue-dev avatar Jun 19 '26 16:06 voidvalue-dev

I like it the way I have it. The way you’ve got it, it looks very empty to me

So with the permission title box container around it?

itzlinaton avatar Jun 19 '26 16:06 itzlinaton

I like it the way I have it. The way you’ve got it, it looks very empty to me

So with the permission title box container around it?

Yes

voidvalue-dev avatar Jun 19 '26 16:06 voidvalue-dev

I like it the way I have it. The way you’ve got it, it looks very empty to me

So with the permission title box container around it?

Yes

Sure, I can try that just let me know if you like it.

itzlinaton avatar Jun 19 '26 16:06 itzlinaton

Is this fine? {368C5CD9-05A0-4439-8975-97261CA6DA14}

itzlinaton avatar Jun 19 '26 16:06 itzlinaton

Is this fine? {368C5CD9-05A0-4439-8975-97261CA6DA14}

I can see that the description is smaller than the others and uses a different font

voidvalue-dev avatar Jun 19 '26 18:06 voidvalue-dev

I can see that the description is smaller than the others and uses a different font

Yeah It is partially messed up, but can fix it. Besides that it is fine?

itzlinaton avatar Jun 19 '26 22:06 itzlinaton

Issue solved, @voidvalue-dev {E74321F0-1215-470D-AE7D-6A086A930C3C}

itzlinaton avatar Jun 20 '26 12:06 itzlinaton

I can see that the description is smaller than the others and uses a different font

Yeah It is partially messed up, but can fix it. Besides that it is fine?

Yes, i think

voidvalue-dev avatar Jun 20 '26 17:06 voidvalue-dev

I can see that the description is smaller than the others and uses a different font

Yeah It is partially messed up, but can fix it. Besides that it is fine?

Yes, i think

Okay, cool

itzlinaton avatar Jun 20 '26 18:06 itzlinaton

I can see that the description is smaller than the others and uses a different font

Yeah It is partially messed up, but can fix it. Besides that it is fine?

Yes, i think

Okay, cool

image

EditSubUserModal.tsx EditSubuserModal.tsx (original name)

Why did you change the name? Have you tried this in your dashboard?

voidvalue-dev avatar Jun 21 '26 12:06 voidvalue-dev

I can see that the description is smaller than the others and uses a different font

Yeah It is partially messed up, but can fix it. Besides that it is fine?

Yes, i think

Okay, cool

image [EditSubUserModal.tsx](https://github.com/pterodactyl/panel/pull/5658/changes#diff-79a72267fd021a5a09c1576d3b74c12b4bdeb6087e603b6da97c3186a26116ca) [EditSubuserModal.tsx](https://github.com/pterodactyl/panel/pull/5658/changes#diff-5316c13ce1d16787bee68d3f60ca6782daf30d3ac1b0978c8c7dbfd36743cbe7) (original name)

Why did you change the name? Have you tried this in your dashboard?

I accidentally changed the name, oops! Also yeah I did test it but with the correct name.

itzlinaton avatar Jun 21 '26 13:06 itzlinaton

Let me know when you've fixed it And update the PR photo

voidvalue-dev avatar Jun 21 '26 15:06 voidvalue-dev

Let me know when you've fixed it And update the PR photo

Should be solved, also thanks for the reminder.

itzlinaton avatar Jun 21 '26 16:06 itzlinaton

Let me know when you've fixed it And update the PR photo

Should be solved, also thanks for the reminder.

image

You did it the wrong way round; the one you deleted is the original

voidvalue-dev avatar Jun 21 '26 16:06 voidvalue-dev

image

Why is there a sort of padding/margin in the description?

voidvalue-dev avatar Jun 21 '26 16:06 voidvalue-dev

And I can’t see that AllPermissionsButton.tsx is being imported or used

voidvalue-dev avatar Jun 21 '26 16:06 voidvalue-dev