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

chore(client): migrate add access key dialog to lit #2134

Merged
merged 15 commits into from
Aug 23, 2024

Conversation

daniellacosse
Copy link
Contributor

@daniellacosse daniellacosse commented Aug 20, 2024

Screen.Recording.2024-08-22.at.7.29.37.PM.mov

@github-actions github-actions bot added size/L and removed size/M labels Aug 20, 2024
@daniellacosse daniellacosse changed the title chore(client): migrate add server dialog to lit chore(client): migrate add access key dialog to lit Aug 20, 2024
@github-actions github-actions bot added size/XL and removed size/L labels Aug 22, 2024
@@ -27,6 +27,30 @@
"description": "The title of a page giving details about the app.",
"message": "About"
},
"add_access_key_dialog_header": {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sbruens remind me, do I need to update en.json?

Copy link
Contributor

Choose a reason for hiding this comment

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

No. That's a translation file. You only need to update the original, which is this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, but when i don't fill out the en.json it looks like this:
Screenshot 2024-08-23 at 1 19 18 PM

Copy link
Contributor

Choose a reason for hiding this comment

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

That's good. It shows you the translations are not done.

@daniellacosse daniellacosse marked this pull request as ready for review August 22, 2024 23:41
@daniellacosse daniellacosse requested a review from a team as a code owner August 22, 2024 23:41
@daniellacosse daniellacosse enabled auto-merge (squash) August 23, 2024 17:27
@daniellacosse daniellacosse merged commit 7ea64fc into master Aug 23, 2024
23 checks passed
@daniellacosse daniellacosse deleted the daniellacosse/lit/root_view/add_key_dialog branch August 23, 2024 17:30
sbruens added a commit that referenced this pull request Aug 24, 2024
@@ -27,6 +27,39 @@
"description": "The title of a page giving details about the app.",
"message": "About"
},
"add_access_key_dialog_header": {
"description": "The title of a dialog box that prompts the user to add a new access key.",
"message": "Add VPN access key"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's go back to the original "Add access key".

"VPN" is confusing, and some consider it not a VPN (we don't give access to a private network). Also, we are moving towards a world where we may include proxyless. We are adding a strategy, not a server of service, hence keeping "access key".

"description": "An error message shown when the user tries to add a server with an invalid access key.",
"message": "Invalid access key."
},
"add_access_key_dialog_cancel": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't we have those messages already? Why change them?

},
"add_access_key_dialog_confirm": {
"desciption": "The text on a button to confirm the adding of an access key.",
"message": "Confirm"
Copy link
Collaborator

Choose a reason for hiding this comment

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

The existing "Add Server" is superior, since it makes the action explicit, versus a generic "Confirm". Please revert or change to "Add Key". I think we never changed from "Server" because of the need to translate...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants