1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-18 09:35:20 +02:00
joplin/ReactNativeClient/lib
Laurent Cozic c63c6370b5 Desktop: Refactored command system
The goal is to make the command system more modular, so each command can
be defined as a single object that includes a declaration (name, label,
etc.) and a runtime (to execute the command, test if it should be
enabled, etc.)

Utility methods are provided to convert a command to a menu item or a
toolbar button, thus reducing duplicated and boiler plate code across the
codebase (often the menu item logic was duplicated in the toolbar
button logic and vice versa).

The goal is to make it easier to add new commands (and associated menu
item and toolbar buttons) and to call them from
anywhere. This is also useful for plugins, which can also easily define
new commands.

Could also allow creating a command palette.
2020-07-03 22:32:39 +01:00
..
commands Desktop: Refactored command system 2020-07-03 22:32:39 +01:00
components Mobile: Fixes OneDribe login screen 2020-06-20 11:14:01 +01:00
hooks Desktop: Refactored command system 2020-07-03 22:32:39 +01:00
images
joplin-renderer Desktop, Mobile: Fixes #3281: Prevent code highlighting from freezing the app in some cases 2020-06-28 18:31:43 +01:00
migrations
models Desktop: Refactored command system 2020-07-03 22:32:39 +01:00
renderers
services Desktop: Refactored command system 2020-07-03 22:32:39 +01:00
themes Desktop, Mobile: Fix link color for dark theme (#3391) 2020-06-21 00:47:19 +01:00
vendor
ArrayUtils.js Desktop: Resolves #2683: Go To Anything by body (#2686) 2020-03-28 13:05:00 +00:00
AsyncActionQueue.ts Mobile: Resolves #2595: Add undo/redo support 2020-06-13 16:20:18 +01:00
BaseApplication.js Desktop: Resolves #2773: Add support for system keychain to save sensitive settings (#3207) 2020-06-03 17:07:50 +01:00
BaseModel.js Desktop, Cli: Fixes #2331: Only de-duplicate imported notebook titles when needed 2020-06-28 18:00:51 +01:00
BaseSyncTarget.js
Cache.js
checkPermissions.ts Android: Fixes #3010: Request permissions if needed when exporting profile (#3202) 2020-06-08 09:01:11 +01:00
ClipperServer.js Desktop: Fixed API issue 2020-06-20 23:11:18 +01:00
CssUtils.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
database-driver-node.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
database-driver-react-native.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
database.js
dialogs.js Revert "Mobile: Refactored and made dialog boxes more reliable" 2020-06-13 16:20:59 +01:00
DropboxApi.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
envFromArgs.js Desktop: Resolves #2773: Add support for system keychain to save sensitive settings (#3207) 2020-06-03 17:07:50 +01:00
EventDispatcher.js
eventManager.js Desktop: Refactored command system 2020-07-03 22:32:39 +01:00
file-api-driver-dropbox.js
file-api-driver-local.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
file-api-driver-memory.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
file-api-driver-onedrive.js All: Resolves #173: Upload attachments > 4 MB when using OneDrive (#3195) 2020-06-03 14:29:47 +01:00
file-api-driver-webdav.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
file-api.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
folders-screen-utils.js
fs-driver-base.js
fs-driver-dummy.js
fs-driver-node.js
fs-driver-rn.js
geolocation-node.js
geolocation-react.js Mobile: Fixes #3240: Fix geolocation 2020-06-05 00:08:09 +01:00
HtmlToMd.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
htmlUtils.js Desktop, Cli: Fixed various bugs related to the import of ENEX files as HTML 2020-06-15 17:10:51 +01:00
import-enex-html-gen.js Desktop, Cli: Fixes #3402: Fixed import of checkboxes in ENEX files 2020-06-28 18:55:47 +01:00
import-enex-md-gen.js Desktop, Cli: Fixed various bugs related to the import of ENEX files as HTML 2020-06-15 17:10:51 +01:00
import-enex.js Desktop, Cli: Fixed issue with importing resources from ENEX files 2020-06-14 16:26:35 +00:00
joplin-database.js Desktop: Create new notes with minimum set of properties to prevent a few minor bugs 2020-06-02 22:27:36 +01:00
JoplinError.js
JoplinServerApi.ts
locale.js Desktop: WYSIWYG: Fixed UI translation issue for certain languages 2020-05-11 18:59:23 +01:00
logger.js
markdownUtils.js Desktop: Fix getLineSpan logic and list token regex logic (#3365) 2020-06-16 13:00:17 +01:00
markJsUtils.js
markupLanguageUtils.js
mime-utils-types.js Desktop: Fixed issue with setting filename for edited attachments 2020-06-09 19:15:43 +00:00
mime-utils.js Desktop: Fixed issue with setting filename for edited attachments 2020-06-09 19:15:43 +00:00
ModelCache.js
net-utils.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
ObjectUtils.js
onedrive-api-node-utils.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
onedrive-api.js All: Resolves #173: Upload attachments > 4 MB when using OneDrive (#3195) 2020-06-03 14:29:47 +01:00
package.json
parameters.js
parseUri.js
path-utils.js
poor-man-intervals.js
promise-utils.js
randomClipperPort.js
react-logger.js
reducer.js Desktop: Refactored command system 2020-07-03 22:32:39 +01:00
registry.js Updated British spelling 2020-06-20 12:18:41 +01:00
reserved-ids.js
resourceUtils.js
ShareExtension.ts Android: Resolves #2896: Enable sharing to Joplin on Android (#2870) 2020-06-04 18:40:44 +01:00
shareHandler.ts Tools: Apply linter 2020-06-06 10:21:21 +01:00
shim-init-node.js Desktop: Resolves #3333: Improved escaping of Markdown titles in links 2020-06-07 12:55:40 +01:00
shim-init-react.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
shim.js Desktop: Resolves #2773: Add support for system keychain to save sensitive settings (#3207) 2020-06-03 17:07:50 +01:00
string-utils-common.js
string-utils.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
synchronizer.js All: Fixes #3381: Prevent desktop.ini file from breaking sync lock 2020-06-20 01:15:56 +01:00
SyncTargetDropbox.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
SyncTargetFilesystem.js
SyncTargetMemory.js
SyncTargetNextcloud.js
SyncTargetOneDrive.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
SyncTargetOneDriveDev.js
SyncTargetRegistry.js
SyncTargetWebDAV.js
TaskQueue.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
TemplateUtils.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
theme.js All: Refactored themes to allow using the same ones in both desktop and mobile version 2020-06-10 22:08:59 +01:00
time-utils.js
urlUtils.js
uuid.js
WebDavApi.js Revert "Tools: Added eslint rule arrow-parens" 2020-05-21 09:14:33 +01:00
welcomeAssets.js Update website 2020-06-20 02:57:32 +01:00
WelcomeUtils.js