hexlet-rus / runit

Online Editor Form Embedding
https://runit.hexlet.ru/
Other
35 stars 121 forks source link

Bug: When copying snippets several times in a row, the word "copy" in the title stops being fully visible. #541

Closed ViktorSmiryagin closed 1 week ago

ViktorSmiryagin commented 2 months ago

Summary

When copying snippets sequentially, the word "copy" is not fully displayed. A possible solution is to add numbering to the copies or display the full snippet name on hover. Example: Test_code, Test_code copy, Test_code copy(2), and so on.

Screenshot 2024-08-19 at 00 23 52

Reproduction Steps

0. Ensure the user is logged in.
1. Create a snippet.
2. Click the "Save" button.
3. Go to the "My Snippets" section.
4. Make a copy of the last saved snippet (without changing its name).
5. Repeat steps 2-4 several times (4-5 times).

Expected Result

The name of each copied snippet should be fully displayed.

Actual Result

The snippet name exceeds the visible field boundary, and the word "copy" is not visible.

Screenshot 2024-08-19 at 00 30 37

Browsers

Chrome

OS

Mac


bobrov-site commented 2 months ago

@ViktorSmiryagin please rename your issue and change description for this tusk, because have new requirements from this ticket #527

ViktorSmiryagin commented 2 months ago

Hello, done) good luck with your work)

Сб, 24 авг. 2024 г. в 22:04, Daniil Bobrov @.***>:

@ViktorSmiryagin https://github.com/ViktorSmiryagin please rename your issue and change description for this tusk, because have new requirements from this ticket #527 https://github.com/hexlet-rus/runit/issues/527

By the way, I can handle this tusk. I will get the task

— Reply to this email directly, view it on GitHub https://github.com/hexlet-rus/runit/issues/541#issuecomment-2308499441, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHOTKZN4J7GSU6QY47OLI53ZTDKMLAVCNFSM6AAAAABMWWSRZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGQ4TSNBUGE . You are receiving this because you were mentioned.Message ID: @.***>