Giter Site home page Giter Site logo

unable to change the note path about notes HOT 5 OPEN

teemuxyz avatar teemuxyz commented on May 27, 2024 3
unable to change the note path

from notes.

Comments (5)

Benjamint22 avatar Benjamint22 commented on May 27, 2024 16

For those who really need a temporary workaround until this is fixed, you can update the path by doing the following:

  1. Set the "Notes path" to the desired value (e.g., Path/To/My/Folder).
    • I recommend typing the path in a text editor, copying it, emptying the field, then pasting your value.
  2. Quickly, before the above path automatically gets reset, set "File extensions" to a different value.
  3. Refresh the page.
  4. Open the notes settings again, but this time, set "File extensions" to your desired value (by default, .md).

This works because, upon modifying the value of "File extensions", Nextcloud Notes will send a request to the server to update all the settings to whichever values you set.

from notes.

gnumber13 avatar gnumber13 commented on May 27, 2024 3

Can confirm the workaround from @Benjamint22 has worked for me.
Will there possiby just be an apply-button next to the field or anything else?
I personally find it hard to guess what or when something is happening, when there is a textfield without some kind of confirmation.
But other than that I am really loving the app. 🙏

from notes.

k3tan172 avatar k3tan172 commented on May 27, 2024

can confirm, can't change Notes folder.

from notes.

rforced avatar rforced commented on May 27, 2024

Can confirm, bug still exists in Nextcloud 28.0.1

from notes.

mxuribe avatar mxuribe commented on May 27, 2024

Also confirm that the work-around from @Benjamint22 worked perfectly!

By the way, as a little bit of input for whomever will review this, prior to trying the work-around, I had tried to make changes via OCC commands (instead of via web gui)...and even THAT failed to work...But its failure was interesting ...Here's what I mean...

I ran the following via the command line in order to make the desired changes to defaults for the Notes app:

sudo -u www-data php /wherever...occ...lives/occ config:app:set notes noteMode --value="preview"
sudo -u www-data php /wherever...occ...lives/occ config:app:set notes fileSuffix --value=".md"
sudo -u www-data php /wherever...occ...lives/occ config:app:set notes defaultFolder --value="my-preferred-folder"

I received "success" sorts of responses. So, then I ran the following command to see what values were actually saved under the Notes' app's config - just you know in case, to verify things:

sudo -u www-data php /wherever...occ...lives/occ config:list notes

Well, the output showed that that my adjustments via the OCC were in fact saved/preserved, and shown in a json format! Meaning that somehow OCC reports that my new desired values are saved...but, the Notes app still did not "see" the new/adjusted values...So, maybe a misconnect between some OCC config and whatever config store the Notes app actually uses?

I would guess the good work-around communicated by @Benjamint22 seems to bypass this bug between OCC and the Notes app's config store...i assume...since the work-around worked for me.

Hoping this minor clue helps any of the Devs in their investigation!
By the way, THANK YOU to all the Devs, maintainers, etc. for all the good work that you all do for this Notes app!!!!!! I love it!

from notes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.