-
Notifications
You must be signed in to change notification settings - Fork 719
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
fix: support pnpm #57
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, you can use Chinese. by the way, could you please change the PR title by following the https://semver.org/?
Also, the location of this button, expect it can be placed elsewhere 😁 deployment here: https://chat-bilibili-video-6xhd7kab2-jimmy-lv-s-team.vercel.app/
好的,我会尽快应用这些修改 |
完成,按钮已经更换为一个基于 我不认为新增一个开关是新的功能,因此,我没有增加次版本号 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR的标题用于描述功能,比如 feat: add copy switch button 或 fix: support pnpm
最终会变成一个 git commit,这个 版本号不用你自己操作的,由 GitHub Action 自动生成。
另外麻烦把一些没必要的代码注释去掉哇, // thanks
我已经修改了 PR 的标题,但是我不清楚您描述的“没必要的代码”指的是哪些,是类似图片中的这种可以让编辑器展示更多提示的注释吗?
期待您的回复。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
辛苦再修改一下下
components/ActionsAfterResult.tsx
Outdated
@@ -19,6 +19,7 @@ export function ActionsAfterResult({ | |||
const { loading: flomoLoading, save: flomoSave } = useSaveToFlomo(summaryNote, flomoWebhook || '') | |||
const { loading: larkLoading, save: larkSave } = useSaveToLark(summaryNote, larkWebhook || '') | |||
const hasNoteSetting = flomoWebhook || larkWebhook | |||
// const [clickCopy, setClickCopy] = useLocalStorage<boolean>('user-config-clickCopy') || false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
哈哈哈 我指的这个啦
components/SummaryResult.tsx
Outdated
import { formatSummary } from '~/utils/formatSummary' | ||
// import { Switch as SwitchItem } from './ui/switch' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here
components/SummaryResult.tsx
Outdated
<div | ||
className="mx-auto mt-6 max-w-3xl cursor-copy rounded-xl border-2 bg-white p-4 text-lg leading-7 shadow-md transition hover:bg-gray-50" | ||
onClick={handleCopy} | ||
onClick={clickCopyTest} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xxxTest 可不是好的名字
content: [ | ||
[ | ||
{ | ||
tag: 'text', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
其实可以用'markdown' 你看看飞书的文档哇?
好的,我会尽快修改,很抱歉我有一个差劲的编码习惯
对于 markdown 我在用过几次功能后的确有类似的想法,在删除那些注释后我会加上的
|
pnpm install
(fixed by installing several packages)Switch
component instead) and test it locally.gitignore
file to tell git to ignore pnpm's locked filesIn the future, can I fill in information in Chinese? Just when submitting a pull request. As Chinese can better express my intentions, English may lead to semantic bias, I look forward to your reply.
pnpm
安装的问题(解决方式是新增加了几个软件包).gitignore
文件中忽略pnpm
的 lock 文件