fix: preserve release advanced widget support
This commit is contained in:
1 parent
29f7c35fc1
commit
4e193da3a4
3 files changed
+3
-1
No files matched your search
@@ -29,7 +29,7 @@ import tokyoClock from "./img/tokyo-12-hour.png";
|
|||||||
<img src={tokyoClock} alt="clock format-12-hours timezone-tokyo" width={256} height={128} />
|
<img src={tokyoClock} alt="clock format-12-hours timezone-tokyo" width={256} height={128} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<WidgetInteractionGuide advancedView={false} />
|
<WidgetInteractionGuide />
|
||||||
|
|
||||||
### Adding the widget
|
### Adding the widget
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ const timePeriodOptions = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
export const { definition, componentLoader } = createWidgetDefinition("beszelSystemStats", {
|
export const { definition, componentLoader } = createWidgetDefinition("beszelSystemStats", {
|
||||||
|
supportsAdvancedFocus: false,
|
||||||
icon: IconChartAreaLine,
|
icon: IconChartAreaLine,
|
||||||
queryKeys: [[["widget", "beszel", "getSystems"]], [["widget", "beszel", "getSystemStats"]]],
|
queryKeys: [[["widget", "beszel", "getSystems"]], [["widget", "beszel", "getSystemStats"]]],
|
||||||
queryMatcher(query, scope) {
|
queryMatcher(query, scope) {
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import { optionsBuilder } from "../options";
|
|||||||
|
|
||||||
export const { definition, componentLoader } = createWidgetDefinition("clock", {
|
export const { definition, componentLoader } = createWidgetDefinition("clock", {
|
||||||
icon: IconClock,
|
icon: IconClock,
|
||||||
|
supportsAdvancedFocus: true,
|
||||||
queryKey: [["widget", "weather", "atLocation"]],
|
queryKey: [["widget", "weather", "atLocation"]],
|
||||||
queryMatcher: ({ input }, scope) => {
|
queryMatcher: ({ input }, scope) => {
|
||||||
const location = scope.options.weatherLocation;
|
const location = scope.options.weatherLocation;
|
||||||
|
|||||||
Reference in new issue
Block a user