-
Notifications
You must be signed in to change notification settings - Fork 98
Renaming category #555
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
Renaming category #555
Conversation
Codecov Report
@@ Coverage Diff @@
## master #555 +/- ##
===========================================
- Coverage 1.02% 1.01% -0.02%
- Complexity 434 440 +6
===========================================
Files 13 13
Lines 1366 1381 +15
===========================================
Hits 14 14
- Misses 1352 1367 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
|
ac158bb
to
258302e
Compare
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.
I found an issue with the code changes when you change the name multiple times. Do you want to fix this before merging or want me to open a new issue afterward to keep things separated?
One more thing: ATM I have to reject the PR. We need to update the API minor version as we have some changes of the API endpoints. |
I did quite some changes since your comment. @christianlupus Does this still exist?
Okay, we could also create a separate controller for categories. |
30d4ac7
to
8559ae7
Compare
Not exactly the same but similar. As an image says more than 1000 words and a video has 25 images per sec, this is worth a whole book 😄: vokoscreenNG-2021-01-25_08-47-30.mp4
No, keeping that in the main controller is OK so far (no talked from a codebase refactoring perspective). |
Alright, this was really helpful. After updating some more stuff, I think this problem should be fixed and I was able to do some other improvements as well. |
Seems like you guys can read my thoughts. Nice addition - thank you. |
Signed-off-by: Sebastian Fey <[email protected]>
Signed-off-by: Sebastian Fey <[email protected]>
…pe data Signed-off-by: Sebastian Fey <[email protected]>
Signed-off-by: Sebastian Fey <[email protected]>
Signed-off-by: Sebastian Fey <[email protected]>
Signed-off-by: Sebastian Fey <[email protected]>
Signed-off-by: Sebastian Fey <[email protected]>
…ory renaming Signed-off-by: Sebastian Fey <[email protected]>
Signed-off-by: Sebastian Fey <[email protected]>
…ory page if category is currently opened Signed-off-by: Sebastian Fey <[email protected]>
Signed-off-by: Sebastian Fey <[email protected]>
…y name Signed-off-by: Sebastian Fey <[email protected]>
Signed-off-by: Sebastian Fey <[email protected]>
…itor when recipe's category is updated Signed-off-by: Sebastian Fey <[email protected]>
Signed-off-by: Christian Wolf <[email protected]>
…ed; don't reload complete recipe data anymore Signed-off-by: Sebastian Fey <[email protected]>
…ate of the recipe in store if its category was renamed. Signed-off-by: Sebastian Fey <[email protected]>
Signed-off-by: Sebastian Fey <[email protected]>
I just had a look and it seems to work "mostly". I have one issue but it seems this is an upstream bug of the nextcloud-vue components: Open the edit field and try to move the cursor by clicking with the mouse. In my instance, this triggered the |
9c8d490
to
70cc940
Compare
We might want to consider updating the |
Signed-off-by: Christian Wolf <[email protected]>
I am going to merge this now and open an issue that might get closed once the problem is identified and solved. |
'url' => '/api/category/{category}', 'verb' => 'PUT'
)Closes #322