Skip to content

Commit 4af02cd

Browse files
authored
fix: add autofillHints support to AFTextField (#8594)
* chore: bump version to 0.11.4 and update changelog * feat: add autofillHints support to AFTextField * fix: remove autoFocus from font search input * chore: fix code formatting
1 parent bbe886f commit 4af02cd

File tree

12 files changed

+252
-10
lines changed

12 files changed

+252
-10
lines changed

CHANGELOG.md

Lines changed: 238 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,242 @@
11
# Release Notes
2+
## Version 0.11.4 – 09/03/2026
3+
### Desktop
4+
#### New Features
5+
- Notification System: In-app notification center to track mentions, reminders, and activity updates
6+
- Revamped Slash Menu: Redesigned `/` command menu with improved layout and discoverability
7+
- Editor Block Spacing: Optimize spacing between blocks in the document editor
8+
9+
#### Bug Fixes
10+
- Fixed row document issues
11+
- Fixed bulk delete not working correctly
12+
- Fixed connection check causing unnecessary errors
13+
14+
### Mobile
15+
#### New Features
16+
- Notification System: In-app notification center to track mentions, reminders, and activity updates
17+
- Revamped Slash Menu: Redesigned `/` command menu with improved layout and discoverability
18+
- Editor Block Spacing: Optimize spacing between blocks in the document editor
19+
20+
#### Bug Fixes
21+
- Fixed mobile block selection disappearing
22+
- Fixed select-all behavior with Gboard on Android
23+
- Fixed duplicate column names when creating board groups
24+
25+
## Version 0.11.3 – 25/02/2026
26+
### Desktop
27+
#### Bug Fixes
28+
- Fixed the space dropdown menu not displaying correctly
29+
- Fixed relation filter not applying correctly in advanced filter scenarios
30+
- Fixed the disconnect banner not refreshing properly
31+
32+
### Mobile
33+
#### Bug Fixes
34+
- Fixed losing focus after typing the first character in a text cell
35+
- Fixed FCM blocking the main app on startup
36+
37+
## Version 0.11.2 – 14/02/2026
38+
### Desktop
39+
#### New Features
40+
- New Database View: Feed view
41+
- AI Transcript & Meeting Blocks: Automatic speaker name guessing, referenced AI summaries, and meeting detection from Google Meet and Slack
42+
- Google Drive Block: Embed and select Google Drive files via link or connected account
43+
44+
#### Bug Fixes
45+
- File Block: Display upload progress during file uploads
46+
- Image Upload: Improved upload indicator and instant image caching
47+
- Unsplash Cover Image: Improved preview and keyboard navigation
48+
49+
### Mobile
50+
#### New Features
51+
- New Database View: Feed view
52+
- Google Drive Block: Embed and select Google Drive files via link or connected account
53+
54+
#### Bug Fixes
55+
- File Block: Display upload progress during file uploads
56+
- Image Upload: Improved upload indicator and instant image caching
57+
58+
## Version 0.11.1 – 28/01/2026
59+
### Desktop
60+
#### New Features
61+
- New Database Views: Gallery, List, and Chart views
62+
- Grouping in a Grid (Table) view: Group by allows you to organize database entries into collapsible sections based on property values (e.g., Status, Priority)
63+
- Multi-row actions: Allows for powerful multi-row (bulk) actions within databases to edit, delete, or duplicate all at once
64+
- Database advanced filters: Useful when combining AND logic and OR logic in your filter
65+
- Number property new formats: Comma separated and percent
66+
- Export as PDF: Export a single page as .PDF
67+
- Database Cover Images: Added support for cover images to enhance visual representation
68+
- AI Transcript & Meeting Notes: Use the mention person type for task assignees in the action items of the AI summary
69+
70+
#### Bug Fixes
71+
- Enhanced playback experience for video blocks
72+
- Resolved issue with inline mention styles not matching block text styles
73+
74+
### Mobile
75+
#### New Features
76+
- New Database Views: Gallery, List, and Chart views
77+
78+
#### Bug Fixes
79+
- Improved playback experience for video blocks
80+
- Fixed issue with inline mention styles not matching block text styles
81+
82+
## Version 0.11.0 – 12/01/2026
83+
### Desktop
84+
#### Bug Fixes
85+
- Fixed row detail page button style not following theme changes
86+
- Fixed target limit not being removed when creating two-way relation field
87+
- Improved speaker selector menu UI style in the transcript tab of AI meeting block
88+
89+
## Version 0.10.9 – 09/01/2026
90+
### Desktop
91+
#### New Features
92+
- Database Rollup: A powerful property used to retrieve and aggregate information from items in a related database
93+
- Database search: Search names of database pages, as well as property values (such as a status of "In progress") and content inside database pages
94+
- AI Transcript with auto speaker identification: Upload an audio file to generate transcriptions with speaker labels. You can assign or change speaker names
95+
- AI Meeting Notes with auto speaker identification: Real-time transcription during meetings with automatic speaker label detection after recording stops. You can assign or change speaker names
96+
- Mermaid diagram support: Add diagrams directly in Code blocks with split, preview, and code display modes, plus an expandable view
97+
- Top nav bar breadcrumb revamp: Refreshed design with improved layout
98+
- Document and database cover reposition: Reposition cover images for the best display
99+
100+
#### Bug Fixes
101+
- Fixed various database issues to improve stability and performance
102+
103+
### Mobile
104+
#### New Features
105+
- AI Transcript with auto speaker identification: Upload an audio file to generate transcriptions with speaker labels. You can assign or change speaker names
106+
- Mermaid diagram support: Add diagrams directly in Code blocks with split, preview, and code display modes, plus an expandable view
107+
108+
#### Bug Fixes
109+
- Fixed various database issues to improve stability and performance
110+
111+
## Version 0.10.8 – 22/12/2025
112+
### Desktop
113+
#### Bug Fixes
114+
- Grid sort order preserved after edits — Editing a row no longer moves it to the bottom of a sorted Grid
115+
- Delete banner for databases — Grid, Board, and Calendar now show restore/delete banner when deleted
116+
- Timestamp field conversion — Converting Created time or Last modified to Text/Date no longer loses values
117+
- Unicode string sorting — Sorting now handles accented characters and special symbols correctly
118+
- Kanban filter fix — Filters now apply correctly to items added after view creation
119+
120+
### Mobile
121+
#### Bug Fixes
122+
- Grid sort order preserved after edits — Editing a row no longer moves it to the bottom of a sorted Grid
123+
- Timestamp field conversion — Converting Created time or Last modified to Text/Date no longer loses values
124+
- Unicode string sorting — Sorting now handles accented characters and special symbols correctly
125+
- Kanban filter fix — Filters now apply correctly to items added after view creation
126+
127+
## Version 0.10.7 – 19/12/2025
128+
### Desktop
129+
#### New Features
130+
- AI Meeting Notes Block: Supports real-time transcription on macOS and Windows. AI will turn everything into a clean, share-ready summary
131+
- Database Two-way Relations: Automatically sync connected data between databases, ensuring that information added in one place instantly appears in the other
132+
- Video Block: Upload or embed video files, then view and interact with them directly inside your document
133+
- Audio Block: Upload or embed audio files, then view and interact with them directly inside your document
134+
- Callout Block: Supports removing the callout icon
135+
- Table of Contents Block: Supports collapsing/uncollapsing the content
136+
137+
#### Bug Fixes
138+
- Fixed various issues related to database views, including sorting, filtering, counting, syncing, and layouts
139+
- Fixed various issues related to the linked views of databases
140+
- Fixed database issues related to date formats, file name display, view tabs, horizontal scroll, and Relation property performance
141+
142+
### Mobile
143+
#### New Features
144+
- Video Block: Upload or embed video files, then view and interact with them directly inside your document
145+
- Audio Block: Upload or embed audio files, then view and interact with them directly inside your document
146+
- Callout Block: Supports removing the callout icon
147+
- Table of Contents Block: Supports collapsing/uncollapsing the content
148+
149+
#### Bug Fixes
150+
- Fixed various issues related to database views, including sorting, filtering, counting, syncing, and layouts
151+
- Fixed various issues related to the linked views of databases
152+
- Fixed database issues related to date formats, file name display, view tabs, horizontal scroll, and Relation property performance
153+
154+
## Version 0.10.6 – 05/12/2025
155+
### Desktop
156+
#### Bug Fixes
157+
- Fixed issues related to the duplicated databases
158+
- Fixed an issue where the Chinese (Simplified) and Chinese (Traditional) language options were not being saved properly in the summary language of the AI meeting block
159+
160+
### Mobile
161+
#### Bug Fixes
162+
- Fixed issues related to the duplicated databases
163+
164+
## Version 0.10.5 – 02/12/2025
165+
### Desktop
166+
#### New Features
167+
- AI Transcript Block: Turn audio and video recordings into ready-to-share notes with AI Transcribe. Easily use our rich-text editing features to refine both the AI transcription and summary. Perfect for work, school, or personal projects
168+
- PDF Block: Upload or embed PDF files, then view and interact with them directly inside your document
169+
- Improved Image Block: Supported new features such as captions, embedded external or page links, saving images, and replacing images with more polished visuals and interactions
170+
- Self-hosted: Enabled custom namespaces, fixed issues with inviting members via link, and removed Pro plan banners that were intended for the managed cloud version
171+
172+
### Mobile
173+
#### New Features
174+
- PDF Block: Upload or embed PDF files, then view and interact with them directly inside your document
175+
- Improved Image Block: Supported new features such as captions, embedded external or page links, saving images, and replacing images—with more polished visuals and interactions
176+
- Self-hosted: Fixed issues with inviting members via link, and removed Pro plan banners that were intended for the managed cloud version
177+
178+
## Version 0.10.4 – 14/11/2025
179+
### Desktop
180+
#### New Features
181+
- Revamped the Math Equation block with an easier-to-use UX and new features: multiline equations, more environment variables, inline math equation markdown support, and Ask AI
182+
- Revamped the Toggle List block with an improved UI and bug fixes
183+
- Revamped the right-click Context Menu with a more polished UI and new features: Paste as plain text and Ask AI
184+
185+
#### Bug Fixes
186+
- Fixed issues related to the Math Equation and Toggle List blocks
187+
- Fixed issues related to the right-click Context Menu
188+
189+
### Mobile
190+
#### New Features
191+
- Revamped the Math Equation and Toggle List blocks with improved UIs and new features
192+
193+
#### Bug Fixes
194+
- Fixed issues related to the Math Equation and Toggle List blocks
195+
196+
## Version 0.10.3 – 31/10/2025
197+
### Desktop
198+
#### New Features
199+
- Revamped the Code block with new features: pin language, caption, Ask AI, and Turn Text into Code
200+
- Revamped the Callout block with an improved UI and quick styles
201+
- Revamped the Outline block with a more polished UI and custom background colors
202+
- Notification Settings: enable or disable mobile push notifications
203+
204+
#### Bug Fixes
205+
- Fixed issues related to the Code and Callout blocks
206+
207+
### Mobile
208+
#### New Features
209+
- Supported mobile push notifications: you'll receive a push message when you're mentioned, invited to a page, or when page permissions change
210+
- Revamped the Code, Callout, and Outline blocks with improved UIs and new features
211+
212+
## Version 0.10.2 – 24/10/2025
213+
### Desktop
214+
#### Bug Fixes
215+
- Fixed inability to import Notion zip file
216+
217+
## Version 0.10.1 – 16/10/2025
218+
### Desktop
219+
#### Bug Fixes
220+
- Fixed potential login token expired issue
221+
- Fixed inability to create Vault workspace on self-hosted servers with commercial plans
222+
- Fixed switching page rapidly caused the page flash
223+
224+
### Mobile
225+
#### Bug Fixes
226+
- Fixed potential login token expired issue
227+
228+
## Version 0.10.0 – 29/09/2025
229+
### Desktop
230+
#### New Features
231+
- Person, a new database property, lets you assign a row to one or more collaborators
232+
233+
### Mobile
234+
#### New Features
235+
- Person, a new database property, lets you assign a row to one or more collaborators
236+
- iOS Share to AppFlowy: quickly save a web page with optional notes to a target AppFlowy page or database
237+
- Android Share to AppFlowy: quickly save a web page with optional notes to a target AppFlowy page or database
238+
- A new Android widget: Quick Page Access
239+
2240
## Version 0.9.9 – 11/09/2025
3241
### Desktop
4242
#### New Features

frontend/Makefile.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
2626
CARGO_MAKE_CRATE_FS_NAME = "dart_ffi"
2727
CARGO_MAKE_CRATE_NAME = "dart-ffi"
2828
LIB_NAME = "dart_ffi"
29-
APPFLOWY_VERSION = "0.9.9"
29+
APPFLOWY_VERSION = "0.11.4"
3030
FLUTTER_DESKTOP_FEATURES = "dart"
3131
PRODUCT_NAME = "AppFlowy"
3232
MACOSX_DEPLOYMENT_TARGET = "11.0"

frontend/appflowy_flutter/lib/features/share_tab/data/models/models.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ export 'share_access_level.dart';
22
export 'share_popover_group_id.dart';
33
export 'share_role.dart';
44
export 'shared_user.dart';
5-
export 'share_section_type.dart';
5+
export 'share_section_type.dart';

frontend/appflowy_flutter/lib/features/share_tab/logic/share_tab_bloc.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class ShareTabBloc extends Bloc<ShareTabEvent, ShareTabState> {
4545

4646
@override
4747
Future<void> close() async {
48-
await _folderNotificationListener?.stop();
48+
await _folderNotificationListener?.stop();
4949
await super.close();
5050
}
5151

frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_cell.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class MobileSearchResultCell extends StatelessWidget {
7878
child: BlocBuilder<ViewAncestorBloc, ViewAncestorState>(
7979
builder: (context, state) {
8080
final ancestors = state.ancestor.ancestors;
81-
if(ancestors.isEmpty) return const SizedBox.shrink();
81+
if (ancestors.isEmpty) return const SizedBox.shrink();
8282
List<String> displayPath = ancestors.map((e) => e.name).toList();
8383
if (ancestors.length > 2) {
8484
displayPath = [ancestors.first.name, '...', ancestors.last.name];

frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/font/customize_font_toolbar_item.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ class _FontFamilyDropDownState extends State<FontFamilyDropDown> {
121121
child: FlowyTextField(
122122
key: ThemeFontFamilySetting.textFieldKey,
123123
hintText: LocaleKeys.settings_appearance_fontFamily_search.tr(),
124-
autoFocus: true,
125124
debounceDuration: const Duration(milliseconds: 300),
126125
onChanged: (value) {
127126
setState(() {

frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/outline/outline_block_component.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ class OutlineItemWidget extends StatelessWidget {
345345
),
346346
),
347347
);
348-
} else {
348+
} else {
349349
children.add(
350350
TextSpan(
351351
text: text,

frontend/appflowy_flutter/lib/workspace/application/action_navigation/action_navigation_bloc.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class ActionNavigationBloc
2525
currentAction = currentAction.copyWith(arguments: {});
2626
}
2727
currentAction.arguments?.addAll({ActionArgumentKeys.view: view});
28-
2928
} else {
3029
Log.error('Open view failed: ${action.objectId}');
3130
if (showErrorToast) {

frontend/appflowy_flutter/lib/workspace/application/sidebar/space/space_bloc.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ class SpaceBloc extends Bloc<SpaceEvent, SpaceState> {
279279
);
280280
}
281281
}
282-
afterOpen?.call();
282+
afterOpen?.call();
283283
},
284284
expand: (space, isExpanded) async {
285285
await _setSpaceExpandStatus(space, isExpanded);

frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/textfield/textfield.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class AFTextField extends StatefulWidget {
3434
this.focusNode,
3535
this.readOnly = false,
3636
this.maxLength,
37+
this.autofillHints,
3738
});
3839

3940
/// The hint text to display when the text field is empty.
@@ -87,6 +88,9 @@ class AFTextField extends StatefulWidget {
8788
/// The maximum length of the text field.
8889
final int? maxLength;
8990

91+
/// The autofill hints for password managers.
92+
final Iterable<String>? autofillHints;
93+
9094
@override
9195
State<AFTextField> createState() => _AFTextFieldState();
9296
}
@@ -205,6 +209,7 @@ class _AFTextFieldState extends AFTextFieldState {
205209
suffixIcon: widget.suffixIconBuilder?.call(context, isObscured),
206210
suffixIconConstraints: widget.suffixIconConstraints,
207211
),
212+
autofillHints: widget.autofillHints,
208213
);
209214

210215
if (hasError && errorText.isNotEmpty) {

0 commit comments

Comments
 (0)