Adds CONTRIBUTING.md and link from README#5
Merged
Conversation
NiallJoeMaher
added a commit
that referenced
this pull request
Oct 6, 2023
Adds CONTRIBUTING.md and link from README
NiallJoeMaher
added a commit
to NiallJoeMaher/codu
that referenced
this pull request
Jun 8, 2026
…-code#5 §1) New components/Vote/VoteControl.tsx: a hairline pill (up-chevron · net score · down-chevron, inline-SVG chevrons, tabular-nums). Up active → accent-soft, down → danger; hover previews the arrow colour; clicking the active arrow clears the vote; stopPropagation so it never opens the row. Wired (reusing existing mutations) into the feed card reaction bar (content.vote), discussion comments/ replies (discussion.vote), and the article reader footer (post/content vote) — replacing the old "▲ helpful" upvote-only control. Outline variant only (the prototype's tinted variant + tweaks panel are prototype-only). feed.spec updated to the Upvote/Downvote labels. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
NiallJoeMaher
added a commit
to NiallJoeMaher/codu
that referenced
this pull request
Jun 8, 2026
§3) New components/RichText/: useRichText hook + selection-aware markdown transforms (bold/italic/strike/clear/link/ul/ol/quote/code/table), RichToolbar (inline · lists · block groups with dividers + "Switch to Markdown"), AaToggle, and MdTextarea (autosize). Storage stays markdown; the toolbar wraps/inserts md around the textarea selection (onMouseDown preventDefault keeps selection). Replaces the TipTap comment/reply editor (deleted its Toolbar/useEditor/ extensions/help-modal) with this markdown composer — keeps the collapsed trigger + onSubmit(markdown)/submitLabel contract so DiscussionArea is unchanged — and upgrades the ComposeModal body field. The TipTap article editor is untouched (articles keep WYSIWYG). e2e comment-flow specs type into the new textarea. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
NiallJoeMaher
added a commit
to NiallJoeMaher/codu
that referenced
this pull request
Jun 8, 2026
…doff codu-code#5 §4) New components/Celebrate/: Confetti (canvas burst, mint/status palette, ~1.7s, early-returns under prefers-reduced-motion) and BadgeUnlock (full-screen dialog, hexagon badge tile with codu-badge-pop + ring-pulse, "// badge unlocked", +points, Keep browsing / See your badges → profile achievements). Fires once when the real onboarding wins all complete — guarded by a localStorage flag (read via useSyncExternalStore) + a close flag, trigger in an effect (no setState-in-effect). username threaded through ShellActions for the badges link. Keyframes added to globals (motion gated on prefers-reduced-motion). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
NiallJoeMaher
added a commit
to NiallJoeMaher/codu
that referenced
this pull request
Jun 8, 2026
Publications = feed sources, now followable. New publication_follow table
(userId↔sourceId, migration 0028) + publication tRPC router (getBySlug with
follower/article counts + isFollowing, follow/unfollow). The source profile at
/{slug} (_sourceProfileClient) is redesigned to the publication layout: square
logo tile, "// publication" eyebrow, name + @handle, Follow/Share, tagline,
Followers + Articles stats, "// latest articles" via UnifiedContentCard — no
banner. Byline "in {Publication}" links (card + reader MetaHeader) point to
/{slug}. (The /feed/[sourceSlug] route is 308-redirected to /{slug} by
next.config, so the canonical page lives there.)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
NiallJoeMaher
added a commit
to NiallJoeMaher/codu
that referenced
this pull request
Jun 8, 2026
Remove redundant JSX banners, numbered group labels, and narration across the recently-changed files; keep the WHY/gotchas/security rationale. Comments only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a simple contribution guide based on some of the projects over at EddieHub.
Based on issue closes #4.