Skip to content

Overhaul iOS Shortcuts documentation with detailed workflows and troubleshooting#22

Merged
hessius merged 3 commits intomainfrom
copilot/improve-shortcut-docs
Jan 9, 2026
Merged

Overhaul iOS Shortcuts documentation with detailed workflows and troubleshooting#22
hessius merged 3 commits intomainfrom
copilot/improve-shortcut-docs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 9, 2026

The iOS Shortcuts section showed outdated API patterns and lacked actionable guidance. Users needed step-by-step instructions for creating shortcuts with photo and/or description inputs.

Changes

Workflow Options

  • Photo + Description: Combined workflow with optional preferences input
  • Photo Only: Single-tap photo capture for automatic profile creation
  • Description Only: Text-based profile requests without image
  • Analysis-Only: Coffee identification without profile creation

Documentation Structure

  • Step-by-step iOS Shortcuts app actions with exact configuration
  • Form field specifications (file, user_prefs) and HTTP methods
  • Troubleshooting section: connection failures, invalid responses, upload issues
  • Tips section: photography guidance, preference examples, extraction styles
  • <PI_IP> placeholder convention defined upfront

API Endpoints

All workflows reference current endpoints:

  • /analyze_and_profile - accepts file and/or user_prefs form data
  • /analyze_coffee - accepts file for analysis without profile creation

Example: Photo + Description Workflow

1. Take Photo (Show Camera Preview = On)
2. Ask for Input ("Any preferences?", allow empty)
3. Get Contents of URL
   - POST http://<PI_IP>:8000/analyze_and_profile
   - Form: file=Photo, user_prefs=Provided Input
4. Show Notification (Contents of URL)

Pre-built shortcut link placeholder added for future distribution.

Original prompt

This section details on the original issue you should resolve

<issue_title>Shortcuts integration documentation improvement</issue_title>
<issue_description>The iOS shortcut integration shows the old api and isn't complete, needs an overhaul to use the new api call, and also refactor to enable the photo and/or description workflow, later a link to a pre-built shortcut should be added</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits January 9, 2026 23:16
Co-authored-by: hessius <1499030+hessius@users.noreply.github.com>
Co-authored-by: hessius <1499030+hessius@users.noreply.github.com>
Copilot AI changed the title [WIP] Update shortcuts integration documentation for new API Overhaul iOS Shortcuts documentation with detailed workflows and troubleshooting Jan 9, 2026
Copilot AI requested a review from hessius January 9, 2026 23:20
@hessius hessius marked this pull request as ready for review January 9, 2026 23:33
@hessius hessius merged commit a32c81f into main Jan 9, 2026
@hessius hessius deleted the copilot/improve-shortcut-docs branch January 11, 2026 22:22
hessius added a commit that referenced this pull request Jan 22, 2026
Overhaul iOS Shortcuts documentation with detailed workflows and troubleshooting
hessius added a commit that referenced this pull request Mar 18, 2026
Comprehensive sweep of all user-facing error/failure messages across
15+ components and hooks. Added ~35 new error translation keys to all
6 locales (en/sv/de/es/fr/it).

Also addresses PR #285 review comments:
- #16: Added i18n exemption comment for SHOT_QUOTES (cultural refs)
- #19: Added per-item dict validation in apply-recommendations endpoint
- #20: Removed unreachable dead branch in VariableAdjustPanel
- #22: Replaced hardcoded ' failed' concat with dedicated i18n key
- #23: Replaced hardcoded 'Failed to apply recommendations' with i18n

Files changed: ExpertAnalysisView, RecommendationSelectionDialog,
FindSimilarOverlay, ProfileRecommendations, ProfileCatalogueView,
ProfileImportDialog, SyncReport, SettingsView, RunShotView,
ShotAnalysisView, PourOverView, VariableAdjustPanel, SearchingLoader,
useHistory, useShotHistory, useUpdateStatus, useUpdateTrigger,
profiles.py, + all 6 locale translation.json files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
hessius added a commit that referenced this pull request Mar 25, 2026
Comprehensive sweep of all user-facing error/failure messages across
15+ components and hooks. Added ~35 new error translation keys to all
6 locales (en/sv/de/es/fr/it).

Also addresses PR #285 review comments:
- #16: Added i18n exemption comment for SHOT_QUOTES (cultural refs)
- #19: Added per-item dict validation in apply-recommendations endpoint
- #20: Removed unreachable dead branch in VariableAdjustPanel
- #22: Replaced hardcoded ' failed' concat with dedicated i18n key
- #23: Replaced hardcoded 'Failed to apply recommendations' with i18n

Files changed: ExpertAnalysisView, RecommendationSelectionDialog,
FindSimilarOverlay, ProfileRecommendations, ProfileCatalogueView,
ProfileImportDialog, SyncReport, SettingsView, RunShotView,
ShotAnalysisView, PourOverView, VariableAdjustPanel, SearchingLoader,
useHistory, useShotHistory, useUpdateStatus, useUpdateTrigger,
profiles.py, + all 6 locale translation.json files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

Shortcuts integration documentation improvement

2 participants