-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Improve main menu accessibility
refactor: Move announcer from BookForm to AppLayout fix: Announce view when opening fix: Announce cross field validation error refactor: Move AdminView styles out of AboutView mixin refactor: Sub class menu button
- Loading branch information
TatuJLund
committed
Dec 1, 2024
1 parent
e27430e
commit eafdf9a
Showing
23 changed files
with
181 additions
and
78 deletions.
There are no files selected for viewing
Binary file removed
BIN
-39 KB
vaadincreate-ui/reference-screenshots/category.png_windows_chrome_128.png
Binary file not shown.
Binary file added
BIN
+39 KB
vaadincreate-ui/reference-screenshots/category.png_windows_chrome_131.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
This file contains 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
This file contains 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
22 changes: 22 additions & 0 deletions
22
vaadincreate-ui/src/main/java/org/vaadin/tatu/vaadincreate/VaadinCreateView.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.vaadin.tatu.vaadincreate; | ||
|
||
import org.vaadin.tatu.vaadincreate.i18n.HasI18N; | ||
import org.vaadin.tatu.vaadincreate.i18n.I18n; | ||
|
||
import com.vaadin.navigator.View; | ||
import com.vaadin.ui.UI; | ||
|
||
public interface VaadinCreateView extends HasI18N, View { | ||
|
||
/** | ||
* Sets the title of the current page and announces the opening of a view. | ||
* | ||
* @param viewName | ||
* the name of the view to be opened | ||
*/ | ||
public default void openingView(String viewName) { | ||
UI.getCurrent().getPage().setTitle(getTranslation(viewName)); | ||
VaadinCreateUI.get().announce( | ||
getTranslation(viewName) + " " + getTranslation(I18n.OPENED)); | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.