New LinkStack release (version 4.6.0)
New additions:
- New Admin Bar
- Dynamic Contrast
- Map domain to a specific profile
Additional updates:
- Updated language pt-BR @LeoColman
- Refactored links page (contributors)
To ensure compatibility with the new version, some themes will require an update.
New Admin Bar
User's links pages now display an admin bar. By default, this feature is only enabled for admins.
This bar displays some basic elements to customize your page and go back to the dashboard. For admins, the bar will display a more advanced set of options to perform administrative tasks directly from the links page.
User View (disabled by default)
In your config, you can enable this feature for all users by ticking Panel settings>Enable Admin Bar for all users.
If you wish to disable this feature entirely, you can do so in the .env config by setting ENABLE_ADMIN_BAR to false.
Dynamic Contrast
The default theme, along with a select group of custom themes, now incorporate dynamic contrast support.
This enables elements like text and icons to maintain visibility on a variety of background colors. This ensures that text is always readable on any custom background image.
To achieve this, we adapted a JavaScript library available at: https://github.com/LinkStackOrg/background-check
Map domain to a specific profile
Admins now have the option to directly map domains or subdomains to user pages.
This feature is still in development and may be subject to change.
To use this feature, admins have to add this array to their Advanced Config:
'custom_domains' => [
['domain' => 'example.com', 'name' => 'example_user',],
['domain' => 'example.example.com', 'id' => '1',],
// more entries as needed
],
For each entry, a domain and user name or id has to be defined.
Any domain added has to be pointed to the instance and added to the vhost as an alias.
Demo:
us.linkstack.org is mapped to the admin profile on linksta.cc.