Skip to content

Add privacy policy menu item #883

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

Merged
merged 1 commit into from
Mar 9, 2022
Merged

Add privacy policy menu item #883

merged 1 commit into from
Mar 9, 2022

Conversation

AlbyIanna
Copy link
Contributor

Motivation

We need to add a link to our Privacy Policy

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

@AlbyIanna AlbyIanna requested a review from fstasi March 3, 2022 15:28
@per1234 per1234 added topic: code Related to content of the project itself type: enhancement Proposed improvement labels Mar 3, 2022
@@ -120,6 +124,10 @@ export class Help extends Contribution {
commandId: IDEUpdaterCommands.CHECK_FOR_UPDATES.id,
order: '7',
});
registry.registerMenuAction(ArduinoMenus.HELP__FIND_GROUP, {
commandId: Help.Commands.PRIVACY_POLICY.id,
order: '8',
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest switching places between the Help > Privacy Policy and Help > Check for Arduino IDE updates menu items.

It seems more logical to me to have all the website visit menu items grouped together, rather than having the very different Check for Arduino IDE updates menu item interspersed.

Before:

  • Help
    • Getting Started
    • Environment
    • Troubleshooting
    • Reference
    • Find in Reference
    • Frequently Asked Questions
    • Visit Arduino.cc
    • Check for Arduino IDE Updates
    • Privacy Policy
    • About Arduino IDE
    • Toggle Developer Tools

After:

  • Help
    • Getting Started
    • Environment
    • Troubleshooting
    • Reference
    • Find in Reference
    • Frequently Asked Questions
    • Visit Arduino.cc
    • Privacy Policy
    • Check for Arduino IDE Updates
    • About Arduino IDE
    • Toggle Developer Tools

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should the URL be an internationalized string (nls.localize('https://www.arduino.cc/en/privacy-policy')) so that it can be pointed at the appropriate page (e.g., https://www.arduino.cc/it/privacy-policy)?

I tried changing my browser locale to it in order to see whether arduino.cc automatically redirects https://www.arduino.cc/en/privacy-policy to https://www.arduino.cc/it/privacy-policy, and it didn't, but I don't know much about the subject.

@per1234 I thought about that too, but seeing the page was in English-only I didn't localize the URL. @ubidefeo, do you think we should ask someone to translate that page?

Copy link
Contributor

Choose a reason for hiding this comment

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

@AlbyIanna there is an Italian language version of the page:

https://www.arduino.cc/it/privacy-policy

I don't think there are any others at the moment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I swear it didn't work the first time I tried that URL 😅 It just redirected me to the English version of the page. Weird.

Anyway, should we localize it? I don't know, I think it'd be kinda strange if we'd localize it only for Italian folks.

Copy link
Contributor

@per1234 per1234 Mar 8, 2022

Choose a reason for hiding this comment

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

I don't personally find it strange, but I also don't have strong feelings about the subject either way. I added the question about the internationalization only as a comment, and not as part of my review for that reason.

I'll go ahead and submit an approving review now since the review suggestion I made has been resolved (thanks!) and we are on the same page regarding the existence of an Italian version of the page.

I'll leave the decision on whether to internationalize that URL string to you or any other interested parties.

@AlbyIanna AlbyIanna force-pushed the privacy-policy-menu branch from d3e5dce to 352ec6b Compare March 7, 2022 11:08
@AlbyIanna AlbyIanna requested a review from per1234 March 7, 2022 11:13
Copy link
Contributor

@fstasi fstasi left a comment

Choose a reason for hiding this comment

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

lgtm

@AlbyIanna AlbyIanna merged commit 70f1c5f into main Mar 9, 2022
@AlbyIanna AlbyIanna deleted the privacy-policy-menu branch March 9, 2022 10:46
@per1234 per1234 linked an issue Mar 16, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "Privacy Policy" to help menu
3 participants