-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(assistant): add editor toolbar, #623
- Loading branch information
1 parent
4d318a2
commit a5e740d
Showing
7 changed files
with
167 additions
and
69 deletions.
There are no files selected for viewing
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,33 @@ | ||
import React from "react"; | ||
|
||
export const UUV_ASSISTANT_BAR_WIDTH = 60; | ||
|
||
export type ResultSentence = { | ||
key: React.Key; | ||
result: string | ||
} | ||
|
||
export class Suggestion { | ||
constructor(public accessibleAttribute: string = "", public accessibleValue = "", public code = "", public sentenceAfterCorrection: string[] = []) { | ||
} | ||
} | ||
|
||
export type ActionEnum = CheckActionEnum | KeyboardActionEnum; | ||
|
||
export enum CheckActionEnum { | ||
NONE = "None", WITHIN = "Within", EXPECT = "Expect", CLICK = "Click" | ||
} | ||
|
||
export enum KeyboardActionEnum { | ||
GLOBAL_NAVIGATION = "Navigation", | ||
} | ||
|
||
export enum ToolbarActionEnum { | ||
CURRENT_NAVIGATION = "currentNavigation", | ||
EXPECTED_NAVIGATION = "expectedNavigation", | ||
} | ||
|
||
export enum AdditionalLayerEnum { | ||
CURRENT_NAVIGATION = "keyboard-layer-current-navigation", | ||
EXPECTED_NAVIGATION = "keyboard-layer-expected-navigation", | ||
} |
This file was deleted.
Oops, something went wrong.
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.