Don
6월 17, 2024, 5:44오전
1
안녕하세요
모바일에서 AI 커스텀 프롬프트가 닫히기 매우 민감한 것 같습니다. 이 기능을 사용하다가 화면을 편하게 보기 위해 정렬하려고 할 때, 모달 바깥의 화면을 터치하면 즉시 닫혀버립니다. 취소 버튼으로만 닫히도록 하면 좋겠습니다. 또는 모바일에서는 토픽 맵이나 빠른 편집처럼 모달이 위로 올라오는 방식으로 사용하는 것이 훨씬 나은 경험이 될 수도 있습니다.
감사합니다
3개의 좋아요
keegan
(Keegan George)
7월 10, 2024, 7:08오후
3
@Don 이 문제를 지적해 주셔서 감사합니다. 아주 좋은 제안입니다! 모바일 기기에서 게시 AI 도우미가 하단 슬라이드 업 모달로 표시되도록 업데이트했습니다.
main ← feature-modal-mobile-post-menu
merged 06:01PM - 10 Jul 24 UTC
**This PR makes a few updates for the AI post helper menu.**
To the end-user,… the most notable change is that the AI post helper menu is shown as a bottom modal when invoked on a `mobileView`. This should help resolve issues such as mentioned on [Meta](https://meta.discourse.org/t/custom-prompts-too-easily-close-on-mobile/312322).
On the dev side, there has been some refactoring to help accommodate this:
- `AIHelperOptionsMenu` (now `AiPostHelperTrigger`) now solely responsible for showing <kbd>:sparkles: Ask AI</kbd> trigger button and text highlighting
- New component: `AiPostHelperMenu` will be responsible for showing AI helper options, loading state, and requests.
- The `AiPostHelperMenu` component acts as a regular Ember component on desktop and a `DMenu` component with `modalForMobile: true` on `mobileView`
- Moves AI helper options to a dedicated component (`AiHelperOptionsList`) for easy re-use in both post helper and composer helper.
### Desktop View:

### Mobile View:
<img src="https://github.com/discourse/discourse-ai/assets/30090424/34678729-92ea-4411-9276-57e0e28de981" width="300" />
1개의 좋아요
keegan
(Keegan George)
에 닫힘
7월 11, 2024, 7:09오후
5
이 주제는 마지막 답변 후 24시간이 지나면 자동으로 닫힙니다. 더 이상 새로운 답변을 작성할 수 없습니다.