Skip to content

feat: add raster layer option to TopToolbar and configure app menu - #43

Merged
giswqs merged 1 commit into
mainfrom
shortcut
May 30, 2026
Merged

feat: add raster layer option to TopToolbar and configure app menu#43
giswqs merged 1 commit into
mainfrom
shortcut

Conversation

@giswqs

@giswqs giswqs commented May 30, 2026

Copy link
Copy Markdown
Member
  • Added "Add Raster Layer" option to the TopToolbar dropdown menu for layer management.
  • Introduced a new function to configure the application menu, enhancing user experience with edit functionalities.

* Added "Add Raster Layer" option to the TopToolbar dropdown menu for layer management.
* Introduced a new function to configure the application menu, enhancing user experience with edit functionalities.
Copilot AI review requested due to automatic review settings May 30, 2026 05:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GeoLibre Desktop app by adjusting the Add Data toolbar ordering and adding native menu configuration for edit actions in the Tauri shell.

Changes:

  • Moves “Add Raster Layer” next to the other dialog-backed Add Data options.
  • Adds a Tauri app menu with Edit actions such as Undo, Redo, Cut, Copy, Paste, and Select All.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
apps/geolibre-desktop/src/components/layout/TopToolbar.tsx Reorders the raster layer menu item in the Add Data dropdown.
apps/geolibre-desktop/src-tauri/src/lib.rs Adds and installs a native application menu during Tauri setup.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +73 to +74
let menu = MenuBuilder::new(app).item(&edit_menu).build()?;
app.set_menu(menu)?;
@github-actions

Copy link
Copy Markdown
Contributor

Netlify preview: https://pr-43--opengeos.netlify.app

@giswqs
giswqs merged commit a909a6d into main May 30, 2026
5 checks passed
@giswqs
giswqs deleted the shortcut branch May 30, 2026 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants