-
Notifications
You must be signed in to change notification settings - Fork 911
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
UX Optimization: When pasting the entire URL, it supposed to auto remove the extra protocol head from clipboard. #1761
Comments
PrinOrange
added a commit
to PrinOrange/Follow
that referenced
this issue
Nov 23, 2024
…o remove the extra protocol head from clipboard. Fixes RSSNext#1761
5 tasks
I have fixed this issue in pr #1762 |
I noticed this as well. But later I found that actually we can paste RSS url (containing https://) directly in the |
lawvs
pushed a commit
to PrinOrange/Follow
that referenced
this issue
Dec 2, 2024
…o remove the extra protocol head from clipboard. Fixes RSSNext#1761
lawvs
pushed a commit
that referenced
this issue
Dec 2, 2024
* fix: UX Optimization: When pasting the entire URL, it supposed to auto remove the extra protocol head from clipboard. Fixes #1761 * refractor: remove `useEffect` listening for keyword change. Use `onChange` handle instead.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
在添加 RSS 的 URL 输入框,因为输入框里本身就有
https://
前缀。但是,如果用户复制的 URL 中如果也有https://
前缀,直接粘贴时会出现冗余,还需要手动删除多余的前缀。如下视频所示。
aaaaaa.mp4
可能的解决方案:监听 Input 的粘贴事件,如果粘贴时检测到剪切板里的 URL 也有
https://
、rsshub://
前缀,就自动调整粘贴内容,避免多余的前缀。Feed Info
NULL
Reproduction Video
No response
Environment
No response
Validations
Contributions
The text was updated successfully, but these errors were encountered: