Skip to content

Standarize component registration pascal case#200

Merged
tarekio merged 3 commits intomainfrom
standarize-component-registration-pascal-case
Oct 3, 2025
Merged

Standarize component registration pascal case#200
tarekio merged 3 commits intomainfrom
standarize-component-registration-pascal-case

Conversation

@apodacaduron
Copy link
Contributor

Jira Issue

  1. [Add links to jira issues]

Description

Issue

Vue.js component registrations throughout the codebase were using inconsistent naming conventions, mixing kebab-case and PascalCase patterns (app.component('mix-i', MixI). This inconsistency made the code harder to maintain and didn't follow Vue.js 3 best practices for component registration.

Solution

  • Standardized all component registrations to use PascalCase naming convention
  • Updated component registrations across all HTML templates from kebab-case to PascalCase (e.g., 'geo-map' → 'GeoMap')
  • Renamed component files to support PascalCase registration and improve clarity:
    • MixI.js → MixYesNoField.js
    • MixII.js → MixSelectField.js
    • MixIII.js → MixReportersField.js
    • MPCard.js → MissingPersonCard.js
    • MPField.js → MissingPersonField.js
    • Updated all script imports to reference the new file names

Checklist

  • Tests added/updated
  • Documentation updated (if needed)
  • New strings prepared for translations

API Changes (if applicable)

  • Permissions checked
  • Endpoint tests added

Additional Notes

[Any other relevant information]

@coderabbitai
Copy link

coderabbitai bot commented Sep 29, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch standarize-component-registration-pascal-case

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Collaborator

@level09 level09 left a comment

Choose a reason for hiding this comment

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

Everything looks good + good improvement on Mix component naming 👍

@tarekio tarekio merged commit 11278cc into main Oct 3, 2025
9 checks passed
@tarekio tarekio deleted the standarize-component-registration-pascal-case branch October 3, 2025 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants