bonfire-app/flavours/reflow/config/bonfire_ui.exs

88 lines
2.9 KiB
Elixir
Raw Normal View History

2021-05-20 12:38:18 +00:00
import Config
config :bonfire, :ui,
2021-06-01 13:31:28 +00:00
theme: [
instance_name: "Amsterdam pilot",
instance_logo: "https://reflowproject.eu/wp-content/themes/reflow/images/logoWhite.svg",
2021-06-01 13:31:28 +00:00
instance_image: "https://reflowproject.eu/wp-content/uploads/2020/06/reflow-blog-1600x900.jpg",
instance_description: "This is a Reflow demo instance of the Amsterdam pilot"
],
2021-05-20 12:38:18 +00:00
sidebar_components: [
{Bonfire.UI.Reflow.SidebarNavigationLive, []},
{Bonfire.UI.ValueFlows.ProcessesListLive, [title: "Processes", process_url: "/process/"]},
# {Bonfire.UI.ValueFlows.ProcessesListLive, [title: "Task Lists", process_url: "/list/"]}
],
smart_input: [
post: false,
cw: true,
summary: true
],
2021-07-09 06:46:07 +00:00
default_smart_input: Bonfire.UI.ValueFlows.CreateProcessSmartInputLive,
2021-05-20 12:38:18 +00:00
profile: [
sections: [
timeline: Bonfire.UI.Social.ProfileTimelineLive,
private: Bonfire.UI.Social.PrivateLive,
posts: Bonfire.UI.Social.ProfilePostsLive,
boosts: Bonfire.UI.Social.ProfileBoostsLive,
2021-06-02 06:43:30 +00:00
followers: Bonfire.UI.Social.ProfileFollowsLive,
followed: Bonfire.UI.Social.ProfileFollowsLive,
2021-05-20 12:38:18 +00:00
inventory: Bonfire.UI.Reflow.ProfileInventoryLive,
],
navigation: [
timeline: "timeline",
inventory: "inventory",
# posts: "posts",
# boosts: "boosts",
# private: "private",
],
widgets: [
],
],
smart_input_activities: [
# offer: "Publish an offer",
# need: "Publish a need",
2021-07-09 06:46:07 +00:00
transfer_resource: "Transfer a resource",
produce_resource: "Add a resource",
2021-05-20 12:38:18 +00:00
# intent: "Indicate an itent",
# economic_event: "Record an economic event",
2021-07-09 06:46:07 +00:00
process: "Create a process"
2021-05-20 12:38:18 +00:00
],
smart_input_forms: [
post: Bonfire.UI.Social.CreateActivityLive,
economic_event: Bonfire.UI.ValueFlows.SelectEconomicEventLive,
intent: Bonfire.UI.ValueFlows.CreateIntentLive,
process: Bonfire.UI.ValueFlows.CreateProcessLive,
2021-07-27 07:14:23 +00:00
2021-05-20 12:38:18 +00:00
],
resource: [
navigation: [
2021-06-01 13:31:28 +00:00
trace: "trace",
track: "track",
2021-05-20 12:38:18 +00:00
],
widgets: [
2021-06-01 13:31:28 +00:00
# Bonfire.UI.Social.SubscribeWidgetLive
2021-05-20 12:38:18 +00:00
Bonfire.UI.ValueFlows.LocationWidgetLive,
2021-05-24 20:39:24 +00:00
Bonfire.UI.ValueFlows.PrimaryAccountableWidgetLive,
2021-05-20 12:38:18 +00:00
],
],
default_instance_feed_previews: [
process: Bonfire.UI.Social.Activity.ProcessReflowLive
2021-05-20 12:38:18 +00:00
]
# process: [
# navigation: [
# events: "Economic events",
# intents: "Intents",
# # material_passport: "material passport",
# ],
# sections: [
# events: Bonfire.UI.ValueFlows.EconomicEventsLive,
# intents: Bonfire.UI.ValueFlows.IntentsLive,
# ],
# widgets: [
# # Bonfire.UI.Social.SubscribeWidgetLive,
# # Bonfire.UI.ValueFlows.LocationWidgetLive,
# # Bonfire.UI.Social.HashtagsWidgetLive,
# ],
# ]