Commit Graph

986 Commits

Author SHA1 Message Date
Gabriel Horner
89a108f846 Merge branch 'master' into feat/db 2024-12-19 11:44:00 -05:00
charlie
96fb8da599 enhance(ui): add ghost shui button for the toolbar 2024-12-19 17:51:33 +08:00
Tienson Qin
61a150695e chore: bump better-sqlite3 2024-12-11 00:32:49 +08:00
Tienson Qin
cbbefaa278 copy from c6bf04c287 2024-12-10 22:53:29 +08:00
Tienson Qin
7fd0541c22 fix: add string-width resolution 2024-12-10 21:45:09 +08:00
rcmerci
da781b03c1 update rsapi 2024-12-10 20:31:56 +08:00
Tienson Qin
10caf40312 chore: bump electron 2024-12-10 20:16:07 +08:00
Gabriel Horner
c6bf04c287 fix: Unable to install and start electron after package.json changes
For osx with node 18.X, yarn install in static/ failed hard with error:
Error [ERR_REQUIRE_ESM]: require() of ES Module
<path>/node_modules/string-width/index.js

Solution in
https://github.com/yarnpkg/yarn/issues/8994#issuecomment-2207025146
initially worked but also needed to add strip-ansi for install to
consistently work
2024-12-04 13:51:43 -05:00
charlie
c862e5c7d7 fix(electron): upgrade api server https://github.com/logseq/db-test/issues/181 2024-12-04 14:39:43 +08:00
Bad3r
39a1b95b18 Upgrade dugite Dependency (2.5.1->2.7.1) to Resolve Linux Build Issues (#11550)
### Overview

This PR addresses a build failure encountered on Linux systems within the Logseq DB branch. The issue stems from a hash mismatch in the dugite dependency, which prevents successful builds. By upgrading dugite to the latest stable version, this PR aims to resolve the build errors without introducing any regressions.

Problem Description

Over the past few days, attempts to build logseq-desktop on Linux have consistently failed due to a hash mismatch error in the dugite package. Below is the error log for reference:
```sh
error /tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite: Command failed.
Exit code: 1
Command: node ./script/download-git.js
Arguments: 
Directory: /tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite
Output:
Validation failed. Expected '78375b97c802caa33c4ab585e3cf113001f0f53d0ab623ef0086e7c5b819189d' but got '1605228e7cad9e7229a8ff992b8c100caaf632323402dd64475efd33ee8acc01'
/tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite/script/download-git.js:123
          rmSync(tempFile)
          ^

ReferenceError: rmSync is not defined
    at /tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite/script/download-git.js:123:11
    at Hash.<anonymous> (/tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite/script/download-git.js:18:5)
    at Hash.emit (node:events:529:35)
    at finish (node:internal/streams/writable:748:10)

```

I acknowledge that building the db branch locally is not the recommended testing method. However, this approach facilitates my workflow by integrating custom scripts for window layout management. Rest assured, all issues I report are still reproduced and verified on official testing builds such as test.logseq.com and db-demo.logseq.com before any bug reports are submitted.


This error is easy to fix by upgrading the duglite dependency. I have been using this fix for the last few commits over the past two days and there are no issues with the change.

Please consider accepting this PR i.e. upgrading duglite if it doesn't affect anything else.

Changelog:
https://github.com/desktop/dugite/releases
2024-12-04 08:11:34 +08:00
charlie
fb411a767a chore(deps): upgrade electron stuff 2024-11-29 14:51:09 +08:00
Tienson Qin
d706cff08a fix: codemirror highlight background color on logseq dark theme 2024-11-06 12:40:46 +08:00
charlie
75edccdf0b enhance(ux): better interaction for the plugin readme content 2024-11-01 15:15:55 +08:00
charlie
65c16a4251 fix(pdf): ResizeObserver loop completed with undelivered notifications 2024-10-19 12:01:33 +08:00
charlie
9e88068a3a Merge branch 'feat/db' into enhance/code-type-block 2024-09-30 15:58:26 +08:00
Konstantinos
e09db5de59 Enhance (dev): Tabler icons (#11468)
* handle tabler-icons resources

* test removing tabler-icons-react

* Revert "test removing tabler-icons-react"

This reverts commit ea2553628d.

* replace @tabler/icons-react with tablerIcons on dist file

* fix: incorrect global react variable for the tabler react library

---------

Co-authored-by: charlie <xyhp915@qq.com>
2024-09-30 11:33:01 +08:00
charlie
40323a19ae enhance(ui): primary text color for the code block text 2024-09-27 09:54:52 +08:00
charlie
915e36581c dev(electron): support react developer tool for development 2024-09-11 18:18:15 +08:00
charlie
d55b07b0ba enhance: delete btn for the date property picker 2024-09-11 15:34:06 +08:00
charlie
11ba4b2ad7 enhance(ui): polish date picker 2024-09-10 22:00:28 +08:00
Tienson Qin
f336324b8e enhance: date picker year/month use shui ui 2024-09-10 21:03:40 +08:00
charlie
f2fb3658d1 enhance(ui): polish details for the shui datepicker 2024-09-03 17:36:06 +08:00
charlie
7e50deba24 enhance(ui): add custom month picker for the shui date picker 2024-09-03 17:29:36 +08:00
charlie
e1e2678622 fix(ui): default text color for the select menu content 2024-08-28 12:54:36 +08:00
charlie
41e2ae0e41 enhance(ui): polish navigation details for the shui datapicker 2024-08-28 10:50:37 +08:00
charlie
a1ee76edc5 fix(ui): default text color for the sub menu content 2024-08-28 10:06:25 +08:00
charlie
c5010b6679 enhance(ux): months/years navigation for shui datepicker 2024-08-27 20:00:36 +08:00
charlie
86722711f3 enhance(ux): months/years navigation for shui datepicker 2024-08-27 19:48:39 +08:00
charlie
4978574851 enhance(ui): support delete date option for the date picker 2024-08-27 18:57:22 +08:00
charlie
8444031518 enhance(ux): add month/year select for the shui datepicker 2024-08-27 14:37:04 +08:00
charlie
3d582c9cda enhance(ux): support do not remind me for the shui confirm dialog 2024-08-26 16:34:53 +08:00
charlie
8074b6a989 fix(ui): bg color vars for the radix menu content 2024-08-22 18:49:23 +08:00
charlie
91b39e7b55 enhance(ui): polish dropdown property editor 2024-08-21 09:22:43 +08:00
Konstantinos
043927031e Enhance (dev) (#10981)
* remove electron.html

* remove unneeded some

* remove react deps from repo

* remove mobile index.html

* reintroduce tl-select-trigger styles

* reintroduce popper arrow styles

* remove ui.js from repo

* remove glide resources from repo

* enhance tabler-icons resource handling

* fix glidejs path

* add glidejs theme

* Revert "remove mobile index.html"

This reverts commit 8c84a2655f.

* Revert "enhance tabler-icons resource handling"

This reverts commit f8ac25154f.

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2024-08-09 17:00:15 -04:00
charlie
5f34d4da77 enhance(ui): add without animation prop for the shui-related popoups 2024-07-31 14:42:24 +08:00
Tienson Qin
09cba5fa28 Merge branch 'feat/db' into refactor/narrow-gap-between-page-and-block 2024-07-22 18:17:00 +08:00
charlie
9ff589b6b9 enhance(ui): inherit global color for the popup foreground color 2024-07-22 13:28:19 +08:00
Tienson Qin
a44f6c27d5 Merge branch 'feat/db' into refactor/narrow-gap-between-page-and-block 2024-07-21 11:34:49 +08:00
charlie
e4a1f723e2 enhance(ux): WIP page preview with the shui popups 2024-07-16 17:14:21 +08:00
Tienson Qin
a1f352773b refactor: rename :block/original-name to :block/title 2024-07-10 21:43:03 +08:00
charlie
fdf7a2cf50 enhance(ui): add more tabler extension icons 2024-07-09 15:20:51 +08:00
charlie
aa178b1098 fix(ui): tweaks for the tabler extension icons 2024-07-08 22:48:21 +08:00
charlie
afe122a17a enhance(ui): add icons for the slash command items 2024-07-08 19:08:41 +08:00
charlie
3dc019b567 Merge branch 'master' into feat/db 2024-06-26 10:02:41 +08:00
charlie
d278067f8c enhance(ui): support hide close button option for the shui dialog 2024-06-26 10:01:54 +08:00
charlie
946499ad56 enhance(ui): support auto width for the shui dialog content 2024-06-25 18:06:13 +08:00
Tienson Qin
05f14033c4 chore: remove better-sqlite3 from electron 2024-06-15 00:29:39 +08:00
Tienson Qin
0ce2ee42db Revert "refactor: use files instead of sqlite for electron db storage"
This reverts commit c2c5ab80aa.
2024-06-13 13:04:00 +08:00
Tienson Qin
c2c5ab80aa refactor: use files instead of sqlite for electron db storage 2024-06-11 08:30:49 +08:00
Tienson Qin
721a9e14ad fix: arrow color 2024-06-03 19:20:50 +08:00