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

basic export repository link in settings #2641

Merged
merged 6 commits into from
Feb 12, 2024
Merged

Conversation

bnewbold
Copy link
Contributor

@bnewbold bnewbold commented Jan 26, 2024

EDIT: sneak attack by paul

Absolutely no prior React experience, and limited TypeScript, so probably doing all kinds of things wrong!

I tried to make it a download button instead of link but that didn't work. I got that attribute on there, but my web browser isn't respecting it. We might need to make a specific endpoint that doesn't produce an idiotic filename.

There is probably a safer way to construct the URL string. fixed

I think having the download open in the browser is reasonable, as opposed to an in-app save flow in mobile. But i'm not sure.

Did not commit the updated translation files (.po)


Final UI pics:

Settings Dialog
CleanShot 2024-02-12 at 14 58 55@2x CleanShot 2024-02-12 at 15 03 44@2x

bnewbold and others added 5 commits February 12, 2024 13:49
Absolutely no prior React experience, and limited TypeScript, so
probably doing all kinds of things wrong!

I tried to make it a download button instead of link but that didn't
work.

There is probably a safer way to construct the URL string.

I think having the download open in the browser is reasonable, as
opposed to an in-app save flow in mobile. But i'm not sure.
@pfrazee pfrazee force-pushed the bnewbold/export-repo-button branch from eab2639 to 3c6044e Compare February 12, 2024 22:58
@haileyok haileyok self-requested a review February 12, 2024 23:19
Copy link
Contributor

@haileyok haileyok left a comment

Choose a reason for hiding this comment

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

LGTM, love the dialogs on web 🎉

@haileyok haileyok merged commit d7a3246 into main Feb 12, 2024
4 checks passed
@haileyok haileyok deleted the bnewbold/export-repo-button branch February 12, 2024 23:22
@bnewbold
Copy link
Contributor Author

😍 😍 😍 😍 😍 😍

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.

3 participants