srophe / britishLibrary

Copy of the Srophe application for British Library MSS
GNU General Public License v3.0
0 stars 2 forks source link

New Icons and Changes for Button Row #353

Open davidamichelson opened 3 weeks ago

davidamichelson commented 3 weeks ago

@wsalesky Could we add two more buttons to the row of buttons with the XML download?

As for ordering the buttons I think they should be as follows:

Corrections [mail icon] [GitHub Issue Icon] [Github Code Icon] [TEI] [RDF] [Text] [Print]

I would also like to make the following changes to the existing buttons please

@wlpotter Please feel free to modify what I have suggested here.

davidamichelson commented 3 weeks ago

One more thought, once this issue is done @wsalesky would you open a similar one on the Srophe app main repo? We may want to make these changes across all apps. Thanks!

wlpotter commented 3 weeks ago

A few thoughts here:

I can look at the xpaths, etc. for constructing the new issue urls when I get a chance today or tomorrow

davidamichelson commented 3 weeks ago

Thanks! I agree with all of these, and yes want to retain the mouse overs as the alt-text.

On Wed, Jun 12, 2024 at 9:48 AM William L Potter @.***> wrote:

A few thoughts here:

  • For the GitHub issues, it should be the case that users will need a GitHub account to create issues. I think the data repo allows issues from any user, not just ones we've added as collaborators
  • For GitHub issue icons, we could use the pull request one, or maybe the circle with a dot that is the symbol for an open GH issue?
  • For the changes to TEI and RDF buttons we need to retain alt text (which could show for most users as mouse-over text) for accessibility reasons, even if we replace the label with an icon. This would apply to the new icons as well

I can look at the xpaths, etc. for constructing the new issue urls when I get a chance today or tomorrow

— Reply to this email directly, view it on GitHub https://github.com/srophe/britishLibrary/issues/353#issuecomment-2163233392, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXQ37P6E4U54DQF6BVPIDDZHBNS7AVCNFSM6AAAAABJGPQN42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRTGIZTGMZZGI . You are receiving this because you authored the thread.Message ID: @.***>

davidamichelson commented 3 weeks ago

@wlpotter One more question. These html pages are quite long, so once one starts to scroll we lose easy access to these buttons. Should we consider putting them in a sort of menu bar so they scroll?

wsalesky commented 3 weeks ago

@davidamichelson How would you feel about using the mailto function, rather than a popup form? This would force the users local mail client to open and send the email. You loose some control of content but don't need to deal with the SMTP issue.

davidamichelson commented 3 weeks ago

Sure that actually sounds like a great addition across all of our apps! We can still preformat the subject line with the URI of the record right?

On Fri, Jun 14, 2024 at 6:23 AM Winona Salesky @.***> wrote:

@davidamichelson https://github.com/davidamichelson How would you feel about using the mailto function, rather than a popup form? This would force the users local mail client to open and send the email. You loose some control of content but don't need to deal with the SMTP issue.

— Reply to this email directly, view it on GitHub https://github.com/srophe/britishLibrary/issues/353#issuecomment-2167816056, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXQ37J4ASIPAHBFAJES2V3ZHLHCJAVCNFSM6AAAAABJGPQN42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRXHAYTMMBVGY . You are receiving this because you were mentioned.Message ID: @.***>

wlpotter commented 3 weeks ago

I have added the xpaths in the first comment for the title and shelf mark.

You can specify URL parameters to pre-fill a GitHub issue. We'd probably want something like:

https://github.com/srophe/britishLibrary-data/issues/new?assignees=&labels=community-submitted&title="$SHELFMARK$ | $URI$"

The shelfmark and uri would come from the xpaths noted above.

This will also apply the label "community-submitted", so we can filter by these issues.

wsalesky commented 3 weeks ago

@wlpotter what is the email address for BL?

wlpotter commented 3 weeks ago

Not sure, @davidamichelson ?

wsalesky commented 3 weeks ago

@wlpotter do you like any of these for the 'open a github issue' https://github.com/primer/octicons

Or we could just do a green circle with a dot, and the text 'open' which is what github does.

wsalesky commented 3 weeks ago

@davidamichelson @wlpotter is it redundant to have a link to the xml in github and a link to the TEI on the server?

wsalesky commented 3 weeks ago

@davidamichelson @wlpotter New version up. Let me know what you think. https://bl.vuexistapps.us/ms/100

wsalesky commented 1 week ago

@davidamichelson @wlpotter Still need an email for this as it currently will go to @davidamichelson

davidamichelson commented 1 week ago

@wsalesky please see your e-mail for the e-mail address to use for this. Thanks!