Leandro Pereira

Results 116 issues of Leandro Pereira

WIP: create snapshots and events for components

enhancement
proposal
area:content

Add the following components into [blueprint components](https://github.com/BeaconCMS/beacon/blob/b713fbf95c18dbb464bef18c6cdec25d627c5c07/lib/beacon/content.ex#L928): - [``](https://hexdocs.pm/phoenix_live_view/0.20.1/Phoenix.Component.html#link/1) - [``](https://github.com/BeaconCMS/beacon/blob/cbe3bf7445cc559c96310593105e710366ed2cea/lib/beacon_web/components/core_components.ex#L198) Starting with those two only to validate the idea of Phoenix Components in the blueprint component list, which is...

enhancement
help wanted

Allow users to create and modify site config at runtime through a public API and eventually in Beacon Live Admin. Currently the config is passed as options to the `SiteSupervisor`...

enhancement
proposal
area:loader

```elixir ``` Parameters: - Function to customize query - Query input - Block to display results with a default implementation Useful for content like https://dockyard.com/blog

enhancement
area:component

Currently only pages and layouts allow users to edit a draft before publishing changes, and soon we'll have preview for pages. That gives the users a workflow to create and...

proposal
area:content

Consider migration the pages and layouts snapshots from binary to relational data so we can query that data.

proposal

We do [validate templates](https://github.com/BeaconCMS/beacon/issues/74) and resources as much as possible but that's not enough since we expose a [callback to customize template loading](https://github.com/BeaconCMS/beacon/blob/cbe3bf7445cc559c96310593105e710366ed2cea/lib/beacon/config.ex#L90) that may fail due to user errors,...

enhancement
help wanted
area:loader
roadmap

Crashes in user-provided code in LiveData will raise as: ```elixir Elixir.BeaconWeb.LiveRenderer.82CBFE60DC5B9C46C4C0BC8ADDAB657ADataSource in anonymous fn/4 in :"Elixir.BeaconWeb.LiveRenderer.82CBFE60DC5B9C46C4C0BC8ADDAB657ADataSource".live_data/2 ``` We could reraise providing more info to help debugging.

enhancement
area:content

We want to allow users to define their own [function components](https://hexdocs.pm/phoenix_live_view/Phoenix.Component.html). That will ~_deprecate_~ remove the existing `my_component` feature, see https://github.com/BeaconCMS/beacon/issues/84#issuecomment-1363221968 The first step is to define such function components:...

enhancement
help wanted

Depends on https://github.com/BeaconCMS/beacon_live_admin/pull/80 and https://github.com/BeaconCMS/beacon_live_admin/pull/84