Repository navigation
Save on firefox - #91
parteekcoder wants to merge 1 commit into
Conversation
|
Here due to this line https://github.com/ControlCore-Project/concore-editor/blob/main/src/graph-builder/graph-core/5-load-save.js#L124 even if user press It should be like this filename= prompt('Do something?'); |
|
For now time being i am not putting this code and limited my PR to required issue but once it is accepted may work on that also |
|
Please make sure the implementation mimics the behavior as it is implemented in Chrome. The Chrome implementation is the correct implementation. So, the "Save" functionality should replace the open file. To test it out, try the below sequence in Chrome and Firefox.
In Chrome, it will prompt and then replace the original file with the changed version. This is the expected behavior. We were aware of this complexity. This is why @Aviral09 chose to limit the support to Chrome/Edge only. Same issue applies for the "Save" options of programs, too (python, matlab, ... program files). The implementation will likely be more complex than a block of code to support Save in Firefox. Please also tag @Aviral09 if you reattempt this PR. |
yeah on chrome it is running as you told But as I told early on firefox we currently have no other option as it not support window.showSaveFilePicker , And it is the requested feature from firefox @Aviral09 Refer: |
|
That is correct. Hence the decision to limit concore-editor support to Chrome/Edge at this point. |
|
Hi @pradeeban , my this PR also solves issue #101 this issue #101 I have once mentioned to you in the chat , when we are discussing on firefox issue in some (PR chat or issue chat) I thought that you want to keep this issue open for now that's why you closed my PR, but now you merged PR #103 for this I had created a PR for this before |
|
Hi @parteekcoder, Your efforts do not go in vain since you can always include the links to the issues/PRs in your GSoC proposal, merged or not. I closed the issues when there were additional bugs introduced as a result of the PR or some PRs where multiple bug fixes were merged into a single PR. Please make sure to address just the bug at hand, rather than multiple at once. In this case, it was breaking the Save option of Chrome, to make it always "save as." Open-source collaboration is also more about team work rather than competition. Usually, we will not have multiple people working on the same bug. It is a short-term situation due to GSoC. |
|
yeah @pradeeban , it takes a lot of time to test the changes made by the contributors to approve But I am really excited to be part of this project in GSoC this year |
|
Great, and we are excited to have you all here too! I hope you take the overall experience as an open-source learning exercise. Please note there are more steps to the application process - including the actual proposal itself and your CV. As per the GSoC policies, "you may submit up to three proposals. However, only one per GSoC Contributor may be accepted." |

issue #58
@pradeeban you can check here https://parteekcoder.github.io/concore-editor/