Conversation
Added a check for the 'manual' URL parameter to bypass CAT data updates and reset the UI when manual QSO entry is active. This ensures that CAT updates do not interfere with manual logging workflows.
This reverts commit 8c6fc6b.
Enhanced the unsaved changes detection to show a custom Bootstrap modal when navigating away from QSO entry via internal links, while retaining native browser dialogs for external navigation. Refactored the LIVE/POST mode switch to avoid triggering the beforeunload warning. Added a custom modal for confirming navigation away from QSO entry, and updated related JavaScript logic for better user experience.
Reduced the font size and padding of the LIVE and POST mode badges for a more compact appearance in the QSO index page.
Changed the tooltip text for the LIVE badge from 'Switch to POST mode' to 'Switch to Manual mode' to better reflect the action performed when switching modes.
Introduces migration 239 to update the application version to 2.8.3 and trigger the version info dialog for users. Updates the migration version in the configuration to 239.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new database migration to tag the application as version 2.8.3 and significantly improves the user experience when navigating away from the QSO entry page with unsaved changes. It adds a custom modal dialog for internal navigation warnings, ensures browser-native dialogs for external navigation, and refines the UI for switching between LIVE and POST modes without unnecessary prompts.
Migration and Versioning:
239_tag_2_8_3.phpto update the application version to 2.8.3 and reset the version info dialog for users. The migration can be rolled back to 2.8.2. (application/migrations/239_tag_2_8_3.php,application/config/migration.php) [1] [2]Enhanced Unsaved Changes Handling:
application/views/interface_assets/footer.php) [1] [2]application/views/interface_assets/footer.php)application/views/qso/index.php)UI/UX Improvements for Mode Switching:
switchMode(url)JS function to avoid unnecessary "unsaved changes" prompts. (application/views/qso/index.php) [1] [2] [3]Note
Tags release 2.8.3 with a new migration and overhauls QSO unsaved-change flow via a custom modal, proper beforeunload behavior, and smoother LIVE/POST switching.
application/config/migration.phpmigration_versionto239.application/migrations/239_tag_2_8_3.phpto setoptions.versionto2.8.3, resetuser_optionsversion dialog, and support rollback to2.8.2.application/views/interface_assets/footer.php:beforeunloadhandler (use event, native prompt for external navigation).application/views/qso/index.php.switchMode(url)and move LIVE/POST toggle to a right-aligned badge to switch withoutbeforeunloadprompts inapplication/views/qso/index.php.Written by Cursor Bugbot for commit 7859254. This will update automatically on new commits. Configure here.