-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show Bedrock IP button on welcome page
Fixes #398 Add a button to display and copy the Bedrock IP:Port on the welcome page. * Add a new nullable string property `bedrock_ip_port` to the `GeneralSettings` class in `app/Settings/GeneralSettings.php`. * Update the `home` method in `app/Http/Controllers/HomeController.php` to include `bedrock_ip_port` in the data passed to the view. * Modify `resources/default/js/Pages/Welcome.vue` to include a button for Bedrock IP:Port and a method to copy it to the clipboard. * Update `resources/default/js/Shared/WelcomeBox.vue` to display the Bedrock IP:Port button if `bedrock_ip_port` is set and add a method to copy it to the clipboard. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/MineTrax/minetrax/issues/398?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
4 changed files
with
60 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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