Commit 08775f8
authored
Feat/layout updates (#1324)
* feat(sidebar): add collapsible sidebar with smooth animation
- Add SidebarContext for managing collapsed state
- Create MinimalHeader with hamburger toggle aligned to sidebar icons
- Implement AppSidebar component with navigation items
- Update sidebar-layout with animated width transitions and clipping
- Adjust sidebar padding to p-3 and hover containment with max-w-9
- Add pink accent for current page indicator
* feat(layout): integrate collapsible sidebar into app layout
* feat(config): add sidebar navigation items and social link
* refactor(pages): update feed, home, and articles layout styling
* feat(settings): update settings page styling
* refactor(theme): simplify theme provider and remove unused nav code
* refactor(ui): update link component and trending posts loading styles
* chore(assets): add LinkedIn icon and Codú logo
* chore(deps): add new script for sources
* chore(db): update migration and add seed sources script
* refactor(ui): add aria-labels and update layout components
- Add aria-label to header elements for accessibility
- Update sidebar and navbar layout components
- Refactor editor navigation styling
- Minor layout adjustments across page components
* fix(e2e): update test expectations to match current UI
- Update home test to check for "Trending" heading instead of h1
- Update login test button text to match OAuth buttons
- Fix articles test to use Create button and correct modal text
- Add loading state wait and exact matching in my-posts test
- Remove flaky footer Events link check
* feat(api): add getUserLinkBySlug endpoint and fix myScheduled query
- Add getUserLinkBySlug endpoint for fetching user link posts by slug
- Fix myScheduled to filter by status="scheduled" instead of "published"
- Remove unused gt import from drizzle-orm
* feat(editor): add new PostEditor component and E2E test infrastructure
- Add PostEditor with WriteTab and LinkTab for article/link creation
- Add URL metadata fetching for link posts
- Add article toolbar with formatting options
- Add E2E editor tests and test utilities
- Update E2E setup with link post test data
- Update slash command and image upload extensions
* feat: add link post support and UI improvements
- Add user link detail page and fetch-metadata API route
- Add NewsletterCTA component
- Update draft preview page with improved layout
- Update feed, articles, and homepage clients
- Improve header, sidebar, and content layout components
- Update comments area and unified content card
- Minor fixes to Search, listbox, and fallback media components
* chore: misc updates and cleanup
- Update auth.ts and next-auth types
- Add SidebarContext for collapsible sidebar state
- Add drizzle seed-sources script
- Update comment router and posts lib
- Update markdoc editor shortcuts and example tags
- Remove unused CoduChallenge component
* feat(e2e): enhance publish flow tests with improved wait conditions and selectors
* style: standardize formatting and clean up whitespace across multiple files
* feat(editor): enhance CreateContent component with improved data handling and state management1 parent 8dfe296 commit 08775f8
File tree
85 files changed
+6831
-1230
lines changed- .github/workflows
- app
- (app)
- [username]
- [slug]
- advertise
- articles
- auth
- code-of-conduct
- draft/[id]
- feed
- [sourceSlug]
- forbidden
- jobs/create
- settings
- (editor)/create/[[...paramsArr]]
- api/fetch-metadata
- cdk
- components
- CoduChallenge
- Comments
- ContentDetail
- Header
- Layout
- NewsletterCTA
- PostEditor
- components
- extensions
- hooks
- tabs
- toolbar
- SideBar
- Theme
- TrendingPosts
- UnifiedContentCard
- editor/editor
- plugins
- markdocNodes/FallbackMedia
- ui-components
- ui
- config
- context
- curriculum/intro-to-react
- drizzle
- e2e
- constants
- utils
- icons
- markdoc
- editor/shortcuts
- tags
- public/images
- server
- api/router
- lib
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
85 files changed
+6831
-1230
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | 139 | | |
141 | 140 | | |
142 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
51 | | - | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
0 commit comments