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
Aslam and Nikita
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
Aslam H
9e7f4e80bd
fix(palette): slice 10 and default to show only home
2024-09-09 11:00:34 +07:00
Aslam H
94aac134ea
fix(palette): searched items should belongs to own group
2024-09-09 10:56:34 +07:00
Aslam H
1c3ffcf92f
fix(palette): responsive and improve performance
2024-09-09 10:34:00 +07:00
Aslam H
99816efa26
feat(ui): add drawer component
2024-09-09 07:20:07 +07:00
Aslam H
2c53acbac5
chore: tweak responsive header and link
2024-09-09 07:18:44 +07:00
Aslam H
b27fc3014e
fix(link): ensure url contain protocol
2024-09-08 15:50:31 +07:00
Aslam H
eb7e912843
fix(link): enter conflict with command palette
2024-09-08 14:02:50 +07:00
Aslam H
938feb263d
Merge branch 'main' of github.com:learn-anything/learn-anything.xyz
2024-09-08 13:39:18 +07:00
Aslam
7100ded35a
fix(link): improve UX, maintain state ( #154 )
...
* fix(topic): handleSelectLearningState missing depth
* fix(link): use active index instead of native focus
* chore(palette): use atom for maintain state
* chore(link): prevent keydown if command palette active
* fix: responsive link item
* chore: add active item index state to LinkRoute
* fix: ability to press enter go to edit mode
2024-09-08 13:38:23 +07:00
Aslam
1cd6063768
chore: improve link accesibility and keybind ( #153 )
...
* fix(topic): handleSelectLearningState missing depth
* fix(link): use active index instead of native focus
* chore(palette): use atom for maintain state
* chore(link): prevent keydown if command palette active
2024-09-08 08:32:10 +07:00
Aslam H
3b9dc809c0
fix(topic): handleSelectLearningState missing depth
2024-09-08 06:54:14 +07:00
Aslam H
713f198120
refactor(command): improve command data
2024-09-08 06:41:36 +07:00
Aslam H
34b8df25d2
docs(readme): restructure for clearer readme
2024-09-08 06:37:54 +07:00
Aslam H
74fc53c326
docs(readme): restructure for clearer readme
2024-09-08 06:35:18 +07:00
Aslam
57289326db
chore: project config and docs ( #152 )
...
* refactor(eslint): improve config readability and structure
* chore(tsconfig): group options and add explanatory comments
* docs(readme): restructure for clearer setup and contribution guide
2024-09-08 06:29:55 +07:00
Aslam H
f612662a44
chore: update bun type
2024-09-08 06:10:59 +07:00
Aslam H
b9b61ef423
refactor: use muted insteadof secondary for fancyS
2024-09-08 06:09:21 +07:00
Aslam H
8daa17334a
chore: make delete icon color red for bottom bar
2024-09-08 06:04:37 +07:00
Aslam
f005101d91
feat: navigation for command palette ( #150 )
...
* feat: add dotenv to dev dep
* chore: jest use env
* feat
* feat: command palette navigation
2024-09-08 05:43:44 +07:00
Aslam H
a87c27d91f
fix: push to new link route
2024-09-08 04:37:28 +07:00
Aslam
cb9e8f46da
fix: topic for guest auth ( #149 )
...
* wip
* chore: redirect instead of toast
* refactor: remove useRouter
2024-09-08 04:30:11 +07:00
Aslam
9e4544894c
fix: remove old logic for defining the return layout ( #148 )
2024-09-08 04:00:48 +07:00
Aslam H
aea2431934
chore: remove listed errors from jazz provider
2024-09-08 03:57:02 +07:00
Aslam
e78d4fce7a
chore: refactor clerk middleware and add readme for route protection ( #147 )
2024-09-08 03:55:57 +07:00
Aslam H
83af8cc819
chore: update fancy switch version
2024-09-08 01:11:17 +07:00
Aslam H
f1390275b0
chore: remove wait on clerk if it base
2024-09-08 00:43:48 +07:00
Aslam H
291b409220
Merge branch 'main' of github.com:learn-anything/learn-anything.xyz
2024-09-08 00:31:20 +07:00
Aslam H
922bdf0474
chore: revert
2024-09-08 00:31:04 +07:00
Aslam H
dccb144792
Merge branch 'main' of github.com:learn-anything/learn-anything.xyz
2024-09-07 23:51:50 +07:00
Aslam H
45c4a38173
fix(jazz-auth): wait until clerk is loaded then pass to jazz
2024-09-07 23:51:09 +07:00
Aslam H
e61aae02d5
chore: update package json
2024-09-07 01:55:43 +07:00
Aslam H
dc8ad3ebed
chore: blur out a bit for topic
2024-09-07 01:50:56 +07:00
Aslam
3fe1f8012b
feat: homepage font ( #145 )
...
* feat: new fonts file
* chore: apply geist
* chore: use relaway font for 'I want to learn'
* chore: config font geist
* feat(util): suffle array
* feat: add geist
2024-09-07 01:48:51 +07:00
Aslam H
e7bd9a9d42
chore: enhance Autocomplete
2024-09-07 01:06:19 +07:00
Aslam H
45d7271364
chore: update package json
2024-09-06 23:05:06 +07:00
Aslam H
26386be50f
fix: escape regex special character
2024-09-06 23:04:54 +07:00
Aslam H
ab74020149
refactor(public): remove unused import
2024-09-06 23:00:18 +07:00
Aslam H
22e0d4e191
refactor(public): remove unused me
2024-09-06 22:59:54 +07:00