-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Improves datanames error message #1297
Merged
averissimo
merged 11 commits into
669_insertUI@main
from
datanames_error@669_insertUI@main
Aug 12, 2024
Merged
Changes from 7 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
880e16e
feat: improve error message for datanames
averissimo 7fa997d
Merge remote-tracking branch 'origin/669_insertUI@main' into dataname…
averissimo 45bda47
style: adds padding to icon on error message
averissimo c586ba7
Merge remote-tracking branch 'origin/669_insertUI@main' into dataname…
averissimo a38370d
feat: change phrase to be easier for users to understand
averissimo 42c7ad8
docs: another small adjustment
averissimo 3ff20d5
docs: another small adjustment
averissimo 2a40d69
Merge branch '669_insertUI@main' into datanames_error@669_insertUI@main
averissimo 037a6a5
docs: feedback from PR to change message
averissimo 581d0f5
fix: error message when there are no datanames available in data
averissimo b12eaae
Merge branch '669_insertUI@main' into datanames_error@669_insertUI@main
averissimo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We enumerate all available datanames in the included object even those irrelevant for the module. If
mod-2
uses onlyc("iris", "inexisting")
, then listingADSL
,ADTTE
, etc. seems irrelevantThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see it as a helpuful debugging information when the app developer is designing the app, but it will be irrelevant for normal users. So, does it:
iris
is available" (for your example)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with both as far as (1) will be rephrased little bit.
available data for 'mod-2', which has:
. It is not straightforward what "which has" is exactly pointing to, module or data?I'd prefer:
Dataset(s) ... is/are missing for tab 'mod-2'. Datasets available in data: ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, here's a new swing with that suggestion, WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added messsage exception when there are no datasets available:
No datasets available example