Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- Ensure **Idempotency** (safe to re-run) by using upserts or `$setOnInsert` where applicable.
- When making changes to the structure of the Course, consider how it affects its representation on its public page (`apps/web/app/(with-contexts)/(with-layout)/p/[id]/page.tsx`) and the course viewer (`apps/web/app/(with-contexts)/course/[slug]/[id]/page.tsx`).
- `apps/web` is a multi-tenant app.
- Refrain from adding new GraphQL query/mutation unless required. If an existing query/mutation can be modified to implement the feature without making the query's/mutation's boundaries blurry, extend those.

### Workspace map (core modules):

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export function CommunitiesList({
const { communities, loading, totalPages } = useCommunities(
page,
itemsPerPage,
publicView,
);
const { theme } = useContext(ThemeContext);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
TooltipProvider,
TooltipTrigger,
} from "@components/ui/tooltip";
import { truncate } from "@courselit/utils";

export function CommunityContentCard({
community,
Expand Down Expand Up @@ -51,7 +52,7 @@ export function CommunityContentCard({
/>
<PageCardContent theme={theme}>
<PageCardHeader theme={theme}>
{community.name}
{truncate(community.name, 50)}
</PageCardHeader>
<div className="flex items-center justify-between text-sm">
<div className="flex items-center">
Expand Down
Loading
Loading