Closed lilitkarapetyan closed 1 month ago
@IanMayo @lilitkarapetyan Now I can't send message without input values from the second time. But it's enable to send on the first time (After login user role on play game). => It should the same for all times.
https://github.com/serge-web/serge/assets/107697044/c42c99d1-da48-4658-b025-717cef982d4d
@IanMayo @lilitkarapetyan Now I can't send message without input values from the second time. But it's enable to send on the first time (After login user role on play game). => It should the same for all times.
cannot-send-empty-message-on-second-time.mp4
@lilitkarapetyan I still get same issue as before.
@IanMayo @lilitkarapetyan Now I can't send message without input values from the second time. But it's enable to send on the first time (After login user role on play game). => It should the same for all times. cannot-send-empty-message-on-second-time.mp4
@lilitkarapetyan I still get same issue as before.
Should we be able to send a message without input values ?
@IanMayo @lilitkarapetyan Now I can't send message without input values from the second time. But it's enable to send on the first time (After login user role on play game). => It should the same for all times. cannot-send-empty-message-on-second-time.mp4
@lilitkarapetyan I still get same issue as before.
Should we be able to send a message without input values ?
Yes, I think so. It depends on the input field is optional or not. And if we can't send message without input, it should be the same for all time. Currently, after login to game play, I can send message without input, but the second, I can't ( As above video) .
Ok. I don't have a strong feeling about whether we allow empty messages or not. I'm happy with the easiest
solution. But, we should have consistent behaviour across whether the user has just opened the channel, or if they have already sent messages.
@IanMayo @lilitkarapetyan Now I can't send message without input values from the second time. But it's enable to send on the first time (After login user role on play game). => It should the same for all times. cannot-send-empty-message-on-second-time.mp4
@lilitkarapetyan I still get same issue as before.
Should we be able to send a message without input values ?
Yes, I think so. It depends on the input field is optional or not. And if we can't send message without input, it should be the same for all time. Currently, after login to game play, I can send message without input, but the second, I can't ( As above video) .
I Think after my last commit, it doesn't let me send a message without typing. I will investigate it now.
@IanMayo @lilitkarapetyan Now I can't send message without input values from the second time. But it's enable to send on the first time (After login user role on play game). => It should the same for all times. cannot-send-empty-message-on-second-time.mp4
@lilitkarapetyan I still get same issue as before.
Should we be able to send a message without input values ?
Yes, I think so. It depends on the input field is optional or not. And if we can't send message without input, it should be the same for all time. Currently, after login to game play, I can send message without input, but the second, I can't ( As above video) .
I Think after my last commit, it doesn't let me send a message without typing. I will investigate it now.
Yes, This is the screencast for latest code. I can send message at first time after login.
https://github.com/serge-web/serge/assets/107697044/e4c5699b-d1e7-4f24-8639-9ce956a2ee0d
@IanMayo I think To solve this problem, we need to retrieve the value of jsonEditor
every time it is accessed. but the ways to do this will be different depending on whether we are in the develop branch or 2892_Edit_templates_in_admin_pages
.
We should utilize the value of jsonEditor
upon its initial call, ensuring that the formMessage
value is updated to match the content of our form.
in wich branch should I make the change ?
@IanMayo I think To solve this problem, we need to retrieve the value of
jsonEditor
every time it is accessed. but the ways to do this will be different depending on whether we are in the develop branch or2892_Edit_templates_in_admin_pages
.We should utilize the value of
jsonEditor
upon its initial call, ensuring that theformMessage
value is updated to match the content of our form.
Sure, ok. I don't think it's worth fixing this particular part of the issue in develop
. So, @lilitkarapetyan - how about merging edit templates
branch into this, and fixing it relative to that branch?
@IanMayo I think To solve this problem, we need to retrieve the value of
jsonEditor
every time it is accessed. but the ways to do this will be different depending on whether we are in the develop branch or2892_Edit_templates_in_admin_pages
. We should utilize the value ofjsonEditor
upon its initial call, ensuring that theformMessage
value is updated to match the content of our form.Sure, ok. I don't think it's worth fixing this particular part of the issue in
develop
. So, @lilitkarapetyan - how about mergingedit templates
branch into this, and fixing it relative to that branch?
I think so. but I thnk we could also fix the issues in the 2892_Edit_templates_in_admin_pages branch
@lilitkarapetyan @IanMayo It shows as the error 'must match format "Time"' although the default value is correct format.
https://github.com/serge-web/serge/assets/107697044/28c1a754-97b8-4ff6-b87b-d8a400983f0b
@lilitkarapetyan @IanMayo
Now I can send message without error about time format and send new message without input, it will not get the same content which the last message => It works as expected.
https://github.com/serge-web/serge/assets/107697044/b11bf4dc-9f07-4af0-8a02-c03670b8afa4
@IanMayo The fixing for ticket is works fine now. But we merge this fixing, it will merge all changes from 2892_Edit_templates_in_admin_pages
. And that branch is still not done. Just remind if you forget that.
fixes #2963
Fixes #2963
π§° Issue
π Overview:
π Link to preview
π€ Reason:
π¨Work carried out:
π₯οΈ Screenshot
Confirmations
π Developer Notes: