Ograniczenia, które muszą być spełnione, aby moduł się wyświetlił.
sortIndex
integer
Indeks sortowania modułów. Moduły o niższym indeksie sortowania są wyświetlane przed modułami o wyższym indeksie sortowania. Jeśli nie jest określony, przyjmuje się indeks sortowania równy INT_MAX. W przypadku 2 modułów o tym samym indeksie działanie sortowania jest niezdefiniowane.
ModuleViewConstraints
Ograniczenia, które muszą być spełnione, aby moduł się wyświetlił.
Okres, przez jaki moduł będzie wyświetlany użytkownikom. Możesz zdefiniować zarówno startTime, jak i endTime. Moduł wyświetla się zaraz po wstawieniu, chyba że ustawisz startTime. Jeśli zasada endTime nie jest skonfigurowana, moduł będzie wyświetlany bezterminowo.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-03-13 UTC."],[[["Value Added Modules require a header and a URI, along with optional fields like body, image, view constraints, and sort index for customization."],["The module displays a header, body (optional), and image (optional), and directs users to a specified URI upon clicking."],["View constraints, such as a display interval, can be set to control when the module is shown to users."],["Modules can be sorted using the `sortIndex` field, with lower values appearing before higher ones."]]],["The Value Added module requires `header` and `uri` fields. It uses a JSON format that includes `header`, `body`, `image`, `uri`, `viewConstraints`, and `sortIndex`. `viewConstraints` dictates when the module is displayed, using `displayInterval` to specify `startTime` and `endTime`. Modules are ordered by `sortIndex`, with lower indices appearing first. `header` and `body` have character limits. `uri` handles links, and `image` should maintain a 1:1 ratio.\n"]]