Giter Club home page Giter Club logo

Comments (13)

romain-fontugne avatar romain-fontugne commented on August 18, 2024

Yes, that's a mess, sorry!
Thanks for working on that.

from ihr-website.

Aniket762 avatar Aniket762 commented on August 18, 2024

Thanks for pointing out @akib22, sorry from my end as I didn't check on the consistency while adding the file.

PS. Tomar kichu lagle janiyo :)

from ihr-website.

akib22 avatar akib22 commented on August 18, 2024

Welcome both of you @romain-fontugne and @Aniket762.

Ami obbossoy janabo tomake :) @Aniket762 do you know Bengali?

from ihr-website.

Aniket762 avatar Aniket762 commented on August 18, 2024

Welcome both of you @romain-fontugne and @Aniket762.

Ami obbossoy janabo tomake :) @Aniket762 do you know Bengali?

@akib22 Yups, ami bangali, abhi durgapur, west bengal, India te thaki 🙈

from ihr-website.

akib22 avatar akib22 commented on August 18, 2024

Welcome both of you @romain-fontugne and @Aniket762.
Ami obbossoy janabo tomake :) @Aniket762 do you know Bengali?

@akib22 Yups, ami bangali, abhi durgapur, west bengal, India te thaki 🙈

Great to hear that you are Bangali.

from ihr-website.

akib22 avatar akib22 commented on August 18, 2024

In eslint, "Component name "Networks" should always be multi-word" giving this error. For details about this rule vue/multi-word-component-names.

screenshot

@romain-fontugne any suggestion about this error, what should I follow?

from ihr-website.

romain-fontugne avatar romain-fontugne commented on August 18, 2024

Yes, I have seen this for several of our components. Maybe now is a good time to rename all components that have this error.
I don't have a strong opinion about how to fix this and I am not sure about what are the best practices.

One possibility is to rename things like this:
Api: ApiView
Contact: ContactView
Corona: CoronaReport
Countries: CountryReport
Documentation: DocumentationView
Footer: AppFooter
Header: AppHeader
Home: HomeView
Networks: NetworkReport
ROV: ROVReport

Basically everything that ends with 'View' are simple pages and those ending with 'Report' are based on dynamically generated content from the API.
But as I said I am open to suggestions.

from ihr-website.

akib22 avatar akib22 commented on August 18, 2024

Thank you, I am going with your suggestions.

Inside src/components/ripe/ directory, initTracemon, ripestat, and initLatencymon functions are uesed. I can't find any defination for those function. I think those are errors. Can you please clarify @romain-fontugne? Also please suggest name for those components.

code screenshot

from ihr-website.

romain-fontugne avatar romain-fontugne commented on August 18, 2024

All these functions are defined in libraries that are loaded when needed. For example, initLatencymon is defined here "https://atlas.ripe.net/resource/latencymon/latencymon-widget-main.js". See src/main.js.
I guess we can just ignore these errors.

Let's rename them like this:
BgplayWidget
LatencymonWidget
TracemonWidget

Thanks!

from ihr-website.

akib22 avatar akib22 commented on August 18, 2024

Thank you for your clarifications. I ignored those errors and updated those component names. As well as open the #54 for review.

from ihr-website.

romain-fontugne avatar romain-fontugne commented on August 18, 2024

Thanks, the code looks a lot better. I merged the pull request, there was two 'test' text in GlobalReport I have removed them otherwise it looked good.

But I don't see the components renaming? have pushed your latest changes?

from ihr-website.

akib22 avatar akib22 commented on August 18, 2024

Sorry for the late response.
Actually, I added the component name inside the script tag instead of renaming the filename. Because If I rename the filenames, then there will have a chance to remove others' latest changes.

from ihr-website.

romain-fontugne avatar romain-fontugne commented on August 18, 2024

OK, I see. thanks!

from ihr-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.