Commit Graph

183 Commits

Author SHA1 Message Date
Aslam H
07a1996d31 fix: conflict 2024-09-28 00:56:48 +07:00
Nikita
34d69be960 Tasks (#175)
* tasks

* task input

* fixed jazz things

* create new task ui

* feat: simple feature flag

---------

Co-authored-by: marshennikovaolga <marshennikova@gmail.com>
Co-authored-by: Aslam H <iupin5212@gmail.com>
2024-09-28 00:55:03 +07:00
Aslam H
4a365bdfe5 fix: conflict 2024-09-28 00:54:08 +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 H
8d23963b6e chore: add topics link 2024-09-24 00:41:40 +07:00
Aslam H
cc578b1ab8 fix: conflict 2024-09-23 23:28:04 +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
marshennikovaolga
f362f70ff0 create new task ui 2024-09-22 12:40:14 +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
Nikita
da4f018bbd fixed jazz things 2024-09-19 20:21:59 +03:00
Nikita
fdb73a2522 Merge branch 'main' into tasks 2024-09-19 19:38:31 +03: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
marshennikovaolga
a9bac69157 task input 2024-09-11 18:48:31 +03: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
marshennikovaolga
9aaac1cdfb tasks 2024-09-11 14:04:11 +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