- 
                Notifications
    
You must be signed in to change notification settings  - Fork 8.9k
 
Allow editing actions in the settings UI #18917
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
          
     Open
      
      
            PankajBhojwani
  wants to merge
  105
  commits into
  main
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
dev/pabhoj/settings_actions_editor
  
      
      
   
  
    
  
  
  
 
  
      
    base: main
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
  
     Open
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            105 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      d973836
              
                settings model reflection
              
              
                PankajBhojwani 2f6108d
              
                settings actions editor
              
              
                PankajBhojwani ce8b31b
              
                use x-macro here instead
              
              
                PankajBhojwani acad388
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani 63ec868
              
                remove old actions page
              
              
                PankajBhojwani 8d0f947
              
                remove old stuff
              
              
                PankajBhojwani 72e9b64
              
                format
              
              
                PankajBhojwani 23a0432
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani eecb32d
              
                format
              
              
                PankajBhojwani 9618831
              
                first nits
              
              
                PankajBhojwani 5b617e0
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani 6557d17
              
                Merge branch 'main' of https://github.com/microsoft/terminal into dev…
              
              
                PankajBhojwani d62ede4
              
                init as nullptr
              
              
                PankajBhojwani ed25720
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani 18830be
              
                change this back
              
              
                PankajBhojwani 035b341
              
                static actionargfactory class
              
              
                PankajBhojwani 80924f2
              
                rename and separate interface
              
              
                PankajBhojwani 46b036b
              
                folder path, only capitalize first letter
              
              
                PankajBhojwani b0ba0df
              
                deduplicate resource strings
              
              
                PankajBhojwani e2b2d46
              
                new tab menu updates with id changes
              
              
                PankajBhojwani cdb9599
              
                name fix
              
              
                PankajBhojwani 0227969
              
                undef the correct thing
              
              
                PankajBhojwani 0cb802e
              
                format
              
              
                PankajBhojwani 4a972cc
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani c55ba1b
              
                post merge updates
              
              
                PankajBhojwani 4e87177
              
                spelling
              
              
                PankajBhojwani 21e1e15
              
                how about now
              
              
                PankajBhojwani 5dde183
              
                add examples, remove some stuff
              
              
                PankajBhojwani 3e426d7
              
                remvoe more
              
              
                PankajBhojwani 54b850e
              
                no more no arg
              
              
                PankajBhojwani 7fac89c
              
                some wrapping
              
              
                PankajBhojwani 2e5c54c
              
                folder picker
              
              
                PankajBhojwani f853aa4
              
                abstract
              
              
                PankajBhojwani 9fa1c94
              
                we're not listening to this
              
              
                PankajBhojwani a611189
              
                move to action map
              
              
                PankajBhojwani 67a1b4e
              
                alphabetical
              
              
                PankajBhojwani 78395fb
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani f601fc7
              
                keyboard nav, event handler cleanup
              
              
                PankajBhojwani 7db0cd6
              
                spell
              
              
                PankajBhojwani d862d67
              
                uia names
              
              
                PankajBhojwani c24035f
              
                ...xaml side too
              
              
                PankajBhojwani bafe0b1
              
                automation props, tab stop fixes
              
              
                PankajBhojwani caedc8f
              
                items control here
              
              
                PankajBhojwani c47a353
              
                switch to items control
              
              
                PankajBhojwani c4529aa
              
                uia text
              
              
                PankajBhojwani b23ce87
              
                remove these notifies
              
              
                PankajBhojwani 43ad62c
              
                proposed shortcut action name
              
              
                PankajBhojwani c24293c
              
                getter only
              
              
                PankajBhojwani ad0f79d
              
                name fixes
              
              
                PankajBhojwani 849eb1d
              
                access maps through page vm
              
              
                PankajBhojwani cd424f4
              
                assert
              
              
                PankajBhojwani ccc7292
              
                init to first item in the enum list
              
              
                PankajBhojwani 54681b4
              
                localized arg names
              
              
                PankajBhojwani 757191b
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani 4311a2b
              
                add todos, remove guid
              
              
                PankajBhojwani ac0eb51
              
                new info badge
              
              
                PankajBhojwani 10b8475
              
                rename
              
              
                PankajBhojwani bbdc671
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani 2f4a0c9
              
                Arg_desc
              
              
                PankajBhojwani 816df33
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani 2b086cb
              
                deduplicate enums that have different names but mean the same thing
              
              
                PankajBhojwani d682ded
              
                update display name on argument change
              
              
                PankajBhojwani 52abb0d
              
                Some keyboard nav stuff
              
              
                PankajBhojwani b1550c8
              
                show the first keybinding on the top level page
              
              
                PankajBhojwani 9c50b62
              
                prop names
              
              
                PankajBhojwani 24edaa9
              
                comma
              
              
                PankajBhojwani da0a7a0
              
                conflict
              
              
                PankajBhojwani 9eb6c77
              
                conflict
              
              
                PankajBhojwani c5dd430
              
                const vectors, rename to typeHint
              
              
                PankajBhojwani fa36c50
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani 6cb9909
              
                typehint
              
              
                PankajBhojwani 2b1ffd4
              
                __COUNTER__, lazy init static arg descriptors
              
              
                PankajBhojwani ccfb4bd
              
                format
              
              
                PankajBhojwani b3f9c89
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani 9366666
              
                get arg descriptors
              
              
                PankajBhojwani 06c051b
              
                +1
              
              
                PankajBhojwani 19fb26d
              
                split pane args fix
              
              
                PankajBhojwani 8a81db7
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani 6c08bcb
              
                cache the displayname
              
              
                PankajBhojwani 981a01e
              
                don't need this anymore
              
              
                PankajBhojwani ef197d2
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani 892ced6
              
                two cached vectors
              
              
                PankajBhojwani 75d0a1b
              
                lightweight arg count
              
              
                PankajBhojwani e2a758e
              
                first round
              
              
                PankajBhojwani e9291ba
              
                init newterminalargs in getemptyargs
              
              
                PankajBhojwani ea36019
              
                unnecessary includes
              
              
                PankajBhojwani 890671a
              
                callback instead
              
              
                PankajBhojwani 84aaf05
              
                lowercase i
              
              
                PankajBhojwani ebee14b
              
                map handles id changes
              
              
                PankajBhojwani 64dfb94
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani bbdfb37
              
                use action map's update id
              
              
                PankajBhojwani cde4c03
              
                vector instead
              
              
                PankajBhojwani d9a409a
              
                updateid moved to cascadia settings
              
              
                PankajBhojwani 41ae713
              
                Merge branch 'dev/pabhoj/settings_model_reflection' into dev/pabhoj/s…
              
              
                PankajBhojwani b2a624e
              
                updateid update
              
              
                PankajBhojwani e995a5f
              
                conflict
              
              
                PankajBhojwani 8e0a447
              
                whitespace
              
              
                PankajBhojwani 2366b3f
              
                format
              
              
                PankajBhojwani 6cffe9f
              
                first pass
              
              
                PankajBhojwani 1693773
              
                formatt
              
              
                PankajBhojwani e0352e4
              
                Merge branch 'main' of https://github.com/microsoft/terminal into dev…
              
              
                PankajBhojwani 8b3c12e
              
                edit action resource
              
              
                PankajBhojwani 757bd15
              
                function template instead
              
              
                PankajBhojwani 8d1f280
              
                expose int value on enum and flag entry
              
              
                PankajBhojwani 294e2e3
              
                safer handling
              
              
                PankajBhojwani File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
          Some comments aren't visible on the classic Files Changed page.
        
There are no files selected for viewing
  
    
      This file contains hidden or 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 hidden or 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 hidden or 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
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can bind the button directly to
ViewModel.AddNewCommandin the XAML and delete this whole method off Actions