Closed Bug 1402359 Opened 7 years ago Closed 6 years ago

[meta] Use proper naming convention for react component files

Categories

(DevTools :: General, enhancement, P4)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Honza, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

All react component files in DevTools should use camelCase/PascalCase naming convention. This is the standard in React community and many of the DevTools component files already follow this rule.

See also https://github.com/devtools-html/rfcs/issues/17

This is meta report covering the refactoring goal. Please file follow up bugs as necessary.

Honza
Depends on: 1402386
Depends on: 1402387
Depends on: 1402389
Depends on: 1402390
Depends on: 1402391
Depends on: 1402394
Depends on: 1402397
(In reply to Jan Honza Odvarko [:Honza] from comment #0)
> This is meta report covering the refactoring goal. Please file follow up
> bugs as necessary.
I think I filed all of them, but feel free to add more if I missed some components.
I set them all as good-first-bugs and set myself as mentor because I think they're all pretty straightforward changes for people who want to learn about putting the dev environment in place.
Feel free to steal mentorships if you want.
Excellent!

Honza
I would like to start contributing to the new Devtools (I worked with previous non-react tools). May I start with this issue?
(In reply to migueluseche from comment #3)
> I would like to start contributing to the new Devtools (I worked with
> previous non-react tools). May I start with this issue?
Sure, thank you for your interest.
This particular bug is what we call a "meta" bug. That means it's a sort of parent bug that we use only for grouping children bugs.
If you look at the top, in the "depends on" list, you will see the actual children bugs where work needs to happen.
I suggest you look at bug 1402386 or bug 1402387 or bug 1402390 or bug 1402391. Those are not being worked on by anyone yet.
Priority: -- → P4
All children bugs are now fixed.
Thanks everyone who contributed.
Let's close this meta bug.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Depends on: 1411199
Depends on: 1452060
Depends on: 1452061
Depends on: 1452062
Depends on: 1452064
Found a few more folders that have not been migrated, reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I found that there are multiple components that should be renamed and updated at /devtools/client/framework/ I don't see an bug for this folder.
Product: Firefox → DevTools
(In reply to migueluseche from comment #7)
> I found that there are multiple components that should be renamed and
> updated at /devtools/client/framework/ I don't see an bug for this folder.

I think that was handled by https://bugzilla.mozilla.org/show_bug.cgi?id=1452060, feel free to file another bug blocking this one if we missed something!
My mistake, I tough I saw components inside that /framework folder, everything is ok.
Status: REOPENED → RESOLVED
Closed: 7 years ago6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.