Skip to content

img: add NC-discoverable app icon (etherpad_nextcloud.svg + dark + 512 PNG)#84

Merged
Jaggob merged 1 commit into
Jaggob:mainfrom
JohnMcLear:art/app-icon-discoverability
May 22, 2026
Merged

img: add NC-discoverable app icon (etherpad_nextcloud.svg + dark + 512 PNG)#84
Jaggob merged 1 commit into
Jaggob:mainfrom
JohnMcLear:art/app-icon-discoverability

Conversation

@JohnMcLear
Copy link
Copy Markdown
Contributor

Towards #76 (apps.nextcloud.com submission). Companion to #83 (CI).

Per the offer in #57: Nextcloud auto-resolves an app's icon by looking up img/<app-id>.svg in the app archive — notes, mail, talk, calendar all rely on this. Right now the repo ships the right artwork under `etherpad-icon-black.svg` (which is the upstream three-pad-lines + two-arcs Etherpad brand mark, exact 355×355 viewBox, faithfully minified), but it isn't under the conventional filename, so the App Store storefront would fall back to a generic placeholder on submission.

This PR adds the three files that NC + the store look for, all derived from the existing artwork already in the repo:

File Source Purpose
img/etherpad_nextcloud.svg duplicate of etherpad-icon-black.svg Default app icon — picked up by store + sidebar
img/etherpad_nextcloud-dark.svg duplicate of etherpad-icon-white.svg Dark theme variant (NC convention, mirrors notes-dark.svg)
img/etherpad_nextcloud-512.png 512×512 raster of the black variant, transparent bg For manual upload to apps.nextcloud.com developer profile

Existing etherpad-icon-{black,color,white}.svg references (admin section icon, third-party notices, docs/ui-icons.md, src/files/open-action.js) are left untouched — no behavior change for any code path that's already wired up.

Why duplicate rather than symlink or move

  • A git mv would break AdminSection.php's imagePath(..., 'etherpad-icon-black.svg') and the docs/code references above
  • Symlinks don't survive cleanly through release archive generation on every platform (especially Windows zip extraction)
  • The cost is ~1.6 KB of duplicated SVG; that's cheaper than the dependency-graph fragility either alternative buys

If you'd rather consolidate later, easy follow-up: switch internal refs to the new filename and delete the legacy ones in a single sweep.

License

Same as the source files — Apache-2.0 brand artwork (tracked in img/README.md and THIRD_PARTY_NOTICES.md). README updated in this PR.

Preview

The 512×512 PNG, as it'll appear on the store card:

etherpad_nextcloud-512

Co-sign note

Per the #57 thread, happy to be listed as a co-publisher on the apps.nextcloud.com submission record at 1.1.0 GA — nothing to do in this PR for that, just flagging here so the trail is in one place.

…2 PNG)

Towards Jaggob#76 (apps.nextcloud.com submission).

Nextcloud auto-resolves an app's icon by looking up `img/<app-id>.svg`
in the app archive (notes, mail, talk, calendar all rely on this), so
the App Store storefront and Files navigation entry both surface the
correct artwork without needing an explicit <icon> element in
appinfo/info.xml.

This adds the three files that resolution expects, all derived from
the existing brand artwork already in this repo:

- img/etherpad_nextcloud.svg       — duplicate of etherpad-icon-black.svg
- img/etherpad_nextcloud-dark.svg  — duplicate of etherpad-icon-white.svg
- img/etherpad_nextcloud-512.png   — 512x512 transparent-bg PNG render
                                     of the black variant, for manual
                                     upload to the developer profile.

Existing img/etherpad-icon-{black,color,white}.svg references (admin
section icon, third-party notices, ui-icons docs, open-action.js) are
left untouched.

The artwork is the upstream three-pad-lines + two-arcs Etherpad brand
mark, monochrome black on transparent — matches what Jacob already
shipped, just exposed under the conventional NC filename so the store
+ sidebar pick it up automatically.

img/README.md updated to record the additions and explain the
duplicate-rather-than-symlink choice (archive portability).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Jaggob Jaggob merged commit 7730c15 into Jaggob:main May 22, 2026
@Jaggob
Copy link
Copy Markdown
Owner

Jaggob commented May 22, 2026

Thanks for both #83 and #84! Fixed the issues in the (still provisional) appinfo/info.xml that came up via the new CI in #94 and added you as author.

Also fine with the icon-file duplication approach. will consolidate at some point when nothing else is pending.

Jaggob added a commit that referenced this pull request May 27, 2026
Second public-review release. Focus: localisation cleanup
(#77), embed-create host signalling (#95/#96), CI + Dependabot
(#75/#83), release tarball script (#74), NC-discoverable app
icon (#84). See CHANGELOG.md for the full list of changes.
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