Generalizing Rich Command Usage
See original GitHub issueDescription
Thanks to @cinqmilleans’ job, Files has now a cleaner way to handle commands across the solution. Rich commands now need to be implemented throughtout the whole solution.
This issue is used to keep track of which commands are made into Rich Commands.
Concerned code
The following commands must be transformed into Rich Commands (See BaseLayoutCommandsViewModel
, ContextFlyoutItemHelper
and ToolbarViewModel
):
- Clear Selection (#11502)
- Close Selected Tab (#11916)
- Close Pane (#12002)
- Compress Into Archive (#11572)
- Compress Into Seven Zip (#11572)
- Compress Into Zip (#11572)
- Copy Item (#11504)
- Copy Path Of Selected Items (#11774)
- Create Folder With Selection
- Create New File
- Create New Folder (#11493)
- Create Shortcut (#11493)
- Create Shortcut From Dialog (#11493)
- Cut Item (#11504)
- Decompress Archive (#11723)
- Decompress Archive Here (#11723)
- Decompress Archive To Child Folder (#11723)
- Delete Item (#11504)
- Duplicate Tab (#11596)
- Empty Recycle Bin (#11415 )
- Enter compact overlay (#11821)
- Exit compact overlay (#11821)
- Format Drive #11831
- Gridview Size Decrease (#11678)
- Gridview Size Increase (#11678)
- Group Layer Sort (#11678)
- Install Font (#11780)
- Install Inf Driver (#11812)
- Invert Selection (#11502)
- Multi-Selection (#11502)
- Navigate back (#11829)
- Navigate forward (#11829)
- Navigate up (#11829)
- Navigate To Next Tab (#11916)
- - [x] Navigate To Previous Tab (#11916)
- Open Directory In New Pane
- Open Directory In New Tab
- Open File Location
- Open In New Window Item
- Open In Terminal (#11445)
- Open Item (#11667)
- Open Item With Application Picker (#11667)
- Open New Tab (#11596)
- Open Parent Folder (#11667)
- Open new pane (#12002)
- Open settings #11846
- Paste Items From Clipboard (#11670)
- Pin Directory To Favorite
- Play All (#12017)
- Quick Look (#11771)
- Redo (#12017)
- Refresh #11807
- Rename Item #11861
- Reopen Tab (#11833)
- Restore Item (#11472)
- Restore Selection Recycle Bin (#11472)
- Rotate Image Left (#11633)
- Rotate Image Right (#11633)
- Run As Admin (#11581)
- Run As Another User (#11581)
- Run With Powershell (#11914)
- Search Unindexed Items (#12074)
- Select All (#11502)
- Send to
- Set As Lockscreen Background (#11563)
- Set As Slideshow Item(#11563)
- Set as Desktop Background(#11563)
- Show Folder Properties (#11915)
- Show Properties (#11915)
- Show/hide dot files
- Share file (#11827)
- Sidebar Pin Item (#11492)
- Sidebar Unpin Item (#11492)
- Toggle Preview Pane (#11578)
- Toggle Sidebar #11847
- Undo (#12017)
- Unpin Directory From Favorite
- Unpin Item From Start
Gains
- A more cohesive code.
- The ability to call commands easily from anywhere in the code.
Requirements
- Each of the commands previously cited have been transformed into Rich Commands.
- The previous implementations of the commands are cleaned up.
Comments
No response
Issue Analytics
- State:
- Created 7 months ago
- Comments:23 (23 by maintainers)
Top Results From Across the Web
How To Build User-Friendly Command Line Interfaces with ...
To install Rich and set it up in your Python environment, you can use the pip package manager. Run the following command to...
Read more >Rich-cli is a command line toolbox for fancy output in the ...
Use the rich command to highlight a variety of file types in the terminal, with specialized rendering for Markdown and JSON files. Additionally...
Read more >Brief Introduction to Generalized Linear Models
The purpose of this handout is to briefly show that several seemingly unrelated models are actually all special cases of the generalized ......
Read more >Introduction — Rich 13.5.2 documentation
Use Rich to make your command line applications visually appealing and present data in a more readable way. Rich can also be a...
Read more >Generalized estimating equations: xtgee
Stata estimates extensions to generalized linear models in which you can model the structure of the within-panel correlation. This extension allows users to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m working on ~
Reopen closed tabs
and~Toggle sidebar
. @QuaintMako can you add it to the list?@QuaintMako you can tick off Compact Overlay