* ElectronClient window minimum size set
Hardcoded minimum width and height of 100 px.
Signed-off-by: daukadolt <daulet.amirkhanov.official@gmail.com>
* Set Electron window position if outside displays
Set Electron window at the center of primaryDisplay if BrowserWindow is not on any displays.
Signed-off-by: daukadolt <daulet.amirkhanov.official@gmail.com>
* Set Electron window default size dependent on screen
Set Electron window defaultWidth, defaultHeight to 80% of primary display workArea width, height, respectively.
Signed-off-by: daukadolt <daulet.amirkhanov.official@gmail.com>
* Hotfixing Electron defaultHeight depending on width, not height
Hotfix of a typo that calculates Electron app's default height at first run using primary screen's width, not height.
Signed-off-by: daukadolt <daulet.amirkhanov.official@gmail.com>
* Refactoring Electron app defaultWidth/defaultHeight setup
Setting defaultWidth/defaultHeight directly without extra variables.
Rounding defaultWidth/defaultHeight.
Signed-off-by: daukadolt <daulet.amirkhanov.official@gmail.com>
* installed eslint-plugin-react-hooks and set up rules of hooks
* fixed linter error
* changed react-hooks/exhaustive-deps option to error
* changed spaces to tabs in eslint config
* Use the strongly recommended asar packing on linux
* Use asar for macOS packaging
* Update package.json
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
* Add word counter logic
Fix errant whitespace changes
* update to using react hooks
Use React hooks
remove extra theme set
Update styling function
* correct linting and package lock issues
* WIP: update button functionality
* Add line count and update styling from feedback
* corrected file location to fit new build
* Add a Basic Resource Screen
Implement "Open in External Viewer"
Add @types/lodash as a devDependency, prettyBytes for pretty printing bytes
Implement display of Orphaned Resources
Implement deletion of Resources
Implement sorting logic
Minor Styling
Remove Compiled js
Review - No more Orphan display, LIMIT resources
ResourceScreen - use DB for sorting
Database - Version 28 (Index on Resource size)
Add compiled JS with eslint --fix
Add ResourceScreen to ignore files, delete from repo
Disable enforce-react-hooks
* Second review round
* Update ResourceScreen.tsx
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
* Super basic QuickAction is working!
* QuickAction successfully creates notes
* Update icons
* Update icons and support new to-do
* Update icons and support new to-do
* Fixed
* Extract QuickActions
* It works as long as you go out of the edit screen (saving is not sufficient)
* working? but still kinda buggy...
* Cleanup
* Cleanup
* Cleanup
* Use the same pattern as onJoplinLinkClick_
* Cleanup
* Cleanup
* Remove pluginAssets/index.js change
* manual Andoid linking
* Transition QuickActions.js to .ts
* Unstage QuickActions.js in favor of .ts
* Move QuickActions out of lib/
* Add comment about userInfo in QuickActions
* Remove redundant QuickActions file
* Remove pluginAssets/index to resolve conflict
* Update CONTRIBUTING.md to include test runner troubleshooting
* Add `npm run tsc` to Unit Tests docs
Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
This is only a minor bump but several issues have been fixed since 7.1.9:
- Fixed an issue where sending complex objects over IPC could in some cases cause the renderer process to be terminated. electron/electron#21922
- Fixed crash with Date.toLocaleString for invalid locale and locale of the format aa@BB. electron/electron#21969
- Fixed flash plugin not working. electron/electron#22109
- Fixed issue where renderers could crash during GC when using the contextBridge module. electron/electron#22112
- Fixed netLog.stopLogging returning undefined instead of the path to the log. electron/electron#21988
- Fixed an edge case in checkbox logic on Windows. electron/electron#21860
- Fixed an issue where window.print() only worked once on a single BrowserWindow. electron/electron#21911
- Fixed an issue where the credits set in About Panel credits were not dark mode aware on macOS. electron/electron#21924
- Fixed error thrown when importing powerMonitor on Linux before app's 'ready' event. electron/electron#21941
- Fixed fuzzy font rendering when hot-plugging displays on macOS Catalina. electron/electron#21872
- Fixed BrowserWindow.setFocusable(true) not working on Windows. electron/electron#21855
- Fixed set-cookie header not passed in net module. electron/electron#21770
- Fixed an issue where custom stream protocols would sometimes not complete responses when the data stream ended. electron/electron#21758
- Fixed crash when restoring minimized hidden window on Windows. electron/electron#21820
- Fixed issue where non-zero size pixels in CSS styles could be rounded down to zero size pixels. electron/electron#21857
- Fixed memory leak when using javascript generator functions. electron/electron#21773
- Fixed potential hang when sending synchronous IPC messages on process shutdown. electron/electron#21776
* Support export of multiple notes to pdf files.
* Update in response to review comments.
Find unique filenames when exporting multiple pdfs.
Simplify delay.
* Eliminate redundant retries and fix error message in fs shim unique filename search.
* Make output filenames consistent between single and multi pdf export.
* Remove unnecessary white space.
* Remove legacy sleep in pdf export and add a little more variability to unique filename search.
Builds in CI are done from a 'detached HEAD' state. Thus `git rev-parse --abbrev-ref HEAD` always returns HEAD, which is not master.
Releases are always created from the master branch, thus HEAD -> master.
* Add renderer plugin to handle tabs in code blocks.
* Add plugin to renderer package list.
* Attempt to fix unrelated linter issues.
* Fix unrelated linter problems.
The problems exist on master prior to the branch.
* Fix more inherited linter problems.
* Do not show "failed to print" warning dialog after cancelling print.
* Add reason to error string.
* Reform message string.
* Ensure OK button is displayed on error dialog.
* Support multi-line selections for creating ordered lists, unordered lists, checkboxes.
* Modify to maintain previous behaviour wrt insertion of new line if not on empty line.
* Review update: rename variables (or eliminate them).
* Review update: variable naming.