Open medhatelmasry opened 6 months ago
I think it's a script src problem. because we don't have knockout.js file in specific path of script tag. So, I just added jquery, bootstrap src. and then, it solved.
what should we use src? because, we will upgrade ui using blazor.
Great that you got it working with jQuery. Let us go with it because, at the moment, I just want everything to work. The longer term plan to change everything to Blazor. This is perfect for this moment. Go ahead and push your code and make a pull request.
I think the solution above is temporary. when i look closely at the code, there is probelm about bootstrap.min.js in _Layout_bootstrap.cshtml.
boostrap version 3.2.0 works. but anther version does not work.
This issue is related to issue 26, which suggests that we convert this page to Blazor. As it stands, we either made the various tabs do something with the current technology (knockout) or recreate the pages in Blazor.
It is quite an achievement that you got the tabs to show something. I will accept this pull request.
Decided to keep this issue open because the page does nothing
I found why it doesn't work. That was script tag src problem in knock out. I changed script src and solved it like below image.
I will make new issue branch and push code and then pull request.
Wonderful, Yeongdong. Thanks a lot for your help. I have a very good feeling about making significant progress in this project.
Regards, Medhat Elmasry
On Sun, Jul 7, 2024 at 4:52 PM Yeongdong Choi @.***> wrote:
I found why it doesn't work. That was script tag src problem in knock out. I changed script src and solved it like below image. Result
image.png (view on web) https://github.com/medhatelmasry/GoodBooks/assets/84194034/e0b41275-cda1-434e-83f2-ee49d9029bd1 Next
I will make new issue branch and push code and then pull request.
— Reply to this email directly, view it on GitHub https://github.com/medhatelmasry/GoodBooks/issues/11#issuecomment-2212621382, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN4UQQGKWOAAJLK2W7V2I3ZLHICBAVCNFSM6AAAAABH7BZUTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSGYZDCMZYGI . You are receiving this because you authored the thread.Message ID: @.***>
I think we need to add some issue that is redirection to https://good-books.azurewebsites.net/#settings when clicking sidebar menu. Could this be a problem caused by using knockout and blazor together?
When the "Accounts Receivable" top menu item is clicked, it goes to
All the other top menu items lead to #settings
We need to update the code so the top menu items lead nowhere
Regards, Medhat Elmasry
On Sun, Jul 7, 2024 at 8:19 PM Yeongdong Choi @.***> wrote:
I think we need to add some issue that is redirection to https://good-books.azurewebsites.net/#settings when clicking sidebar menu. Could this be a problem caused by using knockout and blazor together?
— Reply to this email directly, view it on GitHub https://github.com/medhatelmasry/GoodBooks/issues/11#issuecomment-2212910283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN4UQWUXB2MLZKEW23CJWDZLIAM7AVCNFSM6AAAAABH7BZUTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSHEYTAMRYGM . You are receiving this because you authored the thread.Message ID: @.***>
I solved problem. Whenever clicking sidebar menu, it rerendered to "/" appended by href = "#settings". when i removed below code, it was solved. However, If we wanna existing mvc apps with blazors, we have to make new solution referencing below link. Same Issue1 : https://github.com/dotnet/aspnetcore/issues/43191 Same Issue2 : https://stackoverflow.com/questions/8108836/make-anchor-links-refer-to-the-current-page-when-using-base
Thanks Yeongdong. Your solution is very good. As I said before, the bulk of this code came from the open source project so there are many minor issues that need to be fixed.
Regards, Medhat Elmasry
On Mon, Jul 8, 2024 at 12:16 PM Yeongdong Choi @.***> wrote:
Do we need href in a tag? Whenever clicking sidebar menu, It navigate to
settings. Same goes for other menus.
Actually, as you know, #settings will be appended to existing uri. however, it goes to / and appended. So it navigates to #settings. I think something was happened to navigate to / when clicking menu like below url result.
Expected Result : http://localhost:8000/Quotations/Quotations/#settings Actual Result : http://localhost:8000/#settings
When i removed href, the problem was solved. Code
image.png (view on web) https://github.com/medhatelmasry/GoodBooks/assets/84194034/610b4924-6a10-4e3b-a038-63dd893a1e1c
— Reply to this email directly, view it on GitHub https://github.com/medhatelmasry/GoodBooks/issues/11#issuecomment-2214989186, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN4UQUMESXSX2YC7QMJFU3ZLLQRXAVCNFSM6AAAAABH7BZUTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJUHE4DSMJYGY . You are receiving this because you authored the thread.Message ID: @.***>
There are clickable columns on this page but appear to do nothing.