46 Commits

Author SHA1 Message Date
Alice Carroll
d4f95090ee feat(lax): parse the window index to a number 2024-09-30 15:34:24 +03:00
Alice Carroll
b5b90e621f feat: add OSA script for getting current browser url 2024-09-05 14:10:33 +03:00
Aslam
c8c0c86c96 feat(landing): topic search (#134)
* feat(landing): topic search

* fix: node click
2024-09-05 04:17:12 +07:00
Aslam
01e8f4882f refactor: remove the use of custom hook (#133) 2024-09-05 00:16:00 +07:00
Damian Tarnawski
dcbc62aeea Force graph improvements 2024-09-04 16:35:21 +02:00
Damian Tarnawski
2e268c9b7b Don't draw text nodes that are outside of the screen 2024-09-04 15:56:22 +02:00
marshennikovaolga
655e4d78b6 settings hotkeys 2024-09-04 14:38:55 +03:00
marshennikovaolga
1088846e17 settings route 2024-09-04 11:58:07 +03:00
marshennikovaolga
dfc0b0f378 add missing dep 2024-09-04 11:38:42 +03:00
Aslam
e0e2aca9ec fix(page): remove trim title, remove set content and only update if title is different (#132) 2024-09-04 06:39:28 +07:00
Aslam
c3572960c3 refactor(page): render text, text size etc (#131) 2024-09-04 06:10:55 +07:00
Aslam
9c559ccf9a feat: delete page (#130) 2024-09-04 06:05:32 +07:00
Aslam
a3913baff9 fix: topic selector (#129)
* feat: add jazz globa group cons

* chore: remove topic selector atom

* chore: use jazz from constant

* chore: remove delete model and add new topic selector

* chore: use jazz group id form constant in search component

* chore: use jazz group id form constant in public home route

* fix: topic selector in link

* fix: topic section in detail topic

* chore: update la editor

* chore: content header tweak class

* chore: add btn variant to topic selector

* refactor: tweak border for link header

* chore: page header

* fix: page detail route
2024-09-04 05:32:37 +07:00
Damian Tarnawski
e383381ffc Remove leftover stuff 2024-09-03 23:18:37 +02:00
Alice Carroll
fa0c6bbf37 feat(tauri): add FS interface 2024-09-03 22:24:26 +03:00
Alice Carroll
e88f8b1cee chore: update the bun lockfile 2024-09-03 22:01:21 +03:00
Nikita
8168af811d Tauri (local working) (#128)
* chore(nix): add `cargo-tauri`

* chore(rust): add rustfmt config

* feat: add tauri app

* fix(config): tauri and web config nextjs

* fix: default value

* fix: force graph

* fix: undefined me

* fix: undefined me in page detail

* fix: remove title from search component

* fix: package version

* chore: next config

* feat: random btn for go to auth

* fix the config

* feat: tauri

---------

Co-authored-by: Alice Carroll <git@alice-carroll.pet>
Co-authored-by: Aslam H <iupin5212@gmail.com>
2024-09-03 18:37:10 +03:00
Nikita
91f96fe65a ignore target 2024-09-03 13:59:47 +03:00
Anselm Eickhoff
d2a3baa9a2 perf: Lazy loading for links in topic sections (#127) 2024-09-03 13:27:17 +03:00
Nikita
c4d4afd4df deployment example (#126)
Co-authored-by: Aslam H <iupin5212@gmail.com>
2024-09-02 16:45:48 +03:00
marshennikovaolga
2a8675e3d9 force graph input 2024-08-31 22:13:59 +03:00
Nikita
32352ca5f4 force graph, palette 2024-08-30 16:19:29 +03:00
Aslam
9e89959dd4 fix: detail topic (#117)
* feat: keyboard nav

* fix: link update

* feat: reusable learning state

* chore: use new learning state

* feat: add to my profile

* .

* .

* feat: on enter open the link

* fix: lint

* fix: use eslint v8 instead of v9

* fix: add to my profile

* chore: update personal link schema

* chore: update personal page schema

* fix: update detail wrapper

* fix: update page section

* removing option for learning status

* removing option for learning status for topic

* feat: add createdAt and updatedAt for personal Page

* chore: update page section component

* chore: remove chevron from sub menu

* fix: sidebar

* chore: add focus and disable toast

* feat: la editor add execption for no command class

* fix: la editor style and fix page detail

* fix: title

* fix: topic learning state

* chore: add showSearch for learning state

* fix: bunch stuff

* chore: link list and item handle learning state

* chore: set expand to false

* feat: personal link for topic detail

* chore: hook use topic data

* chore: go to list

* fix: link and topic

* feat(utils): new keyboard utils

* feat(store): add linkOpenPopoverForIdAtom for link

* chore: using memo for use topic data

* fix: remove duplicate component

* chore: performance for topic detail lint item

* refactor: remove LinkOptions component

* chore: improve performance for list

* feat: added LinkRoute copmonent

* chore: link manage

* feat: bottom bar

* fix: link

* fix: page wrapper

* fix: import thing

* chore: added a displayname

* refactor: page detail

* refactor: page detail

* fix: add topic to personal link form link

* fix: only show page count if more than zero

* fix: sidebar topic section

---------

Co-authored-by: Nikita <github@nikiv.dev>
Co-authored-by: marshennikovaolga <marshennikova@gmail.com>
2024-08-29 02:48:48 +07:00
marshennikovaolga
94a63bd79b . 2024-08-28 19:53:42 +03:00
marshennikovaolga
e125dad75e add search 2024-08-28 19:31:29 +03:00
Alice Carroll
50d7073363 chore: add a nix flake 2024-08-27 03:02:43 +03:00
Aslam
2d270706a5 fix: link (#115)
* start

* .

* seeding connections

* .

* wip

* wip: learning state

* wip: notes section

* wip: many

* topics

* chore: update schema

* update package

* update sidebar

* update page section

* feat: profile

* fix: remove z index

* fix: wrong type

* add avatar

* add avatar

* wip

* .

* store page section key

* remove atom page section

* fix rerender

* fix rerender

* fix rerender

* fix rerender

* fix link

* search light/dark mode

* bubble menu ui

* .

* fix: remove unecessary code

* chore: mark as old for old schema

* chore: adapt new schema

* fix: add topic schema but null for now

* fix: add icon on personal link

* fix: list item

* fix: set url fetched when editing

* fix: remove image

* feat: add icon to link

* feat: custom url zod validation

* fix: metadata test

* chore: update utils

* fix: link

* fix: url fetcher

* .

* .

* fix: add link, section

* chore: seeder

* .

* .

* .

* .

* fix: change checkbox to learning state

* fix: click outside editing form

* feat: constant

* chore: move to master folder

* chore: adapt new schema

* chore: cli for new schema

* fix: new schema for dev seed

* fix: seeding

* update package

* chore: forcegraph seed

* bottombar

* if isEdit delete icon

* showCreate X button

* .

* options

* chore: implement topic from public global group

* chore: update learning state

* fix: change implementation for outside click

* chore: implement new form param

* chore: update env example

* feat: link form refs exception

* new page button layout, link topic search fixed

* chore: enable topic

* chore: update seed

* profile

* chore: move framer motion package from root to web and add nuqs

* chore: add LearningStateValue

* chore: implement active state

* profile

* chore: use fancy switch and update const

* feat: filter implementation

* dropdown menu

* .

* sidebar topics

* topic selected color

* feat: topic detail

* fix: collapsible page

* pages - sorted by, layout, visible mode

* .

* .

* .

* topic status sidebar

* topic button and count

* fix: topic

* page delete/topic buttons

* search ui

* selected topic for page

* selected topic status sidebar

* removed footer

* update package

* .

---------

Co-authored-by: Nikita <github@nikiv.dev>
Co-authored-by: marshennikovaolga <marshennikova@gmail.com>
Co-authored-by: Kisuyo <ig.intr3st@gmail.com>
2024-08-26 15:35:00 +03:00
marshennikovaolga
7cbfcc705b link filter title/manual closing 2024-08-19 15:46:53 +03:00
marshennikovaolga
9aad4a3603 created pages, topics header fixed 2024-08-11 15:40:45 +03:00
marshennikovaolga
6fd030a313 create page 2024-08-11 14:58:37 +03:00
marshennikovaolga
2ed82a770a topic learning status outsideclick closing 2024-08-11 14:34:54 +03:00
Aslam H
eb8d7f7eee fix: font 2024-08-11 05:47:38 +07:00
Aslam H
413110bb3a fix: safelist dark 2024-08-11 05:45:01 +07:00
Aslam H
b00c519e62 Merge branch 'main' of github.com:learn-anything/learn-anything.xyz 2024-08-11 05:40:46 +07:00
Aslam H
66b692ee76 chore: add suppressHydrationWarning 2024-08-11 05:40:06 +07:00
marshennikovaolga
9321eb59ee link title editing 2024-08-11 01:27:59 +03:00
marshennikovaolga
2caab73cb3 active learning tab 2024-08-10 18:38:22 +03:00
marshennikovaolga
35fa357658 double click for editing 2024-08-10 18:33:27 +03:00
marshennikovaolga
1c3ef6ecd7 only links are allowed logic, error span 2024-08-10 17:45:32 +03:00
Aslam H
e82cb9ee3d fix: navigate to page onCreated 2024-08-09 02:07:26 +07:00
Aslam H
daf7ae8e8f chore: auth ui 2024-08-09 02:02:39 +07:00
Aslam H
267c53f821 chore: provider jazz 2024-08-09 02:02:25 +07:00
Aslam H
a58b3853b4 fix: schema 2024-08-09 02:02:15 +07:00
Aslam H
2d352605a2 feat: keyboard navigate between title and content 2024-08-08 22:35:20 +07:00
Aslam
36e0e19212 Setup (#112)
* wip

* wip

* wip3

* chore: utils

* feat: add command

* wip

* fix: key duplicate

* fix: move and check

* fix: use react-use instead

* fix: sidebar

* chore: make dynamic

* chore: tablet mode

* chore: fix padding

* chore: link instead of inbox

* fix: use dnd kit

* feat: add select component

* chore: use atom

* refactor: remove dnd provider

* feat: disabled drag when sort is not manual

* search route

* .

* feat: accessibility

* fix: search

* .

* .

* .

* fix: sidebar collapsed

* ai search layout

* .

* .

* .

* .

* ai responsible content

* .

* .

* .

* .

* .

* global topic route

* global topic correct route

* topic buttons

* sidebar search navigation

* ai

* Update jazz

* .

* .

* .

* .

* .

* learning status

* .

* .

* chore: content header

* fix: pointer none when dragging. prevent auto click after drag end

* fix: confirm

* fix: prevent drag when editing

* chore: remove unused fn

* fix: check propagation

* chore: list

* chore: tweak sonner

* chore: update stuff

* feat: add badge

* chore: close edit when create

* chore: escape on manage form

* refactor: remove learn path

* css: responsive item

* chore: separate pages and topic

* reafactor: remove new-schema

* feat(types): extend jazz type so it can be nullable

* chore: use new types

* fix: missing deps

* fix: link

* fix: sidebar in layout

* fix: quotes

* css: use medium instead semi

* Actual streaming and rendering markdown response

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* chore: metadata

* feat: la-editor

* .

* fix: editor and page

* .

* .

* .

* .

* .

* .

* fix: remove link

* chore: page sidebar

* fix: remove 'replace with learning status'

* fix: link

* fix: link

* chore: update schema

* chore: use new schema

* fix: instead of showing error, just do unique slug

* feat: create slug

* refactor apply

* update package json

* fix: schema personal page

* chore: editor

* feat: pages

* fix: metadata

* fix: jazz provider

* feat: handling data

* feat: page detail

* chore: server page to id

* chore: use id instead of slug

* chore: update content header

* chore: update link header implementation

* refactor: global.css

* fix: la editor use animation frame

* fix: editor export ref

* refactor: page detail

* chore: tidy up schema

* chore: adapt to new schema

* fix: wrap using settimeout

* fix: wrap using settimeout

* .

* .

---------

Co-authored-by: marshennikovaolga <marshennikova@gmail.com>
Co-authored-by: Nikita <github@nikiv.dev>
Co-authored-by: Anselm <anselm.eickhoff@gmail.com>
Co-authored-by: Damian Tarnawski <gthetarnav@gmail.com>
2024-08-07 20:57:22 +03:00
Nikita
228faf226a . 2024-07-15 20:08:18 +04:00