Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General Improvements: Create and modify data source at runtime #68

Closed
leandrocp opened this issue Sep 13, 2023 · 0 comments · Fixed by BeaconCMS/beacon#363 or #84
Closed

General Improvements: Create and modify data source at runtime #68

leandrocp opened this issue Sep 13, 2023 · 0 comments · Fixed by BeaconCMS/beacon#363 or #84
Assignees
Milestone

Comments

@leandrocp
Copy link
Contributor

Beacon live data source is currently defined as a module in the host application but that impose a couple of problems:

  1. Require Elixir knowledge to change values, even scalar basic values like a person name or a number;
  2. Require redeployment, which goes against Beacon's main proposal;
  3. Templates get out of sync causing crashes, suppose you change an assign name in a template. That change requires changing the data source but the template will break until the data source is deployed, and doing the operation operation (changing the data source first) will also crash the template until the updated page is published.

For those reasons, we need to to:

  • Add a new tab in the Pages page to allow users to create/edit the data source for a given page;
  • Version the data source along with the template (the whole page) so changes on either one goes together;

The layout for that page may contain:

The data type allows us to display the correct "content" field.

@leandrocp leandrocp added this to the Version 0.1.0 milestone Sep 20, 2023
@AZholtkevych AZholtkevych moved this to Todo in Beacon Sep 20, 2023
@AZholtkevych AZholtkevych changed the title Create and modify data source at runtime Admin -> General Improvements: Create and modify data source at runtime Sep 25, 2023
@APB9785 APB9785 self-assigned this Oct 16, 2023
@AZholtkevych AZholtkevych moved this from Todo to In Progress in Beacon Oct 16, 2023
@AZholtkevych AZholtkevych changed the title Admin -> General Improvements: Create and modify data source at runtime General Improvements: Create and modify data source at runtime Oct 23, 2023
@AZholtkevych AZholtkevych linked a pull request Dec 12, 2023 that will close this issue
@AZholtkevych AZholtkevych linked a pull request Jan 12, 2024 that will close this issue
@AZholtkevych AZholtkevych moved this from In Progress to Backlog in Beacon Jan 16, 2024
@AZholtkevych AZholtkevych moved this from Backlog to In Progress in Beacon Jan 16, 2024
@AZholtkevych AZholtkevych moved this from In Progress to Done in Beacon Feb 14, 2024
leandrocp pushed a commit that referenced this issue Feb 14, 2024
Admin interface for #68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants