Abdullah Atta
5fe366f4f3
global: use same versions for dependencies everywhere ( #7365 )
...
* global: use same versions for dependencies everywhere
* intl: fix `Cannot find module '@lingui/macro'`
* web: fix `I18n' is not assignable to parameter` type error
* setup: log post install cmd
* setup: more logging
* web: update lockfile
2025-01-21 09:35:38 +05:00
Abdullah Atta
8ffbda9626
Revert "editor: update tiptap to v2.10.4 ( #6872 )"
...
This reverts commit 800f3ca5d3 .
2025-01-20 10:20:15 +05:00
Abdullah Atta
800f3ca5d3
editor: update tiptap to v2.10.4 ( #6872 )
...
* editor: update tiptap to v2.9.1
* editor: update tiptap & pkgs to 2.10.4
* editor: update test snapshots
2024-12-30 14:51:50 +05:00
Abdullah Atta
745cbc082f
editor: replace tinycolor2 with colord
2024-11-13 15:48:33 +05:00
Abdullah Atta
6671a97181
editor: get rid of framer-motion
2024-11-13 15:48:33 +05:00
Abdullah Atta
a1a24ee865
editor: use tsc for builds instead of tsup
2024-11-13 15:48:33 +05:00
Abdullah Atta
8577c32c1f
editor: use strings from @notesnook/intl
2024-10-10 12:35:58 +05:00
Abdullah Atta
3b06450113
editor: fix @emotion/react version
2024-10-01 16:16:43 +05:00
Abdullah Atta
5f0d14f01c
web: fix motion.create is not a function
2024-09-25 14:41:25 +05:00
Abdullah Atta
21b6fc4982
editor: export tool definitions and other utils independently
2024-09-24 13:44:31 +05:00
Ammar Ahmed
e81580024e
mobile: fix build failing
2024-09-24 13:14:35 +05:00
Abdullah Atta
0a2af0ec7d
global: publish packages
2024-09-23 15:47:09 +05:00
Abdullah Atta
a7fa0bde00
global: publish packages
2024-09-23 15:32:14 +05:00
Abdullah Atta
c787ef29d6
editor: include esm & cjs variants in build
2024-09-23 15:32:13 +05:00
Abdullah Atta
59085d7b19
editor: update packages
2024-09-13 08:37:03 +05:00
Abdullah Atta
ebc01af34a
global: publish packages
2024-07-20 10:34:28 +05:00
Abdullah Atta
25c861ce77
global: publish packages to npm
2024-06-05 10:28:28 +05:00
Abdullah Atta
ee14a292ab
editor: use alfaaz for word counting
2024-04-09 01:37:30 +05:00
Abdullah Atta
cb124c7445
editor: update tiptap & other packages
2024-03-21 11:22:48 +05:00
Abdullah Atta
c56445f817
global: update lockfiles
2024-03-21 11:22:11 +05:00
Abdullah Atta
54f1945a58
editor: add support for adding/removing internal links
2024-03-21 11:20:26 +05:00
Abdullah Atta
f26ea526e8
web: migrate everything to react@18
2024-03-21 11:11:01 +05:00
Abdullah Atta
27840b9bd6
editor: fix link pasting ( #4178 )
2024-01-26 18:57:59 +05:00
Abdullah Atta
d653223df0
editor: load images threadsafely
2023-11-22 10:36:48 +05:00
Abdullah Atta
830d28fbe5
editor: fix pasting link replaces selected text
...
fixes #3520
2023-10-31 12:33:49 +05:00
Abdullah Atta
bb77385b66
editor: update tiptap to 2.1.11
2023-09-25 10:36:36 +05:00
Abdullah Atta
e42f1a65f5
editor: update tiptap packages to v2.1.7
2023-09-04 15:51:47 +05:00
Abdullah Atta
a3d3886c51
editor: refactor clipboard extension
2023-09-04 14:22:45 +05:00
Abdullah Atta
8b056fe610
editor: preserve formatting when pasting text
2023-09-04 14:22:45 +05:00
Ammar Ahmed
89c2d45a4b
mobile: reduce app size ( #3068 )
...
* mobile: reduce app size
* editor: substitute all @mdi/js icons at build time
* mobile: add script to tree shake icon font file
* mobile: fix icon loading
* mobile: remove html-entities dep
* mobile: add missing icon fonts
* mobile: include plain editor
* mobile: add missing fonts
* mobile: use webpack-bundle
* mobile: keep generated fonts in repo
* mobile: update fonts
* mobile: fix duplicate key warning
* mobile: update fonts
* mobile: disable gesure on reminder sheet
* mobile: update fonts
* mobile: reset session correctly on logout
* mobile: update icon fonts
* mobile: set button action on reminder sheet
* mobile: add missing icons
* mobile: fix crash
* mobile: fix right menus
* mobile: remove console.log
* mobile: disable bounce effect
* mobile: update deps
---------
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2023-08-02 15:35:15 +05:00
Abdullah Atta
4bab279345
global: fix conflicting package versions across subprojects
2023-08-01 20:39:16 +05:00
Abdullah Atta
c4a9d244a9
editor: bump katex version to 0.16.4
2023-08-01 18:35:31 +05:00
Ammar Ahmed
622294b807
global: implement the new theme engine ( #2196 )
...
* mobile: theme
* theme: add theme engine
* mobile: migrate app colors to new theme engine
* mobile: fixed some colors
* mobile: fix colors
* mobile: store theme info in store
* theme: `ColorsType` -> `Variants`
* theme: use explicit return type for `useThemeColors`
* theme: add `backdrop` color
* mobile: `const colors` -> `const {colors}
* theme: add default pitch-black theme
* mobile: manage theme state via theme-engine
* mobile: add theme scopes
* mobile: commit
* mobile: fix button width on applock screen
* mobile: fix typings
* mobile: fix theme definition
* web: add partial support for custom themes
only context menus & popups are left.
* theme: add dialog & sheet scopes
* global: sync with master branch and make everything work again
* mobile: fix theme-engine usage in editor & app
* mobile: fix colors
* mobile: fix colors
* mobile: cleanup
* mobile: fix status bar color incorrect on entering foreground
* mobile: fix dark color scheme
* web: move emotion theme provider to @notesnook/theme
* editor: add support for theme enging
* web: adjust hover & focus colors on list item
* mobile: migrate share ext to theme engine
* mobile: fix editor theme provider
* clipper: add support for the new theme engine
* mobile: fix statusbar color on switch from bg
* misc: fix build
* mobile: fix build
* misc: fix colors
* mobile: fix theme colors
* mobile: fix bottom padding
* server: add theme server
* theme: add previewColors
* server: support themes query pagination
* mobile: add client from theme server
* server: reset cache on sync repo
* server: fix types
* server: show ip & port on start server
* server: theme updates
* web: finalize new theme engine on web
* editor: fix build
* global: fix @emotion/react version to 11.11.1
* editor: update katex patch
* web: fix imports
* global: fix @trpc/* versions
* global: a huge set of changes
1. get rid of ThemeVariant. All variants can now be accessed anywhere.
2. remove unnecessary button variants
3. make buttons more responsive
4. implement themes server
* web: add support for theme search and theme switching
* global: update lockfiles
* mobile: fix error
* theme: use vite-plugin-react to start theme server
* web: add support for auto updating themes
* mobile: update theme selector
* mobile: update theme if new verison available
* theme: add `isomorphic-fetch` package
* global: update lockfiles
* web: add theme details dialog
* setup: add scope for themes server in bootstrap script
* web: add production server url
* web: update lockfile
* web: update lockfile
* mobile: remove `react-native-blob-util`
* web: add support for endless scrolling in themes
* web: bring back dark/light mode option in settings
* web: fix colors in places
* theme: add selected variant
* global: use single typescript version across the projects
* web: fix sort & group options not having submenus
* web: apply selected variant where appropriate
* ui: use unique id for all menu items
* config: add ui scope for commits
* theme: export button variant creation fn
* web: fix only 1 theme showing in theme selector
* web: fix navigation item hover & other colors
* mobile: update theme
* editor: fix toolbar group alignments
* editor: set theme provider at app level
* theme: use scope name to get current scope
* mobile: fix color usage in message card
* theme: remove caching
* editor: bring back icons in table menus
* theme: use zustand to manage theme engine state
* web: fix login/signup theming
* mobile: fix webpack build
* misc: remove ThemeProvider usage
* editor: adjust theming and styling of editor toolbar
* mobile: refactor
* editor: fix toolbar group padding everywhere
* web: fix settings sidebar is not scrollable
* web: add loading indicator for themes loading
* mobile: fix warning
* mobile: fix ui issues
* web: fix Loader errors on build
* theme: add getPreviewColors & validateTheme
* theme: fix theme validation
* mobile: load theme from file
* mobile: fix share extension crash
* mobile: rename state
* theme: add sourceURL property
* theme: refactor theme-engine
* web: add support for loading theme from file
* web: improve button hover interaction
* mobile: fix floating button color
* mobile: update theme
* mobile: fix border radius of context menu
* mobile: set sheet overlay color to theme backdrop
* mobile: set sidemenu backdrop to theme backdrop
---------
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2023-08-01 12:07:21 +05:00
Abdullah Atta
5dd22e85fa
editor: bump version to 1.6.1
2023-08-01 09:31:06 +05:00
Abdullah Atta
72a25dcf34
global: get rid of lerna
2023-07-06 11:14:04 +05:00
Abdullah Atta
984e8f8780
global: use node scripts directly everywhere
2023-07-05 13:40:09 +05:00
Felipe Muñoz Mazur
5c9f7a8bcb
editor: add clipboard button to the codeblock ( #2710 )
...
Signed-off-by: Felipe Muñoz Mazur <felipe.munoz.mazur@protonmail.com >
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2023-07-05 13:09:12 +05:00
Abdullah Atta
5d1ba7fa0a
web: new dialog based settings ( #2745 )
2023-06-16 19:10:02 +05:00
Abdullah Atta
6ab0911970
desktop: finalize new desktop core
2023-06-10 15:54:17 +05:00
Abdullah Atta
28927e705b
desktop: overhaul desktop core and migrate to typescript
2023-06-10 15:54:17 +05:00
Abdullah Atta
0deaed4ccd
editor: make date-time format configurable
2023-06-05 15:29:10 +05:00
Abdullah Atta
520296106a
editor: bump version to 1.5.0
2023-05-25 09:48:22 +05:00
Abdullah Atta
3b727e6f64
editor: update tiptap packages to v2.0.3
2023-05-25 09:47:20 +05:00
Abdullah Atta
2e7935cacc
editor: publish
2023-04-05 01:53:16 +05:00
Abdullah Atta
03803dbc23
editor: fix task-list tests
2023-03-20 18:05:27 +05:00
Abdullah Atta
d4752685d0
editor: keep marks when creating new list items
...
we shouldn't reset the user's selected styles like bold/italic when they
create a new list item.
2023-03-20 16:33:14 +05:00
Abdullah Atta
3e1420d496
editor: get rid of @remirror/core-utils
...
(cherry picked from commit c74f15c86b2f25c9f572ea74f47243e1b52f9c1f)
2023-03-13 12:41:02 +05:00
Abdullah Atta
fc5ea0ad51
editor: add tests for codeblock
2023-03-06 15:15:52 +05:00
Abdullah Atta
2f4a7f5410
editor: migrate tests to vitest
2023-03-06 15:15:52 +05:00
Abdullah Atta
16ffec1f1e
editor: set up integration tests
2023-02-27 11:07:06 +05:00