-
Notifications
You must be signed in to change notification settings - Fork 2
Novas funcionalidades #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Para mim, parece estar tudo ok.
O TravisCI já executa os testes automaticamente ao abrir um PR, e segundo ele, não tivemos problemas.
Como eu disse anteriormente, o mais complicado é a validação dos estilos, já que hoje, os nossos testes unitários validam apenas o conteúdo gerado. Seria interessante adicionar mais testes no futuro que fazem algum tipo de cobertura em relação a estilos.
| var cell = createCell(wb, sheetRow, cellIndex, style, createHelper, valueClass); | ||
| setTypedValue(cell, value, valueClass); | ||
|
|
||
| var formula = (columnMD && columnMD.formula) ? columnMD.formula : null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aqui poderiamos usar apenas uma expressão booleana simples, já que o campo formula do metadado é só um boolean.
var formula = Boolean(columnMD && columnMD.formula);
Brunomachadob
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esqueci de comentar anteriormente, mas como disse pessoalmente, seria legal conversarmos com o pessoal do Solução Certa, para realizar um teste com a planilha deles também. Acho que eles são os principais clientes desta lib.
Bruno dá uma olhada nas funcionalidades que fiz. Se for interessante aceita o fork pra adicionar as novas features ao bitcode.
É bom também rodar os testes para garantir que nada foi quebrado.