Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

GraphiQL#55

Open
Howl404 wants to merge 200 commits into
mainfrom
develop
Open

GraphiQL#55
Howl404 wants to merge 200 commits into
mainfrom
develop

Conversation

@Howl404

@Howl404 Howl404 commented Jan 6, 2024

Copy link
Copy Markdown
Owner

Look into "env-example" file to run the project locally

  1. Task: https://github.com/rolling-scopes-school/tasks/blob/master/react/modules/graphiql.md
  2. Screenshot:
    image
  3. Deployment: https://graphiql-debugastronauts.netlify.app/
  4. Video: link
  5. Done 7.01.2024 / deadline 8.01.2024
  6. Score: 350 / 350
  • Welcome route - (50)

    • The welcome page should contain general information about the developers, project, and course (10)
    • In the upper right corner there are 2 buttons: Sign In and Sign Up (10)
    • If the login token is valid and unexpired, the Sign In and Sign Up buttons are replaced with the "Main Page" button (10)
    • When the token expires - the user should be redirected to the "Welcome page" automatically (10)
    • Pressing the Sign In / Sign up button redirects a user to the route with the Sign In / Sign up form (10)
  • Sign In / Sign Up - (50)

    • Buttons for Sign In / Sign Up / Sign Out are everywhere where they should be (10)
    • Client-side validation is implemented (20)
    • Upon successful login, the user is redirected to the Main page (10)
    • If the user is already logged in and tries to reach these routes, they should be redirected to the Main page (10)
  • GraphiQL route - (200)

    • Functional editor enabling query editing and prettifying (60)
    • Operational documentation explorer, visible only upon successful SDL request (50)
    • Variables section that can shown or hidden, specified variables are sent to the server (30)
    • Header section that can be shown or hidden, user-added headers are sent to the server (20)
    • Response section with an editor in read-only as a JSON viewer (40)
  • General requirements - (50)

    • Localization (30)
    • Sticky header (10)
    • Errors from API side are displayed in the user friendly format (10)

Howl404 and others added 30 commits December 4, 2023 17:51
* feat: add vitest, mui, pre push hook

* feat: disable vitest before tests are added
* feat: firebase, AuthService

* fix: missed const usage

* feat: add env to gitignore
feat: add routes and AppRouter
Comment thread src/components/UI/GoogleIcon/index.tsx Outdated
Comment thread src/components/UI/InputPassword/index.tsx Outdated
Comment thread src/components/UI/Toggle/index.tsx Outdated
Comment thread src/context/ThemeContext.tsx Outdated
Comment thread src/context/utils/getBrowserTheme.ts Outdated
Comment thread src/hooks/useOpen.ts Outdated
Comment thread src/pages/AuthPage/index.tsx Outdated
}
}

@media (max-width: 1370px) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

а че это такое( почему у вас дименшены руками написаны)

Comment thread src/router/Routes.tsx Outdated
Comment thread src/services/AuthService/authErrorHandler.ts Outdated
@DPostnik

DPostnik commented Jan 7, 2024

Copy link
Copy Markdown
Collaborator

@IrinaEnotova а ловко ты это придумала, так а зачем резолвишь без фикса?

const [sortOrder, setSortOrder] = useState<'az' | 'za'>('az');
const { isDarkTheme } = useContext(AppThemeContext);

if (!disableSort)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

как не зависит, если от disable sort

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants