Commit Graph

12490 Commits

Author SHA1 Message Date
dependabot[bot]
71ed9020bc chore(deps): bump msgpackr from 1.9.9 to 1.10.1 in /packages/ui
Bumps [msgpackr](https://github.com/kriszyp/msgpackr) from 1.9.9 to 1.10.1.
- [Release notes](https://github.com/kriszyp/msgpackr/releases)
- [Commits](https://github.com/kriszyp/msgpackr/compare/v1.9.9...v1.10.1)

---
updated-dependencies:
- dependency-name: msgpackr
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-05 15:11:09 +08:00
dependabot[bot]
7eeff5bfb8 chore(deps): bump msgpackr from 1.8.3 to 1.10.1 in /packages/amplify
Bumps [msgpackr](https://github.com/kriszyp/msgpackr) from 1.8.3 to 1.10.1.
- [Release notes](https://github.com/kriszyp/msgpackr/releases)
- [Commits](https://github.com/kriszyp/msgpackr/compare/v1.8.3...v1.10.1)

---
updated-dependencies:
- dependency-name: msgpackr
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-05 15:10:46 +08:00
Andelf
bd1d23b7a5 fix(ci): missing env while building android 2024-01-03 22:49:57 +08:00
Andelf
9030dd362c enhance(android): add crash report using sentry.io 2024-01-03 22:49:57 +08:00
Andelf
8390c957f0 fix(test): wrong expect usage in e2e 2024-01-03 17:56:39 +08:00
Andelf
47018a45bf fix(mobile): accept video as shared content
Close #10792
2024-01-03 17:56:39 +08:00
charlie
a9fb491811 fix(ui): incorrect position for the filter modal on ios platform 2024-01-03 17:07:39 +08:00
aurnik
2fcffcbd25 Move page alias formatting for list items so the text highlights properly 2024-01-02 15:59:15 +08:00
Tienson Qin
ca4f0d4c04 enhance: increase bullet border width when its block was selected 2023-12-29 17:01:32 +08:00
Charlie
0dd5584010 Enhance(ui): left sidebar (#10765) 2023-12-29 16:54:47 +08:00
aurnik
50facde03a Set keyboard shortcuts in sidebar to always have auto width 2023-12-28 20:18:40 +08:00
charlie
035301ca6e refactor(api): compatible for the old api 2023-12-28 15:05:53 +08:00
charlie
6454e46f3c fix(api): missing git sdk 2023-12-28 15:05:53 +08:00
Andelf
fed1c7c7ef fix(e2e): do not use css to test selection 2023-12-26 22:29:28 +08:00
Tienson Qin
2b0d956626 enhance: add border to bullet instead of block container 2023-12-26 17:56:43 +08:00
Mega Yu
7bc3c0d8a8 clear e2e keyboard state 2023-12-26 17:56:43 +08:00
Mega Yu
3a93799958 add e2e test 2023-12-26 17:56:43 +08:00
Mega Yu
b69087c30a optimize CSS to make the selection of blocks more intuitive 2023-12-26 17:56:43 +08:00
Mega Yu
aaf856e803 support mod+shift+left-click 2023-12-26 17:56:43 +08:00
Mega Yu
cba1150e1a allow set starting block if it's exists 2023-12-26 17:56:43 +08:00
Mega Yu
805efabb22 set it as the starting block when no blocks are selected when shift clicking 2023-12-26 17:56:43 +08:00
Mega Yu
13773c9fac clear selection if necessary 2023-12-26 17:56:43 +08:00
Mega Yu
b4b5a949d7 deselect the block if it's selected 2023-12-26 17:56:43 +08:00
e-zz
28de2b70ab fix(pdf): area highlights don't blink
Area highlights don't blink when jumping to it.  

Maybe we could unify the id naming style of all highlights elements. So, area highlights will blink as text highlights do.

- `id` of text highlight: 27e3b9d019/src/main/frontend/extensions/pdf/core.cljs (L254)

- [The part for blinking](27e3b9d019/src/main/frontend/extensions/pdf/utils.js (L123C5-L130)) in `pdf/utils.js` 
``` js
  // blink highlight
  function blinkHighlight () {
    const id = highlight?.id
    const el = document.getElementById(`hl_${id}`)
    if (!el) return
    el.classList.add('hl-flash')
    setTimeout(() => el?.classList.remove('hl-flash'), 1200)
  }
```  
PS: I don't know if disabling the blinking is by design. Let me know if it's not a bug but a feature :)
2023-12-26 16:32:32 +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
Andelf
c4919145ba chore(release): bump version 0.10.3 0.10.3 2023-12-25 21:02:59 +08:00
Hidekazu Kubota
a8b2cd5525 fix: force percent encoding to distinguish pages with a title starting with a dot from a hidden file. 2023-12-25 17:05:21 +08:00
Vivianne
981b1ef80f fix(i18n): Fix french translation typo 2023-12-23 12:46:21 +08:00
Andelf
74f56002b3 fix: do not use asar 2023-12-23 12:45:07 +08:00
charlie
3934efb537 fix(api): safety key string for the simple command key value 2023-12-23 12:30:37 +08:00
Andelf
b7c2a7b8f5 fix(ci): provide fallback for build-stage action 2023-12-22 11:28:52 +08:00
Andelf
8871bee48d chore(release): bump version 0.10.2 0.10.2 2023-12-21 23:15:26 +08:00
charlie
ef3dc26db9 fix(pdf): set up initial listeners for the pdf viewer inside system window 2023-12-19 21:28:07 +08:00
Andelf
5231fcf431 fix(test): fs name collision 2023-12-19 18:24:50 +08:00
Andelf
b8c213d36b fix(test): additional await for search box 2023-12-19 18:24:50 +08:00
Andelf
9a92ec1900 fix: demo whiteboard 2023-12-19 18:24:50 +08:00
Andelf
22da19126f fix(test): refine check state 2023-12-19 18:24:50 +08:00
Andelf
b15652fdd9 chore(release): ios version 0.10.2 for TF release 2023-12-19 11:09:37 +08:00
queeup
4b3d4eaa7c enhance(i18n): update Turkish translation 2023-12-18 08:38:11 -05:00
eliovir
515cf66683 enhance: Update French translations (#10706)
* Update French translations

Add missing strings

* Update fr.edn
2023-12-18 08:36:48 -05:00
Tienson Qin
621faf90a4 fix: don't treat a block as pre block if it has auto heading 2023-12-15 17:10:16 +08:00
Gabriel Horner
8dde33e915 chore: Update datascript to latest version before our fork
Also updated db/entity because d/entity returns nil for nonexistent ids since 1.4.2
2023-12-15 09:42:52 +08:00
Konstantinos Kaloutas
81eab963e6 limit clone functionality 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
6e67df9e37 add shortcuts and fix naming 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
760cb8e314 refactor 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
cc3c0197da clean refs on cloned shape 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
844fa15041 handle cloning and positioning 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
0869a10cef enhance clone handles 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
fcb7435b3b filter out non geometry shapes 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
98b615b22d (wip): introduce clone handles 2023-12-14 14:42:03 -05:00