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

Add a unique_id field for identifiying conversations #914

Merged
merged 3 commits into from
Sep 16, 2024

Commits on Sep 16, 2024

  1. Add a unique_id field to the conversation object

    - This helps us keep track of the unique identity of the conversation without expose the internal id
    - Create three staged migrations in order to first add the field, then add unique values to pre-fill, and then set the unique constraint. Without this, it tries to initialize all the existing conversations with the same ID.
    sabaimran committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    ac8a762 View commit details
    Browse the repository at this point in the history
  2. Parse and utilize the unique_id field in the query parameters of the …

    …front-end view
    
    - Handle the unique_id field when creating a new conversation from the home page
    - Parse the id field with a lightweight parameter called v in the chat page
    - Share page should not be affected, as it uses the public slug
    sabaimran committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    42f624a View commit details
    Browse the repository at this point in the history
  3. Fix suggested card category

    sabaimran committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    4a5d528 View commit details
    Browse the repository at this point in the history