Skip to content
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

Issue 109 - Componente de vacina #125

Merged
merged 29 commits into from
May 8, 2024
Merged

Issue 109 - Componente de vacina #125

merged 29 commits into from
May 8, 2024

Conversation

juliaam
Copy link
Contributor

@juliaam juliaam commented Apr 8, 2024

Closes #109

Feature

Adiciona o componente de vacina

Visual evidences 🖼️

image
image

Checklist
  • Issue linked
  • Build working correctly
  • Tests created

src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.scss Outdated Show resolved Hide resolved
src/components/Vaccine/index.scss Outdated Show resolved Hide resolved
src/components/Vaccine/img/vaccine.svg Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
@diogocaronte
Copy link
Contributor

O layout não está parecido com o do figma, consegue arrumar?

src/components/Vaccine/index.scss Outdated Show resolved Hide resolved
Copy link
Contributor

@Alecell Alecell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aparentemente seu resultado não está de acordo com o layout! Da uma revisada nisso e precisa atualizar a branch!

@juliaam juliaam requested a review from Alecell April 17, 2024 17:30
src/components/Vaccine/index.scss Outdated Show resolved Hide resolved
Copy link
Contributor

@Alecell Alecell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Porque há alterações nos arquivos de Checkbox e Radio? Eles estão constando como arquivos completamente novos, precisa ajustar isso, talvez algum problema no git isso.

src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/VaccineItem/index.scss Outdated Show resolved Hide resolved
src/home/index.html Outdated Show resolved Hide resolved
src/stories/Checkbox.stories.js Outdated Show resolved Hide resolved
src/stories/RadioButton.stories.js Outdated Show resolved Hide resolved
src/stories/readme/Readme.mdx Outdated Show resolved Hide resolved
@juliaam juliaam force-pushed the issue-109 branch 3 times, most recently from 15b64a8 to 573657a Compare April 26, 2024 01:33
@aalmeida00 aalmeida00 requested a review from Alecell April 26, 2024 01:34
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opa isso aqui ta certo? Acho que vc ta apagando o pipeline do @PiluVitu aqui!

tenta atualizar a branch

Comment on lines 80 to 87
@font-face {
font-family: 'Helvetica';
font-weight: normal;
font-style: normal;
src:
local('Helvetica'),
url('/helvetica.woff') format('woff');
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

O font face precisa ta definidor no default css importado no root do projeto, caso contrario pode dar um ruinzinho

src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/VaccineItem/index.js Outdated Show resolved Hide resolved
src/components/VaccineItem/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
src/components/VaccineItem/index.scss Outdated Show resolved Hide resolved
src/components/Vaccine/index.js Outdated Show resolved Hide resolved
@@ -39,32 +44,29 @@ VaccineItem.prototype = Object.assign(
return this.id;
},
getTitle() {
return this.title;
return this.selected.get('title');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return this.selected.get('title');
return this.selected.get('title').textContent;

getVet() {
return this.vet;
getVeterinary() {
return this.selected.get('veterinary');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return this.selected.get('veterinary');
return this.selected.get('veterinary').textContent;

},
getDate() {
return this.date;
return this.selected.get('date');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return this.selected.get('date');
return this.selected.get('date').textContent;

}

VaccineGroup.prototype = Object.assign(
VaccineGroup.prototype,
Component.prototype,
{
getTitle() {
return this.title;
return this.selected.get('title');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return this.selected.get('title');
return this.selected.get('title').textContent;

@Alecell Alecell merged commit 0b72433 into devhatt:main May 8, 2024
2 checks passed
DominMFD pushed a commit to DominMFD/pet-dex-frontend that referenced this pull request May 8, 2024
* feat: base component of vaccine

* feat: vaccine list

* fix: remove espace index home

* fix: right index home

* feat: storybook and div fix

* fix: pr changes - early return, border rem to px and format date function

* fix: pr changes

* feat: font helvetica

* feat: component abstraction

* fix: add borders and scroll

* Contunuação do PR = feat: Add RadioButton e Checkbox (devhatt#121)

* feat: Componentes Radio Button e Checkbox

Adiciona os componentes de radio button e checkbox, além de seus respectivos arquivos do storybook

refactor: Ajustes de evento, stories e getters/setters

fix: resolve parcial conversations

fix: resolve most part of conversations

* fix: all conflicts erros

* fix: resolve conversations issues

* fix: resolve conversations

* fix: resolve all conversations issues

* style: resolve zoldicas callout

---------

Co-authored-by: Jessica Rodrigues <[email protected]>, Paulo Vitu <[email protected]>

* fix: componente visual

* fix: scroll

* fix: pr improvements

* fix: update pnpm lock

* fix: color name

* fix: index html

* fix: stylelint font

* fix: pr changes

* fix: fonts and addvacine container name

* fix: vaccineitem corrrect events name  and id

* fix: vaccinegroup indentation

* fix: dividerr

* fix: code-style

* fix:stylelint

* fix: nomenclaturet improvements

* fix: stylelint

* fix: return textcontent

* feat: pnpm lock

---------

Co-authored-by: Paulo Victor <[email protected]>
RafaelLimaC pushed a commit to RafaelLimaC/pet-dex-frontend that referenced this pull request May 9, 2024
* feat: base component of vaccine

* feat: vaccine list

* fix: remove espace index home

* fix: right index home

* feat: storybook and div fix

* fix: pr changes - early return, border rem to px and format date function

* fix: pr changes

* feat: font helvetica

* feat: component abstraction

* fix: add borders and scroll

* Contunuação do PR = feat: Add RadioButton e Checkbox (devhatt#121)

* feat: Componentes Radio Button e Checkbox

Adiciona os componentes de radio button e checkbox, além de seus respectivos arquivos do storybook

refactor: Ajustes de evento, stories e getters/setters

fix: resolve parcial conversations

fix: resolve most part of conversations

* fix: all conflicts erros

* fix: resolve conversations issues

* fix: resolve conversations

* fix: resolve all conversations issues

* style: resolve zoldicas callout

---------

Co-authored-by: Jessica Rodrigues <[email protected]>, Paulo Vitu <[email protected]>

* fix: componente visual

* fix: scroll

* fix: pr improvements

* fix: update pnpm lock

* fix: color name

* fix: index html

* fix: stylelint font

* fix: pr changes

* fix: fonts and addvacine container name

* fix: vaccineitem corrrect events name  and id

* fix: vaccinegroup indentation

* fix: dividerr

* fix: code-style

* fix:stylelint

* fix: nomenclaturet improvements

* fix: stylelint

* fix: return textcontent

* feat: pnpm lock

---------

Co-authored-by: Paulo Victor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Criação do componente de vacinas
6 participants