awcodes / recently

Easily track and access recently viewed records in your filament panels.
MIT License
33 stars 10 forks source link

Proposal: Add support for Filaments `MaxWidth` enum #11

Closed dissto closed 1 month ago

dissto commented 1 month ago

This PR adds support for Filaments MaxWidth::class enum.

You could do something like this before:

RecentlyPlugin::make()
  ->width(fn () => MaxWidth::ThreeExtraLarge->value)

Now you could do:

RecentlyPlugin::make()
  ->width(MaxWidth::ThreeExtraLarge)

Before: Screenshot 2024-10-02 121447

After: Screenshot 2024-10-02 121322

Just an idea, let me know what you think. 🤓

awcodes commented 1 month ago

Thank you. 😀