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/humanize number helper #43

Merged
merged 4 commits into from
Jan 23, 2025
Merged

Conversation

paulocastellano
Copy link
Contributor

@paulocastellano paulocastellano commented Jan 23, 2025

This pull request includes several changes to improve code readability and functionality in both the backend and frontend. The most important changes include modifying the RedirectController to handle the $key parameter more flexibly, improving the layout and formatting in Vue components, and enhancing the number formatting utility in the helper file.

Backend Changes:

Frontend Changes:

  • resources/js/Pages/Link/Create.vue and resources/js/Pages/Link/Edit.vue: Improved the layout by adding a wrapper div with a flexbox layout and consistent indentation for Label and InputError components.
  • resources/js/Pages/Link/Index.vue: Removed redundant HTML and improved the display of click counts by using a helper function for number formatting. [1] [2]

Utility Enhancements:

  • resources/js/helper.js: Enhanced the kFormatter function to handle larger numbers and added support for formatting in billions and millions.

@paulocastellano paulocastellano merged commit ed91bb1 into main Jan 23, 2025
1 check passed
@paulocastellano paulocastellano deleted the feat/humanize-number-helper branch January 23, 2025 14:19
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