serge-web / serge

Serious Gaming, Evolved - web interface
https://sites.google.com/deepbluec.com/serge/
Apache License 2.0
14 stars 4 forks source link

2913_Filter_SIDC_should_not_an_edit_field #2989

Closed lilitkarapetyan closed 1 week ago

lilitkarapetyan commented 3 weeks ago

🧰 Issue

πŸš€ Overview:

πŸ”— Link to preview

πŸ€” Reason:

πŸ”¨Work carried out:

πŸ–₯️ Screenshot

Confirmations

πŸ“ Developer Notes:

lilitkarapetyan commented 3 weeks ago

Fixes #2913

Tristina1788 commented 3 weeks ago

@lilitkarapetyan @IanMayo I still can see 'Edit' button on 'SIDC' filter

image

lilitkarapetyan commented 3 weeks ago

@lilitkarapetyan @IanMayo I still can see 'Edit' button on 'SIDC' filter

image We should not see the edit button when using the filter ?

Tristina1788 commented 3 weeks ago

@lilitkarapetyan @IanMayo I still can see 'Edit' button on 'SIDC' filter image We should not see the edit button when using the filter ?

Yes, I think so. We just need to input sidc ID to filter. @IanMayo How do you think?

IanMayo commented 2 weeks ago

Hello @Tristina1788 - I'm playing in this branch, but there are no features on the mapping tab, and when I log in as Game Designer I can't add any new features. I see the new message for the new feature being sent to the server, but they do not get displayed. Does it work for you?

lilitkarapetyan commented 2 weeks ago

Hello @Tristina1788 - I'm playing in this branch, but there are no features on the mapping tab, and when I log in as Game Designer I can't add any new features. I see the new message for the new feature being sent to the server, but they do not get displayed. Does it work for you?

I will look now

lilitkarapetyan commented 2 weeks ago

No, it doesn't work for me, but I think the branch is not the problem.

Tristina1788 commented 2 weeks ago

Hello @Tristina1788 - I'm playing in this branch, but there are no features on the mapping tab, and when I log in as Game Designer I can't add any new features. I see the new message for the new feature being sent to the server, but they do not get displayed. Does it work for you?

@IanMayo , @lilitkarapetyan We need to login by user Red - Red2 to enable create new item( Umpire force doesn't have permission for create item)

image

Tristina1788 commented 2 weeks ago

@lilitkarapetyan @IanMayo We also have the issue on filter SIDC, it's unable to filter with default SIDC.

https://github.com/serge-web/serge/assets/107697044/9f0f9a57-e75c-44a9-8178-317d1b29ecbb

IanMayo commented 2 weeks ago

need to login by user Red - Red2 to enable create new item( Umpire force doesn't have permission for create item)

Yes, working correctly as red player @Tristina1788 :-)

Yes, I also saw that supplying a valid SIDC for the filter does not match with any features. That's for you, please @lilitkarapetyan

IanMayo commented 2 weeks ago

@lilitkarapetyan @IanMayo I still can see 'Edit' button on 'SIDC' filter

Yes - it's valid to have the Edit button on the SIDC filter, to open the dialog used to generate the SIDC filter

Tristina1788 commented 2 weeks ago

@lilitkarapetyan @IanMayo I think we don't need to remove 'Edit' button as Ian 's comment above

Now when I filter for sidc which is not default, it also shows the core shape item . And filter with sidc which is default, it shows all items include another sidc.

=> We should show only the milsym which contains the filter sidc

https://github.com/serge-web/serge/assets/107697044/5b8720a6-69fb-474a-ab62-0d26632754aa

Tristina1788 commented 2 weeks ago

@lilitkarapetyan @IanMayo Now the filter sidc still don't have 'Edit' button ( we should have this button as Ian's expected).

https://github.com/serge-web/serge/assets/107697044/2d9d0578-7c87-4c37-baec-dbe6672b918b

Tristina1788 commented 1 week ago

@lilitkarapetyan @IanMayo Now Sidc filter has 'Edit' button. But 'Id' filter is disabled

image

And these below issues are still happened.

Filter sidc with exact code => the result of filter is the milsym has that code and core shape (Should only show milsym has that code). Filter with contains some string sidc code can't work (the filter should show the milsym which contains string in sidc filter)

IanMayo commented 1 week ago

Ok, I think it's ready for you to re-test, please @Tristina1788

Tristina1788 commented 1 week ago

@lilitkarapetyan @IanMayo Now I can filter Sidc with contains code or equal code. But the 'Id' filter is still disabled.

image

lilitkarapetyan commented 1 week ago

@lilitkarapetyan @IanMayo Now I can filter Sidc with contains code or equal code. But the 'Id' filter is still disabled.

image

ahh it wasn't pushed ;) I added it

Tristina1788 commented 1 week ago

@lilitkarapetyan @IanMayo Now I can filter with contains / equal sidc and 'Edit' to filter custom sidc well. The 'Id' filter is enable to use.

https://app.screencast.com/5aNMCqa9fhRh1

It works as expected. So we can close this PR.