01zulfi
add1b8a68a
editor: support audio attachment playback
...
Co-authored-by: Hamish <133548095+Hamster45105@users.noreply.github.com >
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2026-02-18 11:24:45 +05:00
01zulfi
994060cce2
editor: allow attaching image as file ( #8752 )
...
* editor: allow attaching image as file
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
* web: fix image previews for regular attachments
* mobile: allow images to be added as attachment without preview
* web: minor refactor
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
---------
Co-authored-by: Ammar Ahmed <ammarahmed6506@gmail.com >
2026-02-02 10:26:03 +05:00
Abdullah Atta
cfa9f11f44
web: replace usage of subscription.type to subscription.plan
2025-09-29 10:02:10 +05:00
Abdullah Atta
97f8f1e3c3
web: use checkFeature
2025-09-29 10:02:09 +05:00
Abdullah Atta
bce063e1bd
web: add feature limits in almost all places
2025-09-29 10:02:08 +05:00
01zulfi
0be59c71de
web: save image compression upload setting ( #7089 )
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-01-02 15:10:58 +05:00
Abdullah Atta
53e4bda69d
web: stop lazy loading fs
...
we really should split it up so its easier to partially import
2024-11-13 15:48:33 +05:00
Ammar Ahmed
f781aaa6f5
web: localize
2024-10-10 12:35:58 +05:00
Ammar Ahmed
e78b245eea
web: localize
2024-10-10 12:35:58 +05:00
Abdullah Atta
89aba00aac
web: fix imports
2024-09-23 15:32:13 +05:00
Abdullah Atta
cdcdc43cad
web: fix encryption progress when attaching files
2024-08-13 11:09:03 +05:00
Abdullah Atta
9a37f7c506
web: fix image picker dialog shown for non-image attachments
2024-07-22 13:08:49 +05:00
Abdullah Atta
1eb80ccc88
web: get rid of dialog controller
...
dialog controller was redundant and created unnecessary overhead.
It also coupled all the dialogs together so you couldn't import a dialog
independently. This new change isolates each dialog to its own module
while keeping the behaviour mostly the same.
2024-07-16 17:18:25 +05:00
Abdullah Atta
45a552adef
web: handle errors during uploaded file size check
2024-05-04 22:51:01 +05:00
Abdullah Atta
8e207d787d
web: delete file before reuploading
2024-05-04 22:51:01 +05:00
Abdullah Atta
2cee5020dd
web: add image compression
2024-03-21 11:19:56 +05:00
Abdullah Atta
1a00fc6e30
web: add support for multiselecting attachments
2024-03-21 11:19:56 +05:00
Abdullah Atta
448d19e9fd
web: fix all type errors
2024-03-21 11:15:31 +05:00
Abdullah Atta
7b3f671159
web: fix many type errors
2024-03-21 11:14:53 +05:00
Abdullah Atta
a881a6d51e
web: use new types from core
2024-03-21 10:59:59 +05:00
Abdullah Atta
17f5bd28ba
web: do not overwrite filename & mimetype on attachment reupload
2024-01-27 16:06:04 +05:00
Abdullah Atta
b6fd0df715
web: get rid of all attachment loading logic
2024-01-27 16:06:04 +05:00
Abdullah Atta
a101dbdf31
web: use bloburl when previewing images
2023-11-20 11:12:02 +05:00
Abdullah Atta
95b9edca62
web: check if attachment really exists on insertion
2023-11-18 12:17:11 +05:00
Abdullah Atta
39afa98fce
web: lazily load fs module
2023-11-18 10:17:23 +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
4eabe79e7e
web: fix attachment caching issues
2023-05-27 16:14:12 +05:00
Abdullah Atta
9116a24392
global: update license year to 2023
2023-01-16 13:48:28 +05:00
Abdullah Atta
d81f5dba65
refactor: migrate to theme-ui from rebass
2022-08-31 07:26:27 +05:00
Abdullah Atta
c317774c8a
docs: add license header
2022-08-30 16:17:04 +05:00
thecodrr
e898ef5d86
refactor: run prettier on the whole codebase
2022-08-26 16:19:39 +05:00
thecodrr
1b8246f897
chore: update packages
2022-08-06 18:44:54 +05:00
thecodrr
c2b58e6af5
feat: stop compressing images & turning them into jpgs/pngs
...
(fixes streetwriters/notesnook#748 )
2022-08-06 18:44:54 +05:00
thecodrr
35a38d2b33
feat: remove everything tinymce related
2022-06-30 11:21:37 +05:00