6 Commits

Author SHA1 Message Date
bec87d1493 Fix save shortcut to handle uppercase 'S' key
Updated the keyboard shortcut handler to use event.key.toLowerCase() for detecting 's', ensuring the save action works regardless of key case.
2025-08-06 23:53:16 +01:00
Zephrynis
59af15d5c6 Update issue templates 2025-07-21 13:02:28 +01:00
f5468b293d Bump version to 1.1 in conf.yml
Updated the version number from 1.0 to 1.1 to reflect recent changes or improvements.
2025-07-21 12:57:58 +01:00
c8a9691d6e Add cmd+s support 2025-07-20 21:31:31 +01:00
Zephrynis
a21481c795 Update issue templates 2025-07-18 23:23:37 +01:00
5daa5e2656 Update README for PteroMonaco installation
Revised the README to reflect the new project name 'PteroMonaco' and updated installation instructions to use 'pteromonaco.blueprint' instead of 'sidebar.blueprint'.
2025-07-13 18:35:50 +01:00
5 changed files with 64 additions and 7 deletions

37
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,37 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG] "
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Panel Info (please complete the following information):**
- Pterodactyl Version: [e.g. 1.11.11]
- Blueprint Version: [e.g. beta-2024-12]
- Blueprint Addons [e.g. PteroMonaco, Nebula, Any others]
**Additional context**
Add any other context about the problem here.

View File

@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -1,6 +1,6 @@
# ptero-sidebar # PteroMonaco
A basic sidebar for pterodactyl made using blueprint Replaces the regular pterodactyl file editor with Monaco
## Steps to install ## Steps to install
1. Drop sidebar.blueprint into your pterodactyl root folder (This is usually /var/www/pterodactyl/) 1. Drop pteromonaco.blueprint into your pterodactyl root folder (This is usually /var/www/pterodactyl/)
2. Run "blueprint -i sidebar" in the terminal 2. Run "blueprint -i pteromonaco" in the terminal

View File

@@ -357,10 +357,10 @@ const Editor = () => {
} }
}, [lang]); }, [lang]);
// Add keyboard shortcut for Ctrl+S // Add keyboard shortcut for Ctrl+S (Windows/Linux) and Cmd+S (macOS)
useEffect(() => { useEffect(() => {
const handleKeyDown = (event: KeyboardEvent) => { const handleKeyDown = (event: KeyboardEvent) => {
if (event.ctrlKey && event.key === 's') { if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 's') {
event.preventDefault(); event.preventDefault();
if (action === 'edit') { if (action === 'edit') {
save(); save();

View File

@@ -2,7 +2,7 @@ info:
name: "PteroMonaco" name: "PteroMonaco"
identifier: "pteromonaco" identifier: "pteromonaco"
description: "Replaces the regular pterodactyl file editor with Monaco" description: "Replaces the regular pterodactyl file editor with Monaco"
version: "1.0" version: "1.1"
target: "beta-2024-12" target: "beta-2024-12"
author: "Zephrynis" author: "Zephrynis"
icon: "icon.png" icon: "icon.png"