Develop update 4
I have finally finished the first version of the IDE. This is a big step in my mile stone. I have a functional WebIDE that is usable. At the moment I code everything in my IDE to improve it. So I can tackle the part I hate the most. So is there something I don’t like I need to fix it and then I go to the next part and repeat. At the moment I have an IDE that can load files. Highlight the code in different languages and have some code help but very limited. You can search for files but not in files and you can only have one file open at a time. All projects are linked to a docker instance and you are free to use that one. At the moment they are very open but I will probably close them down even further for modification.
The issues I finished this week was the ability to rename files and move them if you wanted.
I have also fixed a bug when I moved the creating a new projekt from a private repo to dashboard. So you should now be able to do that to and I have added the ability in backend to keep the same name on the URL when you reconnect to the IDE so you don’t need to change the name very time you lose the connection or getting back the next day. I will change to something else here so I use the docker name instead of a number.
I have made it very easy to track statistics also and have started to display some of it on the dashboard.
Now I need to set a clear goal for milestone 2 and see how I can get there. At the moment I have only tried to get something up and running and I have finished that so now I need to change focus. Maybe it will just be a small milestone with a lot of polish stuff and just make the IDE look better without much improved features.
Development update 3
It have been a very slow week and it feels that I haven’t been doing much at all but this week have been focused on getting the dashboard ready. I have done a very simple one and later I want to have some kind of template where you can have a good starting point for different languages. I have some thoughts to first focus on different game templates but that will be for the next face in the development. I have looked into save different statistics and that will be presented on the dashboard. It will be from how much data you have to have many times you have hit the save button. I will continue to see what I can save.
I found out the drawbacks to use a CDN. I was about to do some coding today to get the last things done with the statistics on the dashboard. Unfortunately a few libraries couldn’t get delivered so the entire site was unusable and I don’t know when I can use it again. I have on my to do list to change over to npm and build my own bundle. I think that a React/Vue framework are to big when I only have more or less one page that is the editor. But I need to rewrite the front end because that is just patch together to get something up and running to see if the back end is working. I guess I will prioritize this some higher after this problem. But then again I can write the front end code more like I want it.
That’s it for this week, Happy Coding All!
Development update 2
This last week feels that not much have been made. There are very few issues that have been done but on the other hand the one I work on are bigger and important to get working. I also found a problem with my setup in docker. I realized that all my containers have access to my local lan so I had to sit down and read up on docker network and iptables to prevent the containers to be able to talk to other parts in my network.
The first issue I fixed was the search for files. I see that I have to create a new issue about scrolling all the files that is being displayed and not only the first once. But I’m very pleased how it turned out. You can search for files by typing CTRL+P.
The thing I’m working on right now is a dashboard that will be the landing place for when you login and the go to place for creating and open new project. I will keep all the settings for the account here also. But at the moment I just need something to start with so I can build upon it. I have some thoughts to add the create project that will download finished template projects. But the dashboard start to look ok.
That’s all for this week. I hope to finish the first version this week that is coming if I don’t hit any big things. Happy coding all
Development update 1
I will try to write some every week what the progress with the IDE is and why I have taken some of the decisions. At the moment I only want to focus on a functional version that you can work in. It will have a lot of small problem that you can live with. So I focus on the bigger things. One of the critical things I fixed was the redirect if your not logged in. So you always get to the login page. Something that have bugged me a long time so feels good to finally fixed that one.
Another one that wasn’t top prio was the warning when you navigate away from a file that is modified but not saved. You just had to retype everything you done but nothing major. I now how a dialog that warns you about that. I will update the dialog with a save and continue later on, or this will be irrelevant when I start to use tabs for all the files.
Another very risky button I had was the remove project. It was removing the project without asking for confirmation. This is now fixed. Maybe I need something more so you don’t accidentally remove your project.
From the beginning I had a requirement that you needed a git repository tied to your project so you was forced to have some way to update your code. This is now dropped and you can create projects just to test something that isn’t tied to any repository.
And lastly I have finally added the change of the mode manually. This makes it possible if Codemirror can’t understand what kind of file it is, to pick the correct one your self. You do that by clicking the button on the bottom right. So for the example you see bellow the .edge file the editor don’t know what it is but then I can just change it to HTML. It would be good if you can always associate one kind of extension to a mode and you don’t need to pick it every time. But that is for the next version.
The next 7 days will be focus on search for files, so you can search for a file and open that one up in the editor. I guess I will just make a simple dialog with a search field and a few files that correspond with the search. This will need to be built on later. Then I need to have a nicer first page when you login where you can see all your recent project and status about your account. Nicer selection to create a new project. So that will be the main focus now.