Skip to content
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

[拡張機能] Response形式変更に伴う修正 #595

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

wadabee
Copy link
Contributor

@wadabee wadabee commented Aug 7, 2024

Issue #, if available:

Description of changes:
「続きを出力」でResponse形式が変わったので、その修正です。
(「続きを出力」には対応していません)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Comment on lines +37 to +43
updateMessageContent: (
state,
action: PayloadAction<TabId & { index: number; content: string }>
) => {
setInitialStateIfNeeded(state, action.payload.tabId);
state[action.payload.tabId].messages[action.payload.index].content = action.payload.content;
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

こちらはパフォーマンス向上のための修正です。
本件には関係ないのですが、合わせて実施しました。

Comment on lines +30 to +36
middleware: [
flip(),
shift(),
autoPlacement({
allowedPlacements: ['top', 'top-start', 'top-end', 'bottom', 'bottom-start', 'bottom-end'],
}),
],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

画面上の文言と拡張機能のフローティングが被る時があったので、その修正も合わせて実施しました。

@tbrand tbrand merged commit 26653ca into main Aug 8, 2024
2 checks passed
@tbrand tbrand deleted the fix/extension-continue-generation branch August 8, 2024 01:39
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