Skip to content

Commit

Permalink
Open WSs in a new tab by default
Browse files Browse the repository at this point in the history
Following some community feedback, reverting the old default while still allowing disablement is the path we'll take.
  • Loading branch information
filiptronicek committed Sep 29, 2023
1 parent 46c09de commit 00f30c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/button/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface GitpodButtonProps {

export const GitpodButton = ({ application, additionalClassNames }: GitpodButtonProps) => {
const [address] = useStorage<string>(STORAGE_KEY_ADDRESS, DEFAULT_GITPOD_ENDPOINT);
const [openInNewTab] = useStorage<boolean>(STORAGE_KEY_NEW_TAB, false);
const [openInNewTab] = useStorage<boolean>(STORAGE_KEY_NEW_TAB, true);

const [showDropdown, setShowDropdown] = useState(false);
const actions = [
Expand Down
2 changes: 1 addition & 1 deletion src/popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function IndexPopup() {
setAddress(storedAddress);
}, [storedAddress])

const [openInNewTab, setOpenInNewTab] = useStorage<boolean>(STORAGE_KEY_NEW_TAB, false);
const [openInNewTab, setOpenInNewTab] = useStorage<boolean>(STORAGE_KEY_NEW_TAB, true);
const [automaticallyDetect, setAutomaticallyDetect] = useStorage<boolean>(STORAGE_AUTOMATICALLY_DETECT_GITPOD, true);

return (
Expand Down

0 comments on commit 00f30c0

Please sign in to comment.