Skip to content

Add Google Maps Search extension - #484

Merged
mattisssa merged 18 commits into
raycast:mainfrom
ratoru:main
Dec 7, 2021
Merged

mattisssa merged 18 commits into
raycast:mainfrom
ratoru:main

Conversation

@ratoru

@ratoru ratoru commented Dec 6, 2021

Copy link
Copy Markdown
Contributor

Description

Add google-maps-search extension that allows you to quickly pull up Google Maps directions in your browser. After setting home address and preferred mode of travel in preferences, this extension provides the following 3 commands:

  • Travel Home - open Google Maps with directions from your current location to your home using the preferred method of transportation.
  • Travel To - open Google Maps with directions from your current location, your home, or a custom address to a specified address.
  • Find Place - Open Google Maps with the given search parameter.

This extension should be most useful for people who commute via public transport and want to check when the next train to their home leaves. (--> This can be done with one "no-view" command.)

Type of change

  • New extension

Screencast

google-maps-screencast.mp4

Checklist

@mattisssa mattisssa added the new extension Label for PRs with new extensions label Dec 6, 2021
@mattisssa mattisssa self-assigned this Dec 6, 2021
@mattisssa
mattisssa self-requested a review December 6, 2021 13:18

@mattisssa mattisssa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey! Thanks for the contribution, a very cool idea for extension 👍
Everything looks good but I didn't have a chance to make the "Travel Home" command work. It makes my Safary browser focused but there is nothing happens. Could you take a look at what case could be there? I haven't seen any logs, so cannot really say what can it be.

@ratoru

ratoru commented Dec 6, 2021

Copy link
Copy Markdown
Contributor Author

Hi @mattisssa!
Please check again if the bug is fixed now. I tested it on a friend's computer and apparently the shell command open doesn't have a -u flag on his computer even though it does on mine. I removed it and everything should be working now.

@ratoru
ratoru requested a review from mattisssa December 6, 2021 23:06
@mattisssa
mattisssa merged commit 2c70b33 into raycast:main Dec 7, 2021
@raycastbot

Copy link
Copy Markdown
Collaborator

@djpowers djpowers mentioned this pull request May 22, 2022
5 tasks done
colebemis added a commit to colebemis/raycast-extensions that referenced this pull request Nov 6, 2024
- Update raycast owner
- Create Raycast extension
- Merge pull request #778 from githubnext/drifkin/debugging
- add admin override to fetch gists
- Merge pull request #777 from githubnext/colebemis/add-loading-message
- Merge pull request #776 from githubnext/autogrow-initial-input
- Add a new loading message
- Clean up
- Make initial input grow
- Merge pull request #774 from githubnext/terkelg/multiline-refine
- Make input field grow
- Merge pull request #773 from githubnext/terkelg/remember-input
- Remember prompt input when switching between tabs
- Merge pull request #757 from githubnext/terkelg/remove-tabbar1
- Merge branch \'main\' into terkelg/remove-tabbar1
- Add support for returning to the previous prompt (#767)
- Disable variants when needed (#766)
- Merge pull request #765 from githubnext/drifkin/bluetooth
- iframe: enable bluetooth permissions and a few othwers
- Encourage the use of specific libraries (#764)
- Merge pull request #763 from githubnext/revert-762-colebemis/prompt-textarea
- Revert "Make initial prompt input an autogrowing textarea"
- Merge pull request #762 from githubnext/colebemis/prompt-textarea
- Make initial prompt input an autogrowing textarea
- Proxy missing icons (#761)
- Fix multi-line imports (#760)
- Merge pull request #753 from githubnext/terkelg/742
- Adjust particles and loading messages on mobile (#755)
- Merge pull request #758 from githubnext/drifkin/post-keynote
- allow everyone to use the model picker
- restore full sign in page
- remove tabbar1 code
- Merge pull request #756 from githubnext/drifkin/access-for-capi-ppl
- fix capi access
- Merge pull request #754 from githubnext/drifkin/access-for-capi-ppl
- hook up v1 capi, add more people
- Validate KV JSON
- Merge pull request #752 from githubnext/drifkin/loading
- loading more loading messages...
- Merge pull request #751 from githubnext/terkelg/model-history
- Format
- Add models to history on mobile and desktop
- Update primer icons to get new models icon
- Merge pull request #749 from githubnext/drifkin/clean-up-logging
- fix lint
- turn off almost all logging by default
- remove tanstack devtools
- Merge pull request #748 from githubnext/drifkin/more
- fix lint
- change sync debounce: 3s to 1.5s
- don\'t allow admitted waitlist users on staging/preprod
- Merge pull request #747 from githubnext/drifkin/default-tabs-to-code
- disable logging telemetry to console
- editor tabs: default to selecting a code file, if one exists
- Merge pull request #741 from githubnext/drifkin/error-logging
- better error forwarding
- Merge pull request #746 from githubnext/drifkin/sparks-url
- url: rename /gists/<id> -> /sparks/<id>
- Merge pull request #745 from githubnext/drifkin/save-model
- save which model was used for each history entry
- add thatspaige to ff (#744)
- Introducing spark.llmPrompt (#739)
- Merge pull request #743 from githubnext/drifkin/unbranded-sign-in
- temporarily remove branding from signin page
- Merge pull request #740 from githubnext/drifkin/fix-css-updates
- support adding/removing css stylesheets during css "hot reload"
- Merge pull request #738 from githubnext/drifkin/more-telemetry
- fix tests by making db init lazy
- add some server-side telemetry
- Tweak icon prompt (#737)
- Merge pull request #735 from githubnext/terkelg/730
- Merge pull request #736 from githubnext/drifkin/disable-input-syncing
- disable input syncing
- Add initial state to seenKvEntries
- Merge pull request #734 from githubnext/drifkin/direct
- add ff for extended model picker
- Merge pull request #733 from githubnext/terkelg/link-icon-fullscreen
- Link to dashboard
- Explicitly tell the model about which hero icons are available (#731)
- Merge pull request #732 from githubnext/terkelg/tweak-border
- Remove focus border
- Update animated border. Use spark colors.
- Merge pull request #729 from githubnext/drifkin/direct
- Merge pull request #728 from githubnext/terkelg/fix-dashboard-link
- add direct v1 & v2 support for debugging
- Prevent flash when navigating to the dashboard
- Merge pull request #727 from githubnext/terkelg/animate-presence
- Remove double AnimatePresence
- Merge pull request #726 from githubnext/drifkin/cli-parser-command
- update cli
- Merge pull request #725 from githubnext/terkelg/canvas
- LOOOOOAAAD
- Merge pull request #721 from githubnext/drifkin/no-snippy
- Merge pull request #724 from githubnext/terkelg/loading-messages
- Merge pull request #718 from githubnext/terkelg/unused-component
- Make loading fun
- Merge pull request #723 from githubnext/colebemis/split-recent-sparks
- Merge pull request #719 from githubnext/terkelg/508
- prettier
- Split recent sparks into favorite and recent sparks
- Merge pull request #722 from githubnext/example-topics
- Only show example topics if there aren\'t any sparks
- explicitly disable snippy for CAPI calls
- update model name (#720)
- Make error message bold
- style error pages
- Remove next logo component
- Merge pull request #716 from githubnext/multi-line-imports
- fix multiline builtin imports
- Merge pull request #715 from githubnext/terkelg/instant-feedback-mobile
- Merge pull request #714 from githubnext/update-dashboard
- Show metadata on drag
- Center the dashboard
- Adjust spacing
- Fix some safari bugs
- Remove unused imports
- Update dashboard design
- Merge pull request #713 from githubnext/drifkin/fix-tailwind-mime-type
- fix vendored tailwind loading
- Rename according to new panel naming convention
- Merge pull request #712 from githubnext/terkelg/fix-inert-share-close
- add failing multiline import test
- Remove inert when clicking close icon
- Merge pull request #711 from githubnext/terkelg/disable-history
- Increase hisotry size
- Hide and disable history when empty
- Merge pull request #709 from githubnext/drifkin/vendor-tailwind
- disable tailwind cdn console warning
- vendor tailwind cdn instead of loading from cdn
- Merge pull request #708 from githubnext/terkelg/disable-sidebar
- Comment out sidebar code
- Merge pull request #707 from githubnext/fix-renamed-imports
- allow import renames for our special imports
- Merge pull request #701 from githubnext/terkelg/drag-sidebar
- Merge pull request #706 from githubnext/terkelg/empty-state
- Add copy to empty prompts view
- Merge pull request #705 from githubnext/terkelg/loader-overlay
- Make glow border 2px wide
- Add overlay during load
- Merge pull request #704 from githubnext/terkelg/optimize-loader-glow
- Move animation into data attribute
- Merge pull request #700 from githubnext/add-waitlist-link
- remove target _blank
- update copy & link
- Merge pull request #698 from githubnext/drifkin/multi-request-variants
- variants via multiple requests
- Merge pull request #702 from githubnext/colebemis/dashboard
- Update dashboard design
- Disable drag to open sidebar
- Show waitlist link if user is not authorized
- Merge pull request #666 from githubnext/sign-in-page
- Merge pull request #699 from githubnext/terkelg/mobile-tab-order
- Update formatting
- Hide divider on mobile
- Store mobile sort order separately from desktop sort order
- Merge pull request #697 from githubnext/drifkin/disable-sid
- temporarily disable auto-sid processing
- Merge pull request #695 from githubnext/terkelg/data-badge-update
- keep track of seen data entries
- Fix data badge
- Merge pull request #693 from githubnext/terkelg/pwa-safe-area2
- Tweak PWA spacing
- Merge pull request #692 from githubnext/terkelg/pwa-safe-area1
- Remove comments
- Try again with the correct syntax
- Merge pull request #690 from githubnext/drifkin/defaults
- Merge pull request #691 from githubnext/terkelg/pwa-safe-area
- change default
- PWA safe-area
- hide the button too when there\'s an error
- Merge pull request #689 from githubnext/terkelg/enable-tabbar2
- use signin page for error as well
- enable tabbar2 by default
- signin: move to own file; add callbackUrl support
- Merge pull request #688 from githubnext/terkelg/badges
- Use CSS to animate badge position
- Fix badge not updating for logs
- Merge pull request #687 from githubnext/terkelg/fix-z-index
- Add containment
- animate sign in page logo
- Merge pull request #686 from githubnext/drifkin/fix-gen
- fix new spark generation
- Merge pull request #685 from githubnext/terkelg/store-tab-order
- Store tab order
- Merge pull request #683 from githubnext/terkeg/tab-notifications
- Animate when a label appear
- Fix story file
- Add note about LLM panel
- Add notification on data tab
- Make tabs typesafe
- Make dot border color match background of tabs
- Merge remote-tracking branch \'origin/main\' into sign-in-page
- Style the sign in page
- Merge pull request #681 from githubnext/terkelg/tab-order
- Reorder tabs and rename console to logs
- Merge pull request #679 from githubnext/drifkin/telemetry
- fix more build issues
- add missing property
- fix lint & disable local telemetry
- Merge branch \'main\' into drifkin/telemetry
- telemetry: set up some scaffolding, add one client event
- Merge pull request #669 from githubnext/terkelg/tabbar2-panels-2
- Hide sidebar if tabbar2 is enabled
- Remove unused import
- Add prompts and console
- Copy KVPanel over, and add new tabs
- Add reminders to rename after migration
- Fix tab colors
- Merge pull request #668 from githubnext/terkelg/tabbar2-panels-1
- Port existing views to new tabbar
- Remove log
- Hide all notifications from tabs
- Merge pull request #667 from githubnext/terkelg/tabbar2-feature-flag
- Update storybook storie
- Use correct icon for the iterate tab
- Make tabbar 2 render behind a feature flag
- Hide divider when there is no dyanmic tabs
- Disable more button when it\'s empty
- Use global hidden atom instead of prop drilling
- Rename glow to loading
- Add flag to utils
- Move icon utility
- Update comment
- Merge pull request #665 from githubnext/terkelg/tabbar2-components
- Create custom sign in page
- Tabbar2 components
- Parse token usage stats from OAI streaming events & re-enable CAPI model (#653)
- Merge pull request #664 from githubnext/terkelg/fix-inert
- Fix inert iframe
- Merge pull request #663 from githubnext/default-layout
- Remove unused import
- Create a PageContainer component
- Merge pull request #656 from githubnext/design-tweaks
- Add spacing to feedback link
- Merge pull request #654 from githubnext/button-tweak
- Adjust padding in panel header
- Add docs about using "plain" variant for icon buttons
- Minor spacing and shadows polish
- Make sure icon buttons don\'t shrink
- Merge pull request #644 from githubnext/drifkin/fix-prompt-panel
- fix llm call parsing that broke from rename
- Support icon-only buttons (#643)
- Create DropdownMenu component (#640)
- Merge pull request #642 from githubnext/drifkin/telemetry
- client: remove AppInsights plugins
- Merge pull request #641 from githubnext/terkelg/chevron-model-picker
- Add pointer events none
- Merge pull request #639 from githubnext/terkelg/ref-bug
- Fix bug after removing framer motion
- Merge pull request #638 from githubnext/terkelg/logo-click
- Make entire logo clickable
- Merge pull request #637 from githubnext/terkelg/picker-css-animations
- Use CSS over JS for butter smooth GPU animations
- Merge pull request #636 from githubnext/terkelg/dashboard-tweak
- Add back shiny model picker
- Adjust headline size
- Merge pull request #635 from githubnext/fix-tabs-301
- Tweak sizing
- Use custom tabs to fix #301
- Merge pull request #634 from githubnext/terkelg/inert-iframe
- Render iframe inert while popovers are visible
- Remove log
- Merge pull request #633 from githubnext/terkelg/picker-dashboard
- Remove transition
- Do not show shine effect on touch devices
- Tweak selector on dashboard
- Merge pull request #632 from githubnext/drifkin/fix-o1-from-dashboard
- make it so o1-from-dashboard shows loading indicators
- Merge pull request #631 from githubnext/drifkin/4o-always-for-titles
- prevent the model picker from affecting title gen
- Merge pull request #630 from githubnext/terkelg/dashboard-logo
- Replace dashboard logo
- Merge pull request #624 from githubnext/terkelg/model-picker
- temporarily remove the CAPI version
- Add model picker
- Merge pull request #626 from githubnext/terkelg/outline-avatar
- Merge pull request #628 from githubnext/drifkin/handle-failed-gen
- failed gens: show toast, delete partial state
- adjust header layout
- Fix focus outline on avatar
- Merge pull request #625 from githubnext/terkelg/pwa-icon
- Add new icon
- Merge pull request #623 from githubnext/terkelg/avatar-size
- Merge pull request #622 from githubnext/terkelg/remove-old-history
- Tweak avatar size
- Remove unused components
- Merge pull request #620 from githubnext/drifkin/fix-safari
- don\'t use \`Upgrade-Insecure-Requests\` in dev mode
- Merge pull request #614 from githubnext/terkelg/logo
- Merge branch \'main\' into terkelg/logo
- Add new logo + animations
- Add new logo
- Merge pull request #611 from githubnext/terkelg/revise-fullscreen-toolbar
- Add some spark styling and a new approach to minimal UI mode
- Merge pull request #610 from githubnext/terkelg/fix-icon-flicker
- Reuse same icon to prevent flicker on iOS
- Merge pull request #609 from githubnext/terkelg/tabbar-gesture-fix
- Reset gesture if touch count change during gesture
- Merge pull request #608 from githubnext/terkelg/tabbar-gesture-fix
- uncomment guard
- Merge pull request #607 from githubnext/terkelg/tabbar-gesture-fix
- Make toolbar blend with top color
- fix tap count
- Merge pull request #606 from githubnext/terkelg/tabbar-gesture
- Hide tabbar by default in fullscreen mode
- Use 2 finger gesture to toggle tabbar
- Merge pull request #605 from githubnext/terkelg/fullscreen-mode-banner
- Add tiny toolbar in fullscreen mode on mobile
- Merge branch \'main\' into terkelg/fullscreen-mode-banner
- wip
- Merge pull request #603 from githubnext/drifkin/ff
- add feature flags to userInfo
- Merge pull request #604 from githubnext/terkelg/selection
- Remove else statement from 3x tap gesture
- fix selection while dragging
- Merge pull request #600 from githubnext/terkelg/fullscreen-mode
- Tweak hit areas
- Add fullscreen gesture
- Merge pull request #592 from githubnext/colebemis/add-tooltip-1
- Use CAPI github-spark integration for o1-mini, o1-preview, and byom-c1 (#601)
- Remove unused export
- Add widget to fullscreen mode
- Merge pull request #594 from githubnext/terkelg/590
- Comment out x-ray button
- Delete runtime/vite.config.ts.timestamp-1729274946524-8e51bf9210917.mjs
- Run prettier
- Update tooltip story
- Add Tooltip component that wraps Radix UI tooltip
- Merge pull request #589 from githubnext/drifkin/runtime-system-prompt
- runtime LLM calls: add system prompt
- Merge pull request #588 from githubnext/drifkin-patch-1
- Create ownership.yaml
- Support for additional models (#585)
- Merge pull request #587 from githubnext/drifkin/env-var
- update env vars
- Merge pull request #586 from githubnext/drifkin/cli-fix
- cli: fix redteam command
- Create RadioGroup component (#584)
- Merge pull request #583 from githubnext/terkelg/tweak-rai
- Add border to RAI to make it stand out more
- Merge pull request #523 from githubnext/colebemis/slider
- Merge pull request #582 from githubnext/terkelg/fix-variants
- Add button to open variants (hidden)
- Update slider component
- Add back variants logic lost during the tabbar changes
- Merge remote-tracking branch \'origin/main\' into colebemis/slider
- Merge pull request #581 from githubnext/terkelg/rai-disclaimer
- Add to dashboard
- Update copy to include AI
- Increase hit area
- Add disclaimer
- Merge pull request #580 from githubnext/terkelg/color-selection
- Remove log
- fix selected color
- Merge pull request #579 from githubnext/minor-ui-tweaks
- Center the tabbar based on viewport and not workspace
- Do not use muted color for labels
- Merge pull request #578 from githubnext/terkelg/click-to-dismiss
- Merge pull request #577 from githubnext/terkelg/toast
- Click backdrop to close
- Merge pull request #576 from githubnext/terkelg/prevent-initial-animation
- Addd toast system
- Make sure workspace doesn\'t animate in
- Merge pull request #575 from githubnext/terkelg/fix-mask-safari
- Fix icon jitter in Safari
- Remove old SVG mask
- Improve mask placement
- Test different mask
- Merge pull request #572 from githubnext/terkelg/preview-desktop
- Do not dim on hover
- Fix keyboard navigation
- Fix linting, and scroll
- Fade out workspace
- Merge pull request #571 from githubnext/drifkin/baselines
- add baselines support
- Fix drag not being smooth
- Fix for when index is out of range
- Give calling component full control by exposing more callbacks
- Fix hover on faded item, fix fade bug
- Auto focus the name field when renaming a spark (#570)
- Update params
- Shorten hover delay
- Fix cursor flickering by covering gap
- Add hover state
- Merge pull request #568 from githubnext/drifkin/more-security
- for unauth, 404 to not leak info about what exists
- Hide the share button when viewing a shared spark (#567)