Git Product home page Git Product logo

spck-issues's Issues

Can't pull

If I revert changes to a file, it is still saying that a change was made and it won't let me pull from GitHub because of it. I don't want to commit it because that will revert the changes I made to GitHub itself. Also if you change the launch default file, the Report Issue button doesn't work.

Edit: I had to delete the local project and re - clone the git repo again for it to start working

JavaScript doesn't launch without an HTML page

It is unconvenient that you have to create HTML, then insert a link to a script and only then you can use JS. I suggest to run JS automatically, I mean you wrote some JS code and when clicking "Run" you see the result that runs on a temp HTML file that is not displayed until it is attached. Or you can just remove the "Run" button if the file type isn't HTML.

Custom project boilerplates

Hey, everyone! I really love the app and use it for writing simple web apps when not at home. For example, I learn p5.js. But I don't have a preset for that, and I have to manually setup p5.js.

How to solve the problem

Add an ability to upload custom boilerplates, for example a repository with sample files (index.html, .gitignore). I don't mean fetch repo or import ZIP cos it is for in development projects. I mean starter packs as React starter (that is already in the app) for example.

How it can be implemented

Click on "+", then "New Project". Then we can make a button "New Preset". And paste GitHub URL there.

If this is difficult to create, here are my ideas about presets

  • p5.js (+p5.dom.js +p5.sound.js)
  • Polymer
  • Preact
  • Hyperapp

Add checkout file option

Simply adding a git checkout command to the file context menu would make the git aspect of the app minimally usable.

At least then you'd have the option of choosing your local version (Mark as resolved), or the remote version (Checkout, Mark as resolved).

Of course merging would be necessary in the future but this is a simple change that would allow a simple workflow between desktop and mobile.

Alternatively, simply having a button that says "apply diff" on the diff viewer screen would achieve the same effect and perhaps it's more intuitive.

Cheers.

Add prettier - code formatter

Prettier
Prettier is available for a lot of popular code editors:
VS code, VS, Atom, Webstorm and a lot more.
I don't think it will be hard to implement!🤔
👍😁

annoying arrow

Screenshot_20191113213047
this arrow is so annoying plz fix it
it popup when i write anything

This ain't a issue 😅

Guys this ain't an issue,But really loves to say an appreciation towards the application u guys managed to create.Soory for misusing the git issue panel.I will be really satisfied if u guys add python support to spck editor.
Thanks

Importing zip files

Sometimes when i import zip file the app won't extract all files. theres always shortfalls

Editor is missing handle.

The application not having a handle (or caret or cursor, whatever you want to call it) that allows you to move the cursor by dragging makes it extremely frustrating to use compared to most other editors on mobile. It's the thing stopping me from using this app. For examples of this you can check any of the following editors: awd, anWriter, Quoda or Dcoder.

Just to make sure you know what I'm talking about, I'm talking about this guy right here:

image

Best regards

Git status colors not displayed correctly for folders

For git repos, the colors shown for the folders sometimes do not reflect the actual state of the folder. For example, adding a file to an existing folder will also change the folder to the "new" color. Additionally, file deletions do not affect the parent folder git status coloring.

Touch issue

Sometimes the app doesn't respond for touches
When i close the app and reopen it the last opened file doesn't respond the touches. I should switch to other file and then back to the same file to avoid the problem

Android Filesystem Support

This is more of an announcement to give a heads up on what will be happening in the next major release.

I’m currently rewriting the entire storage backend without breaking compatibility with some of the existing features or corrupting existing files. Unfortunately I did not have the foresight to not completely not rely on Dexie.js (indexedDB) querying API. I have came to the conclusion that the Github API integration will definitely break and some features like git status updates of the file system (color changing according to git status) might also break.

I plan to add keep the legacy version of the editor around, but by upgrading through the Android Play Store, it will upgrade to the newer version with external file storage and more refined Git integration. I do not think this will corrupt or delete any files but I cannot make any guarantees about if the browser storage will not be wiped through an update of the webview. The good news is after switching to external storage it will fix any data loss issues related to using indexedDB. The browser version of the editor will continue to use the indexedDB API. Currently the file storage also stores git hashes and does it’s own git status logic which may have bugs when used with the git backend.

I am also writing extensive tests with the new system so it should not choke on binary files and other cases that were not considered when I initially wrote the editor. However this may take some time, and I appreciate everyone’s patience :).

Does not save project.

I spent a bit in a project, specifically in a blank regular html file with no framework. I thought the auto save feature would work, but when I closed and then reopened the app, I was supprised to see my project wasnt there😱. The editor is so great though . I use this when I am feeling sick and unable to work. Perhaps a manual save button in case auto save is down?

Add plugin support

It would be great if you would add an easy plugin support. For example:
spck.on("edit", (file, edit)=>{ if(file.line[edit.line].word[edit.word] == "nl"){ file.line[edit.line].context += "\n"; })

PLEASE READ

Hi, I loved your editor, but I'd like to say two things first. There is a bug that when you delete a line of code it adds again, I found this bug only in CSS but I do not know if in other places there are. And second. I could save the project to a folder on the Android device to edit the files in the editor and not have to export in .ZIP to see how it got in the browser, you know? The app create a folder in the memory of the phone for all the projects created in the app stay there hence it is not necessary to be exporting in .ZIP every time you want to see the code outside the app, please at least consider my request, please.

Not all scripts running

I'm building and AngularJS application with components.

At index.html I have an app-root component which has a app-login component inside.

Only app-root runs correctly. And all scripts are specified in index.html

Here are the files.

Index.html:

<!DOCTYPE html>
<html lang="en">
<head>
  <base href="https://spck.io/run/"/>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  
  <title>AngularJS + Bulma</title>
  
  <!-- AngularJS -->
  <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/[email protected]/angular.min.js"></script>
  
  <!-- Bulma -->
  <script src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
</head>

<body ng-app="app">
  
  <!-- AngularJS App Container -->
  <app-root></app-root>
  
  <!-- Project -->
  <script src="app.js"></script>
  <script src="app/app.component.js"></script>
  <script src="login/login.component.js"></script>
</body>
</html>

app.component.js:

(function (){
  "use strict";
  
  angular
 .module("app")
 .component("appRoot", {
   bindings: {}, 
   templateUrl: "app/app.component.html", 
   controllerAs: "vm", 
   controller: appRootController
 });
 
 function appRootController($location) {
   var vm = this;
   
   vm.$onInit = $onInit;
   
   function $onInit() {
     alert("hola");
     console.log($location.absUrl());
   }
   
 }
})();

Login.component.js

(function (){
  "use strict"
  
  angular
    .module("app")
    .component("appLogin", {
      bindings: {},
      templateUrl: "login/login.component.html",
      controllerAs: "vm",
      controller: loginController
    })
  
  function loginController() {
    var vm = this
    
    vm.$onInit = $onInit
    
    function $onInit() {
      alert("hola login")
    }
    
  }
})()

I'm not sure what I'm doing wrong. Thanks in advance!

Spck app doesn't open on latest version

Spck app won't open after the update. It's all white when I'm opening it then after a few seconds this shows up. Am I the only one experiencing this? I've tried reinstalling the app but still stuck in this :< I'm on Android 6.0 btw thanks!

Screenshot_20191114_151549

IME Keyboard behaving funny on Android 4.4 - ?

If you are having issues with the Android delete key not working properly or duplicating of text please let me know here.
Please include:

  • Android version
  • phone model
  • virtual Keyboard used
  • Chrome version on phone

I think switching to another Keyboard should resolve the issue (i.e. Hacker Keyboard). Currently believe there may be a solution out there for this. And the problem only appears to only affect some versions of Google Keyboard/Android so far.

UPDATE: I tested and found some text duplication problems when deleting on Android 5, Gboard, Chrome 39. Problems however went away after updating Chrome to the latest version.

Suggestion: List of keyboard shortcuts

Hi good day! Is it possible to put a list of all keyboard shortcuts available for this app since its quite confusing at first such as CTRL-D duplicates the line whereas CTRL-Y deletes the line. Its such a small thing to ask but a big help for us mobile users to know what shortcuts to use to save time manually doing things inside the editor thank you for this awesome app!

Preview not working with BASE tag

Hi, the built-in browser for previews does not work with views having any <base href=""> tags
I'm not quite sure why this happens

Paste doesn't work

The paste doesn't works when I want to paste a text that I copied from some else.

Beta features

I just want to know if there are any beta features because on the Play Store there is an beta but I didn't found any changes!

Blinking cursor not properly aligned on editor

The blinking cursor are not aligned properly making it hard to type anything at all since its on the wrong place. The more the characters are there in line the farther the indicator is. See the low quality GIF below.

20181108_192922

Typescript support?

Typescript support would be amazing. Is that a feature coming in the future?

Video file error on HTML

Preview does not find a video file in HTML with VIDEO tag, controls and poster atributes works fine but src does not.

expand collapse block of code

When I expand or collapse some block of code the cursor always jumps to the top. Would be nice to stay in that line where the block view is manipulated.

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.