-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
V2 annotator comments #1653
V2 annotator comments #1653
Conversation
Okay, the edit and delete functions are very discreet. |
@@ -1,3 +1,3 @@ | |||
Rest_Wallabag: | |||
type : rest | |||
resource: "@WallabagApiBundle/Resources/config/routing_rest.yml" | |||
resource: "@WallabagApiBundle/Resources/config/routing_rest.yml" |
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.
Can you install editorconfig plugin on your favorite IDE please? ;-)
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.
Well, it is. Strange.
Do you have an idea on why the default called url when opening an article contains a parameter with entry id: |
I added https://github.com/wallabag/wallabag/pull/1653/files#diff-2c1424825ef3119eace5cdec44e06b10R153 but it may not be needed and therefore causing this. |
Yep we don't need that |
BTW, if we don't merge that for the first beta we'll need to generate a Doctrine migration class |
What about returning comments in the entry api ? |
@@ -0,0 +1,4 @@ | |||
services: | |||
# wallabag_comment.example: |
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.
Nope. Generated automatically.
08f916e
to
bd765e6
Compare
Before merging that, @nicosomb are you ok if we name annotation in french? |
👍 |
0688a83
to
6216708
Compare
@tcitworld As I replaced |
use Symfony\Component\DependencyInjection\ContainerBuilder; | ||
use Symfony\Component\HttpKernel\DependencyInjection\Extension; | ||
|
||
class WallabagCommentExtension extends Extension |
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 should be WallabagAnnotationExtension
Yup, you need to. |
- add missing annotator.js file and fix typo - edit & delete routes, started tests - basic tests
+ Documentation about annotations
So that the "article" tag is loaded before
53c5d0c
to
b07c7df
Compare
And voilà, everything is cleanup. |
For 2.0 stable :
For 2.1 :
Fix #994