Repository navigation
Preset gallery window and filee presets check - #1537
Open
KnifeLemon wants to merge 1 commit into
Open
KnifeLemon wants to merge 1 commit into
KnifeLemon wants to merge 1 commit into
Conversation
Part B of the preset gallery (#1530). - Filee.Core/Gallery: an explicit allow-list of the fields a shared preset.json may have (unknown fields fail, fields that carry the sharer's folders, passwords, picture paths, clip music, metadata edits or the AI model may only be empty), the bundle and folder checks (pictures by header, sizes, no animation), index.json reading with relative paths and the counted download link, and an installer that verifies SHA-256 and the rules, then adds new presets and a donut under new ids without replacing anything. - filee presets check <folder> [--json]: what the gallery's CI runs, with SkiaSharp decoding every picture; codes, messages and derived meta fields. - App: "Preset gallery" window from the Presets page (Hot/Best/New, filters, search, details, Install, Comments), contacting filee.sh only while open, through the proxy setting with time and size limits and a picture cache. Texts in all 23 languages, labels matching filee.sh. - Export writes settingsSchema into bundles. Refs #1530 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first ten presets of the gallery (#1530 in KnifeLemon/Filee), for people who find setting up presets hard. Each one is a useful variant, not a copy of a built-in preset, and uses only options Filee has (nothing from the not-shareable list).
photos-for-social-mediainstagram-4-5-white-framewebp-for-websitesdraft-pdf-for-reviewmerge-into-a4-pdf-for-printingsmallest-pdf-for-emailscans-to-one-searchable-pdfsmall-gif-for-chatvertical-video-for-reels-and-shortspodcast-voice-mp3How they were made:
preset.json: built in code with Filee.Core and written withUserDataStore.Export(the same code as Settings > General > Export,Preset.ForSharing()), fromfeat/preset-gallery.filee convert --preset ...). Image 2 is the preset in the app's preset editor (or the Add background window). No real photos, people, documents or file paths. Re-encoded to WebP with thumbnails by this repository'stools/images.py.meta.json:kinds,formatsandminVersionfromfilee presets check --json;created/updatedleft out anddiscussionnull as CONTRIBUTING.md asks.Checks: every folder passes
filee presets check <folder> --jsonandtools/check.pywhen run as a single-folder pull request. This pull request adds ten folders at once, so the PR-levelscoperule ("one pull request may add or change one preset only") is expected to fail here; it is the seeding pull request for an empty gallery. CI may also not run fully until the bot app and secrets are set up (CONTRIBUTING.md > Maintainers).🤖 Generated with Claude Code