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
[7.0] [Draft] Content Submission #965
Labels
Comments
I am glad that not one person needs similar means. This now looks like this: $contentForCard = new class implements \Orchid\Screen\Presenters\Card {
/**
* @return string
*/
public function title(): string
{
return 'Title of a longer featured blog post';
}
/**
* @return string
*/
public function descriptions(): string
{
return 'This is a wider card with supporting text below as a natural lead-in to additional content.';
}
/**
* @return string
*/
public function image(): ?string
{
return 'https://picsum.photos/600/300';
}
/**
* @return mixed
*/
public function status()
{
return 'success';
}
/**
* @return mixed
*/
public function users()
{
return [];
}
};
$instance = new \Orchid\Screen\Contents\Card('card', [
Button::make('Example Button')
->method('example')
->icon('icon-bag'),
Button::make('Example Button')
->method('example')
->icon('icon-bag'),
]); |
tabuna
added a commit
that referenced
this issue
Dec 9, 2019
tabuna
added a commit
that referenced
this issue
Jan 5, 2020
tabuna
added a commit
that referenced
this issue
Jan 5, 2020
tabuna
changed the title
[6.8] [Draft] Content Submission
[6.9] [Draft] Content Submission
Jan 6, 2020
tabuna
changed the title
[6.9] [Draft] Content Submission
[7.0] [Draft] Content Submission
Mar 11, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now all kinds of fields, layers are built for editing by the user and making any changes. But when I need to display data, I have to use my own blade templates. They are quite flexible and convenient to use.
But we could provide some set for displaying data. I see this as a subset of the layer.
For example, card:
code:
Cons or cons.
All options do not have such flexibility as their own blade templates, but provide the user with examples of construction and operation. Let's try to decide if we need this and whether they will be useful in building the application.
For example, comments:
We can take it out as a separate package. But I am not ready to support him. Therefore, I propose to implement this in the platform.
Let's vote and leave your thoughts and comments here
The text was updated successfully, but these errors were encountered: