Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@

-->

## November 30, 2026

📢 https://mastodon.social/@cheeaun/117705055901143346

- 💾 "Bookmarks" renamed to "Saved Posts"
- 🙈 Wellbeing: hide post and profile metrics
- 🔤 Display options: lowercase timeline post text, show username instead of display name
- ⏰ Time format setting (auto, 12-hour, 24-hour)
- 🐛 Bug fixes

## October 5, 2026

📢 https://mastodon.social/@cheeaun/117388840265015008
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ These are self-hosted by other wonderful folks.
- [phanpy.vmst.io](https://phanpy.vmst.io/) by [@vmstan@vmst.io](https://vmst.io/@vmstan)
- [phanpy.linuxusers.in](https://phanpy.linuxusers.in) by [@dharmik@linuxusers.in](https://linuxusers.in/dharmik)
- [phanpy.blablalinux.be](https://phanpy.blablalinux.be) by [@blablalinux@mastodon.blablalinux.be](https://mastodon.blablalinux.be/@blablalinux)
- [fedi.woodpeckersnest.space](https://fedi.woodpeckersnest.space) by [@roughnecks@mastodon.social](https://mastodon.social/@roughnecks)

> Note: Add yours by creating a pull request.

Expand Down Expand Up @@ -553,7 +552,7 @@ All design files are in the [`design`](design/) folder.
<br />
<sub><b>(A.Mason)</b></sub></a>
<br />
<sub><b>2646 words</b></sub>
<sub><b>2702 words</b></sub>
<br /><sub><b><code title="Polish">pl</code></b></sub>
</td>
<td align="center" valign="top">
Expand Down
8 changes: 6 additions & 2 deletions src/components/collection-add-account.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { api } from '../utils/api';
import {
canAccountBeAdded,
canAccountBeAddedByFollowers,
getCollectionLimits,
} from '../utils/collections';
import { fetchRelationships } from '../utils/relationships';
import showToast from '../utils/show-toast';
Expand All @@ -33,6 +34,8 @@ function CollectionAddAccount({
}) {
const { t } = useLingui();
const { masto } = api({ instance });
const { maxItems } = getCollectionLimits();
const isFull = existingAccountIds.size >= maxItems;
const [uiState, setUIState] = useState('default');
const [accounts, setAccounts] = useState([]);
const [relationshipsMap, setRelationshipsMap] = useState({});
Expand Down Expand Up @@ -79,7 +82,7 @@ function CollectionAddAccount({
}, []);

const handleAdd = (account) => {
if (addingIds.has(account.id)) return;
if (isFull || addingIds.has(account.id)) return;
setAddingIds((prev) => new Set([...prev, account.id]));
(async () => {
try {
Expand Down Expand Up @@ -147,6 +150,7 @@ function CollectionAddAccount({
type="search"
class="block"
placeholder={t`Search accounts`}
disabled={isFull}
onInput={(e) => {
const { value } = e.target;
debouncedLoadAccounts(value);
Expand Down Expand Up @@ -189,7 +193,7 @@ function CollectionAddAccount({
<button
type="button"
class="plain2"
disabled={isAdding}
disabled={isAdding || isFull}
onClick={() => handleAdd(account)}
>
{isAdding ? (
Expand Down
6 changes: 4 additions & 2 deletions src/components/collection-add-edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { useEffect, useRef, useState } from 'preact/hooks';

import supportedLanguages from '../data/status-supported-languages';
import { api } from '../utils/api';
import { getCollectionLimits } from '../utils/collections';
import localeCode2Text from '../utils/localeCode2Text';
import showToast from '../utils/show-toast';

Expand All @@ -18,6 +19,7 @@ function CollectionAddEdit({ collection, accountIds, onClose }) {
const { t } = useLingui();
const { masto } = api();
const editMode = !!collection;
const collectionLimits = getCollectionLimits();
const [uiState, setUIState] = useState('default');
const nameFieldRef = useRef();
const descriptionFieldRef = useRef();
Expand Down Expand Up @@ -112,7 +114,7 @@ function CollectionAddEdit({ collection, accountIds, onClose }) {
id="collection-name"
name="name"
required
maxLength={40}
maxLength={collectionLimits.maxNameLength}
disabled={uiState === 'loading'}
dir="auto"
autoFocus
Expand All @@ -128,7 +130,7 @@ function CollectionAddEdit({ collection, accountIds, onClose }) {
ref={descriptionFieldRef}
id="collection-description"
name="description"
maxLength={100}
maxLength={collectionLimits.maxDescriptionLength}
readOnly={uiState === 'loading'}
dir="auto"
rows={1}
Expand Down
7 changes: 7 additions & 0 deletions src/components/collection-manage-accounts.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@
min-width: 0;
}
}

#collection-manage-accounts-container .collection-manage-accounts-actions {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 8px;
}
27 changes: 18 additions & 9 deletions src/components/collection-manage-accounts.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
} from 'preact/hooks';

import { api } from '../utils/api';
import { getCollectionLimits } from '../utils/collections';
import { fetchRelationships } from '../utils/relationships';
import showToast from '../utils/show-toast';

Expand All @@ -33,6 +34,7 @@ const CollectionManageAccounts = forwardRef(function CollectionManageAccounts(
) {
const { t } = useLingui();
const { masto } = api({ instance });
const { maxItems } = getCollectionLimits();

const [collectionItems, setCollectionItems] = useState(
collection?.items || [],
Expand Down Expand Up @@ -104,6 +106,7 @@ const CollectionManageAccounts = forwardRef(function CollectionManageAccounts(
() => new Set(collectionItems.map((i) => i.accountId)),
[collectionItems],
);
const isFull = collectionItems.length >= maxItems;

return (
<div id="collection-manage-accounts-container" class="sheet">
Expand Down Expand Up @@ -165,16 +168,22 @@ const CollectionManageAccounts = forwardRef(function CollectionManageAccounts(
);
})}
</ul>
<button
type="button"
class="light"
onClick={() => setShowAddAccount(true)}
>
<Icon icon="plus" />{' '}
<span>
<Trans>Add account</Trans>
<div class="collection-manage-accounts-actions">
<button
type="button"
class="light"
disabled={isFull}
onClick={() => setShowAddAccount(true)}
>
<Icon icon="plus" />{' '}
<span>
<Trans>Add account</Trans>
</span>
</button>{' '}
<span class="insignificant">
<Trans>Max {maxItems} accounts</Trans>
</span>
</button>
</div>
</main>
{showAddAccount && (
<Modal
Expand Down
10 changes: 8 additions & 2 deletions src/components/status.css
Original file line number Diff line number Diff line change
Expand Up @@ -2803,8 +2803,14 @@ body:has(#modal-container .carousel) .status .media img:hover {
line-height: 1.2;
}

.status .content p code {
color: var(--green-color);
.status .content .inner-content {
code {
color: var(--green-color);
}

pre code {
color: inherit;
}
}

/* ACTIONS */
Expand Down
68 changes: 36 additions & 32 deletions src/locales/en.po

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

Loading