Skip to content

Updated session dashboard #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 38 commits into from
Jun 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
55e54d3
Merge pull request #17 from techdiary-dev/dev
kingRayhan Apr 3, 2025
8e13ab3
Refactor ArticleEditor component to use updated autosizing hook and i…
kingRayhan Apr 4, 2025
94d16c3
inclue multi-select component
kingRayhan Apr 4, 2025
7c648e5
Replace TagInput with MultipleSelector in ArticleEditorDrawer for imp…
kingRayhan Apr 4, 2025
0dec562
Implement SEO keywords field in ArticleEditorDrawer and remove unused…
kingRayhan Apr 4, 2025
27f2364
Remove unnecessary comment in ArticleEditorDrawer component for clean…
kingRayhan Apr 5, 2025
f4a3aa5
Refactor joinTable function in persistence-where-operator.ts to use m…
kingRayhan Apr 5, 2025
07ad9f8
Remove TagInput component from Page and simplify the return structure…
kingRayhan Apr 5, 2025
621efcb
Update URL construction in sitemap to include '@' prefix for username…
kingRayhan Apr 5, 2025
778c9e4
Update URL format in sitemap to prepend '@' to usernames, improving l…
kingRayhan Apr 5, 2025
4797d80
Enhance sitemap URL formatting by ensuring consistent '@' prefix for …
kingRayhan Apr 5, 2025
4270aa6
Add schema.org structured data for articles and update package.json w…
kingRayhan Apr 5, 2025
9258940
Add article body processing to Page component by removing markdown sy…
kingRayhan Apr 5, 2025
c1e0e44
Remove bun.lockb and package-lock.json files to streamline dependency…
kingRayhan Apr 5, 2025
0899d22
Update article body processing in Page component to limit markdown sy…
kingRayhan Apr 5, 2025
e6093a5
Refactor ArticleEditor to handle body content changes with a dedicate…
kingRayhan Apr 5, 2025
f6db89f
Update ArticleCard component to prepend '@' to author usernames in ar…
kingRayhan Apr 5, 2025
33afb9e
Refactor ArticleCard component to enhance author username display by …
kingRayhan Apr 5, 2025
b0f4626
Add series and series items models, repositories, and database schema
kingRayhan Apr 5, 2025
59bd293
Refactor markdown processing in profile and article pages to use mark…
kingRayhan Apr 5, 2025
39042ad
Remove robots.txt file and refactor profile and article rendering to …
kingRayhan Apr 5, 2025
6f6c3f7
Refactor generateMetadata function in ArticlePage to improve paramete…
kingRayhan Apr 5, 2025
4c3e066
Add fallback for article metadata generation in Page component to han…
kingRayhan Apr 5, 2025
76ef2ab
Enhance article metadata handling in Page component by adding support…
kingRayhan Apr 5, 2025
e5c8afd
Refactor OpenGraph image component to enhance layout and styling by r…
kingRayhan Apr 5, 2025
03ac2b7
Update font size in OpenGraph image component for improved visibility…
kingRayhan Apr 5, 2025
b239388
typo fix
shoaibsharif Apr 6, 2025
c1b7fd2
Merge pull request #21 from techdiary-dev/series-article
shoaibsharif Apr 6, 2025
eed0c5a
feat(migrations): update user_socials and user_follows tables to use …
shoaibsharif Apr 6, 2025
22f125a
Merge pull request #22 from techdiary-dev/series-article
kingRayhan Apr 6, 2025
f15242e
Updated session dashboard
shoaibsharif Apr 6, 2025
8ae4d06
Refactor article handle generation logic in article.actions.ts to sup…
kingRayhan Apr 10, 2025
119f194
Merge pull request #23 from techdiary-dev/editor
shoaibsharif Apr 11, 2025
b8cabe3
Refactor ArticleEditor component to improve state management and debo…
kingRayhan Apr 11, 2025
db08c62
Merge pull request #24 from techdiary-dev/editor
shoaibsharif Apr 11, 2025
4231afe
Merge branch 'main' of pr.github.com:techdiary-dev/techdiary.dev into…
shoaibsharif Apr 12, 2025
10d146d
feat: Implement series management features including creation, editin…
shoaibsharif Apr 28, 2025
33539bf
refactor: Simplify transaction handling in createSeries and updateSer…
shoaibsharif Apr 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .caddy-label
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Primary (www) domain with reverse proxy
caddy_0=https://www.techdiary.dev
caddy_0.handle_path=/*
caddy_0.handle_path.0_reverse_proxy={{upstreams 3000}}
caddy_0.encode=zstd gzip
caddy_0.try_files={path} /index.html /index.php
caddy_0.header=-Server

# Redirect non-www to www
caddy_1=https://techdiary.dev
caddy_1.redir=https://www.techdiary.dev{uri}

# Set Docker network for Caddy to access the app
caddy_ingress_network=coolify
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/.pnp
.pnp.js
yarn.lock
pnpm-lock.yaml
.yarn/cache
bun.lockb
.yarn/install-state.gz
Expand Down Expand Up @@ -37,3 +38,4 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
.vscode/mcp.json
35 changes: 35 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Next.js: debug server-side",
"type": "node-terminal",
"request": "launch",
"command": "npm run dev",
"skipFiles": ["<node_internals>/**"],
"serverReadyAction": {
"pattern": "started server on .+, url: (https?://.+)",
"uriFormat": "%s",
"action": "openExternally"
}
},
{
"name": "Next.js: debug client-side",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
},
{
"name": "Next.js: debug full stack",
"type": "node-terminal",
"request": "launch",
"command": "npm run dev",
"serverReadyAction": {
"pattern": "started server on .+, url: (https?://.+)",
"uriFormat": "%s",
"action": "debugWithChrome"
}
}
]
}
Binary file removed bun.lockb
Binary file not shown.
23 changes: 23 additions & 0 deletions migrations/0025_reflective_masque.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
CREATE TABLE "series_items" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"series_id" uuid NOT NULL,
"type" varchar NOT NULL,
"title" varchar,
"article_id" uuid,
"index" integer DEFAULT 0 NOT NULL,
"created_at" timestamp,
"updated_at" timestamp
);
--> statement-breakpoint
CREATE TABLE "series" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"title" varchar NOT NULL,
"cover_image" jsonb,
"owner_id" uuid NOT NULL,
"created_at" timestamp,
"updated_at" timestamp
);
--> statement-breakpoint
ALTER TABLE "series_items" ADD CONSTRAINT "series_items_series_id_series_id_fk" FOREIGN KEY ("series_id") REFERENCES "public"."series"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "series_items" ADD CONSTRAINT "series_items_article_id_articles_id_fk" FOREIGN KEY ("article_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "series" ADD CONSTRAINT "series_owner_id_users_id_fk" FOREIGN KEY ("owner_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action;
1 change: 1 addition & 0 deletions migrations/0026_pink_selene.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE "series" ADD COLUMN "handle" varchar NOT NULL;
1 change: 1 addition & 0 deletions migrations/0027_small_yellow_claw.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE "series" ALTER COLUMN "handle" DROP NOT NULL;
2 changes: 2 additions & 0 deletions migrations/0028_redundant_landau.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE "user_socials" ALTER COLUMN "id" SET DATA TYPE uuid;--> statement-breakpoint
ALTER TABLE "user_socials" ALTER COLUMN "id" SET DEFAULT gen_random_uuid();
2 changes: 2 additions & 0 deletions migrations/0029_blushing_roland_deschain.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE "user_follows" ALTER COLUMN "id" SET DATA TYPE uuid;--> statement-breakpoint
ALTER TABLE "user_follows" ALTER COLUMN "id" SET DEFAULT gen_random_uuid();
Loading