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

feat: created a new crypto page #330

Closed
wants to merge 3 commits into from
Closed

feat: created a new crypto page #330

wants to merge 3 commits into from

Conversation

karthiknadar1204
Copy link

preview_1.mp4

The above is the preview of the page we access on clicking the "cryptocurrencies" link on navbar. This is perfectly responsive.

preview_2.mp4

The second preview is of the page I have created for individual coins displaying the graph and other info of individual coins,I haven't made this page responsive , Could you please open a separate issue for someone else to make the second page responsive. Hope that's fine.

In the above issue, I have created a basic skeleton of the cryptocurrencies page using the coingecko API, the page still has a lot of scope for improvement , can be done for sure.

The API call might get hindered sometimes as we are using a free api, just go to COinDetails.jsx, comment out the info coming from API, reload and then uncomment..

Closes issue #305

@karthiknadar1204
Copy link
Author

Have resolved a merge conflict

@royalpinto007
Copy link
Member

Hi @karthiknadar1204,
Maybe we can add all of this information to the 'Learn More' section of the cryptocurrencies page instead of the main cryptocurrencies page.
The charts don't seem great, so you can exclude them.
Please update it, thanks!

@karthiknadar1204
Copy link
Author

Ok so remove the charts and shift the links of cards in preview1.mp4 to learn more, is that right?

@karthiknadar1204
Copy link
Author

Will do and push changes right away

@royalpinto007
Copy link
Member

Also make sure, you don't change anything in the cryptocurrencies page.

@karthiknadar1204
Copy link
Author

Will remove any additional files, I was about to add a loader but then forgot to delete the file.
ANything extra?

@karthiknadar1204
Copy link
Author

@royalpinto007 WIll push the changes by 4:15 and ping you
Thank you

@royalpinto007
Copy link
Member

No issues!

@karthiknadar1204
Copy link
Author

@royalpinto007 I have removed the graph, as for creating a section in learn more, I was thinking of keeping the links as it is, for learn more we could add something else in the near future, it could include info about what is crypto and stuff, what do you say, now changing the path to learn more will involve plethora of complex changes in the path.

Your opinion?

@karthiknadar1204
Copy link
Author

Screenshot 2023-06-25 at 5 26 19 PM

I have removed the graph but when pushing the changes, it is showing behind the main branch, tried to pull the changes but still showing error

@royalpinto007
Copy link
Member

But the thing is, we have more data already present on the page that has been created. We just need to customize and style it properly. You can refer to this page for more insights on how we actually want to implement things for this page: https://coinmarketcap.com/

We can keep your cards in the "Learn More" section, as they don't provide significant information.
I hope you understand.
Thanks.

@royalpinto007 I have removed the graph, as for creating a section in learn more, I was thinking of keeping the links as it is, for learn more we could add something else in the near future, it could include info about what is crypto and stuff, what do you say, now changing the path to learn more will involve plethora of complex changes in the path.

Your opinion?

@karthiknadar1204
Copy link
Author

works

@karthiknadar1204
Copy link
Author

Screenshot 2023-06-25 at 5 26 19 PM I have removed the graph but when pushing the changes, it is showing behind the main branch, tried to pull the changes but still showing error

For this issue, for now merge this pr if possible, in my next or, will remove the graph and add the cards to the learn more link as for the change in links, have to alter the routes in App.jsx and already facing issues with pushing the changes after removing the graph, so at least will pull these changes before pushing more

@karthiknadar1204
Copy link
Author

Dont want to be riddled with unnecessary branch conflicts, the present changes itself involved writing plethora of code, the second cohort of changes should be done latest by tonight or tomorrow afternoon, is that fine @royalpinto007

@royalpinto007
Copy link
Member

Let me check this, thanks for updating!

@royalpinto007
Copy link
Member

royalpinto007 commented Jun 25, 2023

Could you please create a video showcasing the changes that you have made and add it to the description?
Thanks!

@karthiknadar1204
Copy link
Author

In a min, just got rid of the graph in my change

@karthiknadar1204
Copy link
Author

Screenshot 2023-06-25 at 5 46 20 PM

@karthiknadar1204
Copy link
Author

karthiknadar1204 commented Jun 25, 2023

The info could be beautified, but here I was focussed on getting up the main functionality via the api

@royalpinto007
Copy link
Member

I agree, but don't you think we can obtain the same data in the form of a table through the TradingView API as well? (present)
It's just a matter of styling it a bit.

@karthiknadar1204
Copy link
Author

Definitely possible, coingecko was easier to integrate and work with with the variety of info it had to offer plus I had experience working with it in earlier projects so thought it was a viable option.

@karthiknadar1204
Copy link
Author

For a tabular view, we can style the incoming info from the API as well, wouldn't make much difference is what I think.

@karthiknadar1204
Copy link
Author

@royalpinto007 Good to go?
If yes, will open another issue to remove the graph and change the path for the links, tried pushing it to the same branch but branch conflicts and issues while trying to pull into my cloned repo.
Once this is merged and labelled, will pull these changes and wrap up the pertaining tasks in the second issue, how does that sound?
Also can additionally improve the styling according to your ideas/tastes.
Works?

@karthiknadar1204
Copy link
Author

@royalpinto007 Any update?
I think i have done pretty good work for the starters, will continue changes , but yes.

@karthiknadar1204
Copy link
Author

@royalpinto007 Any update?
Please merge this so can move forward with improving the feature

@royalpinto007 royalpinto007 self-requested a review July 5, 2023 05:53

const Cryptocurrencies = () => {
return (
<div>
<Navbar />
<Header />
<br />
<Widget1 />
Copy link
Member

Choose a reason for hiding this comment

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

Not sure why the space is removed, please update it, thanks!

Copy link
Member

Choose a reason for hiding this comment

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

An empty file, please delete this, doesn't seem to be a part of this PR!

Copy link
Member

Choose a reason for hiding this comment

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

Charts aren't supposed to be a part of this as already mentioned, please update this, thanks!

Copy link
Member

Choose a reason for hiding this comment

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

I'm not quite sure why the change has been made here, adding the same content once again.
Please let me know the reason behind this so that we can proceed further.
Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

The change isn't supposed to be made to this file. If you want to add a widget, please create a separate file for it instead of modifying the existing file. Please update accordingly. Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

Again the change isn't supposed to be made to this file. If you want to add a widget, please create a separate file for it instead of modifying the existing file. Please update accordingly. Thanks!

@karthiknadar1204
Copy link
Author

Thank you for the review @royalpinto007
WIll resolve all this and wrap up the entire issue by this weekend.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants