-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Rebuild and merge context menu code #4190
Conversation
- added submenus
- Added click command for shell items
- Improved base menu items code
-Fixed ShowOnShift
@winston-de What still needs to be done? Also, it looks like the create shortcut option has the wrong icon. |
@yaichenbaum I still have to add support custom font families for the glyphs (which is why the shortcut icon is wrong).
|
@winston-de Sounds like good progress, this will make maintaining the context menu so much easier! |
- Fixed crash - Use single instance of menu flyout
@yaichenbaum I've updated all the localization keys (removed the ".Text"). Should I run the multilingual app toolkit? |
Fixed it. |
@yaichenbaum Yes, there weren't any. I think the problem initially was that I was not changing all the keys, just then ones in the en-us file, so the compiler saw that as duplicate keys. Now that I'm changing them all, I can probably remove the 2s without any issue. |
Ok, so I tried removing the 2 for one set of resources, and it built just fine. Then I removed them all, and the build failed with the duplicate error. I checked each resource key for duplicates, and didn't find any. I'm guessing one (or maybe more) of them is causing the problem for whatever reason, but I have no clue which one (except that it's not BaseLayoutContextFlyoutLayoutMode :) ). |
@winston-de Another possibility is that one of the resources are being used where they shouldn't and removing the |
@yaichenbaum That would take me hours to do, are the 2s really that bad? It works fine as it is. And if so, is it possible that I could come back and fix them in their own PR? |
Also, @TyJOrtiz is it alright with you that I make the necessary changes to implement the new context menus in Column View? |
@winston-de Yes that's fine |
This also temporarily removes the context menus in column view
I don't want to cause all that extra work, how about keeping the new keys, but can you change the names of the new keys to something like |
@yaichenbaum I can do that, but I don't see why you would to search through and remove the old keys, as they're gone. I changed the keys with find/replace throughout the entire solution so that the current translations wouldn't be lost. |
The new context menus in Column View are up and running. Btw, @TyJOrtiz the column view is awesome! :) |
There is a duplicate key somewhere, I will try to find it. |
@winston-de It seems like the sort by "Date deleted" option is showing in all directories, additionally, the layout menu items seem to be disabled. |
@yaichenbaum Thanks for doing this. |
@yaichenbaum It looks like I may have never had to remove the ".Text" from everything. |
@winston-de That sounds like a good idea. |
@yaichenbaum I apologize for this, I just learned that the resources could be accessed like that. |
Resolved / Related Issues
Itemize resolved / related issues by this PR.
Details of Changes
This is still a work in progress.
Goals:
ToDo:
Validation
How did you test these changes?
Screenshots (optional)
Add screenshots here.