bbcmicrobit / bbcmicrobit/PythonEditor
Moving between versions should preserve contents of buffer
- Linguagem predominante
- JavaScript
- Estrelas
- 201
- Forks
- 126
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Since 0.1.0 we've been able to move between different versions of the editor. Hooray!
However, currently the contents of the script buffer (IE the users' code) gets lost between this version migration. In the case that the user entered with a script in the URL we will preserve that script but not any subsequent changes.
I believe the following rule is good:
> Whenever moving between editor versions, put the buffer contents into the URL bar so that the script migrates between versions
Implementation-wise there are a few privacy gotchas - If we put their script in the URL bar then it can/could end up in server logs. If we put it in a cookie we have to mention that we will use cookies in privacy policy.
Guia de contribuição
Direção de pesquisa
Comece rastreando como as mudanças de versão do editor lidam com o buffer de script atual e como os scripts inseridos na URL são preservados. Revise as implicações de privacidade da URL e dos cookies antes de escolher uma abordagem; considera-se concluído quando as edições do usuário sobrevivem à migração entre versões do editor sem deixar as preocupações de privacidade mencionadas sem solução.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript
- Domínio
- frontend, web-dev
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100