Skip to content
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

Map layer - add feedback if bad configuration #60

Open
smalers opened this issue Aug 5, 2022 · 0 comments
Open

Map layer - add feedback if bad configuration #60

smalers opened this issue Aug 5, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request medium Priority: normal maintenance and enhancements S Size: day or less

Comments

@smalers
Copy link
Contributor

smalers commented Aug 5, 2022

Now that we have moved beyond initial development, I find myself forgetting things or running into configuration issues more often than software bugs. For example, classification files may be inaccurate, especially if a data layer's attributes changed.

There is already a symbol shown in the legend when a layer cannot be read. It would be useful if the same approach could be used to indicate not quite so serious problems, to help implementers. The following are technical considerations:

  1. The layer object would need some code to keep a list of problems. This is similar to how TSTool has a list of problems for commands. The object would need methods to set and get problems.
  2. The legend would need to detect and display an indicator. Maybe the problems need to be categorized as failure (red) and warning (yellow), or similar. I know this can be challenging so getting the basic mechanics working would be the first step.
  3. We want to minimize the impact on users. For example, for TSTool I sometimes print warning messages to the log, but they don't rise to the level of the user needing to see in the UI. Anything shown in the UI is related to possible bad output from processing, which they do need to be aware of.
  4. I have mentioned before that maybe a diagnostics tool or dashboard could be built-in. One way I did this in TSTool was there are generic components like diagnostics tools, and the Help / About tool for showing system information. These could be build in by allowing an item to be added to the application configuration file and if found, the routing would show a popup or page that had the information. In this way, warnings that are not user-level can be seen.
  5. Decisions would need to be made about what problems do rise to the level of a user notification, but given that am also a user, I can say that during implementation, I would benefit from an indicator and log message, rather than relying only on console messages. Any messages shown to users would need to be clear and not use overly technical language.
@smalers smalers added enhancement New feature or request medium Priority: normal maintenance and enhancements S Size: day or less labels Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium Priority: normal maintenance and enhancements S Size: day or less
Projects
None yet
Development

No branches or pull requests

2 participants