-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to change the display of project.rs.xml
in the open dialog to the name of the project?
#55
Comments
Discussed with @joewheaton .... Novice and less technically skilled users don't really get what is a Solution
This "curation of projects under a top level folder" is similar to how ArcCatalog works. You "connect" to a folder and then ESRI presents a curated view of datasets (not every single *.shp, *.dbf etc). In summary, the goal is to present users with a more comprehensible view on the projects that they have on their computer. Users understand "I downloaded VBET for 17010203", they don't understand browsing to some obscure XML file that they didn't know existed. |
I agree 100% that I'm not the end user here, granted, but I'm trying to think about how people use their machines. I really don't want to lose the ability to quickly load a project from a different location. For example: I might keep the major stash of projects on a USB drive I plug in because I don't have enough room on my laptop (based on a true story). Then I might also have a smaller stash of projects I use often on my small SSD hard drive. Right now I can open projects wherever they are: box, usb , downloads folder, whatever. Could be really annoying to have to change the root folder every time I want to load a project from a different area. Minor change:If we do implement this I'd also add an extra folder level if I were you. The case I'm thinking of is that I have two identical projects that ran a day apart side by side. If you just use the project name you lose the context of the folder name you chose and thus, the ability to tell them apart. Also project names have no guarantee to identify a project in any kind of unique way. so if the projects look like this on the file system:
They should look like this in the catalog tree:
In summary:
|
All good feedback. Clarifications:
|
This has been on my mind a lot. Something about it just doesn't sit right with me. So here are a few more reasons I think it's not great:
Ok, enough being negative. What's the answer?I think the answer has actually been sitting under our noses the whole time: we have a perfectly usable, accessible browser panel that most people will have open anyway. Why not just extend it to include a Riverscapes item that expands to projects. For the record I'm suggesting an implementation that is exactly what @philipbaileynar suggested. I'm just saying let's do it in the browser and leave the open button alone. The MapTiler plugin does it and their plugin is open source so we can "borrow" it: Take a look at the source code here. https://github.com/maptiler/qgis-maptiler-plugin/blob/master/browser_mapitem.py Advantages of extending Browser:
I'm not sure if this is going to be do-able in Arc but if not maybe this is one of those cases where the two plugins can diverge a bit. Let's keep the dialog going. I'm happy to discuss any of this. It's about how people load their data though so I think a little caution here is definitely warranted. |
Also finally, (and I promise this is the last thing) I was looking at the documentation for
|
Hey @MattReimer thanks for your thoughtful ideas here. I like the addition of using the Browser thing as a custom type (not sure an analogous thing is possible with ESRI's ArcCatalog. I agree it is a good partial solution for QGIS, but I think the most compelling thing might be to do your "Folder Browser" suggestion instead of browsing for a file. So all you're doing is browsing for a folder that has been filtered to have a |
@joewheaton I can't say for 100% certain that the folder browser idea is going to work. I'm only a few minutes into this. I did notice some good signals and slots on the file dialog that lend themselves to customizing the experience a little (that's the key here I think: as little as possible). I think we might need to try it first and see if it's any good. |
Understood. Like 17 years ago I know you could do a folder browser control in .NET as I did one for my landscape evolution model GUI. I forgot that was how I handled this problem. So even if it does not work on Q side, might be worth exploring on the Arc side. We'll see how she goes. |
The folder browser dialog in Windows is the WORST form in the history of human kind. You can select a folder, but you can't scroll to it, which essentially makes the form useless. It also has no ability to filter items or any other kind of interactivity. Also, the browser might be customizable in QGIS but ArcCatalog almost certainly is not. |
This is still an important issue to me. |
Now that QRiS is a thing in the world we should include it in this conversation.... when we have it. |
@MattReimer please don't read or respond to this now... I am queuing up for when we finally sit down and prioritize warehouse development and make some decisions.
The Problem
For experienced users, we no longer think twice about the fact that every project (no matter how different) has the exact same name of
project.rs.xml
. However, this is just wrong. It is unintuitive to new and existing users.The Request
Can we trick the display of the project name on open dialog to NOT be reading actual
project.rs.xml
file name on disk and instead read the<Name>
as shown above? I'm suggesting this because I am guessing @MattReimer will not like idea of renamingproject.rs.xml
files in warehouse? I appreciate that you are likely using a bog-standard open file dialog/control, and this is not possible without making a custom interface for navigating disk to look for those.The Acknowledgment
This has bugged me for a long time but I have never said anything about it (sorry). I like what we did in GCD (i.e. make a safe project name based on removing spaces and odd characters from equivalent of what's in and add our own custom extension (e.g. if Project
<Name>
was "Glenn Feshie" the file name would beGlennFeshie.gcd
, even though*.gcd
is really just an xml. That makes way more sense. The extension of that logic would be to have a file extension for every project type (e.g. for VBET maybe*.rs.vbet
, for BRAT*.rs.brat
, etc.). Maybe that is straightforward? Maybe that is a nightmare. However, I have had multiple users mention how this initially confused them.The text was updated successfully, but these errors were encountered: