Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 16, 2024
1 parent 586af70 commit 7656a73
Show file tree
Hide file tree
Showing 14 changed files with 113 additions and 41 deletions.
45 changes: 41 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@astrojs/sitemap": "^3.1.6",
"@astrojs/tailwind": "^5.1.0",
"@astrolib/seo": "1.0.0-beta.5",
"@astropub/md": "^0.4.0",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.13",
"@typescript-eslint/parser": "^7.13.1",
Expand Down
4 changes: 4 additions & 0 deletions source/content/apps/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ links:
olderMacOSVersions:
- '12'
- '13'
feedbackNote: |
### If you get a “com.apple.extensionKit.errorDomain error 2” error when running your shortcut or if the actions don't show up in the Shortcuts app, restart your device. This is caused by an iOS bug.
**Some actions that are not possible: orientation lock status, flashlight status, ambient sensor info, flight mode status. Generally, anything related to changing system features/settings or interacting with other apps is not possible.**
---

The app provides lots of powerful extra actions for the Shortcuts app on macOS, iOS, and visionOS. These actions make it significantly easier to create shortcuts.
Expand Down
16 changes: 15 additions & 1 deletion source/content/apps/dato.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,28 @@ platforms:
- macOS
isPaid: true
isMenuBarApp: true
appStoreId: 1470584107
# appStoreId: 1470584107
setappId: 571
olderMacOSVersions:
- '10.14'
- '10.15'
- '11'
- '12'
- '13'
feedbackNote: |
**The latest Dato update (5.3.1) triggered a bug in macOS which caused Dato to crash for some users. I have already submitted an update to Apple with a fix. In the meantime, you can use [this build](https://www.dropbox.com/scl/fi/kwj1770j2kv6v43jktlpy/Dato-1721033675.zip?rlkey=4imyq4ydqsr1quuegpt8d3wzq&raw=1). Sorry about the inconvenience.**
---

### Dato not launching

**The latest Dato update (5.3.1) triggered a bug in macOS which caused Dato to crash for some users. I have already submitted an update to Apple with a fix. In the meantime, you can use [this version](https://www.dropbox.com/scl/fi/kwj1770j2kv6v43jktlpy/Dato-1721033675.zip?rlkey=4imyq4ydqsr1quuegpt8d3wzq&raw=1). Sorry about the inconvenience.**

### Dato not available on the App Store {#not-available}

Because of the above problem, I have temporarily taken down the app from the App Store so I don't get new users using the app and experiencing it not working.

If you are a new user, feel free to also use the version mentioned above.

---

Dato gives you a local clock, date, and multiple world clocks in the menu bar. When you click Dato in the menu bar, you get a menu with a calendar, calendar events, and world clocks. All of this is highly customizable.
Expand Down
4 changes: 4 additions & 0 deletions source/content/apps/menu-bar-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ No. You only need to run the app once to apply the changes.

It depends on your needs. If you primarily use those apps to fit more items in the menu bar, this app is a good alternative.

#### iStat Menus disappeared when I moved the slider

Menu Bar Spacing needs to relaunch all menu bar items for changes to take effect. iStat Menus may take a while to relaunch. If it doesn't reappear, try moving the slider again. Restarting your computer will definitely fix it.

#### Can you add more features?

No. This app is intentionally simple and focused.
Expand Down
4 changes: 2 additions & 2 deletions source/content/apps/online-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ A Wi-Fi connection only means you are connected to a network. The app verifies i

#### The app shows that I'm offline even though I'm not

- Ensure network requests from the app to apple.com and cloudflare.com are not blocked. These domains are used to verify your online status.
- Ensure network requests from the app to apple.com and cloudflare.com are not blocked. These domains are used to verify your online status.

#### How can I run this only when not connected to certain networks?

Use the [Shortery](https://apps.apple.com/app/id1594183810) app. Create a shortcut in the Shortcuts app to launch and quit this app. Then, set up a "Wi-Fi" trigger in Shortery to run the shortcut based on your Wi-Fi connection status. This allows the app to launch or quit when connecting to or disconnecting from specific Wi-Fi networks.

#### How does it work?

Every 20 seconds, it sends a HEAD request to “apple.com”. If that fails, it sends a HEAD request to “cloudflare.com”. If both requests fail, it considers the internet to be offline.
Every 20 seconds and anytime the network changes, it sends a HEAD request to “apple.com”. If that fails, it sends a HEAD request to “cloudflare.com”. If both requests fail, it considers the internet to be offline.

#### Can you make the history persistent?

Expand Down
2 changes: 1 addition & 1 deletion source/content/apps/plain-text-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The app is made using Apple's latest technologies (SwiftUI) and they have not ad

#### Why is it suddenly showing a scrollbar?

You most likely have an external mouse connected. This is simply how macOS works. You can see the behavior in other text editing apps too. The behavior is completely out of my control.
You either have a system setting set to always show scrollbars or you have an external mouse connected. This is simply how macOS works. You can see the behavior in other text editing apps too. See the “Appearance › Show scroll bars” system setting.

#### The “Check Spelling While Typing” setting in the context menu does not work

Expand Down
4 changes: 4 additions & 0 deletions source/content/apps/pure-paste.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ There are some cases I cannot fix though:
- In some apps, like Word, the menu item has a different label, which requires a separate mapping.
- This app can exclude certain apps, preserve links, and also remove tracking parameters from URLs.

#### The copy/paste custom keyboard shortcut does not work

Try [resetting privacy permissions](https://sindresorhus.com/apps/faq#mac-reset-permissions) for the app. macOS can sometimes corrupt these permissions, causing the shortcut to fail.

#### What are tracking parameters and why would I want to remove them?

Removing tracking parameters improve privacy and also make URLs more aesthetically pleasing. Tracking parameters are used by many websites to track your browsing activity across websites. [Learn more.](https://en.wikipedia.org/wiki/UTM_parameters)
Expand Down
4 changes: 4 additions & 0 deletions source/content/apps/speediness.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ It's a measurement of the round-trip time for messages sent from the originating

The app makes use of the built-in [`networkQuality` command-line tool](https://support.apple.com/en-gb/HT212313) under the hood, which is provided by Apple.

#### Can it show a progress bar instead of a spinner?

No, a progress bar would not accurately reflect progress due to the variability in testing time, which depends on factors like network speed and other unknown conditions.

#### Can it show the current speed live as it calculates it?

This is not possible as it's not provided by the macOS tool Speediness uses to get the speed.
Expand Down
6 changes: 6 additions & 0 deletions source/content/apps/velja.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ appStoreId: 1607635845
olderMacOSVersions:
- '12'
- '13'
feedbackNote: |
[Can you support Safari profiles?](/velja#safari-profiles)
[Can you support Arc spaces/profiles?](/velja#arc)
**If you're requesting an addition to the “Apps” list, [please read this](https://sindresorhus.com/velja#builtin-apps-requests).**
---

Open links in a specific browser or a matching native app. Easily switch between browsers.
Expand Down
1 change: 1 addition & 0 deletions source/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const appsCollection = defineCollection({
'19',
'20',
])).optional(),
feedbackNote: z.string().optional(),
}).strict(),
});

Expand Down
9 changes: 8 additions & 1 deletion source/pages/apps/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,20 @@ tccutil reset All com.sindresorhus.Dato

You can now launch the app again.

### How can I send you a crash report for one of your Mac apps? {#crash-report}
### How can I send you a crash report for one of your apps? {#crash-report}

**macOS**
- Open Finder
- Select `Go to Folder…` from the `Go` menu
- Enter: `~/Library/Logs/DiagnosticReports`
- In the resulting list, select all files that starts with the app name, ZIP them, and [send me](/feedback)

**iOS**
- In the Settings app, go to “Privacy & Security › Analytics & Improvements › Analytics Data”
- Tap the first item that starts with the app name
- If there is no such item, tap the first item that starts with `JetsamEvent`
- Tap the share button, tap a mail app, and send it to `[email protected]`

### How can I send you a **spindump** for one of your Mac apps? {#spindump}

- Make sure the app in question is running.
Expand Down
50 changes: 18 additions & 32 deletions source/pages/feedback.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,25 @@ const meta = {
};
// eslint-disable-next-line unicorn/no-await-expression-member
const apps = (await fetchApps()).map(({title, url, iconUrl, repoUrl, hasFaqSection}) => ({
const apps = (await fetchApps()).map(({
title,
url,
iconUrl,
repoUrl,
hasFaqSection,
feedbackNote,
}) => ({
title,
url,
iconUrl,
repoUrl,
hasFaqSection,
feedbackNote,
}));
const inputCSS = 'block p-2.5 w-full text-lg text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500';
const labelCSS = 'block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300';
---

<Layout {meta}>
Expand All @@ -31,16 +41,16 @@ const inputCSS = 'block p-2.5 w-full text-lg text-gray-900 bg-gray-50 rounded-lg
<form id="feedback-form" class="mt-8" action="https://formcarry.com/s/UBfgr97yfY" method="POST" enctype="multipart/form-data" onsubmit="document.querySelector('#submit-button').disabled=true">
<input type="hidden" name="_gotcha">
<div class="mb-6">
<label class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300" for="message">Message*</label>
<label class={labelCSS} for="message">Message*</label>
<textarea class={inputCSS} placeholder="I'm a human. Please be nice." name="message" minlength="20" rows="7" required autofocus></textarea>
</div>
<div class="mb-6">
<label class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300" for="email">Email*</label>
<label class={labelCSS} for="email">Email*</label>
<input class={inputCSS} type="email" name="email" autocomplete="email" required>
<small>Only used for replying to you.</small>
</div>
<div class="mb-6">
<label class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300" class="label" for="email">Attachments</label>
<label class={labelCSS} class="label" for="attachments">Attachments</label>
<input class={inputCSS} type="file" name="attachments" multiple>
</div>
<br>
Expand Down Expand Up @@ -83,43 +93,19 @@ const inputCSS = 'block p-2.5 w-full text-lg text-gray-900 bg-gray-50 rounded-lg

const url = `${app.repoUrl}/issues/new?${searchParams}`;

$('#additional-info').show().html(`
$('#additional-info').show().append(`
If you have a GitHub account, <a href="${url}">open an issue on the repo</a> instead.
`);
}

if (app?.hasFaqSection) {
$('#additional-info').show().html(`
See the <a href="${app.url}#faq">app's frequently asked questions (FAQs)</a> and the <a href="/apps/faq">general FAQs</a> in case your question has already been answered.\nMake sure you are on the latest version and try to restart your device.
`);
}

// Temporary.
if (product === 'Velja') {
$('#additional-info').show().append(`
<br><br><a href="${app.url}#safari-profiles">Can you support Safari profiles?</a><br><br><a href="${app.url}#arc">Can you support Arc spaces/profiles?</a><br><br><b>If you're requesting an addition to the “Apps” list, <a href="https://sindresorhus.com/velja#builtin-apps-requests">please read this</a>.</b><br><br>
`);
}

if (product === 'Dato') {
$('#additional-info').show().append(`
<br><br><b>The latest Dato update (5.3.1) triggered a bug in macOS which caused Dato to crash for some users. I have already submitted an update to Apple with a fix. In the meantime, you can use <a href="https://www.dropbox.com/scl/fi/6x5r54zs0kztzaf5441gb/Dato-1720772869.zip?rlkey=w2c27es5c6m7140hsvvgi7huf&raw=1">this build</a>. Sorry about the inconvenience.</b><br><br>
`);
}

if (product === 'Actions') {
$('#additional-info').show().append(`
<br><br><h3>If you get a “com.apple.extensionKit.errorDomain error 2” error when running your shortcut or if the actions don't show up in the Shortcuts app, restart your device. This is caused by a iOS bug.</h3>
<br><br><b>Some actions that are not possible: orientation lock status, flashlight status, ambient sensor info, flight mode status. Generally, anything related to changing system features/settings or interacting with other apps is not possible.</b>
<br>
<br>
See the <a href="${app.url}#faq">app's frequently asked questions (FAQs)</a> and the <a href="/apps/faq">general FAQs</a> in case your question has already been answered.\nMake sure you are on the latest version and try to restart your device.
`);
}

if (product === 'AI Actions') {
$('#additional-info').show().append(`
<br><br><h3>Apple is currently blocking updates to this app because they don't like the use of OpenAI keys without in-app purchase (they want their 30% of OpenAI revenue), so until EU forces them to allow side-loading and alternative App Store's, I won't be able to make any improvements to this app...</h3>
`);
if (app?.feedbackNote) {
$('#additional-info').show().append(`<div>${app?.feedbackNote}</div>`);
}
}

Expand Down
4 changes: 4 additions & 0 deletions source/utils/apps.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {markdown} from '@astropub/md';
import {getCollection} from 'astro:content';

const normalizeApps = async app => {
Expand Down Expand Up @@ -58,6 +59,8 @@ const normalizeApps = async app => {
return object;
});

const feedbackNote = await markdown(data.feedbackNote);

return {
...data,
pubDate,
Expand All @@ -77,6 +80,7 @@ const normalizeApps = async app => {
olderVersionsUrl: data.repoUrl ? `${data.repoUrl}#download` : `/${slug}#older-versions`,
...(data.appStoreId && {appStoreUrl: `https://apps.apple.com/app/id${data.appStoreId}`}),
...(data.setappId && {setappUrl: `https://go.setapp.com/stp181?refAppID=${data.setappId}&utm_medium=vendor_program&utm_content=button`}),
feedbackNote,
};
};

Expand Down

0 comments on commit 7656a73

Please sign in to comment.