Skip to content
Closed
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
2 changes: 1 addition & 1 deletion app/routes/users/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function UsersRoute({ loaderData }: Route.ComponentProps) {

return (
<div className="container mt-36 mb-48 flex flex-col items-center justify-center gap-6">
<h1 className="text-h1">Epic Notes Users</h1>
<h1 className="text-h1">Epic Notes Users Test</h1>
Copy link

Copilot AI Dec 29, 2025

Choose a reason for hiding this comment

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

The change to the heading text will cause the existing end-to-end test in tests/e2e/search.test.ts to fail. The test currently checks for the exact text "Epic Notes Users" (line 11), but the heading has been updated to "Epic Notes Users Test". The test should be updated to match the new heading text.

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Dec 29, 2025

Choose a reason for hiding this comment

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

Adding "Test" to a user-facing heading appears to be temporary for testing purposes, but should not be deployed to production. Consider using an environment variable or feature flag to control test-specific content, or ensure this change is reverted before merging to production branches.

Suggested change
<h1 className="text-h1">Epic Notes Users Test</h1>
<h1 className="text-h1">Epic Notes Users</h1>

Copilot uses AI. Check for mistakes.
<div className="w-full max-w-[700px]">
<SearchBar status={loaderData.status} autoFocus autoSubmit />
</div>
Expand Down
Loading