-
Notifications
You must be signed in to change notification settings - Fork 76
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
Add New Line Lists with Medium Information #1656
Conversation
Codecov ReportBase: 86.76% // Head: 86.76% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #1656 +/- ##
=======================================
Coverage 86.76% 86.76%
=======================================
Files 95 95
Lines 9652 9652
=======================================
Hits 8375 8375
Misses 1277 1277
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Thanks for getting a couple more of these in. PR needs to be rebased to main
to resolve conflicts. Two other comments:
- It looks like
Atomic/Ionic
isn't available in the preset menu, onlyAtomic/Ionic Fine Structute
, I'm not sure why. - Now that some of the list names are longer than they used to be, it's probably worth having the text in the preset menu wrap so the wavelengths aren't cut off in the menu at the default plugin width.
Yep, that's intended. Referring back to the description, the Atomic/Ionic list only contains the lines I wasn't able to track down. The The A/I Fine Structure one contains the lines I was able to confirm Good point about the wrapping. I'll look into it |
Ahh right, got it. Somehow forgot that between reading the description and testing the plugin. Thought it was an air/vac split. |
@rosteen I've adjusted the UI, let me know if that works for you! |
Co-authored-by: Kyle Conroy <[email protected]>
4c957e0
to
274a19f
Compare
The docs build failure seems to be unrelated (didn't change the docs); please ignore! |
Looks better to me. This is also present on main, but is there an easy way to change the preset lists menu to wrap text there as well so it doesn't overflow the bounds of the app? Seems like the default of |
I think I misread Ricky's intent. Ignore this message |
I thought I tested this PR yesterday and didn't see any overflow on my machine with the default plugin width, but I would think we could just enable it with css if necessary (or maybe having ellipsis would be better than wrapping?) |
I think I realized I misunderstood Ricky's earlier message. You can see in my screenshot that there is an overflow of the app's bounds when the menu is dropped down. I wonder if I can anchor the menu to the right, rather than the left... |
Haha I think I got it! @rosteen does this work for you? |
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.
Looks good to me 👍
@@ -94,6 +94,7 @@ | |||
<j-plugin-section-header>Preset Line Lists</j-plugin-section-header> | |||
<v-row> | |||
<v-select | |||
:menu-props="{ left: true }" |
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 should probably do this app-wide... how does this work in conjunction with #1673?
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.
Good point @kecnry! I've implemented it across all v-selects in bfa270f
The short answer to your question about how they interact together is that they don't. I WISH they did. Unfortunately #1673 restricts menus to the size of the v-select when you attach. We'll have to think through this case before we merge #1673. I'd advocate for us to get this in as it stands and think about those considerations over in that PR
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.
LGTM (probably could either use a squash & merge or pre-squashing some of the smaller commits - I'll let you decide)!
Description
@camipacifici and I have been investigating the medium information for the line lists, and it has evolved into a much more difficult task, between trying to track down the original source material, resolving dead links, contacting old colleagues, etc. Some of those (easier ones) were put into #1626. Some additional ones (possibly more controversial) are here. I've officially run out of my timebox on this ticket, so I wanted to close out my initial findings and commit them now.
This PR makes two changes to our existing line lists:
Atomic/Ionic
list seems to be a combination two separate lists. We were able to track down the original source material, for the majority of it, which contained the medium info. The remaining portion, however, eludes me. This PR splits the existing Atomic/Ionic list into two separate listsAtomic/Ionic
andAtomic/Ionic Fine Structure
, the latter of which we know the medium information for.Common Galactic
list, which largely contains most of the lines from the Common Stellar (not all of them), but split into two wavelength ranges based on the medium.To support the above changes, the following adjustments were made to the UI to support these longer list names:
Apparently theUnfortunately after further testing, the distinction between the two components is that thev-select
we were using for the dropdown has a "whitespace buffer" thatv-combobox
doesn't have. I switched it out to display more of the text name in the dropdown with the same real-estatev-combobox
is av-autocomplete
component; effectively it allows a user to type in anything. With that in mind, av-select
is more appropriate here. That being said, a user can still see the list selected by opening the dropdown.I think this was a nice-to-have, so it's not a show stopper that we can't get this in. I feel like @rosteen's review is more focused on the point below, but can correct me if I'm wrong
expansion-panel
to show the full list name:Fixes #1517
Change log entry
CHANGES.rst
? If you want to avoid merge conflicts,list the proposed change log here for review and add to
CHANGES.rst
before merge.Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
trivial
label.