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

dashboard initial implementation #762

Merged
merged 61 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
9929139
menu initial implementation
digitalimplementer Dec 26, 2023
e3ebc83
hero section initial implementation
digitalimplementer Dec 26, 2023
0605d1b
menu fixes
digitalimplementer Dec 26, 2023
6232596
token price chart initial implementation
digitalimplementer Dec 29, 2023
8dc048b
token stats grid and carousel initial implementation
digitalimplementer Jan 3, 2024
6e0a359
token release schedule chart initial implementation
digitalimplementer Jan 5, 2024
0613d6c
dashboard tables widgets initial implementation
digitalimplementer Jan 8, 2024
0ccdbf0
debugging
digitalimplementer Jan 8, 2024
c742696
client side dashboard carousel config changed
digitalimplementer Jan 8, 2024
7bd29bc
dashboard backers initial implementation
digitalimplementer Jan 10, 2024
3ae3d8f
backers fixes
digitalimplementer Jan 10, 2024
2bf4941
history stage card initial implementation
digitalimplementer Jan 11, 2024
a47ea93
token price chart data changed
digitalimplementer Jan 11, 2024
8bab1d1
scroll-related logic initial implementation
digitalimplementer Jan 12, 2024
505da66
scroll-related fixes
digitalimplementer Jan 12, 2024
9138f38
section focus debugging
digitalimplementer Jan 12, 2024
b5992f6
fixes
digitalimplementer Jan 12, 2024
f97c3e7
release schedule chart new features and fixes
digitalimplementer Jan 12, 2024
a939a6f
markdown formatter initial implementation
digitalimplementer Jan 16, 2024
a0ca397
history section initial implementation
digitalimplementer Jan 16, 2024
a33353b
fixes
digitalimplementer Jan 16, 2024
419996f
traction section initial implementation
digitalimplementer Jan 18, 2024
0a84e4d
fixes
digitalimplementer Jan 18, 2024
a4fae12
traction section final implementation
digitalimplementer Jan 18, 2024
05de211
dashboard contributions chart initial implementation
digitalimplementer Jan 19, 2024
8432205
engineering section initial implementation
digitalimplementer Jan 20, 2024
7256797
dashboard community followers initial implementation
digitalimplementer Jan 23, 2024
d5bed9e
dashboard community open events initial implementation
digitalimplementer Jan 23, 2024
743ef90
dashboard community open events implemented
digitalimplementer Jan 24, 2024
197927d
fixes
digitalimplementer Jan 24, 2024
28eb64e
fixes
digitalimplementer Jan 25, 2024
ba12326
token exchange section reworked
digitalimplementer Jan 25, 2024
30f7c84
fixes
digitalimplementer Jan 26, 2024
afb35cf
Merge pull request #789 from Joystream/development
bedeho Jan 30, 2024
2c7c7d9
team section initial implementation
digitalimplementer Jan 31, 2024
0aa44b5
comparison section initial imlementation; dashboard-page code moved
digitalimplementer Feb 1, 2024
03f7164
fixes
digitalimplementer Feb 1, 2024
e38e616
Merge pull request #791 from Joystream/development
bedeho Feb 1, 2024
7d9712d
roadmap section initial implementation
digitalimplementer Feb 2, 2024
792a028
potential fixes
digitalimplementer Feb 2, 2024
073f51a
Merge pull request #796 from Joystream/development
bedeho Feb 3, 2024
1431c19
initial api integration
digitalimplementer Feb 7, 2024
8a8e8fb
initially addressing feedback on ux
digitalimplementer Feb 9, 2024
ffb36de
Merge pull request #801 from Joystream/development
bedeho Feb 10, 2024
32b3d3e
Merge branch 'master' of https://github.com/digitalimplementer/joystr…
digitalimplementer Feb 12, 2024
097097d
Merge branch 'master' of https://github.com/digitalimplementer/joystr…
digitalimplementer Feb 12, 2024
01a1236
feedback on ux addressed; content placeholders replaced with text
digitalimplementer Feb 13, 2024
a8fac75
fixes
digitalimplementer Feb 13, 2024
b9e155b
dashboard-page component embedded in landing page
digitalimplementer Feb 14, 2024
9bd22cb
fixes
digitalimplementer Feb 14, 2024
ea1bb61
loading state handler initial implementation
digitalimplementer Feb 19, 2024
24ea3e8
fixes
digitalimplementer Feb 19, 2024
3e4bd18
token exchange options component reworked; readme updated
digitalimplementer Feb 20, 2024
9122c7d
mock data removed
digitalimplementer Feb 20, 2024
0dec11b
fallback values added
digitalimplementer Feb 20, 2024
fc9a973
feedback addressed
digitalimplementer Feb 21, 2024
867ea3a
ui/ux feedback addressed
digitalimplementer Feb 22, 2024
31c76b0
addressing remaining issues
digitalimplementer Feb 23, 2024
7573048
next council election progress bar reworked
digitalimplementer Feb 26, 2024
78da724
comparison section made dynamic; data fetching error handled
digitalimplementer Feb 28, 2024
8a636e3
console.log statements removed
digitalimplementer Feb 29, 2024
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
5 changes: 4 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@
"speak"
],
{ "unspecified": "bottomAlphabetical" }
]
],
"declaration-block-trailing-semicolon": null,
"length-zero-no-unit": null,
"declaration-block-single-line-max-declarations": null
}
}
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,33 @@ To edit members, one just needs to update the objects that are already there to
Things to keep note of:
- The verification page will use the `memberHandle` object property value as the route on the website for this specific profile. If that value is not a valid path value then the `substituteUserRoute` value is used instead. This should be removed when not in use.
- The safety list items and title have special strings as text (e.g., `verification.title.outreachSpecialist`). These strings are used to allow for internationalization and are replaced based off of the language set by the user with correct translations. To reference those that are already pre-written/available, you can find the translations for this page on here: `src/locales/en/verification.json` under `safety.can...` and `safety.willNever...`. If there isn't a translation that matches one that you want to add, you are free to create one with regular english language sentences and these translations will be created by the dev during the PR process.

------------

This section outlines the steps to control the visibility of the "History" section on the dashboard page.

#### Functionality:

- toggling the `historyHidden` flag, located in `/pages/dashboard/index.js`, controls the visibility of the "History" section on the dashboard;
- when the flag is set to `true`, the section is hidden, and the corresponding "History" anchor is removed from the navigation;
- conversely, setting the flag to `false` displays the section and adds the "History" anchor back to the navigation.

------------

This section details the process of populating the "History" section on the dashboard page with data retrieved from an API.

#### Data Parsing:

- `DashboardHistory` component expects data to be passed through the data prop;
- create a dedicated utility function within `src/components/dashboard-page/History/data.js` to handle API data parsing;
- this function should transform the raw API response into an array of objects structured as follows:
- `img` - URL of the image associated with the history entry;
- `date` - Date of the history entry;
- `shortDescr` - Short description of the history entry;
- `longDescr` - Optional longer description of the history entry;
- import the parsing function into `src/components/dashboard-page/History/data.js`;
- pass the fetched API data as an argument to the parsing function.

The function will return the processed data in the required format.

------------
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
},
},
},
'gatsby-plugin-anchor-links',
// 'gatsby-plugin-anchor-links',
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
{
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"gatsby-plugin-sass": "^5.25.0",
"gatsby-plugin-sharp": "^2.14.4",
"gatsby-plugin-split-css": "^2.0.3",
"gatsby-plugin-smoothscroll": "^1.2.0",
"gatsby-plugin-stylelint": "^3.2.0",
"gatsby-plugin-svgr": "^2.0.2",
"gatsby-source-filesystem": "^2.1.0",
Expand Down Expand Up @@ -59,6 +60,7 @@
"react-modal": "^3.8.2",
"react-player": "^2.6.0",
"react-plx": "^2.0.1",
"react-remark": "^2.1.0",
"react-responsive": "^9.0.0-beta.6",
"react-spring": "^8.0.27",
"react-waypoint": "^10.1.0",
Expand Down Expand Up @@ -104,7 +106,7 @@
"stylelint:fix": "stylelint \"src/**/*.scss\" --fix",
"lint:all": "yarn lint && yarn stylelint --fix",
"build": "NODE_OPTIONS=--openssl-legacy-provider gatsby build",
"develop": "NODE_OPTIONS=--openssl-legacy-provider gatsby develop",
"develop": "cross-env NODE_OPTIONS=--openssl-legacy-provider gatsby develop",
"format": "prettier --write src/**/*.{js,jsx}",
"start": "yarn develop",
"serve": "NODE_OPTIONS=--openssl-legacy-provider gatsby serve",
Expand Down
Binary file removed public/lightpaper.pdf
Binary file not shown.
Binary file removed public/lightpaper_ru.pdf
Binary file not shown.
1 change: 0 additions & 1 deletion public/verification.htm

This file was deleted.

Binary file added src/assets/images/dashboard/biconomy-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/dashboard/bitget-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/dashboard/bitmart-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/dashboard/founders/bedeho.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/dashboard/founders/mokhtar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/dashboard/gatel-o-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added src/assets/images/dashboard/mexc-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/dashboard/tweetscout-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/dashboard/working-groups/apps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/dashboard/working-groups/forum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/dashboard/working-groups/hr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/dashboard/xt-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/svg/dashboard/accent-pointer.svg
3 changes: 3 additions & 0 deletions src/assets/svg/dashboard/arrow-back.svg
3 changes: 3 additions & 0 deletions src/assets/svg/dashboard/cancel-rejected-icon.svg
16 changes: 16 additions & 0 deletions src/assets/svg/dashboard/chat-button-icon.svg

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/assets/svg/dashboard/check-accepted-icon.svg
5 changes: 5 additions & 0 deletions src/assets/svg/dashboard/chevron-right.svg
4 changes: 4 additions & 0 deletions src/assets/svg/dashboard/copy-link-icon.svg
3 changes: 3 additions & 0 deletions src/assets/svg/dashboard/custom-chart-dot.svg
5 changes: 5 additions & 0 deletions src/assets/svg/dashboard/dashboard-play-video-icon.svg
9 changes: 9 additions & 0 deletions src/assets/svg/dashboard/discord-logo.svg
9 changes: 9 additions & 0 deletions src/assets/svg/dashboard/empty-avatar.svg
5 changes: 5 additions & 0 deletions src/assets/svg/dashboard/error.svg
8 changes: 8 additions & 0 deletions src/assets/svg/dashboard/exchanger-icon.svg
3 changes: 3 additions & 0 deletions src/assets/svg/dashboard/exclamation-mark-icon.svg
Loading