Plots2: camelCase JavaScript Asset Filenames

Created on 6 Feb 2021  ยท  4Comments  ยท  Source: publiclab/plots2

See this comment thread.

Some of the JS assets use camelCase naming convention, while others use underscore_filename convention:
106628319-b9adcf00-658a-11eb-8af8-c780e5bcdc57

Let's standardize them and use camelCase since that's the JS way! These make great first-timer-only issues. (I definitely welcome help in making these!)

Don't forget to do a search in your IDE for wherever the file is required. For example, some of these are loaded in config/initializers/assets.rb.

Completed

  • [x] advanced_search.js

    • [x] ๐Ÿ” [open issue #9141]

    • [x] ๐Ÿ™‹ [claimed by @Hari-tn67]

    • [x] โ— [PR #9163]

    • [x] ๐ŸŽ‰ [merged on 2/10!]

  • [x] async_tag_subscriptions.js

    • [x] ๐Ÿ” [open issue #9142]

    • [x] ๐Ÿ™‹ [claimed by @katiebankhead on 2/13]

    • [x] โ— [PR #9194]

    • [x] ๐ŸŽ‰ [merged on 2/14!]

  • [x] atwho_autocomplete.js

    • [x] ๐Ÿ” [open issue #9143]

    • [x] ๐Ÿ™‹ [claimed by @shadowoflight on 2/13]

    • [x] โ— [PR #9192]

    • [x] ๐ŸŽ‰ [merged on 2/15!]

  • [x] comment_expand.js

    • [x] ๐Ÿ” [open issue #9144]

    • [x] ๐Ÿ™‹ [claimed by @manchere on 2/16]

    • [x] โ— [open PR #9206]

    • [x] ๐ŸŽ‰ [merged on 2/16!]

  • [x] header_footer.js

    • [x] ๐Ÿ” [open issue #9146]

    • [x] ๐Ÿ™‹ [claimed by @StellaWanja on 2/7]

    • [x] โ— [PR #9156]

    • [x] ๐ŸŽ‰ [merged on 2/9!]

  • [x] leaflet_helper.js

    • [x] ๐Ÿ” [open issue #9147]

    • [x] ๐Ÿ™‹ [claimed by @redwan-mahmud on 2/11]

    • [x] โ— [PR #9147]

    • [x] ๐ŸŽ‰ [merged on 2/15!]

  • [x] main_image.js

    • [x] ๐Ÿ” [open issue #9148]

    • [x] ๐Ÿ™‹ [claimed by @larabee7777 on 2/11]

    • [x] โ— [open PR #9201]

    • [x] ๐ŸŽ‰ [merged on 2/16!]

  • [x] noty_notification.js

    • [x] ๐Ÿ” [open issue #9149]

    • [x] ๐Ÿ™‹ [claimed by @akshay4n on 2/21]

    • [x] โ— [PR #9223]

    • [x] ๐ŸŽ‰ [ready to merge!]

  • [x] restful_typeahead.js

    • [x] ๐Ÿ” [open issue #9150]

    • [x] ๐Ÿ™‹ [claimed by @ghostoverflow on 2/21]

    • [x] โ— [PR #9228]

    • [x] ๐ŸŽ‰ [merged on 2/23!]

  • [x] submit_form_ajax.js

    • [x] ๐Ÿ” [open issue #9151]

    • [x] ๐Ÿ™‹ [claimed by @StreakSharn on 2/7]

    • [x] โ— [PR #9157]

    • [x] ๐ŸŽ‰ [merged on 2/9!]

  • [x] textbox_expand.js

    • [x] ๐Ÿ” [open issue #9152]

    • [x] ๐Ÿ™‹ [claimed by @Nagsenwaghmare on 2/8]

    • [x] โ— [PR #9153]

    • [x] ๐ŸŽ‰ [merged on 2/9!]

๐Ÿ”ฌ Needs Further Research

  • simple-data-grapher.js

    • This seems to be one of Public Lab's own external packages that we require in package.json?

    • May not be so easy to change this one, or out-of-scope for an FTO.

break-me-up fto-candidate

Most helpful comment

@larabee7777 You've already completed one of these first-timer-only issues (#9148). I think generally each person gets only one FTO issue.

If you're looking for another way to contribute, you could browse through our help wanted issues. OR you could also help someone else get through their own FTO issue. maybe the two open issues above? You could leave a comment there seeing if they need any help.

You can also make your own FTO issue. We have a bunch of first-timer-only candidate issues that need to be broken down and formatted into FTO issues.

Ah ok I see thanks so much I will check out the other issues :)

All 4 comments

Hi do you need help here?

@larabee7777 You've already completed one of these first-timer-only issues (#9148). I think generally each person gets only one FTO issue.

If you're looking for another way to contribute, you could browse through our help wanted issues. OR you could also help someone else get through their own FTO issue. maybe the two open issues above? You could leave a comment there seeing if they need any help.

You can also make your own FTO issue. We have a bunch of first-timer-only candidate issues that need to be broken down and formatted into FTO issues.

@larabee7777 You've already completed one of these first-timer-only issues (#9148). I think generally each person gets only one FTO issue.

If you're looking for another way to contribute, you could browse through our help wanted issues. OR you could also help someone else get through their own FTO issue. maybe the two open issues above? You could leave a comment there seeing if they need any help.

You can also make your own FTO issue. We have a bunch of first-timer-only candidate issues that need to be broken down and formatted into FTO issues.

Ah ok I see thanks so much I will check out the other issues :)

Okay, I think with the two PRs that got merged today, we can close this issue!!! Thanks to everyone who made their first PRs and helped us with this! @Hari-tn67 @katiebankhead @shadowoflight @manchere @StellaWanja @redwan-mahmud @larabee7777 @akshay4n @ghostoverflow @StreakSharn @Nagsenwaghmare ๐Ÿ† ๐ŸŽ‰ ๐Ÿพ

If any of you would like to help out some more, or get more experience in open source, check out https://code.publiclab.org/. Feel free to check out our help wanted issues, create your own first-timer-only issue, do code review... You can also ask for help setting up plots2 locally, try to find bugs, or write issues. And if you haven't checked us out on Gitter, please do!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

milaaraujo picture milaaraujo  ยท  3Comments

bronwen9 picture bronwen9  ยท  3Comments

noi5e picture noi5e  ยท  3Comments

keshavsethi picture keshavsethi  ยท  3Comments

first-timers[bot] picture first-timers[bot]  ยท  3Comments