nuclear icon indicating copy to clipboard operation
nuclear copied to clipboard

added functionality to edit artist/title for tracks in a playlist

Open O1af opened this issue 11 months ago • 4 comments

Description: I have been working on this for the past few days and seem to have a working solution for #1735 The changes allow users to edit the artist or title field in a playlist by double-clicking it. When double-clicked, the field temporarily converts into an editable textbox, allowing users to make changes which are then saved.

Specifically, I have:

Added extra components for each field, which are wrappers on the existing titleCell and TextCell components. These components handle the conversion to editable textboxes and saving the changes. Ensured that the implementation does not introduce significant complexity. Request for Guidance:

Functionality seems to work when i manually test,however when running npm test i fail some of the snapshot tests(@nuclear/app:test). Was wondering if this is due to the additional functionality or if i did something wrong during development.

I would appreciate guidance on what tests to write for this new functionality. Specifically, I am looking for advice on: The types of tests that would be most valuable (e.g., unit tests, integration tests). Any edge cases or scenarios that I should be mindful of when writing these tests.

Please let me know if there are any additional details or changes needed before submission.

O1af avatar Nov 16 '24 18:11 O1af