-
Notifications
You must be signed in to change notification settings - Fork 129
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
Update bookmarks #343
base: main
Are you sure you want to change the base?
Update bookmarks #343
Conversation
gameplan Run #296
Run Properties:
|
Project |
gameplan
|
Branch Review |
refs/pull/343/merge
|
Run status |
Passed #296
|
Run duration | 02m 02s |
Commit |
33b0f3bf00 ℹ️: Merge cd8fe0a157663df102854eaa58d4eadd712216d0 into 3bc7a40af78dfade17efb435557a...
|
Committer | Aysha |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
1
|
Pending |
0
|
Skipped |
0
|
Passing |
6
|
View all changes introduced in this branch ↗︎ |
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.
Please check inline comments
@@ -459,69 +459,23 @@ def search(query, start=0): | |||
|
|||
|
|||
@frappe.whitelist() | |||
def check_bookmark(discussionId): |
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.
All python files use tab indentations. It seems your editor has converted it into spaces.
DesktopLayout: typeof import('./src/components/DesktopLayout.vue')['default'] | ||
DiscussionBreadcrumbs: typeof import('./src/components/DiscussionBreadcrumbs.vue')['default'] | ||
DiscussionList: typeof import('./src/components/DiscussionList.vue')['default'] | ||
DiscussionListByData: typeof import('./src/components/DiscussionListByData.vue')['default'] |
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.
A single line change shouldn't affect other lines in a commit. This messes up git blame. If you want to format the other lines, do it in another commit.
@@ -0,0 +1,114 @@ | |||
<template> |
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.
This is a duplicate of DiscussionList without the data fetching. The correct way for this refactor is to make DiscussionList use DiscussionListByData.
Also, DiscussionList is a better name for a component that only renders UI and data fetching can be done separately.
@@ -125,6 +119,7 @@ import ImagePreview from '../components/ImagePreview.vue' | |||
import ColorPicker from '@/components/ColorPicker.vue' | |||
import ProfileImageEditor from '@/components/ProfileImageEditor.vue' | |||
import UserImage from '@/components/UserImage.vue' | |||
import DiscussionListByData from '@/components/DiscussionListByData.vue' |
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.
Unused import?
Refactor code for bookmarking discussions.