Commit Graph
168 Commits
Author SHA1 Message Date
Sky Mulley 266544edfc Interactable Terminal Improvements (#7296)
Fixes some internal Discord discussions.

Most of this works around gaps in ghostty-web 0.4.0's selection and link
handling. Several fixes reach into its private internals, so the
dependency is pinned to `0.4.0` now instead of free spinning.

Ghostty seems to be an overall regression as a library over XTerm, below
are some internal hook ins to provide vital functionality back to the
console that v1 originally had.

### Selection
- Double-click selects the word on the line you clicked. Ghostty's
`getWordAtCell` reads the live screen row whatever the scroll position,
so once you'd scrolled up it picked a word from a different line.
- Triple-click now selects and copies the whole line, including every
row it wraps onto.
- Copying no longer puts a line break where a line only wrapped.
Ghostty's `getSelection` puts `\n` between every row, which broke copied
URLs and commands. The fix covers Ctrl/Cmd+C, drag-copy, right-click
copy and triple-click. If a row wrapped at a space, the space is kept.

### Links
- URLs that wrap across rows are detected as one link, and hovering any
part of them underlines the whole URL.
- Only `http:` and `https:` links can be opened. Console output comes
from the game server, so a `javascript:`, `file:` or `ssh:` link in the
output is ignored rather than passed to `window.open`.

### Focus
- The page no longer scrolls when the console takes focus. Ghostty
focuses the console on open and its hidden textarea on every press; both
now focus with `preventScroll`.
2026-10-16 14:11:59 -04:00
Robert Dennis 282476cdb6 supported versions ci (#7285)
Runs CI against the versions and operating systems the install guide
supports.
2026-10-13 21:07:43 -04:00
robert dennis 9ae0337820 theme docs 2026-10-12 16:24:48 -04:00
robert dennis 01787b8c22 theme platform 2026-10-12 08:15:15 -04:00
robert dennis 7b8b592900 theme views 2026-10-12 08:14:53 -04:00
robert dennis fea87fd8f2 pin api base url 2026-10-12 05:18:57 -04:00
robert dennis 78c931628a onboarding scripts 2026-10-09 17:34:17 -04:00
robert dennis 135b298560 alpha cleanup 2026-10-08 19:17:30 -04:00
robert dennis cceaa535b8 lint cleanup 2026-10-08 16:54:59 -04:00
Sky Mulley 6565d1ea40 dependency bumps 2026-10-06 12:37:03 +01:00
robert dennis d3410f8543 fix react doctor errors 2026-10-05 23:28:29 -04:00
robert dennis f21c2f0775 upgrade react 2026-10-05 23:13:58 -04:00
robert dennis bb6aaa37b2 add missing dependency 2026-10-05 22:53:45 -04:00
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00
VoidValueandcesarmr-github e5a9706d6c Fix Unicode character width rendering using Unicode11Addon in xterm.js [TO FIX #2484] (#5524)
fixes #2484

Co-authored-by: cesarmr-github <167689141+cesarmr-github@users.noreply.github.com>
2026-02-11 16:05:02 -08:00
Dane Everitt d648a63e13 Update i18n to resolve issues rendering unclosed div tags (#5547) 2026-02-01 13:19:41 -08:00
Dane Everitt e9558328dd Use local certs for webpack serve (#5460) 2025-12-24 17:39:26 -08:00
Dane Everitt f1ea7ec90d Load IBM Plex Sans from code and export as part of bundle (#5447)
Removes the need to load any external resources for fonts. Resolves https://github.com/pterodactyl/panel/issues/5343
2025-12-20 16:37:54 -08:00
Dane Everitt a264791fd4 Update PHP and JS dependencies to latest versions and modernize codebase (#5446) 2025-12-20 15:55:13 -08:00
Dane Everitt df9a7f71f9 Support canceling file uploads (#4441)
Closes #4440
2022-11-21 13:58:55 -07:00
DaneEveritt 7a6440988b Support tooltip on disabled buttons, support click action 2022-07-02 17:24:49 -04:00
DaneEveritt 3120e1d4a0 Fix console rendering on Safari; closes #4189 2022-06-30 20:30:01 -04:00
DaneEveritt ad6e9f076b Fix copy to clipboard when clicking server address
closes #4187
2022-06-27 19:18:58 -04:00
DaneEveritt c9ab0abba9 Use node 16 for all build actions 2022-06-26 21:09:40 -04:00
DaneEveritt 80ae600fe1 Correctly update dependencies for release 2022-06-26 17:31:47 -04:00
DaneEveritt 13bdb66ff0 Revert "Package updates prior to release"
This reverts commit af2a84d379.
2022-06-26 17:19:12 -04:00
DaneEveritt af2a84d379 Package updates prior to release 2022-06-26 17:11:55 -04:00
DaneEveritt c166f1305b Remove unused deps 2022-06-26 16:14:32 -04:00
DaneEveritt dc84af9937 Apply new eslint rules; default to prettier for styling 2022-06-26 15:13:52 -04:00
DaneEveritt f22cce8881 Update eslint parsers for new typescript version 2022-06-26 14:38:58 -04:00
DaneEveritt 1eb3ea2ee4 Some code cleanup, add jest coverage and begin using it for utility functions 2022-06-26 14:34:09 -04:00
DaneEveritt 76f3b996fe Auto resize values when they'd overflow the container 2022-06-25 21:27:18 -04:00
DaneEveritt 182507ff0e Upgrade charts to ChartJS 3 and improve UI for them 2022-06-25 20:51:49 -04:00
DaneEveritt 3834aca3fe Use nicer avatars when showing activity log 2022-06-19 13:46:15 -04:00
DaneEveritt 9c957952fb Improve mobile display of activity log 2022-06-12 09:09:01 -04:00
DaneEveritt 986c375052 Improve support for use of i18next; rely on browser caching to keep things simple 2022-06-11 14:04:09 -04:00
DaneEveritt 2a2fc42e37 Add support for tooltips 2022-06-05 18:27:54 -04:00
DaneEveritt 1a5465dc34 Update react, add some V2 components for V1 usage 2022-06-05 14:56:42 -04:00
DaneEveritt 921da09a63 Update to Tailwind 3; support normal tailwind usage without twin.macro 2022-06-05 14:34:29 -04:00
DaneEveritt 53207abcb3 Add base model layout from V2 for frontend 2022-05-07 16:52:58 -04:00
Dane Everitt a071676be4 Update webpack HMR for new dev environment 2022-02-12 13:18:08 -05:00
Alex 5120590e47 ref: remove google analytics (#3912) 2022-02-05 09:08:43 -08:00
Mrxbox98 f04b87a37c FireFox Font Fix (#3805) 2021-12-12 10:14:09 -08:00
Jakob 647d2cbf92 add scroll down helper to console (#2951) 2021-06-05 08:39:36 -07:00
Charles Morgan 482293578a Update eslint to latest verstions (#3380)
Updated Eslint to v7.27.0
Also updated all the related plugins to their latest versions.

Removed `eslint-plugin-standard`, no longer required with `eslint-config-standard` v16+   https://github.com/standard/standard/issues/1316
2021-06-05 08:37:44 -07:00
Dane Everitt 010ef8621b [security]: remove external dependency for loading QR codes for 2FA 2021-05-16 12:45:04 -07:00
Dane Everitt 6b16b9bc2a Cleanup logic for asModal to make it a little easier to use dynamically 2021-05-16 12:35:49 -07:00
Dane Everitt 5a82dd6a18 Update to TypeScript 4 2021-05-08 10:37:18 -07:00
Dane Everitt 8e06628409 Update package.json 2020-12-27 11:20:00 -08:00
Dane Everitt 2463c3f492 Cleanup and update some dependencies 2020-12-27 11:18:33 -08:00