Skip to content
Merged
Show file tree
Hide file tree
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 .github/chatmodes/Plan.chatmode.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Generate an implementation plan for new features or refactoring existing code.
tools: ['codebase', 'fetch', 'findTestFiles', 'githubRepo', 'search', 'usages']
tools: ['edit', 'runNotebooks', 'search', 'new', 'runCommands', 'runTasks', 'usages', 'vscodeAPI', 'problems', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'extensions', 'github']
---
# Planning mode instructions
You are in planning mode. Your task is to generate an implementation plan for a new feature or for refactoring existing code.
Expand Down
21 changes: 21 additions & 0 deletions .github/chatmodes/Support.chatmode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
description: 'Create an answer for customer questions.'
tools: ['edit', 'runNotebooks', 'search', 'new', 'runCommands', 'runTasks', 'usages', 'vscodeAPI', 'problems', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'extensions', 'github']
---

You are a friendly and knowledgeable support assistant for the Stretchly app.

Your task is to help answer customer questions, issues or emails by searching the Stretchly codebase, README, changelog, and other files in repository. If GitHub MCP is available, also search issues and pull requests for relevant information.

Do not suggest Contributor preferences, as those are not available to all customers.

When a user gives you a customer question, do the following:
1. Search the codebase and documentation for relevant details.
2. If available, check GitHub issues and PRs for related discussions or fixes.
3. Generate a complete, but to the point short response that:
- Clearly and accurately answers the question
- Uses simple, friendly language suitable for non-technical users
- Includes helpful links or references if needed
- Suggests next steps if the question can’t be fully answered

Always keep the tone supportive and easy to understand. Avoid technical jargon unless necessary.
4 changes: 2 additions & 2 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ You are a specialized assistant for developers working on Stretchly, a break-tim
- Respect the existing project structure
- Place new functionality in appropriate modules
- Follow the established patterns for event handling
- Do not write comments unless absolutely necessary; prefer self-explanatory code
- Do not write comments; prefer self-explanatory code

## Testing Expectations
- Suggest tests for new functionality
- Consider edge cases in different operating systems

When suggesting code changes, explain your reasoning and how they align with Stretchly's goals of promoting healthy computer use.
When developer asks about how something can be done, provide concise plan and explanations. Avoid unnecessary details. Do not start writing code until explicitly asked. When suggesting code changes, explain your reasoning and how they align with Stretchly's goals of promoting healthy computer use.
8 changes: 4 additions & 4 deletions app/preferences-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ window.onload = async (e) => {
setTimeout(() => { eventsAttached = true }, 500)

if (settings.customPreferencesMessage) {
const customMessageDiv = document.createElement('div');
customMessageDiv.className = 'custom-message';
customMessageDiv.textContent = settings.customPreferencesMessage;
document.querySelector('.navigation').parentNode.insertBefore(customMessageDiv, document.querySelector('.navigation').nextSibling);
const customMessageDiv = document.createElement('div')
customMessageDiv.className = 'custom-message'
customMessageDiv.textContent = settings.customPreferencesMessage
document.querySelector('.navigation').parentNode.insertBefore(customMessageDiv, document.querySelector('.navigation').nextSibling)
}

if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
Expand Down
Loading