gristlabs_grist-core/app/client/ui2018/IconList.ts
Dmitry S a15187362c (core) Enhancements to the Public Access UI.
Summary:
- Show a 'Copy Link' button in UserManager.
- Add icons for Copy (to copy link), and also for Video (to open video
  tutorials in later onboarding changes)
- Add to UserManager a 'Public Access' member-like line for greater visibility
  and to allow changing role.
- In main document page, add a "public access" icon.
- On saving UserManager, re-fetch DocInfo to update "public access" icon.

Test Plan: TBD

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D2617
2020-09-23 18:54:23 -04:00

180 lines
2.6 KiB
TypeScript

export type IconName = "ChartArea" |
"ChartBar" |
"ChartKaplan" |
"ChartLine" |
"ChartPie" |
"TypeCard" |
"TypeCardList" |
"TypeCell" |
"TypeChart" |
"TypeCustom" |
"TypeDetails" |
"TypeTable" |
"FieldAny" |
"FieldAttachment" |
"FieldCheckbox" |
"FieldChoice" |
"FieldColumn" |
"FieldDate" |
"FieldDateTime" |
"FieldFunction" |
"FieldFunctionEqual" |
"FieldInteger" |
"FieldLink" |
"FieldNumeric" |
"FieldReference" |
"FieldSpinner" |
"FieldSwitcher" |
"FieldTable" |
"FieldText" |
"FieldTextbox" |
"FieldToggle" |
"GristLogo" |
"ThumbPreview" |
"CenterAlign" |
"Code" |
"Collapse" |
"Convert" |
"Copy" |
"CrossBig" |
"CrossSmall" |
"Dots" |
"Download" |
"DragDrop" |
"Dropdown" |
"DropdownUp" |
"Expand" |
"EyeHide" |
"EyeShow" |
"Feedback" |
"Filter" |
"FilterSimple" |
"Folder" |
"FunctionResult" |
"Help" |
"Home" |
"Idea" |
"Import" |
"LeftAlign" |
"Log" |
"Mail" |
"Minus" |
"NewNotification" |
"Notification" |
"Offline" |
"Page" |
"PanelLeft" |
"PanelRight" |
"PinBig" |
"PinSmall" |
"Pivot" |
"Plus" |
"Public" |
"PublicFilled" |
"Redo" |
"Remove" |
"Repl" |
"ResizePanel" |
"RightAlign" |
"Search" |
"Settings" |
"Share" |
"Sort" |
"Tick" |
"Undo" |
"Validation" |
"Video" |
"Widget" |
"Wrap" |
"Zoom";
export const IconList: IconName[] = ["ChartArea",
"ChartBar",
"ChartKaplan",
"ChartLine",
"ChartPie",
"TypeCard",
"TypeCardList",
"TypeCell",
"TypeChart",
"TypeCustom",
"TypeDetails",
"TypeTable",
"FieldAny",
"FieldAttachment",
"FieldCheckbox",
"FieldChoice",
"FieldColumn",
"FieldDate",
"FieldDateTime",
"FieldFunction",
"FieldFunctionEqual",
"FieldInteger",
"FieldLink",
"FieldNumeric",
"FieldReference",
"FieldSpinner",
"FieldSwitcher",
"FieldTable",
"FieldText",
"FieldTextbox",
"FieldToggle",
"GristLogo",
"ThumbPreview",
"CenterAlign",
"Code",
"Collapse",
"Convert",
"Copy",
"CrossBig",
"CrossSmall",
"Dots",
"Download",
"DragDrop",
"Dropdown",
"DropdownUp",
"Expand",
"EyeHide",
"EyeShow",
"Feedback",
"Filter",
"FilterSimple",
"Folder",
"FunctionResult",
"Help",
"Home",
"Idea",
"Import",
"LeftAlign",
"Log",
"Mail",
"Minus",
"NewNotification",
"Notification",
"Offline",
"Page",
"PanelLeft",
"PanelRight",
"PinBig",
"PinSmall",
"Pivot",
"Plus",
"Public",
"PublicFilled",
"Redo",
"Remove",
"Repl",
"ResizePanel",
"RightAlign",
"Search",
"Settings",
"Share",
"Sort",
"Tick",
"Undo",
"Validation",
"Video",
"Widget",
"Wrap",
"Zoom"];