ankidroid / ankidroid/Anki-Android

[Tablet] Reconsider design of Note Editor Previewer

未关闭
#21,010 2 条评论 4 个 reaction 已指派 1 人 已被 @sanjaysargam 认领 在 GitHub 查看
2.24 Help Wanted Priority-High
主要语言
Kotlin
星标
11.8k
派生
2.9k
平均合并
2 天 3 小时
30 天内合并 PR
171

描述

* Ref: https://github.com/ankidroid/Anki-Android/pull/18724
* Ref: https://github.com/ankidroid/Anki-Android/pull/19988

2.24 introduced a split pane preview to the note editor. It also moved from `layout-xlarge` to `layout-sw600dp`.

A number of users have requested that a toggle is added: https://forums.ankiweb.net/t/uncomfortable-using-new-split-screen-in-editor/69656 (comments split across Discord, Play Store and Reddit).

By far the most convincing argument is by `phannan`:

> I appreciate all the hard work that went into doing the tabs, and unfortunately, it isn’t helpful for me. Especially in the edit screen, the old version works a lot better for me. I am lower vision, so everything is blown up. Losing a part of the screen makes both sides unusable. (See attached) Yes, I can flip to portrait mode, but then I lose half the card top to bottom. I’d appreciate having the option to turn this off, especially in the edit screen.
>
> Image

-- https://forums.ankiweb.net/t/uncomfortable-using-new-split-screen-in-editor/69656/3?u=david

----

I would propose tackling this in 2 phases:

**2.24.X**
* Evaluate and reconsider `sw600dp` with real world examples
* Very likely: move from `sw` (smallest side width) to `w` (current width), and select a larger value
* Determine a justified value for foldables
* Potentially revert to `sw720dp` (roughly `layout-xlarge`)

**2.25.0** (expedited release for this change)
* Add a setting to Note Editor toggling the sidebar (and enabling the preview icon)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。