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

Link to reports updates #2302

Conversation

futa-ikeda
Copy link
Contributor

@futa-ikeda futa-ikeda commented Aug 27, 2024

  • Ticket: []
  • Feature flag: n/a

Purpose

Summary of Changes

  • Add a new arg @fakeButton to OsfLink to easily make a link look like a button (which maybe isn't a pattern we want to encourage, but at least now it's DRY when we do it 😬 )
  • Update wording for hover text for reports
  • Have link open in a new window

Screenshot(s)

image

Side Effects

QA Notes

Copy link
Contributor

@aaxelb aaxelb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🪿

@@ -9,7 +9,8 @@
<OsfLink
data-test-link-to-reports-archive
data-analytics-name='Link to archived reports'
local-class='download-button'
@target='_blank'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm, was about to say this should be target='_blank' (no @) but i see osf-link has its own target arg, in addition to passing thru ...attributes... so this is fine, but something i'd suggest changing about osf-link if it's ever revisited

@futa-ikeda futa-ikeda merged commit 1ef837e into CenterForOpenScience:feature/insti-dash-improv Aug 30, 2024
9 checks passed
@futa-ikeda futa-ikeda deleted the link-to-reports-updates branch August 30, 2024 15:19
Johnetordoff pushed a commit to Johnetordoff/ember-osf-web that referenced this pull request Aug 30, 2024
@futa-ikeda futa-ikeda added this to the 24.09.0 milestone Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants