Skip to content

Refactor architecture#5

Merged
Rupesh4604 merged 2 commits intomainfrom
refactor-architecture
Apr 17, 2026
Merged

Refactor architecture#5
Rupesh4604 merged 2 commits intomainfrom
refactor-architecture

Conversation

@Rupesh4604
Copy link
Copy Markdown
Owner

adding custom tag

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 17, 2026

Visit the preview URL for this PR (updated for commit 88516a3):

https://my-productivity-hub-5a3ba--pr5-refactor-architectur-b0ltxmci.web.app

(expires Fri, 24 Apr 2026 10:49:03 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 4ef75aef15076a8cc05555b91f31935d9a13db8e

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a custom project type feature in the sidebar, allowing users to define their own tags, and enhances the Gemini API service by adding retry logic for 503 Service Unavailable errors. Review feedback highlights a logic error in the retry mechanism where exhausting retries for network errors could result in an undefined return value instead of an error, and suggests improving accessibility for the new custom tag input field by adding an aria-label.

Comment thread src/services/geminiService.js
Comment on lines +163 to +169
<input
type="text"
value={newProjectCustomType}
onChange={(e) => setNewProjectCustomType(e.target.value)}
placeholder="Enter custom tag"
className="w-full bg-gray-700 border border-gray-600 rounded-md px-2 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500"
/>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The custom tag input field lacks an associated label or an aria-label. Adding an aria-label improves accessibility for users navigating the application with screen readers, as there is no visible text label for this input.

@Rupesh4604 Rupesh4604 closed this Apr 17, 2026
@Rupesh4604 Rupesh4604 reopened this Apr 17, 2026
@Rupesh4604 Rupesh4604 merged commit 2e7bd3e into main Apr 17, 2026
3 checks passed
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.

1 participant