Skip to content

feat: hide author name on mobile footer and add contact links#4160

Merged
MarkusNeusinger merged 3 commits into
mainfrom
feat/footer-responsive-hide-name-add-contact-links
Feb 7, 2026
Merged

feat: hide author name on mobile footer and add contact links#4160
MarkusNeusinger merged 3 commits into
mainfrom
feat/footer-responsive-hide-name-add-contact-links

Conversation

@MarkusNeusinger
Copy link
Copy Markdown
Owner

Summary

  • Hide author name in footer on mobile viewports for a cleaner responsive layout
  • Add contact email and GitHub links to the legal/imprint page
  • Add context.md command template for agentic workflow context gathering

Plan

agentic/specs/260207-footer-responsive-hide-name-add-contact-links.md

Test plan

  • Verify footer hides author name on mobile viewport (< 768px)
  • Verify footer displays author name on desktop viewport
  • Verify legal page shows contact email and GitHub links
  • Verify contact links are clickable and point to correct destinations

…l page

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 7, 2026 22:50
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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 improves frontend responsiveness by hiding the author name link in the footer on smaller viewports and adds additional contact links to the Legal page. It also updates the agentic workflow docs/specs to capture the change context.

Changes:

  • Hide the “markus neusinger” footer link on smaller screens via responsive display styling.
  • Add LinkedIn, X, and personal GitHub links (with analytics tracking) to the Legal page Contact section.
  • Add/extend agentic spec/context docs and register the new context doc in agentic/commands/context.md.

Reviewed changes

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

Show a summary per file
File Description
app/src/pages/LegalPage.tsx Adds external contact links (LinkedIn/X/GitHub) in the Contact section with click tracking.
app/src/components/Footer.tsx Wraps the author link + separators in a responsive container to hide on smaller viewports.
agentic/specs/260207-footer-responsive-hide-name-add-contact-links.md Adds a feature spec documenting the intended responsive behavior and Legal page updates.
agentic/context/260207-footer-responsive-hide-name-add-contact-links.md Adds a context doc describing what was implemented and how to validate it.
agentic/commands/context.md Registers the new context doc with conditions for when to read it.

markus neusinger
</Link>
<span>·</span>
<Box component="span" sx={{ display: { xs: 'none', md: 'contents' } }}>
Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

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

Breakpoint docs/PR text mention <768px / 960px, but this code uses MUI's md breakpoint. The theme in app/src/main.tsx does not override breakpoints, so md will be the default (900px). Please align the intended cutoff (update copy/specs or adjust theme/breakpoint used here) so the hide/show behavior matches the stated requirement.

Copilot uses AI. Check for mistakes.
## Metadata

run_id: `d7e7bdf6`
prompt: `im footer mein name markus neusinger ist recht lang bei kleinen bildschrimen mobile... sieht das nichtmehr gut, minimal aus, ich möchte das ab der grösse bei der auch auf der startseite die filter zeile mit catolog... steht in 2 zeilen übergeht das mein name nichtmehr im footer zu sehen ist, dafür soll aber im legal tab bei contact links zu meinem linkedin x und github account sein zusätlich zu der email die schon da steht https://x.com/MarkusNeusinger https://github.com/MarkusNeusinger https://www.linkedin.com/in/markus-neusinger/`
Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

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

The prompt: metadata value is written in German (and includes several typos). Other agentic specs in this repo are in English; consider translating this field (or storing the original separately) to keep agentic documentation consistently English and easier to search/maintain.

Suggested change
prompt: `im footer mein name markus neusinger ist recht lang bei kleinen bildschrimen mobile... sieht das nichtmehr gut, minimal aus, ich möchte das ab der grösse bei der auch auf der startseite die filter zeile mit catolog... steht in 2 zeilen übergeht das mein name nichtmehr im footer zu sehen ist, dafür soll aber im legal tab bei contact links zu meinem linkedin x und github account sein zusätlich zu der email die schon da steht https://x.com/MarkusNeusinger https://github.com/MarkusNeusinger https://www.linkedin.com/in/markus-neusinger/`
prompt: `In the footer, my full name "markus neusinger" is quite long and on small mobile screens it no longer looks clean or minimal. Starting at the same breakpoint where the filter row on the homepage ("catalog" / filters) wraps to two lines, I want my name to no longer be shown in the footer. Instead, in the Legal page Contact section there should be links to my LinkedIn, X, and GitHub accounts in addition to the existing email: https://x.com/MarkusNeusinger https://github.com/MarkusNeusinger https://www.linkedin.com/in/markus-neusinger/.`

Copilot uses AI. Check for mistakes.
Comment on lines +12 to +19
1. **Footer**: Hide the "markus neusinger" link on small screens (below `md` / 960px breakpoint) — the same breakpoint where the FilterBar catalog/filter row wraps to 2 lines on the homepage. The name is too long and makes the footer look cramped on mobile. The dot separator before/after the name link should also be hidden.

2. **Legal Page**: Add social/contact links (LinkedIn, X/Twitter, GitHub) to the Contact section in the Legal Notice, alongside the existing email. This ensures the contact information remains discoverable even when the footer name link is hidden on mobile.

## Requirements

- Hide the "markus neusinger" link (and its surrounding dot separators) in the footer when viewport width is below `md` (960px) — matching the FilterBar's `isMobile` breakpoint
- On viewports `md` and above (960px+), the footer remains unchanged
Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

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

This spec repeatedly states md is a 960px breakpoint, but the app theme does not override MUI breakpoints (so md defaults to 900px). Please correct the pixel values (or document the actual source of 960px if breakpoints are customized elsewhere) to avoid implementing/testing against the wrong cutoff.

Suggested change
1. **Footer**: Hide the "markus neusinger" link on small screens (below `md` / 960px breakpoint) — the same breakpoint where the FilterBar catalog/filter row wraps to 2 lines on the homepage. The name is too long and makes the footer look cramped on mobile. The dot separator before/after the name link should also be hidden.
2. **Legal Page**: Add social/contact links (LinkedIn, X/Twitter, GitHub) to the Contact section in the Legal Notice, alongside the existing email. This ensures the contact information remains discoverable even when the footer name link is hidden on mobile.
## Requirements
- Hide the "markus neusinger" link (and its surrounding dot separators) in the footer when viewport width is below `md` (960px) — matching the FilterBar's `isMobile` breakpoint
- On viewports `md` and above (960px+), the footer remains unchanged
1. **Footer**: Hide the "markus neusinger" link on small screens (below `md` / 900px breakpoint) — the same breakpoint where the FilterBar catalog/filter row wraps to 2 lines on the homepage. The name is too long and makes the footer look cramped on mobile. The dot separator before/after the name link should also be hidden.
2. **Legal Page**: Add social/contact links (LinkedIn, X/Twitter, GitHub) to the Contact section in the Legal Notice, alongside the existing email. This ensures the contact information remains discoverable even when the footer name link is hidden on mobile.
## Requirements
- Hide the "markus neusinger" link (and its surrounding dot separators) in the footer when viewport width is below `md` (900px) — matching the FilterBar's `isMobile` breakpoint
- On viewports `md` and above (900px+), the footer remains unchanged

Copilot uses AI. Check for mistakes.
Comment on lines +38 to +39
No configuration needed. The `md` breakpoint (960px) is defined by the MUI theme and matches the FilterBar's mobile breakpoint.

Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

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

This context doc claims md is 960px and is defined by the MUI theme. The current theme configuration does not override breakpoints, so md defaults to 900px. Please update these statements so future work/tests use the correct responsive cutoff (or update the theme if 960px is intended).

Copilot uses AI. Check for mistakes.
markus neusinger
</Link>
<span>·</span>
</Box>
Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

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

On viewports below md, this wrapper hides both dot separators around the LinkedIn/name link, which also removes the separator between stats and mcp. On mobile this will render as github · stats mcp · legal (missing the middle dot). Keep a separator between stats and mcp when the name section is hidden (e.g., add a dot that shows on xs/sm and hides on md+ where the name section provides the separators).

Suggested change
</Box>
</Box>
<Box component="span" sx={{ display: { xs: 'inline', md: 'none' } }}>·</Box>

Copilot uses AI. Check for mistakes.
MarkusNeusinger and others added 2 commits February 7, 2026 23:58
- Move author name span for better alignment
- Ensure contact links are properly displayed
…pt to English

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 7, 2026 23:04
@MarkusNeusinger MarkusNeusinger merged commit f136e9c into main Feb 7, 2026
12 checks passed
@MarkusNeusinger MarkusNeusinger deleted the feat/footer-responsive-hide-name-add-contact-links branch February 7, 2026 23:05
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 5 out of 5 changed files in this pull request and generated 3 comments.

Comment on lines +53 to +55
<Box component="span" sx={{ display: { xs: 'none', md: 'contents' } }}>
<span>·</span>
<Link
Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

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

The PR description/test plan mentions hiding the footer name on mobile viewports "< 768px", but the implementation hides it below MUI md (900px) via display: { xs: 'none', md: 'contents' }. Please align the requirement and implementation (either update the PR description/test plan to 900px, or change the breakpoint logic to match 768px).

Copilot uses AI. Check for mistakes.
Comment on lines +51 to +55
- agentic/context/260207-footer-responsive-hide-name-add-contact-links.md
- Conditions:
- When working with the Footer component responsive behavior
- When modifying contact or social links in the Legal page
- When adjusting mobile breakpoint visibility of footer elements
Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

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

agentic/commands/context.md is a general “conditional documentation” guide; adding a single run-specific context file path here doesn’t scale and will quickly bloat this list. Consider pointing to agentic/context/ (or describing a naming pattern) instead of hardcoding an individual context file entry.

Suggested change
- agentic/context/260207-footer-responsive-hide-name-add-contact-links.md
- Conditions:
- When working with the Footer component responsive behavior
- When modifying contact or social links in the Legal page
- When adjusting mobile breakpoint visibility of footer elements
- agentic/context/
- Conditions:
- When there is a run-specific or task-specific context file related to your changes
- When you see a context filename (for example, date-prefixed and task-described) mentioned in the task
- When you need additional guidance for a particular change beyond the general project documentation

Copilot uses AI. Check for mistakes.

### 4. Add Tests

- No frontend test files exist in the project currently — skip test creation as there is no test infrastructure for React components
Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

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

This spec says there is “no test infrastructure for React components”, but the frontend already has Vitest configured (app/vitest.config.ts, yarn test). If the intent is that there’s no React component testing setup (e.g., Testing Library/JSDOM), please clarify the wording to avoid implying there’s no frontend test runner at all.

Suggested change
- No frontend test files exist in the project currently — skip test creation as there is no test infrastructure for React components
- The frontend already has Vitest configured as a test runner, but there is currently no React component testing setup (e.g., Testing Library/JSDOM) for this area — you can skip adding new component tests for this change

Copilot uses AI. Check for mistakes.
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.

2 participants