Commit Graph
86 Commits
Author SHA1 Message Date
Kamran Ahmed 0bc124bcd9 Add datacamp resources 2025-06-11 23:38:01 +01:00
Kamran Ahmed 02e7373bcd feat: add floating chat on roadmap pages (#8765)
* Add floating chat

* Refactor roadmap ai chat to hook

* Chat inside floating chat

* Fix bulk update not working

* Add floating chat widget

* Add chat header buttons

* Show a default set of questions

* Populate chat questions at bottom

* Handle chat submission

* Add personalize popup

* Fix body scroll locking issue

* Add scroll to bottom functionality

* Fix focus issue on persona form

* Fix responsiveness of the floating chat

* Final implementation

* Height fixes

* Fix floating ui

* Upgrade flow in floating chat

* Upgrade responsive UI

* Authetnicated checks

* Responsive bottom bar
2025-06-10 19:43:06 +01:00
Kamran Ahmed 450cc14a7b Improve AI tutor subject titles 2025-06-02 18:54:44 +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
Kamran Ahmed 78e62f9de5 Change color of contribution 2025-05-23 20:40:44 +01:00
Kamran Ahmed a1c564534a If topic has no contentn redirect to ai tutor 2025-05-21 12:31:33 +01:00
Kamran Ahmed 6de872d1ea Update UI for Learn another topic 2025-05-06 18:45:22 +01:00
b7b96b7d7b feat: create new course (#8605)
* feat: create new course

* seo: update latest roadmap keywords (#8590)

* seo: update roadmap keywords

* Update src/lib/config.ts

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>

* Fix non-logged in user course access

* feat: create new course

* Update UI

---------

Co-authored-by: Vedansh <superuser.ntsystems@outlook.com>
Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
2025-05-06 18:21:18 +01:00
Kamran Ahmed 30d3a86784 Fix non-logged in user course access 2025-05-06 18:03:06 +01:00
Arik Chakma 740bdf2aec fix: add a default subject (#8598) 2025-05-06 09:53:30 +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 55fdc9f957 Add PDF and PNG for ai-agents 2025-04-29 23:47:41 +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
Kamran Ahmed 7ccf731088 Fix search param in topic popup 2025-03-24 16:44:18 +00:00
Kamran AhmedandArik Chakma 28af19cd1c Add SQL course landing page (#8127)
* wip: courses

* fix: update course sidebar

* wip

* fix: merge lessons

* wip

* wip: course footer

* wip

* fix: refactor layout

* fix: refactor

* feat: course progress

* fix: update current lesson store

* fix: refactor props

* wip

* wip

* feat: course certificate

* wip: course rating

* wip: course notes

* wip

* feat: implement course notes

* feat: make card clickable

* fix: add hover background

* fix: refactor course layout

* fix: resizeable

* fix: go back on save

* feat: delete confimation

* wip

* feat: chat UI

* fix: lesson complete guard issue

* wip: add public json files

* wip: course ai

* fix: loading card

* Fix failing dev without internet

* Light mode and UI changes

* Update UI

* Update course UI

* Add chapter page

* Improve sidebar of course

* Update navigation:

* Update quiz view

* Improve UI for quiz attempts

* Remove unnecessary console.logs

* Add progress loading skeletons

* Update UI

* Change background color of editor

* Fix line color not applied on editor

* UI updates

* feat: empty view

* feat: course ai token limit

* feat: handle auth users

* wip

* feat: course landing page

* wip

* Add first chapter of SQL

* Add introduction chapter

* Add quiz for introduction

* Add expressions in select

* Add content for DISTINCT

* Add filter with where

* Add lesson about limit and offset

* Add lesson for handling null values

* Add lesson about comments

* Add challenges

* Add challenge

* Add challenge

* Add challenge

* Add challenge 7

* Add creating tables lesson

* Add common data types lesson

* Add data types in sqlite

* Add more on data types lesson

* feat: course landing page

* Add more on numeric types

* Update

* Add lesson about temporal data types

* Add constraints

* Add primary keys chapter

* Add modifying tables

* Add dropping and truncating

* Rewrite for PostgreSQL

* Update numeric types to PostgreSQL

* Improve temporal data type content

* Improve temporal data type content

* Add setup for temporal data

* Improve challenges in SQL basics

* Update challenge names

* Add new challenges

* Add temporal validation challenge

* Add new constraint

* Add modifying tables query

* Removing table

* Add insert operations lesson

* Add updating data lesson

* Add delete operations

* Add inserting and updating challenges

* Add lesson for cleaning up data

* Update course title

* Add relation data lesson

* Add relationships and types

* Add relationships and types

* wip

* Add joins lesson

* Joins in queries

* Add inner join details

* Add join queries

* Add inner join details

* Add foreign key constraint lesson

* Update composite foreign keys

* Add lesson about foreign keys

* Add lesson about set operation queries

* Add lesson about set operation queries

* Add set operator challenges

* Add new challenge

* Add view lesson

* Add notes in views

* Add inactive customer challenge

* Add high value order challenge

* gst

* Add new challenges

* Add readers like you challenge

* Update inactive customer query

* Update inactive customer query

* Update inactive customer query

* Update inactive customer query

* Update inactive customer query

* add challenge for same price books

* Add aggregate functions introduction

* Add basic aggregation lesson

* Add basic aggregation lesson

* Add introduction quiz

* Add grouping lesson

* Add grouping gotchas

* Add grouping and filtering lesson

* Add note for lesson

* Add challenges for aggregate

* Update aggregate challenge

* Rearrange chapters

* Add scalar functions lessons

* Add numeric functions

* Add date functions

* Add conversion functions

* Add conversion functions

* Add logical functions chapter

* Add exercises

* Add new challenges

* Add monthly sales analysis

* Add subqueries and ctes

* Update

* Add correlated subqueries

* Add common table expressions

* Add common-table expressions

* Add example

* Add recursive CTEs

* Add subquery challenge

* Add latest category books challenge

* Add challenges

* Add bestseller rankings challenge

* Add new customer analysis

* Add daily sales report

* Improve queries

* Add introduction to window functions

* Add over and partition

* wip: billing page

* Add ranking functions

* Improve ranking functions

* Add order by

* Add window frames lesson

* Add window frames explanation

* Add challenges for window functions

* Add price range analysis challenge

* wip

* wip: course enroll

* fix: start learning

* wip

* wip

* Enrollment changes

* wip

* wip

* feat: mobile responsive

* Changelog banner refactor

* Update

* Header for course

* Header for what to expect

* UI color

* Table of contents

* Icons on chapters

* Change design for road to sql

* Add sql course page

* Add lesson content

* Update UI

* Expanded chapter row

* Add course page

* Refactor

* Add spotlight

* Improve features

* Add course features

* Add certificate note

* Zoom in on the image

* Update

* Add floating purchase

* Floating purchase indicatorg

* Add about section

* Update about section

* Add FAQ section

* Update UI

* Add purchase power parity

* Show purchasing power pricing

* Add course login popup

* Add course login popup

* Add account button

* Add trigger for course purchase

* Course purchase param

* Buy button changes

* Add faqs

* Add purchase trigger on reload

* Landing verification

* Make header responsive

* Make course page upper half responsive

* Full page is responsive

* Fix login height bug

* Responsiveness

* Implement login after checkout

* Remove unused code

* Update dependenciesg

* Update

* fix: refetch mount to false

* Remove unused code

* Remove unused code

* Remove unused code

* Remove unused code

* Remove unused code

* Remove unused code

* Remove unused

* Add quizzes to chapters

* Update course slug

* Update dependencies

* Add header for sql course

---------

Co-authored-by: Arik Chakma <arikchangma@gmail.com>
2025-01-27 15:32:13 +00:00
Kamran Ahmed 65f1c9ca50 feat: add support for sticky sponsor banner (#7602)
* Add sponsors functionality

* Fix overlapping issue

* Add sticky top sponsor
2024-10-26 23:34:50 +01:00
Arik Chakma 55218ea85a feat: add open source link type (#7351)
* feat: add open source link type

* fix: capitalize link type
2024-10-06 06:45:55 +06:00
Kamran Ahmed e3ca03e531 Opening topic should not hide sponsor 2024-10-01 11:48:52 +01:00
Kamran Ahmed 9aae8b5eb7 Add scrimba banner 2024-09-27 15:39:11 +01:00
Kamran Ahmed d63cb7925b Add note for premium resources 2024-09-02 21:41:58 +01:00
Kamran Ahmed 3d72c49c3f Add resource separation 2024-08-28 01:00:49 +01:00
Kamran Ahmed 53d82725d2 Add beginner friendly git and github roadmap 2024-08-13 00:57:04 +01:00
Neil d7ff5b9abc Ensure when TopicDetail is open document.body stops scrolling (#6285)
* fix: ensure TopicDetail locks the body when open

* chore: ensure 'overflow-hidden' is always available via safelist

* revert: prettier changes
2024-07-30 22:05:20 +01:00
Kamran Ahmed f05c0a36c0 Redraw technical writer roadmap using our editor 2024-07-18 00:29:39 +01:00
Kamran Ahmed ad712b2c4a Redraw devops roadmap with editor 2024-07-03 12:44:35 +01:00
Ante Barić 6d983167c8 feat: daily.dev links (#5860)
* feat: add daily.dev link type

* feat: replace to feed label

* feat: add links to different pages
2024-06-19 15:58:20 +01:00
Kamran Ahmed c935e2457e Add tracking of topic resource clicks 2024-06-19 12:24:34 +01:00
Kamran Ahmed 3ed9bdb85e Resolve merge conflicts 2024-06-12 15:29:54 +01:00
Kamran Ahmed 855365d897 Topic links refactoring 2024-06-09 18:30:57 +01:00
Arik Chakma 4254446552 fix: remove is-mobile lib (#5826) 2024-06-07 09:53:26 +01:00
Kamran Ahmed 6372990f76 Fix types of resources 2024-06-06 23:31:19 +01:00
Kamran Ahmed 458ae33eec Add frontend roadmap node types 2024-06-06 22:52:36 +01:00
Kamran Ahmed 79e7c10ad9 Change UI for topic labels 2024-06-06 21:32:56 +01:00
Arik Chakma c68823c478 feat: implement topic link's label (#5817) 2024-06-06 21:05:11 +01:00
Kamran Ahmed 7dc6135416 Update topic detail 2024-05-29 19:31:29 +01:00
bfea73d372 Fix topic details not loading for custom roadmaps (#5762)
* Update AI example roadmaps

* feat: add useful links to documentation on Rust web frameworks (#5756)

Add Rust web framework doc links.

---------

Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>

* Add links to readme.md (ios-roadmap, backend-questions) (#5758)

Add iOS roadmap and backend questions to readme.md.

* Fix content not shown for custom roadmaps

* Update topic detail

---------

Co-authored-by: Ruslan Semagin <53819609+pixel365@users.noreply.github.com>
Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>
Co-authored-by: fellalli <fellalli@web.de>
2024-05-29 19:28:25 +01:00
Kamran Ahmed e641f06823 Fix content not shown for custom roadmaps 2024-05-29 19:11:59 +01:00
Kamran Ahmed e5f7628087 Fix custom roadmap marking as done not working 2024-05-29 01:05:58 +01:00
Kamran Ahmed 158e9b1ed3 Add iOS roadmap 2024-05-29 00:29:50 +01:00
Kamran Ahmed bb848de581 Add iOS roadmap 2024-05-29 00:29:50 +01:00
Suman Kisku 4a46e5e170 feat: marking "in progress" should not close popup #5730 (#5742) 2024-05-29 00:29:50 +01:00
Kamran Ahmed ee8fb3414a Fix overlaying account button 2024-05-23 11:17:30 +01:00
Kamran AhmedandArik Chakma 5e50ffbc30 feat: add custom renderer for roadmaps (#5691)
* wip

* fix: update packages

* wip

* wip

* feat: editor content generator

* fix: add dimensions

* feat: add renderer

* feat: add progress modal renderer

* Add API design roadmap

* Update API roadmap rendering

* fix: button click

* fix: link item

* feat: render pdf for editor roadmaps

* Add API roadmap

* Fix broken link of full-stack roadmap

* Update content dir

* Fix typos in api roadmap

* Add assets for pdf and svg

* Add content for api roadmap

* Add todo

* fix: close on editor roadmap select

* Update link not working

* Add api roadmap to get-started and roadmaps page

---------

Co-authored-by: Arik Chakma <arikchangma@gmail.com>
2024-05-17 17:28:24 +01:00
Kamran Ahmed 6c977a2781 Update TNS link in topic page 2024-04-30 18:59:43 +01:00
Kamran Ahmed 88b29a963e Add partner click ga event 2024-04-29 23:59:38 +01:00
Kamran Ahmed 2eb90d78e5 Add tns link 2024-04-29 23:23:33 +01:00
Kamran Ahmed f30334cb9b Add text-balance to topic header 2024-04-25 18:20:52 +01:00
Kamran Ahmed 7b297bdba6 Add linux roadmap 2024-04-25 18:04:23 +01:00
Kamran Ahmed d802841f1a Add linux roadmap 2024-04-25 18:04:23 +01:00
Kamran Ahmed 5f96fac3cc Update topic detail text 2024-04-23 23:08:01 +01:00