Abdullah Atta
3aa3858981
web: fix type errors
2024-03-21 11:21:06 +05:00
Abdullah Atta
75a358a4ce
web: fix cannot navigate into nested notebook by hovering on it
2024-03-21 11:19:02 +05:00
Muhammad Ali
9798ada335
web: add support for item drag/droping ( #3230 )
...
* web: basic drag drop function for single note
* web: added check for noteId
* web: add support for item drag drop
---------
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2024-03-21 11:19:01 +05:00
Abdullah Atta
a8e81a32bf
web: add support for nested notebooks
2024-03-21 11:07:18 +05:00
Abdullah Atta
a881a6d51e
web: use new types from core
2024-03-21 10:59:59 +05:00
Abdullah Atta
5af5549173
web: introduce "dangerous" variant for menu items
2023-08-07 06:54:11 +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
cd792625ac
web: use named imports for icons
2023-06-17 13:36:01 +05:00
Abdullah Atta
9e2f54fd0b
web: use utils from @notesnook/common
2023-06-17 13:36:01 +05:00
Abdullah Atta
5374f2b56c
web: migrate to vitejs from webpack ( #2715 )
2023-06-12 11:49:37 +05:00
Abdullah Atta
92e9cd740f
web: fix crash on opening notebook context menu
2023-06-05 19:06:53 +05:00
Abdullah Atta
20bef5e70c
web: fix crash when opening notebook context menu
2023-06-05 19:05:39 +05:00
Abdullah Atta
6c3583c9e5
web: add support for setting default notebook/topic
2023-06-05 15:29:10 +05:00
Abdullah Atta
c36f532bbb
web: use date & time formats from settings
2023-06-05 15:29:10 +05:00
Abdullah Atta
af9b9b7083
web: fix notebook item date font family
2023-05-25 15:44:09 +05:00
Abdullah Atta
4de5691428
web: clarify notebook/topic delete dialog wording
2023-03-18 11:58:30 +05:00
Abdullah Atta
765fcafc38
web: fix all tests & improve notebook/topic deletion
2023-03-18 11:58:30 +05:00
Abdullah Atta
f62cd63fbb
web: add separators in context menus & reorganize menu items
2023-02-13 18:13:54 +05:00
Abdullah Atta
9116a24392
global: update license year to 2023
2023-01-16 13:48:28 +05:00
Abdullah Atta
d1072059c5
web: improve wording of notes deletion confirm dialog when deleting notebook/topic
2023-01-13 17:51:40 +05:00
Abdullah Atta
1fa0203651
web: test notes deletion when deleting notebook/topic
2023-01-13 17:51:40 +05:00
alihamuh
4dbd49d612
web: allow deleting contained notes during notebook/topic deletion
2023-01-13 17:51:40 +05:00
Abdullah Atta
2db03ed2d7
web: simplify references shown in note properties
2023-01-12 12:38:20 +05:00
Abdullah Atta
0f5786d7d7
web: remove "Notebook" & "Topic" indication from notebook & topic
2023-01-12 12:38:20 +05:00
Abdullah Atta
6c613c6f1e
Merge branch 'move-pins-out'
2022-09-21 10:45:58 +05:00
Abdullah Atta
d31a43b463
web: rewrite the whole test suite to be more resilient
...
**Why?**
The old test suite was a confusing mess, hard to maintain, update, and
add more tests to. It lacked a much needed layer of expressivity &
the reusable functions were all over the place.
Since it used a global `page` (by mistake), it couldn't run in parallel.
Moreover, the global `page` approach caused random flakiness.
All the above reasons led to this OM (Object Model) based approach to tests.
The tests are now much more expressive, reslient, resuable & easier to
maintain. During the rewriting process I also added a couple more
tests (about 10) so this is a net improvement.
Previously, running the tests were also quite slow (15-25s avg). This has
now been improved to (5-8s avg) by running the tests in production.
This means the app now requires to be built before running the tests:
```sh
npm run build:test:web # this is only required once
npm run test:web
```
2022-09-14 11:50:24 +05:00
Abdullah Atta
ca1b66d68a
web: settings.pins -> shortcuts migration
2022-09-07 14:19:08 +05:00
Abdullah Atta
9054dacb76
web: fix ui discrepancies due to theme-ui migration
2022-09-06 22:57:03 +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
Abdullah Atta
a1834b15c1
theme: migrate to custom fork of rebass for latest changes
2022-08-29 20:03:10 +05:00
thecodrr
15f5fcd521
refactor: run eslint on the whole project
2022-08-27 15:23:11 +05:00
thecodrr
e898ef5d86
refactor: run prettier on the whole codebase
2022-08-26 16:19:39 +05:00
thecodrr
bbfd7a9f7a
fix: crash when group by none in notebook
...
(fixes streetwriters/notesnook#480 )
2022-04-07 23:59:37 +05:00
thecodrr
111ffa94ce
fix: make sure all tests pass
2022-02-15 10:21:52 +05:00
thecodrr
f449fb6c33
fix: permanent delete not working
2022-02-15 07:30:33 +05:00
thecodrr
96c351b8bb
refactor: handle multiselect actions directly
2022-02-14 12:46:37 +05:00
thecodrr
3015a60764
refactor: cleanup context menu logic
2022-01-07 09:11:10 +05:00
Muhammad Ali
cd2ed0505c
feat: change shown date according to sort options ( #196 )
...
(fixes #213 )
* date edited change fixed
* Transferred useEffect to list container
* solved some buigs in the feature
* date edited change fixed
* Transferred useEffect to list container
* solved some buigs in the feature
* feat: make date adaptive for all items
Co-authored-by: thecodrr <thecodrr@protonmail.com >
2022-01-01 12:01:57 +05:00
thecodrr
90d9398c9b
fix: total notes don't update on notebook items
2021-12-15 16:18:52 +05:00
thecodrr
1473980782
feat: a much more compact "compact mode"
2021-10-29 00:17:23 +05:00
thecodrr
e500b7c3f8
fix: nb cannot be unpinned if 3 nbs are pinned
2021-09-13 10:24:16 +05:00
thecodrr
3285f3fc92
feat: show item type on notebook & topic items
2021-08-17 10:20:16 +05:00
thecodrr
ecd72c8f44
fix: notebook item note refreshing on edit
2021-07-17 10:55:46 +05:00
thecodrr
7a4ceb9a40
feat: add compact/detailed view mode toggle
2021-07-17 09:06:47 +05:00
thecodrr
6c4dc8173e
feat: make notebook item consistent with note item
2021-07-17 08:40:39 +05:00
thecodrr
5ef320e48b
feat(ui): add icons to context menu
2021-06-16 09:58:15 +05:00
thecodrr
15c6226ea8
refactor: simplify notebooks list profile
...
I have moved all the click listeners to Notebook item directly
2021-06-07 23:40:09 +05:00
thecodrr
b20a41bf21
feat: do not treat General topic specially
2021-05-28 21:27:59 +05:00
thecodrr
ae7f958b2e
fix: show correct topic shortcuts on notebook
2021-05-28 21:25:34 +05:00