coderbotorg / frontend Goto Github PK
View Code? Open in Web Editor NEWThe new CoderBot web application, in Vue.js
Home Page: https://www.coderbot.org
License: GNU General Public License v3.0
The new CoderBot web application, in Vue.js
Home Page: https://www.coderbot.org
License: GNU General Public License v3.0
Il comando "gira bot (motion) angolo 90" fa ruotare il robot di continuo con un angolo del tutto irregolare e continua per una tempo imprevedibile.
L'upload dell'aggiornamento si ferma al 99% anche se è stato caricato per intero.
Nel mio ambiente (Firefox su Mac) quando edito un dato all’interno di un programma blackly vedo il dato che sto scrivendo sovrapposto al dato che c'era già. Il risultato è che quello che si scrive risulta essere poco leggibile. Una volta confermata la modifica, il dato è ben visibile.
In the dist resources several "/examples/" resources are present.
Sarebbe utile poter conoscere il codice RGB di un pixel su cui si clicca per una foto presente in galleria.
Sarebbe ancora più utile poter fare un copia e poi incolla nel programma.
We must implement a way to define categories, blocks and everything that is currently in the XML toolbox definition with serializable and templatable objects.
Related to #42
Mi aspetterei che il pulsante esegui sia sempre presente durante l’attività di programmazione, ma posso eliminarlo quando definisco una attività.
Currently accessible only in Settings, and it applies globally.
Non ci sono due entry point diversi per studente e insegnate, quindi lo studente può modificare le attività e accedere alle impostazioni
Dopo aver salvato una attività l’utente potrebbe credere che sia effettivamente in uso, ma non è così. Bisogna tornare sul menù delle attività e andarla ad aprirla per utilizzarla. Probabilmente varrebbe la pena chiedere all'utente subito dopo aver salvato una attività se vuole utilizzarla subito.
Firefox throws allocation size overflow when selecting large files, making it impossible to update with large packages (>100MB).
This also freezes for 4-5 seconds any other browser , since the entire file is read as js object..
This is how the file upload is currently handled, in Settings Vue component:
onFilePicked(e) {
const files = e.target.files
if (files[0] !== undefined) {
this.fileName = files[0].name
if (this.fileName.lastIndexOf('.') <= 0) {
return
}
const fr = new FileReader()
fr.readAsDataURL(files[0])
fr.addEventListener('load', function() {
this.fileUrl = fr.result
this.fileObj = files[0]
}.bind(this))
} else {
this.fileName = ''
this.fileObj = ''
this.fileUrl = ''
}
},
upload() {
var formdata = new FormData();
formdata.append('file_to_upload', this.fileObj)
const config = {
headers: { 'Content-Type': 'multipart/form-data' },
onUploadProgress: progressEvent => {
this.counter = Math.floor((progressEvent.loaded * 100) / progressEvent.total);
}
}
When adding a comment on a code block (right click on block, select "add comment" menu), the comment popup is shown but it does not get the focus.
Non c’è il cestino per eliminare i blocchi nella parte di programmazione.
Things as web fonts are currently imported from CDNs or google endpoints, thus requiring working internet connection.
We must guarantee complete offline functionality.
List of current v0.5 open bugs:
@previ mentioned the application does not support i18n
I used and previously tried vue-i18n and I think it suits our use case and it's very easy and straightforward to implement.
A set of critical points to consider follows:
{% trans %}
escaped and translated server side;Il menù comandi logici non compare nella palette di blockly.
interpreta e la parte di programmazzione ad eventi sono funzionalità non supportata in questa prima release e andrebbero rimosse dai menù
Port the code to use currently supported frameworks: Vue3 and Vuetify3
Vuetify3 is actually still in beta, but as of beta.5 can be considered stable enough to do the port.
Per cancellare una attività devo cliccare su un menù che si chiama “Apri” sotto attività, cosa controintuitiva
It should be possible to configure the Wifi settings:
Visto che normalmente il PC è collegato alla rete Coderbot non collegata alla rete Internet ha poco senso avere il link a facebook, twitter, etc. Normalmente l'utente cliccherà su quelle icone e otterrà in risposta un messaggio di errore generato dal browser interpretandolo come un malfunzionamento del roboto.
Manca un modo per arrestare la riproduzione di un programma.
Sarebbe utile avere un comando semplificato che ritorna il codice del primo codice AR ripreso dalla telecamera.
Per modificare una attività devo andare nel menù apri attività e poi scegliere modifica, non molto intuitivo (problema similare a cancella attività)
Nel menù movimento ci sono due muovi indietro ma un in realtà uno dei due comandi fa muovere il robot in avanti
In nuova attività la configurazione di default dovrebbe includere il pulsante salva, un utente normalmente si aspetta di averlo. Al più l'icona code può non esserci di default.
Posso cancellare una foto dalla galleria senza che mi venga chiesta conferma.
This is likely a problem with how Blocky is drew.
The normal animation, off setting v-content
doesn't have this problem (but it doesn't trigger / triggers but breaks resizeWorkspace
).
AR.js and Three.js are still statically imported everywhere. We need a proper module (exposing THREE and THREEx objects) to be imported and injected in specific Vue.js components.
This issue is a placeholder to list all features missing from the current frontend app, compared to the old, "v1" web app.
It is not mandatory to implement everything in v2 (aka "vue-app) as some features might just be deprecated.
Looking at the Blockly toolbar a couple of changes to propose came to my mind:
If I remember correctly it's a pretty safe and easy thing to change (edit the xml files in the src/assets/
folder).
Some parameters require a restart, the user should be advised and guided through the restart process.
Se clicco su una qualsiasi voce del menù mentre sto editando un programma e poi torno sulla schermata di programmazione ho perso il programma che stavo scrivendo.
La scelta dell’attività che ho fatto in precedenza si perde se clicco in un altro menù (ad esempio impostazioni) e quindi quando torno alla schermata per la scrittura del programma mi trovo a lavorare con l’attività di default.
hostapd.conf
)See CoderBotOrg/backend#41. Implementable using Vuelidate, Vee-validate or custom validate()
functions. See VuetifyJS/Form Component.
Can be applied in both Settings and Activity editing.
Manca il programma di default che riconosce gli ARcode.
Lasciare allo studente ma anche al professore/genitore la possibilità di editare parametri come:
Mi spaventa molto. Introdurrei un punto di ingresso per l'admin (che all'occorrenza può essere anche il professore/genitore) che può editarli e li toglierei dalle UI di studente e professore.
Al momento posso caricare un nuobo programma anche senza aver salvato il programma corrente
Il menù di default contiene azioni/pulsanti (come ad esempio esporta, importa, salva con nome, carica) che non posso scegliere dal menù di personalizzazione dell’attività.
Implement python editor
L'icona di un comando viene scelta inserendo una stringa serve un meccanismo di scelta più efficace per l'utente.
Introdurrei un insieme piccolo di programmi da lanciare in sequenza per testare che tutti i sensori, motori e device funzionino correttamente.
Sarebbe carino avere una voce di menù da cui scaricare un PDF con i codici AR/QR che l'utente può stampare come sono o incorporare in altri immagini per fare esercizi di riconoscimento. Inoltre sarebbe carino far scaricare anche quelli che in genere usiamo noi (cartelli e frutta).
Manca il comando per creare un colore, ad esempio da riconoscere, a partire dal suo codice RGB.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.