Commit Graph

89 Commits

Author SHA1 Message Date
Andras Bacsai b0d50669b1 fix: skip password confirmation for OAuth users
OAuth users don't have passwords set, so they should not be prompted for password confirmation when performing destructive actions. This fix:
- Detects OAuth users via the hasPassword() method
- Skips password confirmation in modal for OAuth users
- Keeps text name confirmation as the final step
- Centralizes logic in helper functions for maintainability
- Changes button text to "Confirm" when password step is skipped

Fixes #4457

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2025-12-12 14:12:02 +01:00
Andras Bacsai bb35ae3a5a fix: make modals scrollable on small screens
Fixes #6974

- Add max-height constraints to prevent modals from exceeding viewport
- Enable vertical scrolling with overflow-y-auto on content areas
- Improve mobile responsiveness with consistent padding
- Separate fixed header from scrollable content using flexbox
- Add touch scrolling support for iOS devices

This ensures buttons like "Back" and "Continue" remain accessible
on small devices by allowing users to scroll the modal content.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 18:27:16 +02:00
Andras Bacsai 215301fa8f basics of adding / removing hetzner servers 2025-10-09 10:41:29 +02:00
Andras Bacsai e8b2ef0e0c fix(modal-confirmation): refine escape key handling to ensure modal closes only when open
- Updated the keydown event handler to check if the modal is open before executing the close and reset functions, improving the modal's behavior and user experience.
2025-10-08 13:29:58 +02:00
Andras Bacsai facba28e0a refactor(ui): replace warning and error divs with callout components for improved consistency and readability 2025-09-25 11:14:56 +02:00
ShadowArcanist 8c005435b5 Added confirmation modal for switching proxies 2025-09-21 23:59:46 +05:30
Andras Bacsai f02c36985f fix(modal): enhance confirmation text handling 2025-08-19 00:20:53 +02:00
Andras Bacsai 9c37e2bf53 fix(modal-confirmation): decode HTML entities in confirmation text to ensure proper display 2025-06-04 10:14:30 +02:00
Andras Bacsai 46b4cfac68 feat(terminal-access): implement terminal access control for servers and containers, including UI updates and backend logic 2025-05-29 14:09:05 +02:00
Andras Bacsai 786bfa960f improvement(core): simplify events for app/db/service status changes 2025-05-19 21:50:32 +02:00
Andras Bacsai e97cf2db3a feat(modal): add dispatchAction property to confirmation modal 2025-05-15 22:21:34 +02:00
0x4e32 c728e6f2ba feat(ui): Upgrade to Tailwind v4 (#5710) 2025-05-14 12:43:23 +02:00
Andras Bacsai a73cfd8b09 refactor(modal): add ignoreWire attribute to modal-confirmation component 2025-03-25 09:49:38 +01:00
peaklabs-dev 4eba1d2130 feat(ui): use new copy button component everywhere 2025-01-31 18:31:42 +01:00
peaklabs-dev 260e44d3db fix: only show copy button on secure context 2024-12-13 20:57:58 +01:00
peaklabs-dev 94bc604fbe never mind fuck the fallback just use https 2024-12-13 14:15:18 +01:00
peaklabs-dev 89a0fb1dd6 new fallback approach 2024-12-13 14:10:37 +01:00
peaklabs-dev b25463b084 fix: maybe fallback is now working 2024-12-13 14:05:31 +01:00
peaklabs-dev 9701c8aa6b fix: copy the right text 2024-12-13 13:56:59 +01:00
peaklabs-dev a374e09d19 fix: fallback for copy button 2024-12-13 13:50:39 +01:00
Andras Bacsai 552f563162 fix: poll with modal issue 2024-11-14 12:29:39 +01:00
peaklabs-dev 567fe73df7 remove duplicated step 3 2024-10-31 13:45:26 +01:00
🏔️ Peak 01bdde2f2b Merge branch 'next' into fix-autocompletes 2024-10-31 13:41:00 +01:00
Andras Bacsai 96ca72fcdb refactor server view (phuuu) 2024-10-30 20:03:30 +01:00
Andras Bacsai 898433bc4a Refactor modal-confirmation component 2024-10-28 23:02:05 +01:00
peaklabs-dev 7da9b28c48 fix step 2 button 2024-10-25 21:09:10 +02:00
peaklabs-dev 34ff8e9a98 fix rendering glitch with tow step confirmation 2024-10-25 20:58:17 +02:00
Andras Bacsai bc05070f4c Refactor modal-confirmation.blade.php for improved readability and maintainability 2024-10-21 11:02:44 +02:00
peaklabs-dev 8b114f5558 fix button text kind of 2024-10-17 13:05:58 +02:00
peaklabs-dev b67f4d1975 disable tow step confirmation 2024-10-17 12:07:48 +02:00
Andras Bacsai 77654faa36 chore: fix form submission and keydown event handling in modal-confirmation.blade.php 2024-10-11 09:41:49 +02:00
Luan Estradioto 83bcf981c2 fix autocompletes 2024-10-09 00:14:27 -03:00
Andras Bacsai a4c8f83d17 chore: Update password form submission in modal-confirmation component 2024-10-04 20:10:40 +02:00
Andras Bacsai 358f6575f8 chore: Refactor modal-confirmation component 2024-10-03 21:38:08 +02:00
Andras Bacsai a1a8f1336a refactor: Fix indentation in modal-confirmation.blade.php 2024-10-02 17:35:48 +02:00
Andras Bacsai 207fe1d709 wtf wtf wtf 2024-10-02 17:27:02 +02:00
Andras Bacsai fbb36bfe8e revert modal-confirmation in dev 2024-10-02 12:01:12 +02:00
Andras Bacsai dd782e75f5 fix: local dev s3 uploads
fix: hetzner s3 uploads (mc alias instead of mc host)
2024-10-02 11:45:30 +02:00
Andras Bacsai 8065da9fa0 Refactor input fields to include autocomplete="off" 2024-10-01 11:55:01 +02:00
Andras Bacsai 5a770f9ddb fix: Handle deletion of 'hello' in confirmation modal for dev environment 2024-10-01 11:16:16 +02:00
Andras Bacsai 903d84e0dd fix: confirmation text could be empty, then skip that part
fix: confirmation modal should not be closed by clicking away
2024-10-01 10:53:20 +02:00
Andras Bacsai bcc92e1f32 fix: in dev mode do not ask confirmation on delete 2024-10-01 09:31:01 +02:00
Andras Bacsai 4af6caa79c refactor: Update checkbox component to support full width option 2024-09-25 09:16:28 +02:00
Andras Bacsai 70dfa101ef refactor: Improve label positioning in input and checkbox components 2024-09-24 21:04:04 +02:00
Andras Bacsai 2e3267ee94 Merge branch 'fix-#2546-deletion-issues' into #2546 2024-09-19 10:32:02 +02:00
Andras Bacsai 98e744e808 refactor: Update Docker cleanup label in Heading.php and Navbar.php 2024-09-19 10:27:44 +02:00
Andras Bacsai 182087cf1b a few changes here and there 2024-09-18 21:18:47 +02:00
ayntk-ai 3d21f1a2a4 fix checkbox hide label 2024-09-03 14:59:01 +02:00
ayntk-ai 792f6bc163 made wording more clear 2024-09-03 00:01:24 +02:00
ayntk-ai c24fec9c45 fix step and password error 2024-09-02 23:48:05 +02:00