Commit Graph
51 Commits
Author SHA1 Message Date
Arik Chakma bb09fbd322 feat: replace async renderer (#9253)
* feat: replace async renderer

* fix: balsamiq font
2025-10-13 16:33:06 +05:00
Kamran Ahmed 91b0a232ab Fix typos 2025-08-20 13:02:32 +01:00
Kamran Ahmed 870a8c409c Add clarity unmasking on AI tutor 2025-07-28 18:47:31 +01:00
Arik ChakmaandKamran Ahmed 798ae0a994 feat: add limits to ai courses and guides (#8900)
* wip

* wip

* wip

* wip

* feat: add show upgrade modal

* chore: show upgrade on generate

* chore: upgrade modal

* Update limits messgaes

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
2025-07-23 17:42:21 +01:00
Arik ChakmaandKamran Ahmed e6d10ef592 feat: ai roadmaps and chat (#8821)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip: ai roadmap

* wip

* wip

* Add question answers

* Update content generator

* Update question answer chat

* Refresh button not working

* UI for chat

* Update question answers functionality

* wip

* wip

* fix: ai roadmap regenerate

* Improve preferences

* feat: roadmap actions

* wip

* fix: hydration error

* Fix responsiveness issue

* fix: show preferences option only when questions exist

* fix: infinite loop issue

* feat: node click message populate

* Improve UI

* wip

* wip

* fix: roadmap regenerate

* Update UI

* Update placeholder

* Update answers

* Update navigations

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
2025-06-26 13:00:46 +01:00
Arik ChakmaandKamran Ahmed 89932bc18d feat: ai document (#8793)
* Refactor AI course

* Add AI course generation functionality

* Add basic error handling

* AI Document content

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* feat: regenerate guide

* wip

* wip

* wip

* wip

* wip

* fix: form ui

* feat: update guide ui

* refactor: update the course card

* fix: term and redirects

* Guide page UI improvements

* Loading chip refactor

* AI guide changes

* Improve UI for ai guide content

* Add AI guide

* AI Guide chat

* fix: stop streaming

* fix: chat responsiveness

* UI improvements for ai library

* Guide listing UI update

* User guides listing

* Library guides listing UI

* Library guides listing UI

* Featured courses listing UI update

* Staff picks UI changes

* Community page UI design

* Explore courses listing functionality

* Improve UI for explore page

* Implement guides functionality

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
2025-06-19 02:22:04 +01:00
Arik Chakma 5379aec4b2 fix: ai course progress percentage (#8781) 2025-06-13 11:02:51 +06:00
Kamran AhmedandArik Chakma f37289ea35 feat: add global AI chat (#8740)
* wip: ai chat window

* wip: chat history

* wip: chat history ui

* wip: chat history ui

* wip: chat history ui

* wip: chat preferences

* wip

* wip: resume upload

* feat: process upload in background

* wip

* wip: common ai sidebar

* feat: clear chat button and scroll to bottom

* wip

* wip: regenerate message

* wip

* wip

* feat: generate course renderer

* fix: thinking card

* wip

* wip

* wip: quick help

* wip: tooltip

* wip: handle guest users

* feat: show ai limits

* Fix typo

* Update UI for upgrade message

* Update UI for upgrade message

* Update AI chat UI

* Update UI for upload resume model

* Update UI for upload resume model

* Update UI for chat history

* Add github cli rule

---------

Co-authored-by: Arik Chakma <arikchangma@gmail.com>
2025-06-04 16:42:34 +01:00
Arik ChakmaandKamran Ahmed 62f31a4964 feat: roadmap chat (#8666)
* wip: roadmap chat

* wip

* wip

* wip

* wip

* wip: message rendering

* wip: roadmap topics rendering

* Update UI for premium page

* Update UI for premium page

* wip: topic resources rendering

* Update premium page design

* Update navigation design

* Update design for play iconsg

* Update design for play iconsg

* wip: resource progress

* Update premium page

* Refactor premium page

* wip: resource progress

* feat: enhance the progress rendering

* feat: add abort functionality to chat and update UI elements

* feat: add roadmap recommendations feature and new query for built-in roadmaps

* Grid -> flex

* Update chat

* Handle error screen

* wip

* fix: empty content check

* feat: show loading status

* feat: ai chat limit

* Refactor content parsing

* Handle the wrapping of tag in codeblocks

* Refactor

* Refactor chat

* Fix hydration error

* feat: topic details

* style: adjust padding and icon size in RoadmapAIChat component

* feat: add tab navigation for chat and topic details

* fix: chat and details scrolling issue

* fix: invalidate progress query

* Fix upgrade modal and issue with close button

* Refactor topic detail AI

* Update progress UI

* Shorten the text

* Rewrite frontend roadmap content

* Minor update to content

* Update shrinking issue

* Changes to ai chat

* UI changes for chat card

* UI changes for chat card

* Refactor progress actions list

* Update progress marking UI

* UI Changes

* Responsiveness of sidebar

* Responsiveness of sidebar

* Mobile window for roadmap chat

* Responsiveness of AI chat

* Close button fix

* Make roadmap ai chat header responsive

* Escape key handling to close

* Update topic rendering node

* Make default active tab to AI in topic popup

* User progress component

* Clear chat only visible when there is chat

* wip: user persona

* fix: hide upgrade button

* fix: show chat input for guest users

* feat: persona update

* Roadmap recommendations

* Update persona form

* Update tell us more

* Fix persona form

* Fix scroll issue

* Lock body scroll when mobile is active

* Add intro message

* Refactor and update

* Update UI for AI chat

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
2025-05-27 21:02:36 +01:00
Arik Chakma 6e1e334406 feat: add ai tutor gtags (#8656)
* feat: add ai tutor gtags

* fix: price id condition check
2025-05-15 22:53:34 +01:00
Arik Chakma bc32dc780b feat: add ai course creator id (#8592) 2025-05-03 23:14:18 +01:00
Arik ChakmaandKamran Ahmed 7e3508cdf4 feat: implement ai tutor in topics (#8546)
* wip

* feat: implement ai tutor

* fix: add style

* feat: ai course subjects

* fix: remove tree json

* wip

* Topic chat

* Refactor topic popup

* Improve UI for navigation

* Update contribution URL

* Improve topic popup

* Update UI

* feat: predefined messages

* fix: ui changes

* fix: add summarise

* fix: add explain topic

* Topic AI changes

* feat: predefined message group

* Refactor actions logic

* Implement topic ai changes

* Improve actions buttons

* Add new explainer action

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
2025-05-02 21:12:04 +01:00
Kamran Ahmed 8b69b266d5 Fix flicker of paid plan 2025-04-17 11:41:41 +01:00
Kamran Ahmed 3f0db1526d Add upgrade button on ai page 2025-04-17 10:57:35 +01:00
Kamran Ahmed 69d9dd23b2 Add upgrade button on ai page 2025-04-17 10:56:00 +01:00
Kamran Ahmed d5d38ee919 Add protip 2025-04-14 14:29:40 +01:00
Kamran Ahmed 6b7138b8d8 Add protip 2025-04-14 14:21:52 +01:00
Kamran Ahmed 242e40ddd8 Add protip 2025-04-14 14:18:54 +01:00
Kamran Ahmed 9ea70fcc97 Update placeholder 2025-04-14 14:08:37 +01:00
Kamran AhmedandArik Chakma 823c31eac4 AI Tutor - Explore page, sidebar better search (#8476)
* Add sidebar to ai-tutor

* wip

* wip

* Fix mistakes and refacctor

* AI landing page changes

* Update sidebar design

* wip

* wip

* Update AI tutor sidebar

* wip

* Add ai-course dropdown

* Update

* fix: ai chat window position

* Course explanation changes

* Update course

* Tutor sidebar changes

* Refactor staff picks and community

* Update UI for a course

* Improve pagination

* Implement pagination of ai tutor ai courses

* AI explore page with search

* Fix pagination of tutor

* Update tutor header design

* Responsiveness of AI

* Fork alert changes

* Responsiveness of actions

* Forking functionality changes

* Fork confirmation changes

* Add upgrade indicator in sidebar

* fix: ai course access

* fix: next lesson

* Add login to view functionality

* Add search to my picks

---------

Co-authored-by: Arik Chakma <arikchangma@gmail.com>
2025-04-14 10:54:38 +01:00
Kamran AhmedandArik Chakma 64a65fa2e9 Migrate to Tailwind 4 + Editor Upgrade (#8465)
* wip

* fix: roadmap editor

* fix: padding

* wip

* fix: remove editor package

* wip

* fix: update pnpm lock

* Add contribution docs

* UI changes for TW4

* Update deployment workflow

---------

Co-authored-by: Arik Chakma <arikchangma@gmail.com>
2025-04-07 12:53:25 +01:00
Arik ChakmaandKamran Ahmed 2485b716dd feat: xyflow upgrade (#7803)
* wip

* fix: reset the sizes

* fix: update zustand

* fix: update

* fix: add additional width

* wip

* fix: remove hacky code

* wip

* wip

* wip

* wip

* wip

* fix: try pre-commit

* fix: add check pre-commit

* fix: remove xyflow

* fix: remove unnecessary files

* fix: update packages

* Update scripts/generate-renderer.sh

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
2025-04-04 20:33:01 +01:00
Kamran Ahmed d8466634a1 Fix: Lesson generation fails 2025-04-04 11:12:34 +01:00
Kamran Ahmed b75d36a8c0 Changes to the ai tutor URL 2025-04-03 17:41:46 +01:00
Kamran Ahmed 84de2a7c9d Update title of course 2025-04-01 12:22:14 +01:00
Arik ChakmaandKamran Ahmed dfd54b35b0 feat: ai course chat (#8426)
* feat: ai course chat

* wip: remove old code

* wip

* feat: responsiveness of ai chat

* fix: key warning

* feat: make chat resizeable

* wip

* wip: default questions

* wip

* fix: fixed position

* fix: hide button

* Fix scroll issue

* Improve questions UI

* Refactor UI

* Add close icon

* Update UI for course chat

* Close AI chat question

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
2025-04-01 12:09:14 +01:00
Kamran Ahmed bb8083801d Improve animation style 2025-03-26 16:05:54 +00:00
Kamran Ahmed e0589284ef Fix typo 2025-03-26 15:14:45 +00:00
Arik ChakmaandKamran Ahmed bd1a19da3d feat: ai course lesson questions (#8396)
* feat: ai course lesson questions

* Several fixes

* Improve test my knowledge

* Improve UI for questions

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
2025-03-26 15:12:05 +00:00
Arik ChakmaandKamran Ahmed 85202507e6 feat: course ai roadmap (#8352)
* feat: course ai roadmap

* wip

* fix: error

* refactor: remove open ai key

* wip: view switch

* feat: add roadmap progress

* fix: simplify module

* wip

* Update outline generation

* Update course limits popup

* fix: module done

* Updates to AI usage

* UI and error handling

* Map and outline view to share header

* Outline switcher

* Responsive AI generation

* Update header for course

* Roadmap switch

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
2025-03-25 22:21:39 +00:00
Kamran Ahmed 33cdbddadb Fix typo 2025-03-24 13:52:54 +00:00
Arik ChakmaandKamran Ahmed fd7f95c1a5 feat: delete ai course (#8345)
* feat: delete ai course

* Improve UI

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
2025-03-18 18:17:39 +00:00
Kamran Ahmed a60bcb5a45 Update message 2025-03-18 16:29:59 +00:00
Kamran Ahmed 3cf2ad9b25 Update course content 2025-03-18 16:27:00 +00:00
Kamran Ahmed 6449c24398 Update AI chat popup 2025-03-18 01:28:56 +00:00
Kamran Ahmed a82a0e6efb Moving next should be mark it as done 2025-03-18 00:30:46 +00:00
Kamran Ahmed b17ba1b009 Storing fine-tune data 2025-03-18 00:07:23 +00:00
Kamran Ahmed a07a5af543 Improve fine-tuning 2025-03-17 23:53:21 +00:00
Kamran Ahmed 017fe3e0a4 Add UI 2025-03-17 17:15:35 +00:00
Kamran Ahmed 6d28ab40a8 Update signup popup message 2025-03-16 00:19:24 +00:00
Arik Chakma ebb88721b6 feat: ai course pagination (#8329) 2025-03-15 12:32:24 +00:00
Kamran Ahmed 1085c33dc4 Regenerate functionality 2025-03-14 21:10:57 +00:00
Kamran Ahmed 6b9007c530 Enable AI tutor 2025-03-14 19:53:42 +00:00
Kamran Ahmed 5ff89fa184 Add regenerate lessons 2025-03-14 14:46:27 +00:00
Kamran Ahmed dfff959916 Remove ai course lessons before generation 2025-03-14 13:28:53 +00:00
Kamran Ahmed 3ba9abe7e3 Improve AI courses 2025-03-14 13:17:04 +00:00
Kamran Ahmed d78fd6ccff Refactor AI course view 2025-03-14 04:25:23 +00:00
Kamran Ahmed 2be8dbe0c2 Update sidebar ui for courses 2025-03-14 03:24:59 +00:00
Kamran Ahmed 79c6e2be53 refactor: ai-courses (#8327)
* Refactor ai courses

* Refactor

* Regenerate roadmap functionality

* Title and difficulty to refresh also

* Add course regeneration

* Improve the non paid user headings

* Update

* Improve back button logic

* Is paid user checks
2025-03-14 03:05:07 +00:00
Kamran Ahmed 107ae1923b Update back text for ai tutor 2025-03-12 14:18:05 +00:00