-
Notifications
You must be signed in to change notification settings - Fork 43
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
feat(more-info): adding question card and optional observation input #43
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.
Percebi que tem um arquivo html/css aqui, deveria?
O "Closes" deve seguir o ID da sua task, tipo " Closes #43 " |
Alguma atualização aqui? @geisabitt Voce precisa ajustar os conflitos da sua branch. Aqui será necessário um rebase com o repositório remoto da devhatt, se precisar de ajuda me pinga no discord. |
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.
Avaliar se os icones ficarão assim mesmo
/approve |
* add initial architecture example * fix node_modules in src * new structure example * refactor components * refactor: remove unused dependency * style: run prettier to fix EOF * add more tests
BREAKING CHANGE: Reinstall all dependencies
) Bumps the all-minor-updates group with 5 updates: | Package | From | To | | --- | --- | --- | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.0.3` | `5.0.10` | | [eslint](https://github.com/eslint/eslint) | `8.54.0` | `8.56.0` | | [lint-staged](https://github.com/okonet/lint-staged) | `15.1.0` | `15.2.0` | | [prettier](https://github.com/prettier/prettier) | `3.1.0` | `3.1.1` | | [stylelint-order](https://github.com/hudochenkov/stylelint-order) | `6.0.3` | `6.0.4` | Updates `vite` from 5.0.3 to 5.0.10 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.0.10/packages/vite) Updates `eslint` from 8.54.0 to 8.56.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.54.0...v8.56.0) Updates `lint-staged` from 15.1.0 to 15.2.0 - [Release notes](https://github.com/okonet/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md) - [Commits](lint-staged/lint-staged@v15.1.0...v15.2.0) Updates `prettier` from 3.1.0 to 3.1.1 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.1.0...3.1.1) Updates `stylelint-order` from 6.0.3 to 6.0.4 - [Release notes](https://github.com/hudochenkov/stylelint-order/releases) - [Changelog](https://github.com/hudochenkov/stylelint-order/blob/master/CHANGELOG.md) - [Commits](hudochenkov/stylelint-order@6.0.3...6.0.4) --- updated-dependencies: - dependency-name: vite dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-minor-updates - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-minor-updates - dependency-name: lint-staged dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-minor-updates - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-minor-updates - dependency-name: stylelint-order dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-minor-updates ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andre Almeida <andre-silva78@hotmail.com>
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.34.6 to 1.0.4. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v1.0.4/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andre Almeida <andre-silva78@hotmail.com> Co-authored-by: Alexandre Gomes <alecell.dev@gmail.com>
…hatt#42) Bumps the all-minor-updates group with 4 updates: [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier), [sass](https://github.com/sass/dart-sass), [stylelint-order](https://github.com/hudochenkov/stylelint-order) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `eslint-plugin-prettier` from 5.0.1 to 5.1.2 - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v5.0.1...v5.1.2) Updates `sass` from 1.69.5 to 1.69.6 - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.69.5...1.69.6) Updates `stylelint-order` from 6.0.3 to 6.0.4 - [Release notes](https://github.com/hudochenkov/stylelint-order/releases) - [Changelog](https://github.com/hudochenkov/stylelint-order/blob/master/CHANGELOG.md) - [Commits](hudochenkov/stylelint-order@6.0.3...6.0.4) Updates `vitest` from 1.1.0 to 1.1.1 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v1.1.1/packages/vitest) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-minor-updates - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-minor-updates - dependency-name: stylelint-order dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-minor-updates - dependency-name: vitest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-minor-updates ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: input text component feat devhatt#21 * refactor: change px to rem in input text, edd the option to set de asset as prefix or suffix fix devhatt#21 * style: changed px to rem in background-position, removed fix devhatt#21 --------- Co-authored-by: Andre Almeida <andre-silva78@hotmail.com> Co-authored-by: Alexandre Gomes <alecell.dev@gmail.com>
devhatt#48) * chore: Add new scripts and integrate prettier with stylelint * chore: padronized color format to rgba
) Bumps the all-minor-updates group with 4 updates: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite), [jsdom](https://github.com/jsdom/jsdom), [sass](https://github.com/sass/dart-sass) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `vite` from 5.0.10 to 5.0.11 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.0.11/packages/vite) Updates `jsdom` from 23.0.1 to 23.2.0 - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md) - [Commits](jsdom/jsdom@23.0.1...23.2.0) Updates `sass` from 1.69.6 to 1.69.7 - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.69.6...1.69.7) Updates `vitest` from 1.1.1 to 1.1.3 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v1.1.3/packages/vitest) --- updated-dependencies: - dependency-name: vite dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-minor-updates - dependency-name: jsdom dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-minor-updates - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-minor-updates - dependency-name: vitest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-minor-updates ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Andre Almeida <andre-silva78@hotmail.com>
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.
Vi que tem alteração em vários arquivos de config como o dependabot e os workflows. Acredito que foi uma alteração acidental, mas precisamos resolver isso, não pode haver alteração lá a menos que seja necessário
inputText.mount(inputContainer); | ||
|
||
if (!mockVaccines) { | ||
// eslint-disable-next-line prettier/prettier |
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.
Verificar se ainda precisa desse comentario atualizando a branch
// eslint-disable-next-line prettier/prettier | ||
this.selected.get('render-vaccines').innerText = 'Nenhuma vacina cadastrada.'; | ||
} else { | ||
// eslint-disable-next-line no-inner-declarations |
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.
Verificar se ainda rpecisa desse comentário com a atualização da branch
<div class="vaccines-group"> | ||
<p class="vaccines-group__title">${vaccine}</p> | ||
<div class="vaccines-group__date-group"> | ||
<img src="../components/more-info/assets/calendar.svg" alt="calendar" class="vaccines-group__date-group__icon"> |
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.
Importar imagem da pasta local do seu componente, não da pasta assets
const vaccinesContainer = this.selected.get('render-vaccines'); | ||
const dataVaccines = () => { | ||
//preciso de ajuda para não precisar desabilitar a regra | ||
// eslint-disable-next-line no-restricted-syntax |
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.
Atualizando a branch provavelmente vai resolver
// eslint-disable-next-line no-restricted-syntax | ||
for (const item of mockVaccines) { | ||
//preciso de ajuda para não precisar desabilitar a regra | ||
// eslint-disable-next-line prettier/prettier |
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.
Atualizando a branch provavelmente vai resolver
.button_add { | ||
display: flex; | ||
align-items: center; | ||
gap: 5px; |
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.
gap
tambem deve ser feito em rem
// apenas marcação exixte uma task para o checkbox que não é minha | ||
// Esconder o input radio | ||
input[type='radio'] { | ||
display: none; | ||
} | ||
|
||
// Estilizar a aparência do label para se parecer com um checkbox | ||
input[type='radio'] + label .checkmark { | ||
display: inline-block; | ||
width: 1.3rem; | ||
height: 1.3rem; | ||
border: 2px solid #999; | ||
border-radius: 3px; | ||
cursor: pointer; | ||
} | ||
|
||
// Estilizar quando o input radio está selecionado | ||
input[type='radio']:checked + label .checkmark { | ||
background-color: #5649e4; | ||
border-color: #5649e4; | ||
color: #fff; | ||
} |
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.
Pode apagar, mesmo que a task não esteja concluida vc não pode sujar seu componente com coisas que não são dele, só deixa essa observação no PR e gg
body { | ||
background-color: #003459; | ||
} | ||
.home-main-container { | ||
display: flex; | ||
justify-content: center; | ||
gap: 1rem; | ||
margin: 40px auto; | ||
|
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.
Não sei se isso está correto, talvez precisamos falar osbre
@@ -61,3 +71,4 @@ | |||
} | |||
} | |||
} | |||
} |
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.
EOF
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.
Os comentários precisam ser descomentados pra que o componente e o use fique de exemplo pras outras pessoas no futuro. Vamos apagar quando houver mais componentes de exemplo, mas no momento isso precisa ser descomentado e mantido
PR fechado decorrente de inatividade |
Closes
Feature
Adicionar a pagina Conte-me mais sobre seu pet
Bugfix
Description
N/A
Cause
N/A
Solution
N/A
Changelog
N/AVisual evidences 🖼️
Checklist
Additional info
Acredito que esteja complexo de mais e também não sei se está correto as nomenclaturas. estou renderizado as imformações apartir de um json, mas a lógica não está funcionando muito bem porque o card vacina está exibindo elementos dos outros cards