272 | | '''General GUI:''' |
273 | | - Collect "recent info" and "used info" |
274 | | - Mapset and database recorded at the same time when GRASS GIS is started or switched to a mapset. |
275 | | - Workspace is recorded when opened or saved. |
276 | | - Check if the item is already in the list. |
277 | | - Consider making the Data tab in Layer Manager the first tab or the default tab |
278 | | |
279 | | }}} |
280 | | {{{#!td |
281 | | TBD |
| 272 | '''Data Catalog:''' |
| 273 | - Add new icons to datacatalog for actions avaliable in context menu (see https://github.com/OSGeo/grass/pull/830) |
| 274 | - An action should be required before modifying other mapsets (see https://github.com/OSGeo/grass/pull/843, https://github.com/OSGeo/grass/issues/848) |
| 275 | - Distinguish mapsets by ownership and lock in Data tab (see https://github.com/OSGeo/grass/pull/714, https://github.com/OSGeo/grass/issues/849) |
| 276 | - Store list of databases in settings (see https://github.com/OSGeo/grass/pull/842, https://github.com/OSGeo/grass/issues/858) |
| 277 | - Start in demo/starup location (see https://github.com/OSGeo/grass/pull/862, https://github.com/OSGeo/grass/issues/868) |
| 278 | - Misleading lock symbol icon in the Datatab toolbar (see https://github.com/OSGeo/grass/pull/844, https://github.com/OSGeo/grass/issues/870) |
| 279 | }}} |
| 280 | {{{#!td |
| 281 | \\ |
| 282 | OK |
| 283 | \\ |
| 284 | WIP |
| 285 | \\ |
| 286 | WIP |
| 287 | \\ |
| 288 | WIP |
| 289 | \\ |
| 290 | WIP |
| 291 | \\ |
| 292 | WIP |
| 569 | |
| 570 | |
| 571 | == Week 8 == |
| 572 | |
| 573 | '''1) What did I complete this week?'''\\ |
| 574 | |
| 575 | I added two icons avaliable in the context menu: download sample location, create new location (see https://github.com/OSGeo/grass/pull/830). Currently I am working on 5 other PRs and unfortunately I am a bit stuck on 3 of them. |
| 576 | |
| 577 | * Distinguish mapsets by ownership and lock in Data tab (see https://github.com/OSGeo/grass/issues/714, https://github.com/OSGeo/grass/pull/849) |
| 578 | |
| 579 | I set new mapset node properties: lock and user: Our motion is that those mapsets will be displayed in Data Catalog in gray and also distinguished by labels. I have an error which is probably somehow relates to my new keys definition, but do not know how to figure that out. |
| 580 | |
| 581 | * Store list of databases in settings (see https://github.com/…842, https://github.com/…858) |
| 582 | |
| 583 | Within this PR I made two functions for deleting grassdb from the disk and removing grassdb from the tree. In this PR I also changed a bit OnAddGrassDb function which now checks if wanted grassdb is not already added to Data Catalog. All these functions = adding, removing and deleting grassdb change the wx file so that we can remember which grass databases are in the Data Catalog. |
| 584 | Saving grassdatabase string to this file works but I have a problem when I starting GRASS GIS for the second time it falls down because it does not probably like the edited wx file (see errorPR858). |
| 585 | |
| 586 | * An action should be required before modifying other mapsets (see https://github.com/…843, https://github.com/…848) |
| 587 | |
| 588 | This PR is ready for review. I added checking of current mapsets and location when deleting and renaming. The motion is that when Allow editing mode is ON we are allowed to rename and delete any mapsets and locations except current ones, if OFF no mapset or location can be renamed or deleted. |
| 589 | |
| 590 | * Start in a demo/startup location (see https://github.com/…862, https://github.com/…868) |
| 591 | |
| 592 | Here I made two functions startup_location_exists which checks for demolocation and copy_startup_location which copy the simple location with ssome data into GRASS database. I have a problem with testing that. |
| 593 | |
| 594 | * Misleading lock symbol icon in the in the Data tab toolbar (see https://github.com/…844, https://github.com/…870) |
| 595 | |
| 596 | I am not stuck here but need some feedback if the icons I suggested are good, reasonable or something entirely different is needed. |
| 597 | |
| 598 | '''2) What am I going to achieve for next week?'''\\ |
| 599 | |
| 600 | I am gonna end up those above-mentioned PRs. |
| 601 | It was decided that the startup screen is no longer used. It changed quite significantly the next GSoC steps. |
| 602 | Now there are several issues related to the Data Catalog I am gonna address. They come from Next steps in GSoC and beyond video call, July 15, 2020 written by Vaclav Petras (see https://trac.osgeo.org/grass/wiki/wxGUIDevelopment/New_Startup#NextstepsinGSoCandbeyondvideocallJuly152020): |
| 603 | - Check for gislock and other issues when deleting/renaming/editing mapset and location in catalog (https://github.com/OSGeo/grass/issues/801) |
| 604 | - Add buttons to add new things: Import into current mapset (also as a context menu item on mapset, see below). |
| 605 | - Add context menu items: Import into mapset (like in File), Export map (like in Layers) |
| 606 | - An icon for creating the new database? |
| 607 | - Deleting more than one location? |
| 608 | |
| 609 | '''3) Is there any blocking issue?'''\\ |
| 610 | No. It is not. |