Commit Graph

23 Commits

Author SHA1 Message Date
Mega Yu
6153078342 enhance i18n 2026-04-05 17:06:46 +08:00
Tienson Qin
f538491096 chore: reduce test noise and infer warnings 2026-03-12 17:51:23 +08:00
Gabriel Horner
01426fd244 fix: editing global config.edn and export.css in desktop app
Only enable export.css for desktop since it doesn't work
for browser and db graphs. Also remove a related and
unused db-graph? flag
2026-01-22 13:19:58 -05:00
Tienson Qin
c32a10e7b5 fix: invalid db when uploading new plugin 2025-10-24 22:18:24 +08:00
Tienson Qin
5e1a968530 Merge branch 'master' into feat/db 2025-05-13 18:22:20 +08:00
Tienson Qin
cf8947da04 enhance: rename fs/write-file! to fs/write-plain-text-file! 2025-05-09 02:01:13 +08:00
charlie
a15a9e15b1 enhance(plugin): install plugin from Github releases for development mode 2025-01-17 16:50:24 +08:00
Tienson Qin
8a0a05183e refactor: remove :block/format for db graphs (#11667) 2025-01-05 12:10:47 +08:00
charlie
e8732f9d44 enhance(plugin): WIP install plugin from web 2024-12-25 17:31:52 +08:00
charlie
720739b097 enhance(plugin): basic plugin setup for web platform 2024-12-24 16:26:45 +08:00
Charlie
60fbfdf2f7 Enhance: plugin-related improvements (#8787)
- fix: Select and Input elements rendered using provideUI via onMacroRendererSlotted don't function #8374
 - fix: logseq.Editor.getPageBlocksTree does not work when page uuid is passed in as param #4920
 - feat: add a plug-in flag for the plugin slash commands item
 - feat: add logseq.App.setCurrentGraphConfigs: (configs: {}) => Promise<void>
 - feat: add hook logseq.App.onTodayJournalCreated: IUserHook<{ title: string }
 - enhance: auto-check updates for the installed plugins from Marketplace
 - feat: expose template-related APIs to SDK
2023-04-12 21:27:40 +08:00
Gabriel Horner
07c27b0f59 Fix lint and other minor fixes
- Rename is-file-url to reflect boolean return val
- Remove unused 3rd arg for set-config!
2023-03-28 09:14:42 +08:00
Andelf
f6961b4b1c fix(watcher): handle init load error 2023-03-28 09:14:42 +08:00
Andelf
1cd7f89cd9 refactor(fs): handle global file write 2023-03-28 09:14:42 +08:00
Gabriel Horner
5202741563 Fix: Plugins menu item not opening from plugins dashboard (#8736)
* Fix plugins menu item not opening from plugins dashboard

Fix #8726

* Address review feedback and just remove event firing
2023-03-02 11:22:00 -05:00
Zhizhen He
7fdb9aaffb fix: typo 2022-11-21 17:58:13 -05:00
Tienson Qin
03d0f6191b enhance: print clojure data to make it easy to digest the error 2022-10-18 18:08:58 +08:00
Gabriel Horner
2685cd1325 Fix bug with certain plugins and misc cleanup
- Plugins that used effects weren't loading correctly e.g.
  logseq-power-plugin
- Cleaned up translation, docs and some fn naming
2022-10-17 10:31:07 -04:00
Gabriel Horner
0c570a0300 Fix more bugs, move plugins.edn and add enabled
- Move plugins.edn to config/ as it is user configuration
- Add plugin-config enabled flag and moved plugin enabled
- Fixed bugs with manual install
- Refactored plugin-config component to have its own listener
- Split out shared plugin fns to a common ns - plugin-config shouldn't
  need to depend on a component like plugin-handler
- Bump rewrite-edn to include upstream fix and avoid tons of cljs
  warnings with earlier versions
- Fix react warning introduced outside this PR in ui/icon
2022-10-17 10:13:27 -04:00
Gabriel Horner
784ad7cce3 Add unit tests for create-if-not-exists and misc test improvements
- Added unit test as it is used by several handlers
- Fixed test suite failing from last commit now that a test fs is used
- Fixed test stat implementation
- Extracted out Plugin schema to make usage of it less impl dependent
- Made test.helper alias consistent
- Made async testing consistent for export-test
2022-10-17 10:13:27 -04:00
Gabriel Horner
c8cda90373 Fix plugin install bugs and add plugin-config tests
- Add validation for plugins.edn with malli
- Add bb task using malli schema
- Add first async test that interacts with frontend.fs
- Add test helpers to make future async testing easier
2022-10-17 10:13:27 -04:00
Gabriel Horner
bf79db9d54 Install and uninstall plugins from file
Change plugins.edn to key off id as it is unique and all operations
work off of it.
Note: there are still some bugs with certain plugin installs
2022-10-17 10:13:27 -04:00
Gabriel Horner
da6c617a5b First pass at writing plugins.edn on install/update/uninstall 2022-10-17 10:13:27 -04:00