-
Notifications
You must be signed in to change notification settings - Fork 92
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
Create an app configuration #1258
Create an app configuration #1258
Conversation
a83575c
to
f1b156b
Compare
905f95e
to
c727786
Compare
@christianlupus That's weird, running |
Are you on the latest styleling config? There was a PR recently #1254. |
@christianlupus I guess I branched off before that. Also, the eslint warning was saying that |
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.
The PR has some problems yet. The component NcButton
does not yet exist. It is part of the @nextcloud/vue
v6 package. We are stuck with v5. Like this, the button is non-functional.
When changing the button, I get an error in the JS console:
Additionally, I cannot change the folder of the cookbook. I cannot navigate in the modal dialog to select a folder.
Can you confirm these issues?
@christianlupus I called it I will have a look at resolving the other problems. Thanks for reviewing 😄. |
Here is the error when renaming
I think that is the cause of the errors in the screenshot you posted. |
Ahh, I am sorry, I missed that line. I assumed you were using
Please tell me when you finished with the entire PR. Thanks! |
No worries. I fixed the problem with the reindex button. I am not sure what is going on with the file picker. Maybe it doesn't like having 2 overlays open at a time. I added this code in the developer console, and once the filepicker dialog is open, no events are fired at all: document.addEventListener('click', e => console.log(e)) I'm not really sure where this global I was not able to reproduce the error in your screenshot. Did you use the code exactly as it is here or did you replace |
I do not know for sure. It comes from here. I have read of it in the past but I do no longer find it.
Yes, I changed that locally. I have to retest it. |
I found the function: https://github.com/nextcloud/server/blob/master/core/src/OC/dialogs.js#L229-L572 It seems like a bug, but I'm not sure whether to report it to @nextcloud/vue or nextcloud/server. |
After hours of debugging, I found that this bug is not present in @nextcloud/vue <= 5.3.1. We could downgrade to this version until we move to 7.0.0, or we could try to upstream a patch and have it backported to 5.4.1. |
My guess is that the cause is nextcloud-libraries/nextcloud-vue#2654. It seems like it was already fixed in later versions. Should we request a backport? |
I think a backport might be the cleanest solution. Let's see, if @nextcloud/vuejs do know something about this issue. Can anyone of you confirm that there might be a problem and there is in fact a chance this can be fixed with the 5.x branch? |
c9d3720
to
5e5cb6f
Compare
b9f599a
to
d6be59b
Compare
ATM there are some commits that need fixing. I will wait and set this PR to be a draft. You can mark as ready for review once, you are done, @MarcelRobitaille. |
d6be59b
to
a4ec459
Compare
I rebased the NC25 changes. Now we're getting hung up on this open issue: nextcloud-libraries/nextcloud-vue#3386 |
👍 for the rebase, 👎 for the upstream bug. |
The upstream issue was closed, but the fixes still haven't made it into a stable version. |
Fixes nextcloud#1067 Move the AppNavigationSettings from the sidebar to a AppSettingsDialog modal that covers the screen. Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
Signed-off-by: Christian Wolf <github@christianwolf.email>
Now the reindex method is in this same component, so instead of emitting, just call that method Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
a4ec459
to
b0dd3c6
Compare
nextcloud/vue 7.10.0 was recently released, which fixes the "too much recursion" issue. I've just tested it and now everything seems to be working. The settings modal works and I can interact with the "Recipe folder" modal. |
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.
Seems good to me now. LGTM
Fixes #1067
Move the AppNavigationSettings from the sidebar to a AppSettingsDialog modal that covers the screen.
This is what it should look like:
This makes it easy for us to add more configuration options for things like notifications and alarms without cluttering the sidebar.