172 Commits

Author SHA1 Message Date
Nikita
26c80d1a91 . 2024-09-22 19:15:41 +03:00
Nikita
0373cfc9c3 . 2024-09-22 14:45:11 +03:00
Nikita
dd04264bae first ver 2024-09-22 13:56:58 +03: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
dependabot[bot]
26d938e66c chore(deps): bump next from 14.2.5 to 14.2.10 in /web (#170)
Bumps [next](https://github.com/vercel/next.js) from 14.2.5 to 14.2.10.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.5...v14.2.10)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 14:28:02 +07:00
Nikita
4ff9868e8e clean text 2024-09-14 14:38:36 +03:00
marshennikovaolga
4038cbe0d7 discord link 2024-09-14 14:32:59 +03:00
Nikita
49aedf25ca hide hotkeys on small screens 2024-09-13 11:19:39 +03: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
Kisuyo
d8521a36eb fix: hotkey panel colors 2024-09-11 14:13:41 +02:00
Kisuyo
3b68836378 sliding model (#162) 2024-09-11 14:47:12 +03: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
marshennikovaolga
1e0e139ad8 centered pages and links 2024-09-11 11:49:32 +03:00
Nikita
266c29cae9 Pull nodes towards dragged node (#158)
Co-authored-by: Damian Tarnawski <gthetarnav@gmail.com>
2024-09-11 11:48:06 +03: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
Nikita
b2f5de6b6d change url for github 2024-09-10 15:33:15 +03: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
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
Nikita
9e28aa5995 Sentry (#157)
* .

* add sentry

* prettier

* up packages

* no edge sentry

---------

Co-authored-by: Aslam H <iupin5212@gmail.com>
2024-09-10 18:18:37 +07:00
Aslam
711fe35e1a feat: feedback (#156)
* minimal tiptap

* wip

* img edit block

* wip

* fix
2024-09-10 13:58:58 +03:00
marshennikovaolga
4ea3a179e0 cursor pointer for actions section 2024-09-10 12:42:00 +03:00
marshennikovaolga
bdb8109b8b fixed router call 2024-09-10 12:29:18 +03:00
marshennikovaolga
ae3f79767b fixed router call 2024-09-10 12:26:38 +03:00
marshennikovaolga
e893740122 delete empty page 2024-09-10 12:22:55 +03:00
marshennikovaolga
ddcff3c6e4 sidebar: GitHub link 2024-09-10 11:48:12 +03:00
marshennikovaolga
27763ae230 sidebar: fixed link active state, /docs link 2024-09-10 11:35:02 +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
marshennikovaolga
6f77158aac link isActive sidebar 2024-09-09 20:48:29 +03:00