devhatt / devhatt/octopost

Correção do funcionamento da ativação das tabs

Open
#617 1 comment 0 reactions 0 assignees View on GitHub
error MVP
Dominant language
TypeScript
Stars
75
Forks
45
PR merge metrics
No merged PRs in 30d

Description

## Describe the error

O modo com que as tabs são ativadas e seu funcionamento não está correto

## Description

Atualmente, o corportamento atual das tasks é de:

- Estarem todas ativadas ao iniciar
- Ser ativada através da props de isValid

A ativação não tem nenhuma ligação se a conta é válida ou não, são coisas diferentes, sendo assim, é necessário que seja alterado o modo que ela está sendo ativada atualmente, e que ela não comece com tudo já realmente ligado.

## Expected Behavior

Que quando a aplicação inicie, as tabs estejam desativadas e sejam ativadas corretamente.

## Current Behavior

Todas as tabs já começam ativadas e isso se dá pelo passamento da props isValid, o que não está correto

## Visual information

![image](https://github.com/user-attachments/assets/2d81a031-5ea4-4a0e-b1c9-f72c0365fdbd)

![image](https://github.com/user-attachments/assets/38defefb-4701-4229-aca4-936d3ccf29b1)

Contributor guide

Open the contributing guide

Research direction

Start by locating the tab component and the uses of the isValid prop in the TypeScript/React application. Trace how tabs are initialized and activated, then verify that they begin disabled and activate independently of account validity. No specific file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.