Update links to GitHub from within the apps
This commit is contained in:
parent
327385cfce
commit
918e70b516
11 changed files with 13 additions and 13 deletions
|
@ -4,7 +4,7 @@ If the feature requires adding new strings, you can do that by following these
|
|||
steps:
|
||||
|
||||
1. Add a new entry inside
|
||||
[app_en.arb](https://github.com/ente-io/auth/blob/main/lib/l10n/arb/app_en.arb)
|
||||
[app_en.arb](https://github.com/ente-io/ente/blob/main/auth/lib/l10n/arb/app_en.arb)
|
||||
(remember to save!)
|
||||
|
||||
2. In your dart file, add the following import
|
||||
|
|
|
@ -7,7 +7,7 @@ const String sentryDSN =
|
|||
"https://ed4ddd6309b847ba8849935e26e9b648@sentry.ente.io/9";
|
||||
const String sentryTunnel = "https://sentry-reporter.ente.io";
|
||||
const String roadmapURL = "https://roadmap.ente.io";
|
||||
const String githubIssuesUrl = "https://github.com/ente-io/auth/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc";
|
||||
const String githubDiscussionsUrl = "https://github.com/ente-io/ente/discussions";
|
||||
const int microSecondsInDay = 86400000000;
|
||||
const int android11SDKINT = 30;
|
||||
const int galleryLoadStartTime = -8000000000000000; // Wednesday, March 6, 1748
|
||||
|
|
|
@ -36,7 +36,7 @@ class AboutSectionWidget extends StatelessWidget {
|
|||
trailingIcon: Icons.chevron_right_outlined,
|
||||
trailingIconIsMuted: true,
|
||||
onTap: () async {
|
||||
launchUrl(Uri.parse("https://github.com/ente-io/auth"));
|
||||
launchUrl(Uri.parse("https://github.com/ente-io/ente"));
|
||||
},
|
||||
),
|
||||
sectionOptionSpacing,
|
||||
|
|
|
@ -62,7 +62,7 @@ class _SupportSectionWidgetState extends State<SupportSectionWidget> {
|
|||
trailingIconIsMuted: true,
|
||||
onTap: () async {
|
||||
launchUrlString(
|
||||
githubIssuesUrl,
|
||||
githubDiscussionsUrl,
|
||||
mode: LaunchMode.externalApplication,
|
||||
);
|
||||
},
|
||||
|
|
|
@ -64,7 +64,7 @@ export async function buildMenuBar(mainWindow: BrowserWindow): Promise<Menu> {
|
|||
label: 'View Changelog',
|
||||
click: () => {
|
||||
shell.openExternal(
|
||||
'https://github.com/ente-io/photos-desktop/blob/main/CHANGELOG.md'
|
||||
'https://github.com/ente-io/ente/blob/main/desktop/CHANGELOG.md'
|
||||
);
|
||||
},
|
||||
},
|
||||
|
|
|
@ -8,7 +8,7 @@ const String sentryDSN =
|
|||
const String sentryDebugDSN =
|
||||
"https://ca5e686dd7f149d9bf94e620564cceba@sentry.ente.io/3";
|
||||
const String sentryTunnel = "https://sentry-reporter.ente.io";
|
||||
const String githubIssuesUrl = "https://github.com/ente-io/photos-app/issues";
|
||||
const String githubDiscussionsUrl = "https://github.com/ente-io/ente/discussions";
|
||||
const int microSecondsInDay = 86400000000;
|
||||
const int android11SDKINT = 30;
|
||||
const int jan011981Time = 347155200000000;
|
||||
|
|
|
@ -37,7 +37,7 @@ class AboutSectionWidget extends StatelessWidget {
|
|||
trailingIconIsMuted: true,
|
||||
onTap: () async {
|
||||
// ignore: unawaited_futures
|
||||
launchUrl(Uri.parse("https://github.com/ente-io/photos-app"));
|
||||
launchUrl(Uri.parse("https://github.com/ente-io/ente"));
|
||||
},
|
||||
),
|
||||
sectionOptionSpacing,
|
||||
|
|
|
@ -57,7 +57,7 @@ class SupportSectionWidget extends StatelessWidget {
|
|||
onTap: () async {
|
||||
// ignore: unawaited_futures
|
||||
launchUrlString(
|
||||
githubIssuesUrl,
|
||||
githubDiscussionsUrl,
|
||||
mode: LaunchMode.externalApplication,
|
||||
);
|
||||
},
|
||||
|
|
|
@ -12,7 +12,7 @@ export const AuthFooter = () => {
|
|||
}}
|
||||
>
|
||||
<p>{t("AUTH_DOWNLOAD_MOBILE_APP")}</p>
|
||||
<a href="https://github.com/ente-io/auth#-download" download>
|
||||
<a href="https://github.com/ente-io/ente/tree/main/auth#-download" download>
|
||||
<Button color="accent">{t("DOWNLOAD")}</Button>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -13,7 +13,7 @@ export const FEEDBACK_EMAIL = "feedback@ente.io";
|
|||
|
||||
export const DELETE_ACCOUNT_EMAIL = "account-deletion@ente.io";
|
||||
|
||||
export const WEB_ROADMAP_URL = "https://github.com/ente-io/photos-web/issues";
|
||||
export const WEB_ROADMAP_URL = "https://github.com/ente-io/ente/discussions";
|
||||
|
||||
export const DESKTOP_ROADMAP_URL =
|
||||
"https://github.com/ente-io/photos-desktop/issues";
|
||||
"https://github.com/ente-io/ente/discussions";
|
||||
|
|
|
@ -13,9 +13,9 @@ export const FEEDBACK_EMAIL = "feedback@ente.io";
|
|||
|
||||
export const DELETE_ACCOUNT_EMAIL = "account-deletion@ente.io";
|
||||
|
||||
export const WEB_ROADMAP_URL = "https://github.com/ente-io/photos-web/issues";
|
||||
export const WEB_ROADMAP_URL = "https://github.com/ente-io/ente/discussions";
|
||||
|
||||
export const DESKTOP_ROADMAP_URL =
|
||||
"https://github.com/ente-io/photos-desktop/issues";
|
||||
"https://github.com/ente-io/ente/discussions";
|
||||
|
||||
export const CITIES_URL = "https://static.ente.io/world_cities.json";
|
||||
|
|
Loading…
Add table
Reference in a new issue