-
-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added search field to bulletin board tab #4109
Conversation
Good idea, but note that we want to get rid of this UI system eventually. Won't happen overnight though. |
Nice |
You mean Lua UI? If so, it sad. Modding without UI system support feels imperfect. |
@ ColdSpirit0: no, that specific UI system that is used for the station and infoview stuff. We want to move all UI to imgui which would allow more modding possibilities. See the new HUD and #4078 |
@nozmajner Have some questions about modules: As I see "fx-window.lua" contains buttons on top of screen. Why file named so (I mean "fx" part)? =)) Maybe better to rename it to something more intuitive? Which architecture is better?
My choice is first, because there many similar logic in view creation. Upd: |
@ColdSpirit0 |
Yes, that's my understanding.
We have the LuaAPI, that you can build using naturaldoc (see COMPILING.txt file). |
Anyhow, I really like this, I think it could be merged, with the caveat of it will eventually go away/ported to imgui when we get to this part. |
I working on new views system on imgui now, you can to watch it in my fork in "develop" branch. |
Great you're getting to know the new system! That will not be in vain. However, I'm worried you and ecraven will start stepping on each others toes. I'm sure he'd be happy with help on moving to imgui, but I suspect he/we will re-write code if it's not "nice" enough or "done in the right way", just so you're prepared for that. (some contributors get offended when their code gets removed/re-written in master). I think he'll be back later this week, so you could coordinate with him, moving various things to imgui, and possibly open a WIP PR, that he/we can review and give continous feedback on, so code goes in the right direction. I don't know your code skill level, but assuming you want to help moving us to imgui, you and ecraven could work on different ends of it. E.g. main menu or galaxy view should just be moved pretty much as they are, to imgui, while I suspect he will soon start working on the F2 screens. But I don't know, just some ideas I'm spitting out. |
Also, please let us know (here, or on IRC) if you want to be in AUTHORS.txt |
@ColdSpirit0 thanks for the helpful first PR! |
Experience is above all =)
As I see, he is working on HUD and similar, because much code written for it. But with view system interacts only one file - My code skill not too good (a bit of everything) but move old ui to new is not so hard, I think. @fluffyfreak glad to help! |
Sounds good, but just be aware that the UI design is done in close collaboration with @nozmajner who does mock-ups and designs / suggests how the end product should look. This will give us a coherent, and good UI. See #4078 and links there in. |
@impaktor thanks for the pointing. |
Bulletin board splitted to 2 columns. I wanted to make a floating search field, but dont know how: documentation does not have references to ui elements. And there no ui examples too.