Skip to content

add full page width preference - #44

Merged
Philipinho merged 2 commits into
mainfrom
feat/full-width
Jul 3, 2024
Merged

Philipinho merged 2 commits into
mainfrom
feat/full-width

Conversation

@Philipinho

Copy link
Copy Markdown
Member

This PR adds the full page width user preference. All pages will open in full-width mode for the user if enabled.
Fixes: #26

@Philipinho
Philipinho merged commit 491fbad into main Jul 3, 2024
@Philipinho
Philipinho deleted the feat/full-width branch July 18, 2024 21:52
Vito0912 added a commit to fuscodev/docmost that referenced this pull request Jul 5, 2025
feat: keep table of contents or comments open when switching pages
vvzvlad pushed a commit to vvzvlad/gitmost that referenced this pull request Jun 20, 2026
docmost#44)

The footnote definition number ('1.') sat ~19px from its text because two
spacings stacked: the 1.5em (24px) marker min-width box (wider than the ~15px
glyph) plus a 10px flex gap. Reduce the flex gap to 0.4em (about one space) and
right-align the number within the 1.5em column so the period sits next to the
text and multi-digit numbers (10, 11, ...) stay aligned. Reads like '1. text'.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
PMQ9 added a commit to cccvu/docmost that referenced this pull request Sep 20, 2026
… the CAS ordering, no metadata drop

Addresses the 7-lens review of docmost#44 / wiki-v2#437.

- S1 (security, blocking): namespace the idempotency-key ledger entry by the acting user
  (write-idem.scopedWriteKey). The key is caller-chosen and the ledger is per-page, so an
  unscoped key let one user's write suppress another user's genuine write as a false
  "duplicate" — a cross-user lost update returning 200. Same-identity retries still dedup.
- T1 (testing, blocking): pin the two load-bearing in-transaction orderings that were
  untested — dedup runs BEFORE the CAS (a committed keyed write's retry dedups, does not
  412 on the digest its own apply moved) and the key is recorded ONLY on an actual apply
  (a write that fails the precondition must not poison the ledger). New "key × CAS
  ordering" describe; the record-after-CAS invariant is now documented at the call site.
- F1 (architecture, L3): a duplicate content write that ALSO carried metadata now
  (re)applies the metadata instead of silently dropping it; a content-only duplicate stays
  an inert no-op. Metadata is idempotent, so re-applying on retry is safe.
- S2 (security, L3): @maxlength(255) on the DTO idempotencyKey so an over-long key cannot
  bloat pages.ydoc.
- correctness nits: strip idempotencyKey from the metadata-only update; correct the
  duplicate-path no-op comment re: the docmost#282 concurrent-edit residual.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
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.

Allow for wider text area

1 participant