Skip to content

feat(plugins): when ב-searchFieldActions — rebase של #4700 - #4810

Merged
Y-PLONI merged 1 commit into
devfrom
feat/search-field-action-when-rebased-4700
Nov 10, 2026
Merged

Y-PLONI merged 1 commit into
devfrom
feat/search-field-action-when-rebased-4700

Conversation

@yom-chadash

Copy link
Copy Markdown
Member

רקע

חלופה מעודכנת ל־#4700 מאת @mmichaelush. התמיכה ב־when עבור contributes.startup.searchFieldActions עדיין אינה קיימת ב־dev, אף שקיימת לתרומות אחרות.

לא ניתן לעדכן ישירות את ענף ה־fork המקורי דרך חיבור ה־GitHub הנוכחי (403 Resource not accessible by integration), גם לאחר ניסיון נוסף. לכן הועתק השינוי עצמו לענף של Otzaria/otzaria ונפתחה חלופה שניתנת לתחזוקה כאן, תוך קרדיט למגיש המקורי.

שינויים

  • when אופציונלי ב־PluginSearchFieldAction, עם פרסינג על ידי PluginWhenCondition.
  • PluginConditionEvaluator מציג ומסתיר את הכפתור מיד כשמשתנות הגדרות/אחסון, בשני מצבי הפעולה, בלי להפעיל את מנוע התוסף.
  • ולידציה למפתחות הגדרות חסומים ול־minAppVersion: 0.9.99.
  • סנכרון מפתחות אחסון הנדרשים ל־searchFieldActions, שמירה על מכסות של כפתורים רשומים, ותיעוד SDK.
  • בדיקות למודל, לוולידציה, לשירות התרומות ולרכיב ה־Flutter.

התאמה ל־dev

נבנה על dev@368051e7b39b57beb05d03a3bfc16dfa94309df8. השינויים שולבו עם הוספות ה־pluginOnlyLabel / libraryOnlyLabel שכבר מוזגו, כולל תיעוד תואם, ולא מחליפים אותן.

בדיקות

ה־PR המקורי דיווח על 175 בדיקות עוברות ועל dart analyze נקי. השילוב החדש בוצע ברמת קוד ו־diff, ללא Flutter SDK מקומי בסביבת הביצוע הזאת; יש לאמת את ה־CI של הענף הזה לפני המיזוג.

Original: #4700 (thanks @mmichaelush).

@Y-PLONI
Y-PLONI force-pushed the feat/search-field-action-when-rebased-4700 branch from 3a22f85 to 3d0936d Compare November 10, 2026 19:30
Integrate plugin search field visibility conditions with current dev, preserving the providerBooksFilter labels added since the original PR. Include validation, startup storage key syncing, widget refresh, SDK docs and regression tests.

Original contribution: #4700

Co-authored-by: mmichaelush <104845712+mmichaelush@users.noreply.github.com>
@Y-PLONI
Y-PLONI force-pushed the feat/search-field-action-when-rebased-4700 branch from 3d0936d to 1dc1205 Compare November 10, 2026 19:55
@Y-PLONI
Y-PLONI merged commit 749411b into dev Nov 10, 2026
18 checks passed
@Y-PLONI
Y-PLONI deleted the feat/search-field-action-when-rebased-4700 branch November 10, 2026 19:55
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