Skip to content

Reimplement setPack and setName Commands #19

@sergiooak

Description

@sergiooak

This pull request aims to reimplement the setPack and setName commands. These commands previously allowed users to save their input for sticker creation, ensuring the saved name and pack were automatically placed. After rolling back to W Web JS, this functionality was lost, and we aim to restore it.

Background

Before the rollback to W Web JS, we had a convenient feature where users could use the setPack and setName commands to save their desired pack name and sticker name. This saved input was then automatically applied when creating new stickers. Reintroducing this feature will enhance user experience by reducing repetitive input tasks.

Changes

  • Reimplementation of the setPack command to save the user's desired pack name.
  • Reimplementation of the setName command to save the user's desired sticker name.
  • Ensure that these saved values are automatically used when creating new stickers.

Testing Checklist

  • Use the setPack command to set a pack name.
  • Use the setName command to set a sticker name.
  • Create a new sticker and verify that the saved pack name is automatically applied.
  • Create a new sticker and verify that the saved sticker name is automatically applied.
  • Test various scenarios to ensure stability and correct functionality.
    • Change the pack name to null and verify the update.
    • Change the sticker name to null and verify the update.
    • Use other sticker commands and ensure the name are right

Expected Outcome

Users should be able to save their preferred pack and sticker names using the setPack and setName commands, and these values should be automatically used during sticker creation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions