fix(workspace): hidden bullet actions on phones, no second extract, notice layout
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 2m20s

- The floating bullet actions only react to hover on devices with a real
  pointer; a tap on a phone made the invisible buttons clickable.
- A bullet that is only a note link (plus hashtags) can no longer be
  extracted: button and /extract are hidden, the server answers 400.
- Extract notice on phones sits above the bottom navigation, text on
  top (two lines max) with the actions below.
- Release v0.26.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
sandrodachandClaude Opus 5.5 committed 2026-10-31 19:56:32 +01:00
1 parent fdd6e38065
commit 68bc4d279c
12 files changed
+78 -27

No files matched your search

+9 -1
View File
@@ -1,5 +1,5 @@
import { describe, it, expect } from 'vitest';
import { buildBlockLink, parseWikiLink, wikiLinkText } from '../wikiLink';
import { buildBlockLink, isNoteLinkOnly, parseWikiLink, wikiLinkText } from '../wikiLink';
describe('wiki links', () => {
it('parses plain, labelled, section and bullet links', () => {
@@ -18,4 +18,12 @@ describe('wiki links', () => {
expect(parsed.blockId).toBe('blk_x');
expect(wikiLinkText(parsed)).toBe('Homelab neu › Backups liefen bisher nur manuell – das…');
});
it('recognises a bullet that is only a link to a note', () => {
expect(isNoteLinkOnly('[[Konzept: Garten]]')).toBe(true);
expect(isNoteLinkOnly('[[Konzept: Garten]] #draußen #idee')).toBe(true);
expect(isNoteLinkOnly('Siehe [[Konzept: Garten]]')).toBe(false);
expect(isNoteLinkOnly('[[Konzept: Garten]] und mehr')).toBe(false);
expect(isNoteLinkOnly('Garten')).toBe(false);
});
});