Anki/proto/anki/links.proto
Damien Elmes 063b6f60fd Rework error dialog
- Hide traceback
- Include full add-on info in 'copy debug info' button, like about
screen
- Link to troubleshooting page
- Use non-modal pop-up in the common case, to avoid potential conflicts
with other modals.

Closes #2830
2023-11-29 10:25:32 +10:00

48 lines
1.1 KiB
Protocol Buffer

// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
syntax = "proto3";
option java_multiple_files = true;
package anki.links;
import "anki/generic.proto";
service LinksService {
rpc HelpPageLink(HelpPageLinkRequest) returns (generic.String);
}
// Implicitly includes any of the above methods that are not listed in the
// backend service.
service BackendLinksService {}
message HelpPageLinkRequest {
enum HelpPage {
NOTE_TYPE = 0;
BROWSING = 1;
BROWSING_FIND_AND_REPLACE = 2;
BROWSING_NOTES_MENU = 3;
KEYBOARD_SHORTCUTS = 4;
EDITING = 5;
ADDING_CARD_AND_NOTE = 6;
ADDING_A_NOTE_TYPE = 7;
LATEX = 8;
PREFERENCES = 9;
INDEX = 10;
TEMPLATES = 11;
FILTERED_DECK = 12;
IMPORTING = 13;
CUSTOMIZING_FIELDS = 14;
DECK_OPTIONS = 15;
EDITING_FEATURES = 16;
FULL_SCREEN_ISSUE = 17;
CARD_TYPE_DUPLICATE = 18;
CARD_TYPE_NO_FRONT_FIELD = 19;
CARD_TYPE_MISSING_CLOZE = 20;
CARD_TYPE_EXTRANEOUS_CLOZE = 21;
CARD_TYPE_TEMPLATE_ERROR = 22;
TROUBLESHOOTING = 23;
}
HelpPage page = 1;
}