Conversation
|
Many thanks for your contribution. |
|
Ok, started some first tests.
This just shows what I mean - the changes need testing in various set ups - and maybe others (inlcuding me) do not agree on all parts of the PR. For the widget layout there is some discussion in the forum - but still without real results (i.e. feed back from users). For new decoded parameters: Misses Android completely. And for using the precision values there was an interesting discussion at the OBP60. Maybe this should be handled similar in AvNav. |
- centered values - more compact cells - tuned spacing - distinct header - monospace coordinates
wind display more compact with direct divs
- show ERROR/OK in top right on position and time - added TTG mode to ETA - put WP name to top right to make more space for value - disable config of unit if it is determined by formatter - fixed unit of temperature - added options select kind of depth - extended range of max xte
- decimal degrees - degrees, decimal minutes - degrees, minutes, seconds - allow hemisphere first
NMEA parse xDOP, fix type and quality
1330404 to
2deacb3
Compare
|
I reorganize the commits to make it easier for you. You can walk through the commits one by one starting with fd55a08. |
|
For now I would like to separate things a bit... Other parts of your changes: |
|
I just tried to merge some of the changes. BUT... So for now I will not continue on that. Some detailed hints: In general: |
|
I can understand what you say, BUT you ask for feedback and you even contributions, so be happy, take it, modify it, use it, do not complain that much (I hope you get what I mean) 😬
I don't want you to accept it blindly, but the changes make sense, I invested time to read the code and adapt it and it would be nice if other could use that as well. So, I would be happy if you take it, adapt it here and there. I think it is impossible to get the perfect pull request The plugin idea is nice, but you already can put plugins into the plugin dir and there is the user.js and css. That is great. Tweaking the look by adding user css works but is cumbersome if the base css is "ugly". This is why I changed the base, IMHO this is a better default, it's not huge layout change it just improves the existing w/o breaking it. Small custom tweaks can nicely be done by user css. |
…DepthDisplayFlex widget with offset,maxValue, warning value and different units
|
Hmm - I'm a bit unhappy with the way you try to communicate... You have some ideas about changing things. Some of them I like - some of them I do not like and some of them - I would like to get feedback from others for. At the end it's my project and you should accept that I have some ideas on the current (and further development). For the UI it's always a bit difficult as everybody seems to have own ideas on how it should look like. I know for sure that there is a lot of room for improvement - but as already mentioned several times: I would not like to break other users layouts (or other stuff). One of the reasons I came up with layouts was just to address this part (completely different ideas on the look and feel). For the rest - I have some internal roadmap for the further development and some of the changes you propose may fit - others may not. Not sure if you can accept what I write - but from my pov we can only work together on this basis - or not at all. |
Yes same here, but maybe it's a misunderstanding on both sides.
Absolutely, but you share it and ask for contribution. And it's a great project and I really like it and appreciate your work. This is why I use it and want to contribute.
Of course, everyone has his own ideas and taste. But this is the point, I get the impression that you want to do everything on your own and your way, which you for sure can, it's your project and you have things planned and in mind, but then contributing gets difficult. The general reaction to contributions seem to be explanations why this and that doesn't work and cannot be done or you don't want to do it. Sometimes this is fine and also justified, because it would break things, but sometimes it seems just overly complicated. I get the impression the you want people to contribute in a very specific way, by telling you what they want, not to give you code, and if they code, they should just use the interface, not touch the "core". So, after having spent quite some time to understand the code and adjusting things, I thought it was good to share the changes. I wished to get a reaction like: 'Nice, that really looks better, I take this, but here I changed this and because...' instead I get the impression my work is complete rubbish, breaks everything, destroys user experience because I changed everything fundamentally. Really? It seems so negative. |
# Conflicts: # viewer/components/DirectWidget.jsx # viewer/components/WidgetList.js # viewer/util/formatter.js
but set DBT as default removed auto select to keep value stable
added kind to select kind of depth to display adjusted for depth formatter params
|
Lets discuss number formatting! I was wondering about good naming and came up with:
As I can see it, it is desirable to format numbers such that the resulting string has a fixed number of chars for consistent display.
The formatter can take the parameters
If padding should be optional
IMHO this information is sufficient to format any kind of number into a
Maybe it is desirable to limit the string to exactly I implemented this in From my user point of view I find the Having a fixed number of chars as output string make the widgets in their width stable but dynamic. Since the formatter "knows" the pattern of the format, it can generate a placeholder string of right size if an invalid value like To get a stable width of the text, a monospace font could be used, but that doesn't always look good and the chars are too wide (especially the This is what i implemented and I find the result quite pleasing. (I used Roboto in my examples.) Does this destroy avnav or could you give it a try? |
# Conflicts: # viewer/components/DepthWidgetFlex.jsx # viewer/components/WidgetList.js
is often already the case
|
Just asking...
But you added I added the selection of the kind of depth and distance formatter settings, by setting default to DBT it would not change for the users. That is not OK? I understand that you want to avoid surprises for the users. You now created 3 different depth widgets with highlighting of low values, nice. Why 3 widgets instead of 1 with the selection of the kind inside? This is fine, I just like to understand why. as user: the params for for the new min/max value params: IMHO it would make sense to set the limit to 999 for 3 total digits, so the resulting string doesn't get too long. it is maybe also good to indicate the over/under flow to the user instead of just showing (for |
overflow/underflow indicators of right width
|
remarks on #529 (comment) I can see that this process has been frustrating for you, and honestly, it’s been discouraging for me too. From my side, your general reaction to pull requests seems to focus almost entirely on what’s wrong, compatibility concerns, missing documentation, supposedly broken details, instead of acknowledging the overall improvements and positive aspects they bring. I don’t think the negative points you mention are insignificant, but in most cases they’re minor compared to the overall progress and enhancement the contribution provides. The positive impact outweighs the rough edges, yet the focus seems to fall on the flaws, often in an exaggerated way. Sometimes issues are even called out as flaws when the same patterns exist in your own code, which makes it feel inconsistent and discouraging. You mentioned an “I-know-better” attitude, and I can see how it might look that way when I explain and defend my work. But it also comes across similarly when contributions are rejected and later reimplemented differently, or when feedback seems to imply there’s only one “right” way, your way. I think we’re both trying to do what we believe is best for the project, and that shared intent should be the foundation of collaboration, not a source of conflict. I completely understand your goal of maintaining high quality and consistency. Still, I think progress often comes from small, imperfect but functional changes that can be refined and improved later. Ugly action beats unfinished perfection. Nobody’s code is perfect, and that’s fine, what matters is steady improvement. It would really help if the review process balanced critical points with appreciation for what works. Constructive criticism explaining a problem is useful and creates a good basis for discussion, but constantly emphasizing flaws discourages contributions. Instead of rejecting everything outright, a more collaborative approach would be to merge what’s good, make small adjustments where needed, or ask for targeted fixes. That’s true teamwork, combining ideas and experience rather than setting them against each other. Documentation Compatibility Also, it’s confusing when you state that existing widgets shouldn’t be changed, but then modify one yourself, that inconsistency makes it hard to understand what the actual rules are. Separation/Dependencies Dependencies aren’t a problem when changes are logically grouped and reviewable. Independence, for its own sake, isn’t practical or meaningful in a growing codebase. Code Review I’m always happy to improve docs or adjust code if you point out where and what exactly it’s needed. Clear, specific feedback is much more productive than general rejection, it helps align contributions with your expectations and keeps the process constructive. Overall |
- calc container height with fixed border width - hide vertical widgets if empty
|
in #529 (comment) you write
I don't know what you mean. What exactly do you mean? The empty space bottom left? You can always find a window width where one of the flex containers in the bottom wraps and the other does not. That is also the case w/o my changes. Top alignment looks better IMHO.
|
|
Some shorts answers.
I think it would typically make life a lot easier if we would discuss ideas before implementing a lot of things. I understand that it is frustrating if you (or others) write code that I'm not really willing to accept as it is (I have the same problem of course if I try to contribute somewhere else). But I think the only chance to avoid this would be to agree on some concepts before starting.
I partly agree. What I mean: If changes are independent they could easily be merged one by one. And if one is not merged - the others are still "in". I understand that this is not always possible of course.
Sure - testing would make it easier to check the influence of changes and to maintain compatibility and stability. But there are two points:
I would also love to see faster progress - but that's exactly what I tried to explain - it would be much easier to achieve by trying to follow some rules. |
# Conflicts: # viewer/style/widgets.less # viewer/util/formatter.js













Thanks for merging my changes!
There are some parts you didn't merge, which I think still offer some improvements. The may also fix #522 and #506.
The changes are:
---by digit wide hyphens for consistent layoutscreenshots of changed appearance
before

after

and w/o data
before

after

The gray leading zeroes are show by user css.