[REL] Better UI

Discussion in 'Other' started by Cselt, Dec 30, 2020.

Tags:
  1. KostasGR

    KostasGR Registered

    Joined:
    Mar 17, 2016
    Messages:
    28
    Likes Received:
    2
    Well first of all amazing job!
    What i wonder is if you can see the changes that you do on-the-fly. I want to test some stuff and maybe add some things to the UI but if it is a workflow of 'do this'->'restart the whole game'->'do this'->'restart again' it will be a PITA process.
     
  2. atomed

    atomed Member

    Joined:
    Jul 9, 2019
    Messages:
    1,360
    Likes Received:
    1,379
    Is there any posibility to boot AI cars directly from the watch table without getting into the session tab? This way we wouldn´t have to memorize the name of the driver of the car we want to take out.
     
  3. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    There is already an uninstaller in your rFactor 2 directory called "Uninstall-Better-UI.exe"
     
    pascom likes this.
  4. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    I think I've added drive button to the events and garage screens, because I think most of the time you want to go to the track from those screens. On which screen would you like to see the drive button?
     
    Bastian Paisler likes this.
  5. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    What changes do you mean? I'm not quite sure I can understand your question
     
  6. atomed

    atomed Member

    Joined:
    Jul 9, 2019
    Messages:
    1,360
    Likes Received:
    1,379
    I think he means AI % and aggression levels, tire and fuel wear etc.
     
  7. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,515
    Likes Received:
    6,672
    @Cselt @atomed I think he's talking about modifying the UI itself. He's hoping he can make changes with the game running and see those changes live.

    I like the optimism of people who haven't developed previously :D
     
    atomed and lagg like this.
  8. atomed

    atomed Member

    Joined:
    Jul 9, 2019
    Messages:
    1,360
    Likes Received:
    1,379
    We´ve talked about this and clarified it, he deserves it and we all are grateful.
     
    Cselt and Elcid43 like this.
  9. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,959
    I'm not criticizing that he asks for money.
    As i said, the time is money and it's normal to ask for money.
    Cselt is doing a very good job and in my opinion, it shouldn't be for free.
    English isn't my native language and it's possible that i haven't explained correctly.
    If it's the case, then i'm sorry.
     
    Daniel Espada, Liuke44, Cselt and 2 others like this.
  10. KostasGR

    KostasGR Registered

    Joined:
    Mar 17, 2016
    Messages:
    28
    Likes Received:
    2
    What Lazza said. Just do changes to the UI code and see the effects without having to restart the whole game (think of as auto-reload UI or like when you code a website and some programs can give you live the changes you are making).
    I have developed some things in Python and some front-end languages but hey I am a noobie to programming. My IT speciality is other.
     
  11. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,959
    Hi. The first thing is to thank you for the Better UI.
    I'd like to give my feedback.
    There is a thing that i don't understand in the UI (original and yours)
    It's confusing, for me, to have the same functions in different places.
    upload_2021-5-1_0-55-49.png
    Furthermore, there are more or less the same functions, but in a slightly different way, what is more confusing when you don't know the UI.

    Thank you.
     
  12. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    That caused me a headache too, to make live reload work. So I ended up running Angular in dev mode with live reload enabled, and in the game I have to navigate to an other page, because it will reload the page. I couldn't find any other way.
    For that I have a special better-ui loader script in the repository under scripts.
     
  13. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    Hi, thanks for your feedback.
    I admit the quit functionality is doubled on that page, but I added the quit button in a general way, to show up on every page in the header. I could remove the bottom exit game button, but I don't think that causes any issues.

    About the red ones: I agree, makes not much sense to have them doubled, but I think we have bigger issues with the UI.
     
    Daniel Espada and lagg like this.
  14. ~IsR~Barabba

    ~IsR~Barabba Registered

    Joined:
    Oct 6, 2010
    Messages:
    1,160
    Likes Received:
    40
    I haven't read the whole thread so I don't know if it's already been asked. I wanted to ask you if it is somehow possible to link your UI with the translation files. Already at this time some words work on the car set-up screen. Or if possible create a text file that works with UI, then I would take care of translating, as I did for the old version.

    Babs ;)
     
    Last edited: May 1, 2021
    Daniel Espada and atomed like this.
  15. atomed

    atomed Member

    Joined:
    Jul 9, 2019
    Messages:
    1,360
    Likes Received:
    1,379
    That wouldn't be possible because apparently the texts are spread in different modules or files, I had the same idea :(
     
    Daniel Espada likes this.
  16. zxd1997

    zxd1997 Registered

    Joined:
    Sep 26, 2019
    Messages:
    306
    Likes Received:
    281
    I've tried but in recently RC build 397 remove the language select entry, so only thing we could do is replace EN strings. I hope they're doing refractor with files in different jars so remove .... not to remove the support...
     
    atomed likes this.
  17. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    No, unfortunately that's not really possible at the moment. In the current implementation every page is a different web-app with it's own translation, so there is no global json / xml / text file with the translations :(

    I really believe it could be done better with a single app, with a single translation file. I hope at some point they will consider migrating to Angular2+ and use a single app.
     
    ~IsR~Barabba and DJCruicky like this.
  18. ~IsR~Barabba

    ~IsR~Barabba Registered

    Joined:
    Oct 6, 2010
    Messages:
    1,160
    Likes Received:
    40
    Thank you so much for your answer,now know more about this situation.

    Babs :)
     
    Daniel Espada likes this.
  19. DJCruicky

    DJCruicky Registered

    Joined:
    Jan 25, 2012
    Messages:
    1,613
    Likes Received:
    1,171
    Is it easy for S397 to change their Angular-js program to this Angular2+, or are they both very much different programming languages?
    cheers
     
  20. Bastian Paisler

    Bastian Paisler Registered

    Joined:
    Dec 28, 2017
    Messages:
    15
    Likes Received:
    8
    Maybe for the setup screen :)
     
    lagg likes this.

Share This Page