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: add composables for migration and update portal settings #9299

Merged
merged 39 commits into from Apr 30, 2024

Conversation

scmmishra
Copy link
Member

@scmmishra scmmishra commented Apr 25, 2024

This PR updates portal settings to use the new composition API along with the <script setup> syntax. This PR is supposed to be a reference on how to migrate existing views to Vue 3 compatible syntax without breaking any functionality

Core changes

  • Add composable for store
  • Add composable for route
  • Add composable for showAlert
  • Add composable for $track

Portal Changes

  • Fix layout spacing in the settings page
  • Set max width to 5xl for tables and 2xl for forms
  • Use <script setup> syntax wherever possible
  • Move styles to tailwind wherever possible
  • Move portalMixin to a composable (Not sure if this is possible :P) Can do in a separate PR

The useI18n was already added in a separate PR here

@scmmishra scmmishra temporarily deployed to chatwoot-pr-9299 April 26, 2024 08:11 Inactive
@scmmishra scmmishra marked this pull request as ready for review April 28, 2024 13:58
@scmmishra scmmishra requested a review from muhsin-k April 29, 2024 06:48
Base automatically changed from feat/upgrade-vue-validate to develop April 29, 2024 11:30
@scmmishra scmmishra merged commit 705f8ef into develop Apr 30, 2024
15 of 16 checks passed
@scmmishra scmmishra deleted the feat/refactor-hc-composition branch April 30, 2024 04:43
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.

None yet

4 participants