Skip to content

Blogger: pictures from tools, button link, own menu, cleaner post page - #4

Merged
necessarylion merged 2 commits into
mainfrom
blogger-pictures-and-link
Nov 6, 2026
Merged

necessarylion merged 2 commits into
mainfrom
blogger-pictures-and-link

Conversation

@mydoxie

@mydoxie mydoxie commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Needs sellrika/sellrika PR for ctx.uploads.save first.

Pictures from AI tools

  • blogger_create_post and blogger_update_post take cover as base64 or an https link.
  • A body <img src="data:image/…;base64,…"> is saved too. The post keeps only the /uploads/… path.
  • At most 20 pictures per call, 5 MB each, 8 MB for the whole call.
  • When the save is refused, the pictures it stored are dropped again.

Button link setting

  • New optional settings: Button link and Button text.
  • With a link, the header and band buttons go there. This is for a shop whose store is only a demo.
  • Empty: nothing changes.

Post page

  • The header and the body share one centered column, so their left edges line up.
  • No drop cap. Less empty space above the body.

Other

  • Version 1.1.0. Guide and texts (en, de, th) updated.
  • Tests: index.test.ts (pictures) and a new test in posts.test.ts (button link). All 13 pass.

Own menu

  • New settings: Own menu (a switch) and Menu links (0 to 5 links, each with a name and a link).
  • Off: the usual Shop, Blog and Track order.
  • On: only the shop's links. On with no links: no menu.
  • The footer shows the same links, plus the RSS feed.
  • The Button link no longer hides the shop links. The menu does that now.
  • The 5-link limit needs max on list fields from the app PR.

…post page

- create_post and update_post take a cover and body pictures as base64
  (or the cover as an https link). They are saved to the shop's storage
  with ctx.uploads.save. A refused save drops the pictures it stored.
- New settings Button link and Button text. With a link, the buttons go
  there and the links to the store are hidden. For a shop whose store
  is only a demo.
- The post page: the header and the body share one column, no drop cap,
  less empty space.
- Version 1.1.0.
- New settings Own menu (a switch) and Menu links (0 to 5 links, each
  with a name and a link).
- Off: the usual Shop, Blog and Track order. On: only the shop's links.
  On with no links: no menu.
- The footer shows the same links, plus the RSS feed.
- The Button link no longer hides the shop links: the menu does that now.
@mydoxie mydoxie changed the title Blogger: base64 pictures from tools, a custom button link, a cleaner post page Blogger: pictures from tools, button link, own menu, cleaner post page Nov 6, 2026
@necessarylion
necessarylion merged commit bfdbd0f into main Nov 6, 2026
1 of 2 checks passed
@necessarylion
necessarylion deleted the blogger-pictures-and-link branch November 6, 2026 14:57
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.

2 participants