Commit Graph
100 Commits
Author SHA1 Message Date
Aslam H 02009c2baf refactor: remove query string 2024-11-09 15:16:02 +07:00
Aslam H 899487bb3b chore: fix pages and links 2024-11-09 15:15:54 +07:00
Aslam H c1c4506ac2 chore: action hooks update to use new page action 2024-11-09 15:15:22 +07:00
Aslam H 040d1d6deb chore: remove me from global handler 2024-11-09 15:14:50 +07:00
Aslam H 6475855e2f fix: eager loading for nested topic 2024-11-09 15:14:23 +07:00
Aslam H 60846a4c42 chore: topic selector remove memo 2024-11-09 15:12:45 +07:00
Aslam H fe5f3ac1b9 chore: remove account and memo 2024-11-09 15:12:26 +07:00
Aslam H b8336d50e6 chore: temp disable focusable editor 2024-11-09 13:30:36 +07:00
Aslam H eea862c15b chore(deps): bump package version 2024-11-09 13:25:05 +07:00
Aslam H 08023c3b24 Merge branch 'main' of github.com:learn-anything/learn-anything 2024-11-09 13:21:02 +07:00
Aslam H eb396ba7c4 fix: wrong type and exact only page 2024-11-09 13:20:15 +07:00
Aslam H 08bcf3037a fix: eager load all deps for link 2024-11-09 13:12:36 +07:00
Aslam H 87998d00f3 fix: remove unnecessary rerender link list 2024-11-09 13:05:06 +07:00
Aslam H f375515ccd chore: remove _owner 2024-11-09 13:00:26 +07:00
Aslam H 96add87c86 fix: remove useMemo. causing rerender 2024-11-09 12:59:05 +07:00
Aslam H 8c5ad355e3 fix: editor focus, wrong lazy loading 2024-11-09 12:58:04 +07:00
Aslam H fc879b888c refactor: remove hardcoded editor option 2024-11-04 16:47:20 +07:00
Aslam H b613bbd66c chore: subscribe co value 2024-11-04 16:45:29 +07:00
Aslam H 7a57f81b07 refactor: remove await invalidate 2024-10-30 20:26:09 +07:00
Aslam H fb3afe72ec chore: remove old task 2024-10-30 05:53:35 +07:00
Aslam H ace9efc687 fix: missing task 2024-10-30 05:51:04 +07:00
Aslam H 5294ade0ab fix: replace to invalidate context 2024-10-30 05:40:38 +07:00
Aslam H fcffba23f1 Merge branch 'main' of github.com:learn-anything/learn-anything 2024-10-30 04:09:41 +07:00
Aslam H 41743d6a22 chore: editor images 2024-10-30 04:08:59 +07:00
Aslam H fa03facf64 chore: link active to exact 2024-10-29 14:49:24 +07:00
Aslam H 4dacd69be9 refactor: remove isCustomNodeSelected 2024-10-28 11:11:08 +07:00
Aslam H e9a8539305 fix: only show bubble to textContent 2024-10-28 11:10:25 +07:00
Aslam H 8ee564e952 chore: editor focus between title and content 2024-10-22 21:36:40 +07:00
Aslam H adbb9a6b95 chore: reset palette state 2024-10-22 21:29:08 +07:00
Aslam H 2e00e9d692 chore: throttle from 3s to 1s 2024-10-22 21:19:21 +07:00
Aslam H 58af4100b0 refactor: page item 2024-10-22 21:06:13 +07:00
Aslam H 53b67ae82c chore: page nav item 2024-10-22 21:02:19 +07:00
Aslam H f6bacc8f29 chore: search for guest 2024-10-22 20:58:49 +07:00
Aslam H 200245b39f chore: add measured container 2024-10-20 09:05:02 +07:00
Aslam H 8c2669791c chore(deps): bump package version 2024-10-20 08:28:25 +07:00
Aslam H 45d86cbb1a Tanstack router nonsense. build no error but error. WTF? 2024-10-20 08:26:50 +07:00
Aslam H 886ac844fb chore(deps): update package 2024-10-20 08:18:30 +07:00
Aslam H 1992170171 refactor: import css to app 2024-10-18 23:26:04 +07:00
Aslam H 9f56823366 chore: editor css 2024-10-18 23:14:44 +07:00
Aslam H ef412ebcc6 chore: include shared path 2024-10-18 23:07:54 +07:00
Aslam H 7d3bb17f4e fix: safe list la-editor 2024-10-18 22:32:56 +07:00
Aslam a440828f8c chore: Enhancement + New Feature (#185)
* wip

* wip page

* chore: style

* wip pages

* wip pages

* chore: toggle

* chore: link

* feat: topic search

* chore: page section

* refactor: apply tailwind class ordering

* fix: handle loggedIn user for guest route

* feat: folder & image schema

* chore: move utils to shared

* refactor: tailwind class ordering

* feat: img ext for editor

* refactor: remove qa

* fix: tanstack start

* fix: wrong import

* chore: use toast

* chore: schema
2024-10-18 21:18:20 +07:00
Aslam c93c634a77 Update -link-form.tsx 2024-10-12 05:03:01 +07:00
Aslam H 557af78289 chore: .env example 2024-10-08 17:20:03 +07:00
Aslam H a14dd60dc5 chore: base seo 2024-10-08 16:59:23 +07:00
Aslam H bd1ba3bdba chore: favicon 2024-10-08 16:32:19 +07:00
Aslam H 94be662fc2 chore: auth context 2024-10-08 16:01:36 +07:00
Aslam H 7c31f9b417 fix: authed 2024-10-08 13:55:36 +07:00
Aslam H 1ed8d39207 chore: input height for mobile 2024-10-07 18:41:13 +07:00
Aslam H e14714d5dd fix: dont refetch every navigate 2024-10-07 17:59:37 +07:00
Aslam H b43c9762a1 chore: temp solution for fetching clerk on every navigated 2024-10-07 17:01:26 +07:00
Aslam 950ebc3dad Move to TanStack Start from Next.js (#184) 2024-10-07 12:44:17 +03:00
Aslam 14a8536583 fix(editor): checkbox svg check color (#183) 2024-09-30 20:48:52 +07:00
Aslam f10d341c58 refactor(shortcut): lowercase folder naming (#182)
* refactor: lowercase folder shortcut naming

* chore: rename and will be rename

* chore: rename folder shortcut
2024-09-30 20:47:39 +07:00
Aslam H 223a4524ab chore: height on mobile 2024-09-25 18:48:23 +07:00
Aslam 58ce33fed5 fix(topic): Topic list keybind (#181)
* fix(page): improve keybind

* fix(topic): improve keybind

* fix: learning state selector
2024-09-24 18:55:52 +07:00
Aslam cffe65ec5f fix(page): improve keybind (#180) 2024-09-24 18:55:40 +07:00
Aslam 867478d55c fix: Link, Pages, Topic, Hook and Others (#178)
* chore: remove useKeyDownListener

* chore: remove react-use, update jazz version and add query string

* chore: update jazz version

* chore: use simple mac or win utils code

* feat(util): add isTextInput

* feat(hooks): all needed hooks

* fix: link bunch stuff

* fix: page bunch stuff

* chore: bunch update for custom component

* chore: use throttle from internal hook

* chore: topic bunch stuff

* chore: update layout

* fix: truncate content header of topic detail
2024-09-23 23:16:02 +07:00
Aslam 21084cd3f3 fix(link): Keybind, scroll behaviour, restrict drag to vertical (#176)
* chore: expose scrollActiveElementIntoView

* feat(utils): editable element

* fix: memoize exceptionRefs, use animation frame and check editable element

* fix: improve btn on mobile

* chore(drps): bump framer motion version

* fix(link): big fix

* chore: remove comment code

* feat: touch device
2024-09-21 19:37:29 +07:00
Aslam bf5ae100ab fix(key): Allow Esc and Any other input event (#173)
* fix(key): Allow Esc and input handler

* chore: set search autoFocus on shortcut component

* fix: allow enter, arrow and disable list if keyboard
2024-09-19 22:15:58 +07:00
Aslam 1a6c2ab420 feat(topic): Topic List Route (#172)
* feat: add item scroll to active

* fix: reset enterkey and scroll to view

* fix: link item displayName

* refactor: remove keyboard page nav

* chore: fix scrolling, perf, keys, highlight active item etc

* chore: use new hook for create a page

* chore: disabled auto delete page

* wip

* chore: add learning selector

* chore: learning selector update
2024-09-19 21:28:48 +07:00
Aslam 333dcd26ef chore(deps): bump multiple dependencies in root and web (#171) 2024-09-19 21:22:37 +07:00
Aslam b648c8cd99 feat(metadata): Viewport (#169)
* chore: remove sliding menu

* feat(ui): sheet

* feat: shortcut component

* chore: register new shortcut component to layout

* fix: react attr naming

* fix: set default to false for shortcut

* feat: viewport
2024-09-19 21:22:25 +07:00
Aslam 8eed3f8cc2 feat(shortcut): Keyboard Navigation (#168)
* chore: remove sliding menu

* feat(ui): sheet

* feat: shortcut component

* chore: register new shortcut component to layout

* fix: react attr naming

* fix: set default to false for shortcut

* feat(store): keydown-manager

* feat(hooks): keyboard manager

* chore: use util from base for la-editor

* chore: use util from base for minimal-tiptap-editor

* chore(utils): keyboard

* chore: use new keyboard manager

* fix: uniqueness of certain component

* feat: global key handler

* chore: implement new key handler
2024-09-19 21:17:11 +07:00
Aslam 0df105f186 chore: add item value and cut line 1 (#167) 2024-09-19 21:12:19 +07:00
Aslam c003711905 fix(page): Add item scroll, fix display issues, refactor nav, and improve perf (#166)
* feat: add item scroll to active

* fix: reset enterkey and scroll to view

* fix: link item displayName

* refactor: remove keyboard page nav

* chore: fix scrolling, perf, keys, highlight active item etc

* chore: use new hook for create a page

* chore: disabled auto delete page
2024-09-19 21:12:05 +07:00
Aslam afaef5d3c5 fix(link): Navigate between item and fix Enter keybind (#165)
* feat: add item scroll to active

* fix: reset enterkey and scroll to view

* fix: link item displayName
2024-09-19 21:11:52 +07:00
Aslam 8871a8959c chore(topic): Enhancement using virtual (#164)
* chore: use tanstack virtual

* fix: topic learning state

* chore: add skeleton loading and not found topic placeholder

* fix: personal links load in list
2024-09-19 21:11:38 +07:00
Aslam H 7592631863 fix(link): bottom bar 2024-09-12 06:30:38 +07:00
Aslam H c532514701 chore: scrollable and remove link wrapper 2024-09-12 05:22:34 +07:00
Aslam H 8d6ec8748c chore(layout): remove overflow 2024-09-11 19:30:01 +07:00
Aslam H fb774f3814 chore(layout): remove overflow 2024-09-11 19:28:05 +07:00
Aslam H 78d8b7c8d1 fix(bottom-bar): fixed height 2024-09-11 17:27:19 +07:00
Aslam H dfad7651d6 fix(page): should only do focus on init load 2024-09-11 17:12:16 +07:00
Aslam 2a637705f2 fix: Bug fixing & Enhancement (#161)
* chore: memoize sorted pages

* chore: make link size more precise

* fix(link): disable enter press on create mode

* fix(onboarding): move is base logic and use escape for single quote

* fix(page): on delete success redirect to pages

* fix(sntry): sentry client error report

* chore(page): dynamic focus on title/content

* chore(link): tweak badge class

* chore(link): use nuqs for handling create mode

* fix(link): refs

* feat(palette): implement new link
2024-09-11 15:25:21 +07:00
Aslam 0668dd5625 feat: onboarding for existing users (#160)
* feat: onboarding for existing users

* fix: escape character

* chore: update msg
2024-09-10 18:05:28 +03:00
Aslam H 00a2a53781 Merge branch 'main' of github.com:learn-anything/learn-anything.xyz 2024-09-10 20:03:40 +07:00
Aslam H b7e7f79a40 fix: sentry, img validation 2024-09-10 20:03:25 +07:00
Aslam H 7f2b594cb3 chore: remove example sentry page 2024-09-10 18:48:17 +07:00
Aslam H 2ff509e05a fix: capitalize first character of Delete empty page comp 2024-09-10 18:28:29 +07:00
AslamandNikita 55eb5513f4 chore(sentry): remove local sentry and use from env (#159)
* .

* add sentry

* prettier

* up packages

* no edge sentry

* chore: remove local sentry and now use form env

---------

Co-authored-by: Nikita <github@nikiv.dev>
2024-09-10 18:24:39 +07:00
Aslam 711fe35e1a feat: feedback (#156)
* minimal tiptap

* wip

* img edit block

* wip

* fix
2024-09-10 13:58:58 +03:00
Aslam H 0b1ea7bc0d chore: register tooltip provider 2024-09-10 13:08:30 +07:00
Aslam H 4ddb64addd fix(link): force cache url fetching 2024-09-10 12:49:32 +07:00
Aslam H 5466965fa6 fix(link-sb): mismatch size when active 2024-09-10 10:57:23 +07:00
Aslam H 421bd9b0b6 refactor(link): remove log on enter pressed 2024-09-10 03:09:58 +07:00
Aslam H 0f657c429d Merge branch 'main' of github.com:learn-anything/learn-anything.xyz 2024-09-10 03:08:24 +07:00
Aslam H 522a4e1337 fix(link): listen on the list and fix timeout 2024-09-10 03:08:12 +07:00
Aslam H 4347037589 fix: deleting unnecessary log 2024-09-09 19:38:43 +07:00
Aslam H 4765447ccd fix(onboarding): missing depth 2024-09-09 19:31:40 +07:00
Aslam H e841a1c2cc fix(link): delete link should disabled all key outside confirm 2024-09-09 19:25:01 +07:00
Aslam H 1def5eca20 feat(link): command+backspace to handle delete link 2024-09-09 19:04:32 +07:00
Aslam H 1b084d239d chore: onboarding set to storage 2024-09-09 18:36:08 +07:00
Aslam H d206843d8a chore: jazz peer url setup 2024-09-09 18:20:42 +07:00
Aslam H 407ef129e3 chore: navigate to pages and disable topic for now 2024-09-09 18:10:19 +07:00
Aslam H 84ee3d0517 fix: missing display name 2024-09-09 17:50:29 +07:00
Aslam 5f537d5618 feat: pages (#151)
* wip

* wip

* wip

* wwip

* wip

* wip

* fix(util): rmeove checking to existing in slug

* wip

* chore: handle create page

* chore: handle page title untitled
2024-09-09 13:35:15 +03:00
Aslam H 45620c4424 chore(clerk): use theme from next theme insteadof manually detect it 2024-09-09 15:38:44 +07:00
Aslam H f683dcfe0d chore(layout): correct provider sequence 2024-09-09 15:38:07 +07:00
Aslam H 875c87a2a3 chore: update fancy switch version 2024-09-09 13:02:58 +07:00