Toby's Comments
-
- Blog
- Waterhole 0.4
-
- Development
- Storage Options (s3 etc)
Answer Toby Waterhole FounderApr 28, 2024 Yes, you're right - this should be configurable. Not necessarily using
FILESYSTEM_DISK
(as usually you want the app's default storage disk to be non-public), but by adding a new config option in Waterhole's config files. I've created an issue for tracking.In the meantime, if you're not using the
public
disk for anything else, you could update it to use thes3
driver and settings inconfig/filesystems.php
. -
Toby Waterhole Founder
Apr 28, 2024 Hi @Emmanuel Ingelaere, if you revoke the "view" permission from guests for all of your forum's channels, pages, and links, then Waterhole will redirect visitors to the login screen instead of showing them the forum. It's probably desirable for there to be an easier way to do this - will keep in mind for a future improvement.
-
- Ideas
- Support for Laravel 11?
Toby Waterhole FounderApr 21, 2024 In reply to Ryan PittsRyan PittsApr 18, 2024 @Toby i have it all setup and running within my app now. The only part I'm a little stuck on is how do i get Waterhole to create user records in its users table for my existing users? I tried logging...@Ryan Pitts Can I clarify, what do you actually see when you navigate to the forum while logged in? The current behaviour is that Waterhole won't create the user immediately, but will present a pre-filled registration form allowing the user to customise their username. It shouldn't be possible to see a login screen if
password_enabled
is false and there are no authenticationproviders
in your config. -
- Ideas
- Support for Laravel 11?
Toby Waterhole FounderApr 21, 2024 In reply to StormlightStormlightApr 19, 2024 Hey Toby, I'm assuming 0.4.8 is yet to be released? As composer update doesn't pull in that version nor does starting a new project via composer create-project waterhole/waterhole path/to/forum.No it was released on 16 April! Maybe try clearing your Composer cache with
composer clear-cache
? -
- Ideas
- Support for Laravel 11?
Toby Waterhole FounderApr 16, 2024 In reply to Ryan PittsRyan PittsApr 8, 2024 Hey @Toby, just to try and test things out, i forked your repo and upgraded things to work with Laravel 11. I'm just having trouble with getting the assets CSS and js to load. I've not done much with...Laravel 11 support has been added in 0.4.8
@Ryan Pitts Hopefully you're able to switch back over to the official package - let me know if any issues. But for future reference, the command to compile Waterhole's assets is
npm run prod
. -
Toby Waterhole Founder
Apr 16, 2024 In reply to Tyler DuPontTyler DuPontApr 15, 2024 I noticed that when looking to tag people on my discussion board you cannot use spaces and there isn't a way to scroll on the suggested list. Not sure if it is possible to tag the person I am trying...Hey @Tyler DuPont, this is a great point. I've created an issue for this here which will aim to fix in a future version. As a workaround, if you're on a Mac you can hold down the Option key as you press the Space bar to continue filtering suggestions.
-
Answer Toby Waterhole FounderApr 16, 2024 This has been fixed in 0.4.8.
-
Toby Waterhole Founder
Apr 11, 2024 Thanks for the ideas @Tyler DuPont! Would definitely like to implement these at some point.
-
- Development
- Laravel Integration
Toby Waterhole FounderApr 11, 2024 In reply to StormlightStormlightApr 5, 2024 I was able to figure out my question above regarding conditional rendering. If anyone else is interested, I just removed the 'search' component and added my own custom component (which has the logic f...Yep, that's right about conditional rendering - there's a note on this in the Extenders doc. The way you've done it works well, or an alternative would be to replace the
search
component with a closure and conditionally return the search component:use Waterhole\View\Components\HeaderSearch; Extend\Header::replace('search', fn() => Route::is('waterhole.*') ? HeaderSearch::class : null);
Regarding adding relationships to Waterhole's User model, using
resolveRelationUsing
is fine when you're interacting with a package like Waterhole – the Laravel docs are talking about "normal application development" as in within your own app's codebase. Creating your own subclass of the Waterhole User model is also a nice idea, although I'm not 100% certain it will work in all cases as I believe some instances of the User model are hardcoded throughout Waterhole's codebase – I will definitely look at making this configurable in the future. -
- Development
- Laravel Integration
Toby Waterhole FounderApr 3, 2024 Hey @Stormlight,
The Waterhole project skeleton is really just a slightly stripped-down version of the Laravel 10 skeleton (no Vite, no API routes, etc.) with some default configuration in place – use the Waterhole User model for auth, and add a service provider for Waterhole customizations.
Whether you start with the Laravel skeleton and pull in Waterhole, or start with the Waterhole skeleton and pull in things from the Laravel skeleton as needed, you'll end up at pretty much the same place. So do whatever you're most comfortable with
As you've discovered, you can build new pages within the Waterhole layout using the
<x-waterhole::layout>
component, or if you just want the CSS (and not the layout) you can use<x-waterhole::html>
. A list of all Waterhole components is available in the class reference.See here for Laravel 11 discussion - we'll stay on top of future Laravel releases relatively quickly.
-
- Ideas
- Support for Laravel 11?
Toby Waterhole FounderApr 3, 2024 Hi @Ryan Pitts, thanks for your interest in Waterhole! Laravel 11 support is planned, it should be pretty straightforward and I hope to look at it in the next week or so.
-
- Development
- Private/Invite-Only Channels?
Toby Waterhole FounderApr 2, 2024 In reply to Greg GarrisonGreg GarrisonApr 2, 2024 Ahh - gotcha. Great. We'll definitely take advantage of that. I think at some point we're also going to want something like a private inbox for individual, one-to-one messaging. Is anything like that...Ah I see - private messaging is definitely on the roadmap as a core feature! Likely in one of the next few 0.x releases. The brainstorming in this topic is more for private channels (which are not on the roadmap) rather than private messages. The messaging feature will be separate from channels.
-
- Development
- Waterhole Font - Baton
Toby Waterhole FounderApr 2, 2024 In reply to StormlightStormlightApr 1, 2024 I see, thanks @Toby! Is Waterhole using the entire Baton family or just a specific type?The Waterhole site uses the Normal Regular + Medium + Bold variants, and the headings on the homepage are Condensed Black.
-
- Development
- Waterhole Font - Baton
Answer Toby Waterhole FounderApr 1, 2024 Hey @Stormlight! Baton is a premium font by the Fatype Foundry, so you need to purchase a license to use it. I think it's the best font ever
Hi @René, thanks for checking in! Absolutely, I'm disappointed that I haven't been able to get the next release out the door yet. I think a combination of life being busy and the changes slated being relatively large/overwhelming has made it hard to find the chunks of time needed. I appreciate the nudge and am going to make a more concerted effort over the next month - stay tuned.