Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Dashboard V2: main screen #1760

Merged
merged 24 commits into from
Mar 1, 2022
Merged

Dashboard V2: main screen #1760

merged 24 commits into from
Mar 1, 2022

Conversation

meeh0w
Copy link
Contributor

@meeh0w meeh0w commented Feb 23, 2022

Overview

👣 Commit-by-commit review is recommended :)

  • Composes most of the main dashboard screen (with mocked data)
  • Makes top navigation bar responsive
  • Adds a CSS helper to make media queries easier inside Styled Components. Also allows referencing computed Tailwind config from javascript, by using babel-preval-plugin (config is evaluated on build time, not in the browser).
  • Some styling fixes / improvements to generic components (Tabs / Panel / Table).
  • Adds gatsby-plugin-styled-components, as without it adding custom CSS only works in gatsby develop mode, but not in a production build (gatsby build).
  • Adds back gatsby-ssr.js file -- it's needed for gatsby build followed by gatsby serve flow (seems like SSR is enabled with gatsby serve).

@github-actions
Copy link

Deployed to https://200fntmfgsihlijo74u1pcjq24713bbpq5kav3gccvm9spqsi5tm1r8.siasky.net/
Skylink: sia://EAD79s-HJRrKeDk8HLJ6EQ4RrXnRaK-ODGfsnmdckXtg7Q

peterjan
peterjan previously approved these changes Feb 23, 2022
Copy link
Collaborator

@peterjan peterjan left a comment

Choose a reason for hiding this comment

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

LGTM 👍

packages/dashboard-v2/src/components/Slider/Bullets.js Outdated Show resolved Hide resolved
packages/dashboard-v2/src/components/Slider/Slider.js Outdated Show resolved Hide resolved
packages/dashboard-v2/src/components/Slider/Slider.js Outdated Show resolved Hide resolved
packages/dashboard-v2/src/components/Slider/Slider.js Outdated Show resolved Hide resolved
packages/dashboard-v2/gatsby-ssr.js Show resolved Hide resolved
packages/dashboard-v2/src/components/NavBar/NavBar.js Outdated Show resolved Hide resolved
@github-actions
Copy link

Deployed to https://200fntmfgsihlijo74u1pcjq24713bbpq5kav3gccvm9spqsi5tm1r8.siasky.net/
Skylink: sia://EAD79s-HJRrKeDk8HLJ6EQ4RrXnRaK-ODGfsnmdckXtg7Q

@github-actions
Copy link

Deployed to https://200fntmfgsihlijo74u1pcjq24713bbpq5kav3gccvm9spqsi5tm1r8.siasky.net/
Skylink: sia://EAD79s-HJRrKeDk8HLJ6EQ4RrXnRaK-ODGfsnmdckXtg7Q

@github-actions
Copy link

Deployed to https://20000fakj9cqr4igpcugevvejmpmtnlfpkh2fnilpefcti43nfv5ri0.siasky.net/
Skylink: sia://EAAAPVSaWa2SUMs9B3_unbNu3q_NIifeVcuezsiDu_5dyA

@github-actions
Copy link

Deployed to https://20000fakj9cqr4igpcugevvejmpmtnlfpkh2fnilpefcti43nfv5ri0.siasky.net/
Skylink: sia://EAAAPVSaWa2SUMs9B3_unbNu3q_NIifeVcuezsiDu_5dyA

@github-actions
Copy link

Deployed to https://20071n70me6pnd0tmel3rk7oufogo7cr75rcbpd0idmgh59rkt4n110.siasky.net/
Skylink: sia://EABw3OCzjZu0HbOqPdD48_EMHZs5dsXloJNtCJU7p0lwhA

@github-actions
Copy link

Deployed to https://2002k017nkcva1egqjjs0ja9b3vs9om5g5prhnt1vc1alliki00v54g.siasky.net/
Skylink: sia://EAAqACe9GfUF0NTnwE1JWP_E4sWBc7jfofsCqtZUkAHykg

@github-actions
Copy link

Deployed to https://2002k017nkcva1egqjjs0ja9b3vs9om5g5prhnt1vc1alliki00v54g.siasky.net/
Skylink: sia://EAAqACe9GfUF0NTnwE1JWP_E4sWBc7jfofsCqtZUkAHykg

@kwypchlo
Copy link
Collaborator

there seems to be some issue with navigation bar @meeh0w

Screenshot 2022-02-28 at 11 38 32

kwypchlo
kwypchlo previously approved these changes Feb 28, 2022
@meeh0w
Copy link
Contributor Author

meeh0w commented Feb 28, 2022

Hey @kwypchlo @peterjan, I updated the PR with the division-by-zero code, can you take a final look please?

2653de6

@github-actions
Copy link

Deployed to https://2002k017nkcva1egqjjs0ja9b3vs9om5g5prhnt1vc1alliki00v54g.siasky.net/
Skylink: sia://EAAqACe9GfUF0NTnwE1JWP_E4sWBc7jfofsCqtZUkAHykg

@kwypchlo kwypchlo merged commit 8e648a3 into master Mar 1, 2022
@kwypchlo kwypchlo deleted the dashboard-v2-main-screen branch March 1, 2022 10:18
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.

None yet

3 participants