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

Better linking of declarations in debates to regmem #1826

Open
ajparsons opened this issue Sep 26, 2024 · 0 comments
Open

Better linking of declarations in debates to regmem #1826

ajparsons opened this issue Sep 26, 2024 · 0 comments
Assignees

Comments

@ajparsons
Copy link
Contributor

MPs should declare interests in speeches (although this can be inconsistent).

Image

Ideally, we want to link from this to the register of that person on the date of the speech.

Extra points: we'd like to be able to link back to this: and index and link where MPs are declaring interests.


Complications:

This needs special casing rather than the glossary approach. Are there any similar things that also need special casing?

Do we want to highlight this as a special link rather than the glossary e.g. an injected link at the end of the sentence rather than a hyperlink.

Should be considered in the context of tickets around multi-parliament interests - where the link would need to be to the right one if we change the url format.

As explored in the vector research, there's a few different variations that can be used. A few I've found:

alts = [
    "May I draw attention to my interests as registered in the Register of Members Financial Interests",
    "May I draw attention to my entry in the Register of Members’ Financial Interests?",
    "May I draw attention to my interests in register?",
    "May I draw attention to my interests as declared in the register?",
    "I refer Members to my registered interest."
]
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

No branches or pull requests

2 participants