-
Notifications
You must be signed in to change notification settings - Fork 0
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
Link "OPEN" option should only be used to display non-duplicate information #9
Comments
Same issue as #13 Moving user suggestion to new issue (as it is not about OPEN) |
I just pushed an improvement to the 'OPEN' label that should prevent it from mislabeling things like 'ZIP' or 'KML' as 'OPEN'. Under the new logic, 'OPEN' will be more applied to items identified as website, rather than service URLs. So far so good. @emiliom I'd like you to poke around and see if you like the new behavior (compare DEV to PROD to see the difference - the fix is on DEV). |
Allison mentions an example where this fix is not working as intended: #31 (comment) ... will follow up, using these records to test: http://wcga-vm01.sdsc.edu/discover/#?s=Sound%20GIS%20Test&text=surfrider |
Thanks for all your hard work, Tanya!! I'm reporting on the net effect on NANOOS records. First, for reference, we have 5 production records in the NANOOS source, and one new iso-1 record added within the last 24 hours, that's only on staging. 4 of those production records are largely identical and generated by the same process so they will respond the same (ideally!) to all changes. I'll call them "OSU Climatology"
|
Thanks Emilio - glad that item 1 is working how you expect. Items 2 and 3 that you mention are the same condition/case reported in my comment directly above (from Allison). I was thinking about this case/fix on my way home from work yesterday and I think I have a solution. I need to do a little research today, and hope to push a refinement soon. |
@tchaddad, I was wondering where this stands. I have a NANOOS record for NVS that I started up but haven't finished (that's my item 3 above), partly b/c I was waiting to see how this issue shook out (ok, that's just a lame excuse to set this aside and work on other things ... sigh). Maybe I should just finish up the record, then ask Todd to push it to live, and not worry about this issue for this case, given that the Open link type is probably recognized just fine with the live code? |
This is related to the fix we implemented in Ecotrust/wc-data-registry issue #117
We've allowed OPEN to apply to any link in the metadata which is leading to some duplication of links. Technically this is no a bug, but it is not ideal.
Ideally we would like OPEN to apply only after all other types of more specific links have been detected and displayed, and when it is used, it should never duplicate a URL that is already being displayed with another label.
Ecotrust/wc-data-registry#123
The text was updated successfully, but these errors were encountered: