Commit Graph

54 Commits

Author SHA1 Message Date
Andrew Nicolaou a225d28f75 Use apiClient instance instead of directly calling Axios
Reduces the amount of duplication and provides a single place where
we can configure base URL, crendentials and other headers
2020-06-08 12:31:30 +02:00
shakti97 15b3fa8312 Fix(axios error handling issue) 2020-04-25 20:18:39 +05:30
ghalestrilo 24f14f9b5d 🔇 remove unnecessary log 2020-04-16 13:17:04 -03:00
ghalestrilo c4d52457e5 write test file for <FileNode /> 2020-04-16 13:03:21 -03:00
ghalestrilo 1b083fe54b 👌 move filename change tracking logic to FileNode component state 2020-04-10 13:42:33 -03:00
ghalestrilo 434cf6da21 🐛 make filename changes trigger editor change detection 2020-04-07 20:15:38 -03:00
ghalestrilo 5df76c249a 🚧 refactor updateFileNmae to thunk, add updatedName param 2020-04-07 20:04:00 -03:00
Cassie Tarakajian c29e4a1c52 Close new file modal on enter, update upload limit selector to handle undefined case 2020-03-24 18:07:58 -04:00
Cassie Tarakajian 9d8be89df7
Revert "Revert "fixes #963: fixes bug in which files/folders would get added to"" 2019-10-08 16:39:47 -04:00
Cassie Tarakajian 6a29bd4ce9
Revert "fixes #963: fixes bug in which files/folders would get added to" 2019-10-07 18:23:58 -04:00
Cassie Tarakajian 3360c7c799 fixes #963: fixes bug in which files/folders would get added to selected file (or root), rather than the file that you opened the popover from 2019-10-03 15:51:34 -04:00
Cassie Tarakajian 8b296a51aa
Fixes #1052, in which you can't save a sketch after uploading a file (#1053)
Fixes #1052, in which a user can't save a sketch after uploading a file
2019-04-24 13:32:23 -04:00
Oliver Wright 5fdcd08add Use File id in Redux Actions - Fixes #842 (#844)
Prevents file name collisions that are possible with the folder
system.
2019-02-25 12:57:10 -05:00
Cassie Tarakajian cea61a79f5 Merge branch 'master' into production-docker 2018-09-07 15:48:43 -04:00
Jared Donovan 2f21130e0d Fix needs saving mark 2 - for #576 (#658)
* Comment out show/hide file options action creators.

* Comment out show/hide file options properties

* Comment out show/hide file options action definitions

* Comment out constants for show/hide options action types

* Comment out props for show/hide options and replace with component state.

* Comment out show/hide edit file name reducers.

* Comment out show/hide edit file name actions.

* comment out show/hide edit file name action types.

* Comment out show/edit file name props from IDEView component

* Replace show/hide edit filename props in FileNode component with local state

* Remove commented out code from previous changes for moving redux state back into component state.

* Add binding to this for new functions. And tidy up of code.
2018-09-07 15:48:25 -04:00
Cassie Tarakajian 6705e4c3f8 load client-side environment variables at runtime 2018-08-24 17:41:23 -04:00
Andrew Nicolaou 6af92a4a32 Exposes API endpoint URL to client via env variable (#323) 2017-03-16 00:34:14 -04:00
Cassie Tarakajian e87390adb9 update eslint to latest version, fix lots of linting errors (#308)
* update eslint and dependencies, fix linting errors that can be fixed with --fix

* fix lots of linting errors

* update eslintrc, fix some linting errors

* fix all server side linting errors, untested

* fix errors that fixing linting errors had caused

* fix client side eslint errors

* fix client side linting errors

* fix refs lint errors

* fix more linting errors

* update eslint and dependencies, fix linting errors that can be fixed with --fix

* fix lots of linting errors

* update eslintrc, fix some linting errors

* fix all server side linting errors, untested

* fix errors that fixing linting errors had caused

* fix client side eslint errors

* fix client side linting errors

* fix refs lint errors

* fix more linting errors

* fix some accessibility linting errors

* fix a lot of linting errors

* fix a billion more linting errors

* hopefully fix all linting errors, still need to test

* fix bugs that fixing linting had caused
2017-02-22 14:29:35 -05:00
Cassie Tarakajian 8cf313f6f9 fix #204, making sure focus/form is reset properly 2016-11-29 19:18:11 -05:00
Cassie Tarakajian 1d7aaa9981 set unsaved changes when file is uploaded 2016-10-24 16:42:15 -04:00
Cassie Tarakajian 8c270c2ced generate blob urls for text and json files 2016-10-22 16:42:43 -04:00
Cassie Tarakajian 32d45ea332 remove all blobutil stuff 2016-10-19 15:33:14 -04:00
catarak 9e6d4b56bd change isSelected to isSelectedFile, add db reformat 2016-09-14 15:57:52 -04:00
catarak 6c4ba328aa fix file name collisions to only be affected in folders 2016-09-03 14:52:51 -04:00
catarak f2fedd8457 add file deletion, client side 2016-09-02 18:11:27 -04:00
catarak e82270a709 add hide/showing files, carrot doesn't work 2016-09-02 17:41:02 -04:00
catarak bf61fdd992 nested css styling fixes 2016-09-02 17:41:02 -04:00
catarak 9d3bcf2a15 add new folder modal 2016-09-02 17:41:02 -04:00
catarak 1ae27f0d66 add file icons and file types default to file 2016-09-02 17:41:01 -04:00
catarak cd0dcc9184 reset selected file after deleting 2016-09-02 17:41:01 -04:00
catarak 3dfed2a11e delete files works, server side 2016-09-02 17:41:01 -04:00
catarak 34fe78d734 create file works server side 2016-09-02 17:41:01 -04:00
catarak 5f694329db delete files, only client side 2016-09-02 17:41:01 -04:00
catarak 74e207553f fix adding files on front end 2016-09-02 17:41:01 -04:00
catarak ac6585e713 add file works on unsaved project 2016-09-02 17:41:01 -04:00
catarak cbb272ec14 file tree renders, select file works and editor changes content, rename works 2016-09-02 17:41:01 -04:00
catarak ec728eb392 fix uploading when project is saved 2016-08-25 11:25:22 -04:00
catarak a1dcf77557 upload text files locally 2016-08-25 00:18:28 -04:00
catarak de62acdaaa make renaming files more robust--now checks to see if extension after renaming is the same 2016-08-22 13:16:28 -04:00
catarak 443a9f57d5 add file renaming 2016-08-03 17:45:50 -04:00
catarak da98dcd47e add file deletion 2016-08-03 17:45:50 -04:00
catarak 979fcf2152 add support for audio files 2016-07-21 14:18:38 -04:00
catarak cb1e682994 create unique name if file already exists 2016-07-20 22:52:09 -04:00
catarak 2affe457d2 when exporting to zip, also add images 2016-07-20 15:33:37 -04:00
catarak cc231cbacd load blob url when uploading file 2016-07-20 00:51:27 -04:00
catarak 91f7cc47a0 close modal after file upload, remove debugger 2016-07-19 22:29:54 -04:00
catarak 625608ebbb when uploading file, add file to project 2016-07-19 18:27:27 -04:00
catarak c677c37597 get dropzone to render 2016-07-19 18:27:27 -04:00
catarak 4d6e4857ba add files, server side, only css and js files 2016-07-13 18:53:56 -04:00
catarak 70588cd487 add new file popup, not tested with redux 2016-07-13 16:13:28 -04:00