marktriggs / in_a_rush Goto Github PK
View Code? Open in Web Editor NEWArchivesSpace keyboard navigation
ArchivesSpace keyboard navigation
Another class of keyboard shortcut could be for adding subrecords to an existing top-level record type.
Action | Shortcut |
---|---|
Add dates subrecord | ad |
Add extent subrecord | ae |
Add agent link | al |
Add subject link | as |
Add external document | ax |
Add container instance | ac |
Add digital object instance | ao |
Add note | an |
Add event | av |
Add assessment | aa |
These are not all relevant for all record types. Shortcut should only work if the current record allowed for that subrecord type. Should only work in edit mode.
There are more subrecord types that could be included, but obvious letter choices would start to overlap, so maybe not every subrecord type needs a shortcut.
Here's the navigation keyboard shortcuts at the moment:
Core code:
Action | Shortcut |
---|---|
This shortcut reference | Shift ? |
Close a modal window (e.g., this one) | ESC |
Save the record being edited | Ctrl s |
Close a record being edited | Ctrl x |
Open Browse menu | Shift b |
Open Create menu | Shift c |
In first release of plugin:
Action | Shortcut |
---|---|
Go to search | / |
Go to next record in search results | j |
Go to previous record in search results | k |
Possible additions:
Action | Shortcut |
---|---|
Go to home screen | gh |
Go to browse accessions | ga |
Go to browse resources | gr |
Go to browse digital objects | go |
Go to browse subjects | gs |
Go to browse agents | ga |
Go to Manage Top Containers | gt |
One class of keyboard shortcuts could be for the creation of top-level record types: resources, accessions, digital objects, subjects, and agents. My suggestions:
Action | Shortcut |
---|---|
Create resource | cr |
Create accession | ca |
Create digital object | cd |
Create subject | cs |
Create person | cp |
Create corporate body | cb |
Create family | cf |
In the "?" keyboard shortcut pop-up, the shortcuts for "Open 'Browse' menu" and "Open 'Create' menu" are listed as B and C respectively. While I that is technically correct - both Shift-b and B (with caps lock on) work, it would probably be clearer to leave them as the default Shift-b and Shift-c.
I think having shift precede opening menus is a good mnemonic, and distinguishes opening menus from the other navigation options, which move your focus on the screen rather than opening up something that isn't visible.
With that in mind, would it make sense to make "Shift - " (or | I guess) open up Advanced search?
I was surprised that ASpace already has some stock keyboard shortcuts - hitting ? in the staff app brings up a list. Would be good if the plugin added to that list.
FWIW, here's what the stock shortcuts are:
`
Action | Shortcut |
---|---|
This shortcut reference | Shift ? |
Close a modal window (e.g., this one) | ESC |
Save the record being edited | Ctrl s |
Close a record being edited | Ctrl x |
Open Browse menu | Shift b |
Open Create menu | Shift c |
` |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.