Repository navigation
カレンダー連携の設定ページとヘルプを追加する(#452 の 4/4) #755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cateiru
wants to merge
8
commits into
claude/issue-452-calendar-feed-route
Choose a base branch
from
claude/issue-452-calendar-feed-settings
base: claude/issue-452-calendar-feed-route
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+959
−5
Open
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
2a83180
カレンダー連携のアイコンを追加する
cateiru 615df13
カレンダーの購読 URL を発行・停止する Server Action を追加する
cateiru 7d1dccf
カレンダーの購読 URL の発行・作り直し・停止のボタンを追加する
cateiru 56f41c5
外部接続の設定にカレンダー連携のページを追加する
cateiru 7f8e7f8
ヘルプに「カレンダーと連携する方法」を追加する
cateiru ff8bfb8
カレンダー連携のページとダイアログの VRT を追加する
cateiru 30f165e
リリースノートにカレンダーアプリとの連携を追記し、0.90.0 にする
cateiru 2979de0
カレンダー連携の VRT で、モーダルの背後のボタンを隠れた要素も含めて探す
cateiru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "canshi", | ||
| "version": "0.89.4", | ||
| "version": "0.90.0", | ||
| "private": true, | ||
| "scripts": { | ||
| "dev": "next dev", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,135 @@ | ||
| import type { Metadata } from "next"; | ||
| import { HelpArticle } from "@/features/help/HelpArticle"; | ||
| import styles from "@/features/help/HelpContent.module.css"; | ||
| import { HelpSteps } from "@/features/help/HelpSteps"; | ||
| import { getHelpTopic } from "@/features/help/topics"; | ||
| import { Surface } from "@/features/shared/Surface"; | ||
|
|
||
| const SLUG = "calendar"; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: getHelpTopic(SLUG).title, | ||
| }; | ||
|
|
||
| export default function CalendarHelpPage() { | ||
| return ( | ||
| <HelpArticle | ||
| slug={SLUG} | ||
| lead={ | ||
| <p> | ||
| Google カレンダーや iPhone | ||
| のカレンダーなど、ふだん使っているカレンダーアプリに、ねこの掃除・通院・服薬の予定と誕生日を表示できます。CANSHI | ||
| で発行した URL を、カレンダーアプリに「URL | ||
| で追加するカレンダー」として登録します。 | ||
| </p> | ||
| } | ||
| related={["notifications", "records"]} | ||
| > | ||
| <Surface title="連携のしかた" gap="md"> | ||
| <HelpSteps | ||
| steps={[ | ||
| { | ||
| title: "カレンダーの URL を発行します", | ||
| body: ( | ||
| <> | ||
| <p> | ||
| 設定の「外部接続」の「カレンダー連携」を開き、「URL | ||
| を発行する」を押します。表示された URL | ||
| を「コピーする」でコピーします。 | ||
| </p> | ||
| <p> | ||
| URL | ||
| は、発行したときだけ表示します。画面を閉じる前に、カレンダーアプリに登録してください。 | ||
| </p> | ||
| </> | ||
| ), | ||
| screenshot: { | ||
| name: "calendar-feed-issued", | ||
| alt: "カレンダー連携の画面で URL を発行したところ。カレンダーの URL とコピーするボタンが表示されている", | ||
| }, | ||
| }, | ||
| { | ||
| title: "カレンダーアプリに URL を登録します", | ||
| body: ( | ||
| <> | ||
| <p> | ||
| カレンダーアプリの、URL | ||
| でカレンダーを追加する(照会・購読する)画面に、コピーした | ||
| URL を貼り付けます。たとえば次の場所から追加できます。 | ||
| </p> | ||
| <ul className={styles.points}> | ||
| <li> | ||
| Google カレンダー:パソコンのブラウザで Google | ||
| カレンダーを開き、「他のカレンダー」の「+」から「URL | ||
| で追加」を選びます(スマートフォンのアプリからは追加できません)。 | ||
| </li> | ||
| <li> | ||
| iPhone・iPad | ||
| のカレンダー:カレンダーアプリの「カレンダー」から「カレンダーを追加」の「照会カレンダーを追加」を選びます。 | ||
| </li> | ||
| <li> | ||
| Mac | ||
| のカレンダー:「ファイル」メニューの「新規照会カレンダー」を選びます。 | ||
| </li> | ||
| </ul> | ||
| <p> | ||
| 画面の場所や名前は、カレンダーアプリやそのバージョンによって異なります。くわしくは、お使いのカレンダーアプリのヘルプを見てください。 | ||
| </p> | ||
| </> | ||
| ), | ||
| }, | ||
| { | ||
| title: "カレンダーアプリに、ねこの予定が表示されます", | ||
| body: ( | ||
| <p> | ||
| 予定を開くと、CANSHI | ||
| の記録のページへのリンクがあります。記録を変えてから予定に反映されるまでの時間は、カレンダーアプリが | ||
| URL を読み直す間隔によります(数時間かかることもあります)。 | ||
| </p> | ||
| ), | ||
| }, | ||
| ]} | ||
| /> | ||
| </Surface> | ||
|
|
||
| <Surface title="表示する予定" gap="md"> | ||
| <p> | ||
| あなたが所属しているすべての家のねこの、次の予定を表示します。メモリーに移したねこの予定は表示しません。 | ||
| </p> | ||
| <ul className={styles.points}> | ||
| <li> | ||
| 掃除:次回の予定日。一度も記録していない掃除や、無効にした掃除は表示しません。掃除を記録すると、次の予定日に移ります。 | ||
| </li> | ||
| <li>通院:通院記録に入れた、今日以降の次回の受診予定。</li> | ||
| <li>服薬:服用中の薬の、開始日から終了予定日まで。</li> | ||
| <li>誕生日:生年月日を日まで登録したねこの誕生日(毎年)。</li> | ||
| </ul> | ||
| <p> | ||
| カレンダーアプリに表示するのは、ねこの名前と予定の名前だけです。通院の理由などのくわしい記録は表示しません。 | ||
| </p> | ||
| </Surface> | ||
|
|
||
| <Surface title="URL を管理する" gap="md"> | ||
| <ul className={styles.points}> | ||
| <li> | ||
| URL | ||
| を知っている人は、だれでもねこの予定を見られます。ほかの人に見せないでください。 | ||
| </li> | ||
| <li> | ||
| URL | ||
| がわからなくなったときや、漏れたおそれのあるときは、「カレンダー連携」の「URL | ||
| を作り直す」を押してください。今の URL は使えなくなるので、新しい | ||
| URL を登録し直してください。 | ||
| </li> | ||
| <li> | ||
| 連携をやめるときは「停止する」を押し、カレンダーアプリからも購読を削除してください。カレンダーアプリにすでに表示されている予定は、アプリで削除するまで残ることがあります。 | ||
| </li> | ||
| <li> | ||
| 「カレンダー連携」では、カレンダーアプリが最後に URL | ||
| を読んだ日時を確認できます。 | ||
| </li> | ||
| </ul> | ||
| </Surface> | ||
| </HelpArticle> | ||
| ); | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.