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

REFACTOR: Images and header code #50

Open
9 of 11 tasks
Caussz opened this issue Jul 29, 2024 · 0 comments
Open
9 of 11 tasks

REFACTOR: Images and header code #50

Caussz opened this issue Jul 29, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Caussz
Copy link
Member

Caussz commented Jul 29, 2024

General Code Corrections

This task involves several steps to organize assets, enhance component logic, and ensure consistency across the project. Please refer to the existing examples in the project for guidance.

Checklist

  • Create an images folder inside the assets folder and organize all site images there.
  • Create a composable for the desktop header component to add the logic for state changes.
  • Add a type field to the mock publications. Create another mock for types, which include: book, dissertation, article, and scientific article.
    • Example of a publication with type:
      {
        "id": 1,
        "label": "Análise de Algoritmos Genéticos",
        "link": "http://copec.eu/congresses/intertech2014/proc/works/101.pdf",
        "authors": ["1"],
        "keywords": ["1", "2", "3"],
        "categories": ["9", "10"],
        "type": 1,
        "resume": "Este artigo explora o uso de algoritmos genéticos na otimização de funções complexas.",
        "favorite": false
      }
  • Create the mock and interface for types.
  • Ensure that each publication references the type by its ID, not the type itself.
  • - [ ] Add a color field to the mock categories and assign a different color hash to each category.
  • Add a favorite boolean field to all mocks where the user has some type of interaction, such as publications, authors, and keywords.
  • Update the populatePublications function to include types in the data population. Create the necessary service following existing examples in the project to populate correctly.
  • Review the entire codebase for consistency, including class names, component names, function names, variable names, and the presence of semicolons where necessary.
  • Run the command npm run build, check for errors, and ensure images are displayed correctly.
  • Review all requirements with the team leader before finalizing.

Note: Follow the new design guidelines as established in Figma.

@Caussz Caussz added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jul 29, 2024
isabellirosa added a commit that referenced this issue Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants