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

Feautre tips view #418

Merged
merged 37 commits into from
Mar 11, 2024
Merged

Feautre tips view #418

merged 37 commits into from
Mar 11, 2024

Conversation

AkaShark
Copy link
Collaborator

closed #404

@AkaShark
Copy link
Collaborator Author

Uploading CleanShot 2024-02-22 at 10.46.27@2x.png…

Copy link
Collaborator

@Jerry23011 Jerry23011 left a comment

Choose a reason for hiding this comment

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

I found that the query service went missing after clearing text after a translation query
截屏2024-02-21 23 51 26

@AkaShark
Copy link
Collaborator Author

I found that the query service went missing after clearing text after a translation query 截屏2024-02-21 23 51 26

Let Me Look at it later

@phlpsong
Copy link
Collaborator

Do we need to place a close button to let users remove the tips cell manually?

@AkaShark
Copy link
Collaborator Author

Do we need to place a close button to let users remove the tips cell manually?

We don't need to add this close button, when the user query text isn't empty this tips view will not appear. In one query action, it will appear once

@AkaShark AkaShark requested a review from tisfeng March 6, 2024 04:58
@AkaShark AkaShark requested a review from tisfeng March 8, 2024 01:50
tisfeng
tisfeng previously approved these changes Mar 8, 2024
phlpsong
phlpsong previously approved these changes Mar 9, 2024
@AkaShark AkaShark dismissed stale reviews from phlpsong and tisfeng via d1dae4d March 10, 2024 05:34
@AkaShark AkaShark requested a review from phlpsong March 10, 2024 14:23
@tisfeng tisfeng merged commit 074bb73 into tisfeng:dev Mar 11, 2024
5 checks passed
@tisfeng
Copy link
Owner

tisfeng commented Mar 30, 2024

最近频繁使用,这个功能误触发太多,我先 revert 了,稍后修复好再添加。

tisfeng added a commit that referenced this pull request Mar 30, 2024
tisfeng added a commit that referenced this pull request Mar 30, 2024
AkaShark added a commit to AkaShark/Easydict that referenced this pull request Apr 7, 2024
tisfeng added a commit that referenced this pull request May 19, 2024
* Revert "Revert "Feautre tips view (#418)" (#477)"

This reverts commit 11fd868.

* fix: #452 blank for tips view

* feat: add type of tips cell

* feat: support tips cell update cell type

* fix: when  selection translation the text is empty set special tips cell type

* fix: update show tips status

* fix: resolve merge dev

* fix: update action type

* pref: stash ocr error tips

* fix: control show tips code

* fix: update view

* fix: add mini cell height

* fix: tips cell type

* fix: remove unuse code

* fix: called showTipsView when showTips == true

* fix: display when user just want show query window again

* perf: improve displaying tips view

* perf: do not reload tableView when starting query text

* perf: remove unused Localizable.xcstrings

* perf: close tips view when just updating query text

* perf: close tips view when starting OCR image

* chore(deps): bump rexml in the bundler group across 1 directory

Bumps the bundler group with 1 update in the / directory: [rexml](https://github.com/ruby/rexml).


Updates `rexml` from 3.2.6 to 3.2.8
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](ruby/rexml@v3.2.6...v3.2.8)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
  dependency-group: bundler
...

Signed-off-by: dependabot[bot] <[email protected]>

* perf(UI): add icon for disableTipsView toggle

* perf(UI): adjust advanced tab height

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Tisfeng <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jerry <[email protected]>
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.

4 participants