Skip to content

Fix/replace list#101

Open
meganrm wants to merge 91 commits into
mainfrom
fix/replace-list
Open

Fix/replace list#101
meganrm wants to merge 91 commits into
mainfrom
fix/replace-list

Conversation

@meganrm
Copy link
Copy Markdown
Collaborator

@meganrm meganrm commented May 21, 2026

Problem

The list component is marked as deprecated in antd docs

Also the main page looked out of style once the subpage had been updated.

Solution

Replaces the list component with a custom styled list.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Steps to Verify:

  1. look at the preview site

Screenshots (optional):

Screenshot 2026-05-21 at 3 15 17 PM

meganrm and others added 30 commits May 5, 2026 16:30
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mirrors the CSS custom properties in colors.css — adds missing brand
colors (ALLEN_MAROON, ALLEN_ROSE, ALLEN_ORANGE, ALLEN_OCHRE,
ALLEN_YELLOW) and semantic aliases (COLOR_BG_BASE, COLOR_TEXT_PRIMARY,
LINK_COLOR, etc.) so components can import named tokens instead of
raw hex values.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fixes "yarn: command not found" when committing via VS Code's git UI,
which doesn't inherit the shell PATH.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…iles

Adds --color-accent, --color-surface, --color-bg-dark, --color-feature,
--color-secondary to colors.css, then updates all module CSS files to
use semantic names instead of palette names (--ALLEN_BLUE, --PAGE_1,
--GRAY_2, --WHITE, --BLACK, etc.).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the index page layout and IdeaRoll styling to remove reliance on the deprecated antd/List, and to make the index hero background span full viewport width while keeping inner content aligned.

Changes:

  • Replace antd/List-based IdeaRoll with a native <ul>/<li> editorial layout and corresponding CSS module updates.
  • Make the index page a full-width layout via useSetLayoutConfig({ fullWidthPage: true }) and restructure the hero to use an inner constrained wrapper.
  • Adjust theme/link hover color and add/align layout styling tokens (with a small cleanup needed to avoid duplication).

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/templates/index-page.tsx Sets fullWidthPage and wraps hero content in heroInner for consistent alignment.
src/components/IdeaRoll.tsx Replaces antd/List rendering with native list markup + editorial item layout.
src/components/IconText.tsx Removes now-unused component previously tied to the antd/List actions UI.
src/style/index-page.module.css Updates hero/list wrappers to use shared padding tokens and new structure.
src/style/idea-roll.module.css Adds new editorial list styles (tags eyebrow, title, byline, separators).
src/style/layout.module.css Tweaks full-width wrapper background behavior for full-width pages.
src/style/colors.css Attempts to add shared layout padding tokens (currently duplicated in file).
src/style/theme.ts Updates colorLinkHover token value.
docs/design/specs/2026-05-20-index-page-redesign.md Adds a design spec describing the new index page structure and IdeaRoll layout.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/style/colors.css Outdated
Comment thread src/style/layout.module.css Outdated
Comment thread src/components/IdeaRoll.tsx Outdated
Base automatically changed from feature/idea-post-rebrand to main May 27, 2026 22:38
@netlify
Copy link
Copy Markdown

netlify Bot commented May 27, 2026

Deploy Preview for project-idea-board ready!

Name Link
🔨 Latest commit d39754c
🔍 Latest deploy log https://app.netlify.com/projects/project-idea-board/deploys/6a18b136f156410008ca6b58
😎 Deploy Preview https://deploy-preview-101--project-idea-board.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 7 comments.

Comment thread src/style/theme.ts
Comment on lines 55 to +57
colorLink: ALLEN_VIOLET,
colorLinkActive: ALLEN_GREEN,
colorLinkHover: ALLEN_GREEN,
colorLinkHover: ALLEN_VIOLET,
Comment thread src/style/index-page.module.css Outdated
Comment thread src/style/index-page.module.css Outdated
Comment thread src/components/IdeaRoll.tsx Outdated
Comment on lines +69 to +73
<TagPopover
tag={tag}
currentSlug={item.slug}
className={eyebrowTag}
/>
Comment thread docs/design/specs/2026-05-20-index-page-redesign.md Outdated
Comment thread docs/design/specs/2026-05-20-index-page-redesign.md Outdated
meganrm and others added 6 commits May 28, 2026 10:39
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|-------------|-------|--------|-------------------------------|-------------------------------------|
| Tag eyebrow | 10px | 700 | `var(--primary-color)` | uppercase, `letter-spacing: 0.15em` |
| Separator · | 10px | 400 | `var(--border-color)` | `margin: 0 5px` |
| Title | 19px | 800 | `var(--text-primary-color)` | `letter-spacing: -0.02em`, `line-height: 1.25` |
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a blocker, but looks like the title actually uses color: var(--primary-color);. maybe update one or the other for consistency

Copy link
Copy Markdown

@rugeli rugeli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good! Sorry for the delay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants