86 Commits

Author SHA1 Message Date
Gabriel Horner
208b4bc205 fix: remove whiteboards and tldraw from rest of codebase
Also remove some old excalidraw refs that should've been removed awhile
back
2026-01-22 13:19:58 -05:00
rcmerci
ed11330956 test(e2e,rtc): add test for https://github.com/logseq/db-test/issues/683 (2) 2026-01-01 16:55:19 +08:00
Tienson Qin
ff56c6cbcb add publish staging and prod 2025-12-29 17:49:02 +08:00
Tienson Qin
58cda5538f cljs worker 2025-12-27 17:00:38 +08:00
Tienson Qin
2a96243474 add publish worker 2025-12-27 06:56:07 +08:00
Gabriel Horner
3293a73347 chore: another kondo ignore 2025-11-07 09:31:43 -05:00
Gabriel Horner
623618a04b fix: remove references to nonexistent static/yarn.lock
File was removed in #11903. Also remove publishing script
that has been unused for some time
2025-07-08 09:25:14 -04:00
Gabriel Horner
f736895b1b fix: remove unused e2e-test namespace
workflow step and docs for tests deleted in #11903
2025-07-08 08:53:27 -04:00
Tienson Qin
453ee3b3b4 fix: ensure website build doesn't rely on new mobile components
this commit also removes js e2e-tests
2025-07-02 22:38:32 +08:00
Tienson Qin
8a219cacc1 fix: update public/static to /static 2025-07-02 21:43:11 +08:00
Tienson Qin
e2255e439e chore: add ios/App/App/public to .gitignore 2025-06-04 22:34:30 +08:00
Tienson Qin
2b012adb40 chore: remove .projectile 2025-06-02 11:19:10 +08:00
Tienson Qin
62b654319f add template and calculator tests 2025-05-05 21:18:38 +08:00
rcmerci
2c6247a8d7 chore: update .lsp & gitignore 2025-04-24 01:13:28 +08:00
Tienson Qin
d0a3e08958 enhance: add e2e tests for outliner ops (#11828)
* first e2e example

* Add wally repl pause/resume example

* use with-page-open

* add indent outdent test

* outliner add delete tests

* remove all timeout usage

* refactor: move fns to logseq.util

* Add commands tests for command trigger and node reference

* Add http-server

* add bb script to build release and run tests

* exit when tests finished

* Add clj e2e workflow

* increase slow-mo to 100
2025-04-24 00:51:22 +08:00
Gabriel Horner
b2d6aa4956 fix: accidental temp file from last merge 2024-12-19 15:17:51 -05:00
Tienson Qin
ce0efea61a chore: add more .clj-kondo dirs to git ignore 2024-09-18 18:28:29 +08:00
Gabriel Horner
ad9dc70b9c fix: finish removing table v2 from shui dep
Followup to 82a1a18762.
Copied more useful intro from shui-graph into README
2024-05-15 10:25:31 -04:00
Tienson Qin
1ec4796eff refactor: replace :block/left with :block/order
Finally no need to worry about parent-left conflicts and broken chain.
With :block/order, we only need to re-compute new orders for siblings
with same order (it can happens if there're bugs in our code, or
updates from rtc), but it doesn't break UI.

Another huge potential benefit after discussing with Zhiyuan is:
Ee might be able to simplify both RTC and undo/redo, currently, we
need to handle each new op for both of them, with recently
refactorings like properties being db attributes, :block/order
is a string instead of a ref, we can handle most property value
conflicts using last-write-wins, and others (e.g. :block/parent,
property with :default type) specifically.

I haven't fixed the issues of using :block/left in RTC and undo/redo,
because we might change both soon.
2024-05-02 01:12:22 +08:00
Charlie
8040168d1e Feat: New UI components (#10694)
* enhance(plugin): call apis with the sdk ns

* enhance(plugin): types

* enhance(api): get value from the computed style

* enhance(api): types

* enhance(plugin): types

* enhance(plugin): types

* fix: lint

* fix(apis): incorrect shortcut command registion for block editing mode #10392

* fix(api): types

* enhance(apis): support register shortcuts with multi binding vals

* fix(plugins): normalize command key to make the internal keyword legal

* chore(plugin): build libs core

* chore(plugin): bump version

* enhance(apis): normalize apis cljs data

* chore(plugin): update libs user sdk

* chore(plugin): CHANGELOG.md

* fix: typo

* feat(ui): add package

* Update .gitignore

* feat(ui): set up shui infrastructure

* feat(ui): add storybook macro

* enhance(ui): storybook themes

* feat(ui): adapt ui button to classic

* enhance(ui): shui story

* feat(ui): shui toaster

* enhance(ui): shui toaster

* feat(ui): imperative API for shui toaster

* enhance(shui): update API for shui toaster

* enhance(shui): update hooks for shui toaster

* enhance(shui): remove debug

* feat(ui): story for the shui toaster

* feat(ui): story

* feat(ui): story docs

* feat(ui): more variants for the shui toaster

* feat(ui): story

* fix(ux): support querying plugins with right space chars

* feat(ui): add shui `Alert` component

* enhance(ui): shui demo

* feat(ui): add logseq UI readme

* enhance(ui): default shui theme

* feat(ui): add shui `Badge` component & demo

* fix(ui): outline theme for shui button

* feat(ui): custom icon for the toaster item

* feat(ui): add shui dropdown & demo

* feat(ui): WIP shui form related components

* feat(ui): WIP shui form-related components

* feat(ui): WIP shui form

* feat(ui): WIP shui form state for validation

* fix(ui): missing rounded for ui button

* feat(ui): add yup for shui form as default validation resolver

* enhance(ui): simplify validation schema input for the shui form

* fix(ui): accent ring color for input

* feat(ui): add shui switch

* feat(ui): add shui checkbox & switch

* feat(ui): add shui radio group

* fix(ui): missing file

* feat(ui): add Textarea component

* feat(ui): add shui card & skeleton

* feat(ui): add shui context menu component & demo

* fix(ui): accent color for the context menu item

* feat(ui): add shui select component & demo

* enhance(ui): ui css priority

* feat(ui): add shui calendar & ui details

* feat(ui): add shui popover

* feat(ui): add date picker & demo

* feat(ui): add shui dialog

* feat(ui): WIP add shui dialog

* feat(ui): WIP shui dialog as modal

* feat(ui): WIP imperative APIs for the shui modal

* feat(ui): imperative APIs for the shui modal/alert

* feat(ui): support imperative API alert!/confirm! return promise

* feat(ui): simplify shui components resources

* feat(ui): response layout for the demo ui page

* feat(ui): simplify colors

* feat(ui): simplify colors

* feat(ui): simplify colors

* refactor(ui): WIP Adapt to the new button component

* refactor(ui): polish new button & colors

* fix(ui): the new theme color for the plugin settings nav item link

* fix(ui): blockquote colors

* enhance(ui): more custom colors for shui button

* feat(ui): WIP make logseq green as a theme color

* enhance(ui): polish logseq classical theme color

* fix(ui): theme details of all pages

* enhance(ui): polish logseq theme color for dark mode

* fix(ui): missing table style

* refactor(ui): simplify the all shui buttons & shortcuts for the cmdk component

* fix(ui): missing file

* refactor(ui): clear up stuff

* fix(ui): theme color related issues

* enhance(ui): polish button style

* enhance(ui): polish the keymap setting pane

* fix(ui): hint button from the cmdk pane footer

* fix(ui): logseq colors for the storybook

* enhance(ui): stories for the shui components

* fix(ui): active color for the old toggle component

* enhance(ui): keep the constant size of the settings pane

* fix(ui): polish search input for the plugins pane

* enhance(ui): polish number list bullet colors

* feat(ui): add shui tooltip component

* chore: build ui

* chore(ui): clean up resources

* fix: lint

* fix: lint

* fix: lint

* fix(ui): alignment of the keymap title from the settings pane

* fix: tests

* fix(ui): close button for the classic notification tip

* fix(ui): polish toaster viewport

* enhance(ui): polish the ghost button colors

* enhance(ui): demos for tips

* fix(ui): accent colors for the rc-datepicker

* fix(ui): accent color for the menu item

* refactor(ui): remove unless code for the accent colors

* enhance(ui): polish pdf viewer background color for the accent color mode

* fix: lint

* fix: lint

* fix: lint

* enhance(ui): support button with the custom href link

* enhance(ui): polish aside setting items

* enhance(ui): polish accent color for buttons

* enhance(ui): polish all pages

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-12-26 16:31:37 +08:00
Ben Yorke
928742e66b shui/table introduction 2023-05-12 13:24:54 -04:00
Zhizhen He
9adb8646b0 chore: remove duplicated item 2023-04-18 11:53:23 +08:00
Gabriel Horner
eac3c273ca Updates docs version for parse-graph integration tests 2023-04-14 09:35:55 -04:00
Gabriel Horner
5cce967192 Add nbb-test-runner to graph-parser
Replaces manual, hardcoded runner
2023-04-12 11:02:43 +08:00
rcmerci
ec157b8f2c dev: add lsp config
add :ns-inner-blocks-indentation config to keep the current style of :require
2023-02-24 15:24:38 +08:00
Tienson Qin
77e63f6461 enhance: allows empty content only for delete-blocks and move-blocks (#8199)
allows empty content only for delete-blocks and move-blocks
2023-01-09 22:24:08 +08:00
Tienson Qin
937f3ea9bc Add public/static to gitignore 2022-12-06 18:26:16 +08:00
Andelf
7804fee8c3 fix(build): use yarn.lock in static 2022-12-05 16:56:51 +08:00
Junyi Du
adf8d55b91 chore: update gitignore with e2e dump 2022-11-30 21:59:36 +08:00
Sergey Kolesnik
452d611214 Style fix: added .page-title class to sidebar item for :page-presentation command (just like :page command) 2022-11-14 20:45:59 +08:00
Timothy Pratley
3b6a89c975 replace whiteboard printing with ugly print
Prints fast with newlines

clojure -M:test:bench

Testing frontend.benchmark-test-runner
[], (with-out-str (pprint/pprint onboarding)), 10 runs, 2950 msecs
[], (with-out-str (fipp/pprint onboarding)), 10 runs, 2447 msecs
[], (up/ugly-pr-str onboarding), 10 runs, 94 msecs
[], (pr-str onboarding), 10 runs, 82 msecs
2022-11-14 17:23:42 +08:00
Gabriel Horner
96ebd7d8b3 Put tldraw-logseq.js in same source path as other js files
No need for a separate source path
2022-09-24 02:58:10 -04:00
Andelf
2a73019b34 refactor(mobile): use ios file-sync as lib 2022-09-16 21:12:15 +08:00
Tienson Qin
7a0075491f Add capacitor.config.json to gitignore 2022-09-14 11:30:11 +08:00
Tienson Qin
a6eca9d5de chore: updated gitignore 2022-05-30 16:17:16 +08:00
Gabriel Horner
efd53b4591 Basic test for parsing docs graph 2022-05-04 12:02:36 -04:00
Tienson Qin
2b0a56018c fix: Disappearing children
close #4814
2022-04-05 12:44:46 +08:00
Junyi Du
1f9ce0b0bf fix: always trigger removing file of separate git dir 2022-03-21 13:02:28 +08:00
Jonah Goldsaito
cc0cdb40f2 Load more journal entries (#3048)
* Update the default number of journal entries shown

* Get 7 journal entries per load while infinite scrolling

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-02-22 17:30:31 +08:00
Gabriel Horner
7497d8b396 Lint a good chunk of src/main/frontend
Left some TODOs to discuss with others and others for me to finish
2022-01-11 17:34:54 -05:00
Peng Xiao
17b5cdb9e8 feat: add a secret global flag to load graph progammtically (#3531)
* feat: add a secret global flag to load graph from a user defined dir

* fix: use LOGSEQ_OVERWRITE_OPEN_DIR env var to overwrite the openning graph dir

* e2e: add a test for load & check saved graph data

* fix: should also pass in process.env for testing fixtures

* feat: new way to set open dir folder

* fix: e2e

* fix: remove playwright global flag check

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-01-05 21:05:05 +08:00
llcc
6434fa8e7e Merge branch 'master' into mobile 2021-11-22 17:03:20 +08:00
leizhe
0b9bd09855 add .gitignore file 2021-11-19 19:38:01 +08:00
Tienson Qin
b0fbc62801 chore: add yarn.lock to .gitignore 2021-11-18 21:55:59 +08:00
Seth
9d999614bd update readme to include platform specific docker instructions 2021-10-25 11:39:41 +08:00
Tienson Qin
f0af0f05dd test: cypress scaffolding 2021-06-22 10:57:11 +08:00
Charlie
5df70519c1 Merge branch 'master' into feat/integration-plugins-core 2021-06-02 10:25:49 +08:00
Devon Zuegel
11559b64cc Add newline to .gitignore 2021-06-01 22:29:50 +08:00
Devon Zuegel
e677c3eada Add .vscode to .gitignore 2021-06-01 22:29:50 +08:00
charlie
158c7645e3 fix(plugin): exported api namespace 2021-05-17 12:36:23 +08:00