Skip to content

[Dashboard] Join operators address view and the wallet address view #3323

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

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
1b13c1e
feat: add kv store table, show transaction history for operator; cleanup
KirillKirill May 8, 2025
cbe8bd4
refactor: home page, header, graph
KirillKirill May 12, 2025
69869ce
Merge branch 'develop' of github.com:humanprotocol/human-protocol int…
KirillKirill May 14, 2025
ee05857
refactor: theme, components, simplify code, reorganize imports, add n…
KirillKirill May 16, 2025
eebc659
refactor: styles for mobile device, shadow icon
KirillKirill May 16, 2025
ae5df95
refactor: make table responsove, fix its cells, fix few other compone…
KirillKirill May 16, 2025
b59ee75
fix: time period buttons logic, numeric format of hmt balance, remove…
KirillKirill May 19, 2025
40bf1e7
refactor: leaderboard table, some component, reorder imports, remove …
KirillKirill May 20, 2025
5767773
refactor: use-breakpoints hook, some components, remove needless files
KirillKirill May 20, 2025
172a5c8
refactor: remove footer scss and changed footer component, other mino…
KirillKirill May 21, 2025
2fb21c0
refactor: theme's variants
KirillKirill May 21, 2025
39edb94
feat: add tooltips to the operator details
KirillKirill May 21, 2025
309225c
fix: rename button
KirillKirill May 21, 2025
6860275
refactor: tooltips on home page
KirillKirill May 21, 2025
2c66cad
minor refactoring
KirillKirill May 21, 2025
15aa4a9
fix: use custom hook for identifying isMobile
KirillKirill May 21, 2025
537acb7
minor refactoring of Holders component
KirillKirill May 21, 2025
4523ea0
fix: weird padding in table, tooltip's padding on graph, color of add…
KirillKirill May 21, 2025
d39cbd0
address the feedback partially
KirillKirill May 21, 2025
baccb27
fix: using max integer
KirillKirill May 21, 2025
e1efc32
fix: show 0 instead of empty string, if graph's metric is nullable
KirillKirill May 22, 2025
4b97c98
fix: reset pagination on unmount
KirillKirill May 22, 2025
0268ff8
fix: hide vertical scroll on tables, get back standard-background cla…
KirillKirill May 23, 2025
cbbec09
remove log
KirillKirill May 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
10 changes: 6 additions & 4 deletions packages/apps/dashboard/client/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import React from 'react';
import { FC } from 'react';

import { BrowserRouter as Router, Route, Routes } from 'react-router-dom';
import Home from '@pages/Home';

import Graph from '@pages/Graph';
import Home from '@pages/Home';
import LeaderBoard from '@pages/Leaderboard';
import SearchResults from '@pages/SearchResults';
import { LeaderBoard } from '@pages/Leaderboard';

const App: React.FC = () => {
const App: FC = () => {
return (
<Router>
<Routes>
Expand Down
1 change: 0 additions & 1 deletion packages/apps/dashboard/client/src/assets/react.svg

This file was deleted.

11 changes: 0 additions & 11 deletions packages/apps/dashboard/client/src/assets/styles/_breadcrumbs.scss

This file was deleted.

72 changes: 0 additions & 72 deletions packages/apps/dashboard/client/src/assets/styles/_footer.scss

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
.swiper-button-next, .swiper-button-prev {
top: 35%
top: 50%;

@media (max-width: 900px) {
top: 30%;
}
}

.swiper-button-next::after, .swiper-button-prev::after {
Expand Down
72 changes: 0 additions & 72 deletions packages/apps/dashboard/client/src/assets/styles/_header.scss

This file was deleted.

186 changes: 2 additions & 184 deletions packages/apps/dashboard/client/src/assets/styles/_home-page.scss
Original file line number Diff line number Diff line change
@@ -1,189 +1,7 @@
.home-page-header {
color: $white;
.home-page-search {
margin-top: 24px;
}
.home-page-search {
margin-top: 24px;
}

.home-page-boxes {
display: flex;
gap: 24px;
margin-top: 62px;

.home-page-box {
color: $primary;
background-color: $white;
border-radius: 16px;
padding: 24px 32px;
width: calc(38% - 24px);

@media (max-width: 660px) {
padding: 24px 16px;
}

.box-title {
font-size: 14px;
height: 32px;
margin-bottom: 24px;
display: flex;
align-items: center;
justify-content: space-between;
}
.box-content {
display: flex;
.count {
font-size: 20px;
font-weight: 500;
margin-top: 3px;
}
.box-icon {
margin-right: 10px;
}
}
}

.home-page-box:first-child {
width: 24%;
}
@media (max-width: 1250px) {
flex-wrap: wrap;
.home-page-box,
.home-page-box:first-child {
width: 100%;
}
}
}

.home-page-find {
font-size: 14px;
margin-top: 32px;
display: flex;
gap: 32px;
align-items: center;
height: 60px;
white-space: nowrap;
span {
display: flex;
align-items: center;
gap: 16px;
}
@media (max-width: 1100px) {
span {
min-width: 120px;
}
}
}

.home-page-find-title-mobile {
margin-top: 32px;
font-size: 14px;
@media (max-width: 1100px) {
display: block;
}
}
.home-page-leaderboard {
margin-top: 60px;
}

.home-page-table-header {
background-color: $whiteSolid;
height: 72px;
color: #320a8d;
text-transform: uppercase;
border: 0;
margin-bottom: 15px;

th {
font-size: 12px;
}
.icon-table {
display: flex;
align-items: center;
gap: 8px;
}
}

.home-page-table-row {
td {
padding: 32px 16px;
font-size: 16px;
}

.icon-table {
background-color: $groundwaterOpacity;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
width: 52px;
height: 52px;
}

.reputation-table {
padding: 4px 8px;
border-radius: 16px;
font-size: 13px;
display: inline;
}

.reputation-table-medium {
color: $medium;
border: 1px solid $mediumBorder;
}

.reputation-table-low {
color: $low;
border: 1px solid $lowBorder;
}

.reputation-table-high {
color: $high;
border: 1px solid $highBorder;
}
.reputation-table-soon {
color: $soon;
border: 1px solid $soonBorder;
}

&:hover {
transition: opacity 8ms;
opacity: 0.8;
}
}

#network-select {
svg {
display: none;
}
}

.select-item {
display: flex;
gap: 10px;
}

.mobile-select {
width: 270px;
background-color: $whiteSolid;
padding: 10px;
display: none;
margin-bottom: 20px;
@media (max-width: 1100px) {
display: block;
}
}

.table-filter-select {
@media (max-width: 1100px) {
div {
display: none;
}
}
.mobile-title {
display: none;
font-weight: 400;
@media (max-width: 1100px) {
display: block;
}
}
}

This file was deleted.

Loading
Loading