Skip to content

Add fullscreen window display mode for page actions#278

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/add-fullscreen-window-feature
Draft

Add fullscreen window display mode for page actions#278
Copilot wants to merge 4 commits intomainfrom
copilot/add-fullscreen-window-feature

Conversation

Copy link

Copilot AI commented Feb 8, 2026

Adds fullscreen as a fifth display mode option for page action commands, alongside popup, window, tab, and background tab.

Changes

Core Implementation

  • Added FULLSCREEN = "fullscreen" to PAGE_ACTION_OPEN_MODE enum (shared package)
  • Fullscreen is page-action-only; not available for search commands
  • Implementation: create POPUP_TYPE.NORMAL window, then apply chrome.windows.update(windowId, { state: "fullscreen" })

Services (packages/extension/src/services/pageAction/background.ts)

  • openAndRunPageAction: handles fullscreen mode during execution
  • openRecorder: supports fullscreen mode when recording actions

UI (packages/extension/src/components/option/field/OpenModeToggleField.tsx)

  • Dynamic grid layout: 4 columns for search, 5 columns for page actions
  • Added fullscreen icon mapping and selection option

Localization

  • Added fullscreen translations across all 14 supported languages

Example Usage

When creating or editing a page action command, users can now select fullscreen mode:

// Internally, when openMode is FULLSCREEN:
const w = await chrome.windows.create({
  url: startUrl,
  type: POPUP_TYPE.NORMAL,
  // ... other params
})

if (openMode === PAGE_ACTION_OPEN_MODE.FULLSCREEN && w.id) {
  await chrome.windows.update(w.id, { state: "fullscreen" })
}

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.google-analytics.com
    • Triggering command: /opt/hostedtoolcache/node/24.13.0/x64/bin/node /opt/hostedtoolcache/node/24.13.0/x64/bin/node --conditions node --conditions development /home/REDACTED/work/selection-command/selection-command/node_modules/tinypool/dist/entry/process.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>ウィンドウ表示方法へ「フルスクリーン」を追加</issue_title>
<issue_description>## 要点

  • packages/extension/src/services/chrome.ts へ、ウィンドウを全画面、フルスクリーンで表示する機能を追加
  • packages/extension/src/action へ、当該機能を呼び出すアクションを追加
  • packages/extension/src/components/option/editor/CommandEditDialog.tsx で選択できるようにする</issue_description>

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


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits February 8, 2026 02:12
Co-authored-by: ujiro99 <677231+ujiro99@users.noreply.github.com>
Co-authored-by: ujiro99 <677231+ujiro99@users.noreply.github.com>
Co-authored-by: ujiro99 <677231+ujiro99@users.noreply.github.com>
Copilot AI changed the title [WIP] Add fullscreen option for window display Add fullscreen window display mode for page actions Feb 8, 2026
Copilot AI requested a review from ujiro99 February 8, 2026 02:18
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.

ウィンドウ表示方法へ「フルスクリーン」を追加

2 participants