Documentation ¶
Index ¶
- Constants
- Variables
- func BuildNewEvent(index int, values map[string]map[string]slack.BlockAction) *model.Event
- func BuildNewGoalSectionBlock(index int, values map[string]map[string]slack.BlockAction) (string, string)
- func DailySummaryMessage(currentModel *model.Model) *slack.Message
- func NewEditEventsModal(updatedModel *model.Model, updatedMetadata *model.Metadata) *slack.ModalViewRequest
- func NewEditGoalsModal(updatedModel *model.Model, updatedMetadata *model.Metadata) *slack.ModalViewRequest
- func NewErrorModal(errorMessage string) *slack.ModalViewRequest
- func NewSummaryModal(updatedModel *model.Model, updatedMetadata *model.Metadata) slack.ModalViewRequest
- type ResponseUrl
Constants ¶
View Source
const AddEventDayActionId = "add_event_day"
View Source
const AddEventDayInputBlock = "add_event_day_input_block"
View Source
const AddEventHoursActionId = "add_event_hour"
View Source
const AddEventHoursInputBlock = "add_event_hours_input_block"
View Source
const AddEventMinsActionId = "add_event_mins"
View Source
const AddEventMinsInputBlock = "add_event_mins_input_block"
View Source
const AddEventTitleActionId = "add_event_title"
View Source
const AddEventTitleInputBlock = "add_event_title_input_block"
View Source
const AddGoalActionId = "add_goal"
View Source
const AddGoalCategoryActionId = "add_goal_category"
View Source
const AddGoalCategoryInputBlock = "add_goal_category_input_block"
View Source
const AddGoalInputBlock = "add_goal_input_block"
View Source
const EditEventsActionId = "edit_events"
View Source
const EditEventsTitle = "bZapp - Edit Events"
View Source
const EditGoalsActionId = "edit_goals"
View Source
const EditGoalsTitle = "bZapp - Edit Goals"
View Source
const EventsHeader = "Events"
View Source
const GoalsHeader = "Goals"
View Source
const MondayEventsHeader = "Monday"
View Source
const RemoveEventActionId = "remove_event"
View Source
const RemoveGoalActionId = "remove_goal"
View Source
const TodayEventsHeader = "Today"
View Source
const TodayOptionValue = "today"
View Source
const TomorrowEventsHeader = "Tomorrow"
View Source
const TomorrowOptionValue = "tomorrow"
Variables ¶
View Source
var GoalCategories = []string{"Customer Questions?", "Team Needs", "Learnings", "Questions?", "Other"}
View Source
var NoEventYetSection = []slack.Block{slack.NewSectionBlock(slack.NewTextBlockObject(slack.MarkdownType, "_No events yet_", false, false), nil, nil)}
View Source
var NoGoalsYetSection = []slack.Block{slack.NewSectionBlock(slack.NewTextBlockObject(slack.MarkdownType, "_No goals yet_", false, false), nil, nil)}
Functions ¶
func BuildNewEvent ¶
func NewEditEventsModal ¶
func NewEditGoalsModal ¶
func NewErrorModal ¶
func NewErrorModal(errorMessage string) *slack.ModalViewRequest
func NewSummaryModal ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.