Closed tabacitu closed 1 year ago
@tabacitu I will be happy to help as well if you needed for the sake of make Backpack V6 more stable.
Let me know if you need..
Issue list (till now):
1) http://backpack-v6.local/home (Sometimes page redirect on this page) after login & form submit which gives you 404 error). 2) Elfinder css / js not loading in packages/barryvdh/elfinder folder from vendor:publish & need to copy manual sometime. 3) Admin is static in top right menu (must be current logged-in user role)
Thank you for getting the ball rolling @munjaldevelopment !
I have a big note with every issue I've found. I'll copy-paste them below, then create issues out of each one that matters. I invite you guys to do the same, or add issues individually, whatever works for you.
Let's do this! đȘ Let's have all bugs we know of, reported, then next week meet to prioritize and distribute them.
Iâve followed the docs to install a clean v6, which instruct me to do âphp artisan basset:internalizeâ first, then âphp artisan backpack:installâ. Thatâs done in order for the last command to be actionable, to show the final URL people should click and get started with their admin panel. But thereâs a problem⊠because theme-tabler is only installed on the install command, that means the theme assets never got internalized. No bueno. Perhaps we should run âphp artisan basset:internalizeâ as part of the v6 installation command⊠right before we show all the final output?
Iâve installed a fresh L10 + BPv6. First thing I wanted to do was change the layout from vertical to horizontal, but⊠I couldnât easily do that, because the config file wasnât published for me. Nor did I find a publish command on Github to quickly do that đ What I did in the end was to run âphp artisan vendor:publishâ and choose the Backpack\ThemeTabler\AddonServiceProvider, but that published 3 things - config (good), views (very bad) and assets (bad). We must publish the theme config file on installation, and provide docs for publishing each of the publishable things alone.
After having installed theme-tabler and publishing the config, I can no longer run artisan commands. If I try to do that, even php artisan optimize:clear
, I get a big fat error in the terminal, âIn UrlGenerator.php line 121: Illuminate\Routing\UrlGenerator::__construct(): Argument # 2 ($request) must be of type Illuminate\Http\Request, null given, called in /Users/tabacitu/Code/bp-v6b-fresh-2023-06-12/vendor/laravel/framework/src/Illuminate/Routing/RoutingServiceProvider.php on line 67â which Iâve tracked down to be because of the theme-tabler config file, specifically line 59 where we use the url() helper. I donât think we can do that. And we canât use the backpack_url() helper either because then weâd get âCall to undefined function backpack_url()â. So the only thing we CAN do, I think, is to turn the âurlsUsingOverLapEffectâ config in theme-tabler.php from a list of FULL urls to a list of URLs that we will pass to url()
. That should allow us to do the same thing, without triggering this error.
Iâm following the instructions in the Getting Started widget, but the code blocks look broken. A good chunk of text is yellow on white which is unreadable. Switching to dark mode doesnât fix the problem either - quite the contrary, then itâs obvious the code blocks donât cater to dark mode at all đ
After doing âphp artisan backpack:crud userâ my UserCrudController has some comments in setupListOperation() and setupCreateOperation() about how to use both the fluent and array syntax⊠I donât think we should have those any more.
Iâve created a new Users CRUD, and Iâm looking at the ListOperation in Theme-Tabler and⊠the table looks a bit odd:
The getting started widget is instructing me in step 4 to change the config in base.php file but it should be ui.php file. Then I noticed this widget is provided by the theme⊠which⊠is wrong. It should be provided by CRUD. I see more files in theme-tabler views/inc that should be moved to CRUD - alerts, widgets⊠maybe⊠I donât knowâŠ
Went do DevTools on the UserCRUD that I created, to see the files. And the code block highlighting is weird. The syntax highlighting doesnât work (text is all white) and the text is blurry (either has a text-shadow or bad anti-aliasing).
In DevTools when looking at the files (/related-files/model) in the tabler theme, the top âback to all modelsâ link is black, so it doesnât look like a link at all.
In DevTools when using the Tabler theme, if I go to dark mode, in DevToolsâ dark menu bar, the DevTools logo stays the same shade of yellow, but the Models, Migrations and Backpack menu items change to a purple.
In DevTools + Tabler + Dark Mode, the sidebar items /related-files/model have a blue hue instead of purple.
In Tabler dark mode, in CRUDs, on the List Operation, the Add button is blue instead of purple. Same with pagination links, theyâre blue not purple.
In Tabler theme (both light and dark), when using the horizontal layout (but others should have the same), the top-right corner shows the user image and name. The user image is square with rounded corners right now⊠but I think circles are much better to represent user profile images. First, faces look good in circles because both faces and circles are round. Second, to me at least, if I see a circle image, I assume thatâs a user profile pic, because thatâs what social media has gotten me used to think. So having it as circle might be a small intuitive clue that the image is for the user.
When using the Tabler theme, perhaps we should default to using the horizontal layout, out-of-the-box. Thatâs what we want new projects to use, right? And âdoubleTopBarInHorizontalLayoutsâ set to false by default.
In Tabler theme, when using the horizontal layout with âdoubleTopBarInHorizontalLayoutsâ set to false, the menubar logo gets smaller and squished when itâs a text, so itâs no longer aligned with the menu items. I donât know if I mind it being smaller, that might actually be better. But it should be aligned with the menu items (vertically), otherwise it looks like a bug.
In DevTools when using Tabler theme, when looking at the ListOperation in Models, some buttons donât have any space between the button icon and the button text. Perhaps we should implement a margin for icons in buttons, across all buttons. See the Build All CRUDs top button and the See Files line button.
Iâve used DevTools to create a new operation, with a Line button that points to a Backpack form, and used it on the UserCrudController. When I click the line button, I get a big fat error Class âAssetsâ not found. https://flareapp.io/share/xmNr2l8m We have to update the stubs to work with Backpack v6.
1 - Column titles use different sizes in header and in footer. I think we should use the footer size on header too.
2 - One of the titles is smaller than the others. It seems weird since they are same level menus.
3 - repeatable buttons are completely broken
4 - Error messages in form are not aligned in the container.
5 - checkboxes in devtools don't work neither look like checkboxes.
6 - devtools table buttons are broken too. can't delete or reorder columns
7 - The save button colors are probably switched ? The "most visible(darker)" should be the current save action
8- Borders on links are huge in CoreUI v4. Some stuff is missing or not aligned:
9 - Save buttons have now a weird green, and cancel is darker
10 - CoreUI v4 login page issue
11- CoreUI v4 always have two scrollbars
I've created issues out of all of the above. Thanks everyone đ
I want everybody in the team to do this. Dedicate at least 1h to installing Backpack v6, playing around and opening issues about what you find. Once you're done, you can tick the box below and unassign yourself from the issue:
@maurohmartinez